Methods

Class/Module Index [+]

Quicksearch

Moped::BSON::Extensions::Float

Public Instance Methods

__bson_dump__(io, key) click to toggle source
# File lib/moped/bson/extensions/float.rb, line 7
def __bson_dump__(io, key)
  io << Types::FLOAT
  io << key.to_bson_cstring
  io << [self].pack(FLOAT_PACK)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.