Class: Quercle::Operator::GreaterThan
- Inherits:
-
Object
- Object
- Quercle::Operator::GreaterThan
- Defined in:
- lib/quercle/operator/greater_than.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ GreaterThan
constructor
A new instance of GreaterThan.
- #sql_fragment ⇒ Object
Constructor Details
#initialize(value) ⇒ GreaterThan
Returns a new instance of GreaterThan.
6 7 8 |
# File 'lib/quercle/operator/greater_than.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/quercle/operator/greater_than.rb', line 4 def value @value end |
Instance Method Details
#sql_fragment ⇒ Object
10 11 12 |
# File 'lib/quercle/operator/greater_than.rb', line 10 def sql_fragment "> ?" end |