Sha256: 494f92dceba6868875acb9c9f6f571756d3148d5009cfc4710e86403eba8563a
Contents?: true
Size: 231 Bytes
Versions: 2
Compression:
Stored size: 231 Bytes
Contents
module RailsSettings module Fields class BigDecimal < ::RailsSettings::Fields::Base def deserialize(value) value.to_d end def serialize(value) deserialize(value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-settings-cached-2.9.1 | lib/rails-settings/fields/big_decimal.rb |
rails-settings-cached-2.9.0 | lib/rails-settings/fields/big_decimal.rb |