Class: Crokus::Case
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#expr ⇒ Object
Returns the value of attribute expr.
Instance Method Summary collapse
-
#initialize(e, body) ⇒ Case
constructor
A new instance of Case.
Methods inherited from Ast
Constructor Details
#initialize(e, body) ⇒ Case
Returns a new instance of Case.
308 309 310 |
# File 'lib/crokus/ast.rb', line 308 def initialize e,body @expr,@body=e,body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
307 308 309 |
# File 'lib/crokus/ast.rb', line 307 def body @body end |
#expr ⇒ Object
Returns the value of attribute expr.
307 308 309 |
# File 'lib/crokus/ast.rb', line 307 def expr @expr end |