Class: BigDecimal
- Inherits:
-
Object
- Object
- BigDecimal
- Defined in:
- lib/zenaton/refinements/big_decimal.rb
Overview
Reimplements ‘json/add/bigdecimal`
Class Method Summary collapse
-
.from_zenaton(props) ⇒ Object
Parse from simple hash.
Class Method Details
.from_zenaton(props) ⇒ Object
Parse from simple hash
24 25 26 |
# File 'lib/zenaton/refinements/big_decimal.rb', line 24 def self.from_zenaton(props) BigDecimal._load props['b'] end |