Class: DataMaps::When::Gte
- Inherits:
-
Base
- Object
- Executable
- Base
- DataMaps::When::Gte
- Defined in:
- lib/data_maps/when/comparison.rb
Overview
Condition to check for greater or equal than
Instance Attribute Summary
Attributes inherited from Executable
Instance Method Summary collapse
-
#execute(data) ⇒ Object
Check if data is greater or equal than the option.
Methods inherited from Executable
#initialize, valid_collection?
Constructor Details
This class inherits a constructor from DataMaps::Executable
Instance Method Details
#execute(data) ⇒ Object
Check if data is greater or equal than the option
22 23 24 |
# File 'lib/data_maps/when/comparison.rb', line 22 def execute(data) data >= option end |