Class: FlowObject::Callbacks::Iteration
- Inherits:
-
Struct
- Object
- Struct
- FlowObject::Callbacks::Iteration
- Defined in:
- lib/flow_object/callbacks.rb
Instance Attribute Summary collapse
-
#idx ⇒ Object
Returns the value of attribute idx.
-
#list_size ⇒ Object
Returns the value of attribute list_size.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#idx ⇒ Object
Returns the value of attribute idx
8 9 10 |
# File 'lib/flow_object/callbacks.rb', line 8 def idx @idx end |
#list_size ⇒ Object
Returns the value of attribute list_size
8 9 10 |
# File 'lib/flow_object/callbacks.rb', line 8 def list_size @list_size end |
#type ⇒ Object
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_alias ⇒ Object
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 |