class ActiveModel::Type::Value

def initialize(precision: nil, limit: nil, scale: nil)

generation only.
these settings. It uses them for equality comparison and hash key
limit, and scale. The Value base class does not define behavior for
Initializes a type with three basic configuration settings: precision,
def initialize(precision: nil, limit: nil, scale: nil)
  super()
  @precision = precision
  @scale = scale
  @limit = limit
end