Class: Kumi::Syntax::CaseExpression
- Inherits:
-
Struct
- Object
- Struct
- Kumi::Syntax::CaseExpression
- Includes:
- Node
- Defined in:
- lib/kumi/syntax/case_expression.rb
Instance Attribute Summary collapse
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#result ⇒ Object
Returns the value of attribute result.
Attributes included from Node
Instance Method Summary collapse
Methods included from Node
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition
5 6 7 |
# File 'lib/kumi/syntax/case_expression.rb', line 5 def condition @condition end |
#result ⇒ Object
Returns the value of attribute result
5 6 7 |
# File 'lib/kumi/syntax/case_expression.rb', line 5 def result @result end |
Instance Method Details
#children ⇒ Object
8 |
# File 'lib/kumi/syntax/case_expression.rb', line 8 def children = [condition, result] |