Class: Hoozuki::Instruction::Split
- Inherits:
-
Object
- Object
- Hoozuki::Instruction::Split
- Defined in:
- lib/hoozuki/instruction/split.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Split
constructor
A new instance of Split.
Constructor Details
#initialize(left, right) ⇒ Split
Returns a new instance of Split.
8 9 10 11 |
# File 'lib/hoozuki/instruction/split.rb', line 8 def initialize(left, right) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left.
6 7 8 |
# File 'lib/hoozuki/instruction/split.rb', line 6 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
6 7 8 |
# File 'lib/hoozuki/instruction/split.rb', line 6 def right @right end |