Skip to content
Ruby implementation of TodoTXT
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.autotest
.gitignore
.rspec
Gemfile
LICENSE
README.md
Rakefile
rtodotxt.gemspec

README.md

Rtodotxt

Work with todo.txt files from ruby.

Usage

Work with any todo.txt formatted file

require 'rtodotxt'

list = Rtodotxt::List.new(File.read('./todo.txt')) # load list
list.first # first todo
list.first.done! # mark first todo done
list.first.done? # => true

list.map(&:contexts).flatten.uniq # get all contexts
list.map(&:projects).flatten.uniq # get all projects

License

MIT

Something went wrong with that request. Please try again.