Class: RubyRTL::Assign
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(lhs, rhs) ⇒ Assign
constructor
A new instance of Assign.
Methods inherited from Ast
Constructor Details
#initialize(lhs, rhs) ⇒ Assign
Returns a new instance of Assign.
112 113 114 |
# File 'lib/ruby_rtl/ast.rb', line 112 def initialize lhs,rhs @lhs,@rhs=lhs,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
111 112 113 |
# File 'lib/ruby_rtl/ast.rb', line 111 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
111 112 113 |
# File 'lib/ruby_rtl/ast.rb', line 111 def rhs @rhs end |