Class: Vertigo::SelectedWhen
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(lhs = nil, rhs = nil) ⇒ SelectedWhen
constructor
A new instance of SelectedWhen.
Methods inherited from AstNode
Constructor Details
#initialize(lhs = nil, rhs = nil) ⇒ SelectedWhen
Returns a new instance of SelectedWhen.
316 317 318 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 316 def initialize lhs=nil,rhs=nil @lhs,@rhs=lhs,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
315 316 317 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 315 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
315 316 317 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 315 def rhs @rhs end |