class Faker::Measurement

def weight(amount: rand(10))

Returns:
  • (String) -

Parameters:
  • amount (Integer) -- Specifies the random weight value.
def weight(amount: rand(10))
  define_measurement_locale(amount, 'weight')
end