class Faker::Measurement

def metric_weight(amount: rand(10))

Returns:
  • (String) -

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