Method: Explicit::Type::BigDecimal#initialize

Defined in:
lib/explicit/type/big_decimal.rb

#initialize(min: nil, max: nil, negative: nil, positive: nil) ⇒ BigDecimal

Returns a new instance of BigDecimal.



6
7
8
9
10
11
# File 'lib/explicit/type/big_decimal.rb', line 6

def initialize(min: nil, max: nil, negative: nil, positive: nil)
  @min = min
  @max = max
  @negative = negative
  @positive = positive
end