Class: Sbuilder::Ial::Model::BinaryExpression
- Inherits:
-
Expression
- Object
- Struct
- Expression
- Sbuilder::Ial::Model::BinaryExpression
- Defined in:
- lib/model/model_dsl.rb
Instance Attribute Summary collapse
-
#lval ⇒ Object
Returns the value of attribute lval.
-
#op ⇒ Object
Returns the value of attribute op.
-
#rval ⇒ Object
Returns the value of attribute rval.
Attributes inherited from Expression
Instance Method Summary collapse
Methods inherited from Expression
Instance Attribute Details
#lval ⇒ Object
Returns the value of attribute lval.
174 175 176 |
# File 'lib/model/model_dsl.rb', line 174 def lval @lval end |
#op ⇒ Object
Returns the value of attribute op.
175 176 177 |
# File 'lib/model/model_dsl.rb', line 175 def op @op end |
#rval ⇒ Object
Returns the value of attribute rval.
176 177 178 |
# File 'lib/model/model_dsl.rb', line 176 def rval @rval end |
Instance Method Details
#[](k) ⇒ Object
177 178 179 180 181 182 |
# File 'lib/model/model_dsl.rb', line 177 def [](k) return lval if k == :lval return op if k == :op return rval if k == :rval super( k ) end |