Class: Rudelo::Parsers::SetLogicTransform::SetLogicExpr
- Inherits:
-
Struct
- Object
- Struct
- Rudelo::Parsers::SetLogicTransform::SetLogicExpr
- Defined in:
- lib/rudelo/parsers/set_logic_transform.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#op ⇒ Object
Returns the value of attribute op.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Method Summary collapse
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left
27 28 29 |
# File 'lib/rudelo/parsers/set_logic_transform.rb', line 27 def left @left end |
#op ⇒ Object
Returns the value of attribute op
27 28 29 |
# File 'lib/rudelo/parsers/set_logic_transform.rb', line 27 def op @op end |
#right ⇒ Object
Returns the value of attribute right
27 28 29 |
# File 'lib/rudelo/parsers/set_logic_transform.rb', line 27 def right @right end |
Instance Method Details
#eval ⇒ Object
28 29 30 |
# File 'lib/rudelo/parsers/set_logic_transform.rb', line 28 def eval left.eval.send(op, right) end |
#set ⇒ Object
31 32 33 |
# File 'lib/rudelo/parsers/set_logic_transform.rb', line 31 def set right end |