Class: Mongoid::RawValue
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/mongoid/extensions/raw_value.rb |
Overview
Represents a value which cannot be type-casted between Ruby and MongoDB.
Class Method Summary
- .new(raw_value) ⇒ RawValue constructor
Instance Attribute Summary
- #raw_value readonly
Instance Method Summary
-
#inspect ⇒ String
Returns a string containing a human-readable representation of the object, including the inspection of the underlying value.
Constructor Details
.new(raw_value) ⇒ RawValue
Instance Attribute Details
#raw_value (readonly)
[ GitHub ]# File 'lib/mongoid/extensions/raw_value.rb', line 20
attr_reader :raw_value
Instance Method Details
#inspect ⇒ String
Returns a string containing a human-readable representation of the object, including the inspection of the underlying value.
# File 'lib/mongoid/extensions/raw_value.rb', line 30
def inspect "RawValue: #{raw_value.inspect}" end