Class: Quercle::Operator::GreaterThan

Inherits:
Object
  • Object
show all
Defined in:
lib/quercle/operator/greater_than.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject

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_fragmentObject



10
11
12
# File 'lib/quercle/operator/greater_than.rb', line 10

def sql_fragment
  "> ?"
end