Class: RedmineInstaller::TaskModule

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/redmine-installer/task_module.rb

Direct Known Subclasses

Environment, Package, Redmine

Constant Summary

Constants included from Utils

Utils::PROGRESSBAR_FORMAT

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#taskObject (readonly)

Returns the value of attribute task.



5
6
7
# File 'lib/redmine-installer/task_module.rb', line 5

def task
  @task
end