Class: Arrow::Slicer::GreaterEqualCondition

Inherits:
Condition
  • Object
show all
Defined in:
lib/arrow/slicer.rb

Instance Method Summary collapse

Methods inherited from Condition

#&, #^, #|

Constructor Details

#initialize(column, value) ⇒ GreaterEqualCondition

Returns a new instance of GreaterEqualCondition.



266
267
268
269
# File 'lib/arrow/slicer.rb', line 266

def initialize(column, value)
  @column = column
  @value = value
end

Instance Method Details

#!@Object



271
272
273
# File 'lib/arrow/slicer.rb', line 271

def !@
  LessCondition.new(@column, @value)
end

#evaluateObject



275
276
277
# File 'lib/arrow/slicer.rb', line 275

def evaluate
  Function.find("greater_equal").execute([@column.data, @value]).value
end