Module: BSON::Date
- Defined in:
- lib/bson/date.rb
Overview
Injects behaviour for encoding date values to raw bytes as specified by the BSON spec for time.
Instance Method Summary collapse
-
#to_bson(encoded = ''.force_encoding(BINARY)) ⇒ String
Get the date as encoded BSON.