Class: Abid::MixinTask::Mixin

Inherits:
Module
  • Object
show all
Includes:
PlayCore
Defined in:
lib/abid/mixin_task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#taskObject (readonly)

Returns the value of attribute task.



5
6
7
# File 'lib/abid/mixin_task.rb', line 5

def task
  @task
end