class Rake::Task

Attributes

plugin[RW]

Used to name the source of a given task

Public Instance Methods

clear() click to toggle source
# File lib/hoe/rake.rb, line 17
def clear
  clear_prerequisites
  clear_actions
  clear_comments
  self
end
Also aliased as: old_clear
clear_comments() click to toggle source
# File lib/hoe/rake.rb, line 24
def clear_comments
  @full_comment = nil
  @comment = nil
  self
end
comment() click to toggle source

Overrides the default comment to provide the plugin name.

# File lib/hoe/rake.rb, line 11
def comment
  "%-#{$plugin_max}s # %s" % [plugin, old_comment] if old_comment
end
old_clear() click to toggle source
Alias for: clear