Class: RedmineInstaller::TaskModule
- Includes:
- Utils
- Defined in:
- lib/redmine-installer/task_module.rb
Direct Known Subclasses
Constant Summary
Constants included from Utils
Instance Attribute Summary collapse
-
#task ⇒ Object
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize(task) ⇒ TaskModule
constructor
A new instance of TaskModule.
Methods included from Utils
#class_name, #create_dir, #env_user, #error, #logger, #ok, #pastel, #print_title, #prompt, #run_command
Constructor Details
#initialize(task) ⇒ TaskModule
Returns a new instance of TaskModule.
7 8 9 |
# File 'lib/redmine-installer/task_module.rb', line 7 def initialize(task) @task = task end |
Instance Attribute Details
#task ⇒ Object (readonly)
Returns the value of attribute task.
5 6 7 |
# File 'lib/redmine-installer/task_module.rb', line 5 def task @task end |