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.



412
413
414
415
416
# File 'lib/oflow/task.rb', line 412

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#opObject (readonly)

Returns the value of attribute op.



410
411
412
# File 'lib/oflow/task.rb', line 410

def op
  @op
end

#taskObject (readonly)

Returns the value of attribute task.



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

def task
  @task
end