Class: HelpTask
- Inherits:
-
Anvil::Task
- Object
- Anvil::Task
- HelpTask
- Defined in:
- lib/tasks/help_task.rb
Instance Attribute Summary collapse
-
#task_name ⇒ Object
readonly
Returns the value of attribute task_name.
Attributes inherited from Anvil::Task
Attributes included from Anvil::Task::Options
Instance Method Summary collapse
-
#initialize(task_name, options = {}) ⇒ HelpTask
constructor
A new instance of HelpTask.
- #task ⇒ Object
Methods inherited from Anvil::Task
Methods included from Anvil::Task::ClassMethods
#after, #afters, #assure, #assures, #before, #befores, #descendants, #run
Methods included from Anvil::Task::Naming
#description, #from_name, #get_namespace
Methods included from Anvil::Task::Options
#build_parser, #configure_parser, #help, #parse_options!, #parser
Constructor Details
#initialize(task_name, options = {}) ⇒ HelpTask
Returns a new instance of HelpTask.
12 13 14 |
# File 'lib/tasks/help_task.rb', line 12 def initialize(task_name, = {}) @task_name = task_name end |
Instance Attribute Details
#task_name ⇒ Object (readonly)
Returns the value of attribute task_name.
10 11 12 |
# File 'lib/tasks/help_task.rb', line 10 def task_name @task_name end |