Sha256: 2b1770f0e33ba6f904c4874066e2b6c9661674e7021375f87d9e08b6e5fc9548
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
motion_require 'object' module Virtus class Attribute # Decimal # # @example # class ExchangeRate # include Virtus # # attribute :dollar, Decimal # end # # ExchangeRate.new(:dollar => '2.6948') # class Decimal < Numeric primitive ::BigDecimal coercion_method :to_decimal end # class Decimal end # class Attribute end # module Virtus
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
motion_virtus-1.0.0.beta0.1 | lib/project/attribute/decimal.rb |
motion_virtus-1.0.0.beta0 | lib/project/attribute/decimal.rb |