integer example that has a maximum value
Returns:
the example
45 46 47 48 49 50 51 52 53
# File 'lib/data_model/fixtures/integer.rb', line 45 def max Example.new( [:integer, { max: 5 }], variants: { bigger: 6, smaller: 4 }, ) end