Module: BSON::Float::ClassMethods
- Defined in:
- lib/bson/float.rb
Overview
Instance Method Summary collapse
-
#from_bson(buffer, **options) ⇒ Float
Deserialize an instance of a Float from a BSON double.
Instance Method Details
#from_bson(buffer, **options) ⇒ Float
Deserialize an instance of a Float from a BSON double.
96 97 98 |
# File 'lib/bson/float.rb', line 96 def from_bson(buffer, **) buffer.get_double end |