Top Level Namespace
- Includes:
- Tasks
Defined Under Namespace
Modules: Reap, TaskSpace, Tasks Classes: ProjectInfo, ReapCommand, RubyCommentTester, Time
Constant Summary collapse
- HELP =
<<-EOS rubytest filename [filename ...] EOS
Instance Method Summary collapse
-
#avail(name, cond) ⇒ Object
Rake doesn’t understand avail.
-
#desc(comment = nil) ⇒ Object
Modify Rake’s desc method to return the last description if no comment is given.
Methods included from Tasks
#announce, avail, available, #backup, #count, #doap, #extest, #file, #info, #manifest, #package, #publish, #rdoc, #release, #scaffold, #setup, #template, #test
Methods included from Reap::TaskUtils
#ask, #initialize, #master, #preq_from_name, #provide_setup_rb, #sh, #tell
Instance Method Details
#avail(name, cond) ⇒ Object
Rake doesn’t understand avail.
18 19 |
# File 'lib/reap/rake.rb', line 18 def avail name, cond end |
#desc(comment = nil) ⇒ Object
Modify Rake’s desc method to return the last description if no comment is given.
24 25 26 27 28 29 30 |
# File 'lib/reap/rake.rb', line 24 def desc(comment=nil) if comment Rake.application.last_comment = comment else Rake.application.last_comment end end |