class Faker::Number

def within(range: 1.00..5000.00)

Returns:
  • (Numeric) -

Parameters:
  • range (Range) -- The range from which to generate a number.
def within(range: 1.00..5000.00)
  between(from: range.min, to: range.max)
end