Method: BSON::ObjectId#data
- Defined in:
- lib/jmongo/mongo/bson.rb
#data ⇒ Object
“data=”, “decode64”, “encode64”, “decode_b”, “b64encode” - shout out if these methods are needed
34 35 36 |
# File 'lib/jmongo/mongo/bson.rb', line 34 def data self.to_byte_array.to_a.map{|x| x & 0xFF} end |