Method: DataMaps::When::Gt#execute

Defined in:
lib/data_maps/when/comparison.rb

#execute(data) ⇒ Object

Check if data is greater than the option

Parameters:

  • data (mixed)

Since:

  • 0.0.1



10
11
12
# File 'lib/data_maps/when/comparison.rb', line 10

def execute(data)
  data > option
end