Module: Mongoid::Extensions::Binary::Conversions
- Included in:
- Binary
- Defined in:
- lib/mongoid/extensions/binary/conversions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#get(value) ⇒ Object
Get the value from the db hash.
-
#set(value) ⇒ Object
Set the value in the db hash.
Instance Method Details
#get(value) ⇒ Object
Get the value from the db hash.
7 8 9 |
# File 'lib/mongoid/extensions/binary/conversions.rb', line 7 def get(value) value end |
#set(value) ⇒ Object
Set the value in the db hash.
11 12 13 |
# File 'lib/mongoid/extensions/binary/conversions.rb', line 11 def set(value) value end |