Class: Abid::MixinTask::Mixin
- Inherits:
-
Module
- Object
- Module
- Abid::MixinTask::Mixin
- Includes:
- PlayCore
- Defined in:
- lib/abid/mixin_task.rb
Instance Attribute Summary collapse
-
#task ⇒ Object
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize(task, *args, &block) ⇒ Mixin
constructor
A new instance of Mixin.
Methods included from PlayCore
#include, #param, #params_spec, #set, #undef_param
Constructor Details
#initialize(task, *args, &block) ⇒ Mixin
Returns a new instance of Mixin.
7 8 9 10 |
# File 'lib/abid/mixin_task.rb', line 7 def initialize(task, *args, &block) @task = task super(*args, &block) end |
Instance Attribute Details
#task ⇒ Object (readonly)
Returns the value of attribute task.
5 6 7 |
# File 'lib/abid/mixin_task.rb', line 5 def task @task end |