Module | Mongoid::Extensions::Object::Reflections |
In: |
lib/mongoid/extensions/object/reflections.rb
|
This module contains reflection convenience methods.
Get the value for an instance variable or nil if it doesn‘t exist.
@example Get the value for an instance var.
document.ivar("person")
@param [ String ] name The name of the variable.
@return [ Object, nil ] The value or nil.
@since 2.0.0.rc.1