Class: Ikra::Symbolic::ArrayMapCommand
- Includes:
- ArrayCommand
- Defined in:
- lib/symbolic/visitor.rb,
lib/symbolic/symbolic.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Attributes included from ArrayCommand
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
-
#initialize(target, block) ⇒ ArrayMapCommand
constructor
A new instance of ArrayMapCommand.
- #size ⇒ Object
Methods included from ArrayCommand
#[], #ast, #block_parameter_names, #execute, #externals, #lexical_externals, #pmap, #to_command
Constructor Details
#initialize(target, block) ⇒ ArrayMapCommand
Returns a new instance of ArrayMapCommand.
148 149 150 151 152 153 |
# File 'lib/symbolic/symbolic.rb', line 148 def initialize(target, block) super() @target = target @block = block end |
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
146 147 148 |
# File 'lib/symbolic/symbolic.rb', line 146 def target @target end |