Class: FlowObject::Callbacks::Iteration

Inherits:
Struct
  • Object
show all
Defined in:
lib/flow_object/callbacks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idxObject

Returns the value of attribute idx



8
9
10
# File 'lib/flow_object/callbacks.rb', line 8

def idx
  @idx
end

#list_sizeObject

Returns the value of attribute list_size



8
9
10
# File 'lib/flow_object/callbacks.rb', line 8

def list_size
  @list_size
end

#typeObject

Returns the value of attribute type



8
9
10
# File 'lib/flow_object/callbacks.rb', line 8

def type
  @type
end

Instance Method Details

#generic_aliasObject



13
14
15
16
17
18
# File 'lib/flow_object/callbacks.rb', line 13

def generic_alias
  return :"input_#{type}" if input?
  return :flow_initialized if flow_initialized?
  return :flow_checked if flow_checked?
  return :output_initialized if output_initialized?
end

#output_checked?Boolean



9
10
11
# File 'lib/flow_object/callbacks.rb', line 9

def output_checked?
  output? && checked?
end