Class: Attributary::Types::BigDecimal

Inherits:
Type
  • Object
show all
Defined in:
lib/attributary/types/big_decimal_type.rb

Class Method Summary collapse

Class Method Details

.cast_to(value) ⇒ Object



4
5
6
# File 'lib/attributary/types/big_decimal_type.rb', line 4

def self.cast_to(value)
  BigDecimal(value.to_s)
end