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.



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

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#opObject (readonly)

Returns the value of attribute op.



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

def op
  @op
end

#taskObject (readonly)

Returns the value of attribute task.



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

def task
  @task
end