class DirtySeed::Assigners::Type::Float

Manages float assignments

Public Instance Methods

value() click to toggle source

Returns a random float matching validators @return [Float] @note `min` and `max` are defined in MinMaxHelper

# File lib/dirty_seed/assigners/type/float.rb, line 14
def value
  faker_value(
    generator: :Number,
    method: :between,
    options: { from: min, to: max }
  )
end