Class: OFlow::Task::Link

Inherits:
Object
  • Object
show all
Defined in:
lib/oflow/task.rb

Overview

Request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, task, op) ⇒ Link

Returns a new instance of Link.



406
407
408
409
410
# File 'lib/oflow/task.rb', line 406

def initialize(name, task, op)
  @name = name
  @task = task
  @op = op
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



402
403
404
# File 'lib/oflow/task.rb', line 402

def name
  @name
end

#opObject (readonly)

Returns the value of attribute op.



404
405
406
# File 'lib/oflow/task.rb', line 404

def op
  @op
end

#taskObject (readonly)

Returns the value of attribute task.



403
404
405
# File 'lib/oflow/task.rb', line 403

def task
  @task
end