Class: String
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: | Object |
Defined in: | (unknown) |
Overview
Ruby Core class mixins
Class Method Summary
::Mongoid::Extensions::String::ClassMethods
- Extended
demongoize | |
mongoize | Turn the object from the ruby type we deal with to a Mongo friendly type. |
Instance Attribute Summary
::Mongoid::Extensions::String
- Included
#before_type_cast? | Does the string end with _before_type_cast? |
#mongoid_id? | Is the string a valid value for a |
#numeric? | Is the string a number? The literals “NaN”, “Infinity”, and “-Infinity” are counted as numbers. |
#unconvertable_to_bson, #unconvertable_to_bson If the document is unconvertable., | |
#unconvertable_to_bson? | Is the object not to be converted to bson on criteria creation? |
#valid_method_name? | Is this string a valid_method_name? |
#writer? | Is this string a writer? |
Instance Method Summary
::Mongoid::Extensions::String
- Included
#__evolve_object_id__ | Evolve the string into an object id if possible. |
#__mongoize_object_id__ | Mongoize the string into an object id if possible. |
#__mongoize_time__ | Mongoize the string for storage. |
#collectionize | Convert the string to a collection friendly name. |
#reader | Get the string as a getter string. |
#convert_to_object_id | If the string is a legal object id, convert it. |