Class: Arrow::Slicer::GreaterCondition
- Defined in:
- lib/arrow/slicer.rb
Instance Method Summary collapse
- #!@ ⇒ Object
- #evaluate ⇒ Object
-
#initialize(column, value) ⇒ GreaterCondition
constructor
A new instance of GreaterCondition.
Methods inherited from Condition
Constructor Details
#initialize(column, value) ⇒ GreaterCondition
Returns a new instance of GreaterCondition.
285 286 287 288 |
# File 'lib/arrow/slicer.rb', line 285 def initialize(column, value) @column = column @value = value end |
Instance Method Details
#!@ ⇒ Object
290 291 292 |
# File 'lib/arrow/slicer.rb', line 290 def !@ LessEqualCondition.new(@column, @value) end |
#evaluate ⇒ Object
294 295 296 |
# File 'lib/arrow/slicer.rb', line 294 def evaluate Function.find("greater").execute([@column.data, @value]).value end |