Class: ActiveModel::Type::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/brick.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, precision: nil, limit: nil, scale: nil) ⇒ Value

Returns a new instance of Value.



1510
1511
1512
1513
1514
# File 'lib/brick.rb', line 1510

def initialize(*args, precision: nil, limit: nil, scale: nil)
  @precision = precision
  @scale = scale
  @limit = limit
end