class DataMaps::When::Lte

Condition to check for lower or equal than

@since 0.0.1

Public Instance Methods

execute(data) click to toggle source

Check if data is greater than the option

@param [mixed] data

# File lib/data_maps/when/comparison.rb, line 46
def execute(data)
  data <= option
end