Class: SqlTools::Predicate::Binary
- Inherits:
-
Struct
- Object
- Struct
- SqlTools::Predicate::Binary
- Defined in:
- lib/sql_tools/predicate.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Method Summary collapse
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left
3 4 5 |
# File 'lib/sql_tools/predicate.rb', line 3 def left @left end |
#operator ⇒ Object
Returns the value of attribute operator
3 4 5 |
# File 'lib/sql_tools/predicate.rb', line 3 def operator @operator end |
#right ⇒ Object
Returns the value of attribute right
3 4 5 |
# File 'lib/sql_tools/predicate.rb', line 3 def right @right end |
Instance Method Details
#inspect ⇒ Object
5 |
# File 'lib/sql_tools/predicate.rb', line 5 def inspect = to_s |
#to_s ⇒ Object
4 |
# File 'lib/sql_tools/predicate.rb', line 4 def to_s = "(#{left} #{operator} #{right})" |