Class: ZOMG::IDL::Nodes::Binary
- Defined in:
- lib/zomg/idl/nodes/binary.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Binary
constructor
A new instance of Binary.
Methods inherited from Node
#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(left, right) ⇒ Binary
Returns a new instance of Binary.
7 8 9 10 |
# File 'lib/zomg/idl/nodes/binary.rb', line 7 def initialize(left, right) @left = left super(right) end |
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left.
5 6 7 |
# File 'lib/zomg/idl/nodes/binary.rb', line 5 def left @left end |