Module: BSON::BigDecimal::ClassMethods
- Defined in:
- lib/logstash/outputs/bson/big_decimal.rb
Instance Method Summary collapse
-
#from_bson(bson) ⇒ BigDecimal
Deserialize an instance of a BigDecimal from a BSON double.
Instance Method Details
#from_bson(bson) ⇒ BigDecimal
Deserialize an instance of a BigDecimal from a BSON double.
46 47 48 |
# File 'lib/logstash/outputs/bson/big_decimal.rb', line 46 def from_bson(bson) from_bson_double(bson.read(8)) end |