Skip to content
A simple ToDo task that extracts TODO items from your Ruby source
Ruby
Pull request Compare This branch is even with dasch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
features
lib
.gitignore
Gemfile
README.mkd
Rakefile
todotask.gemspec

README.mkd

ToDoTask

A simple Rake command that extracts and displays TODO items from your source code.

Usage

Simply create a new ToDoTask in your Rakefile:

ToDoTask.new

Running rake todo will now output all TODO items in your lib/ and test/ directories. Say you have a file test/foomatic/foo.rb with the contents

class Monkey
  # TODO: Make this lazy monkey do something!
  # TODO: Also, can we make it dance?
end

When you run rake todo, you'll see

$ rake todo
test/foomatic/foo.rb:
 * TODO: Make this lazy monkey do something! (line 2)
 * TODO: Also, can we make it dance? (line 3)

ToDo items: 2

Installation

Simply run gem install todotask.

Contributors

Something went wrong with that request. Please try again.