Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple ToDo task that extracts TODO items from your Ruby source
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
features
lib Adjust the indentation to align the TODO items
.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.