Module: Mobility::Plugins::Backend::InstanceMethods
- Defined in:
- lib/mobility/plugins/backend.rb
Instance Method Summary collapse
- #initialize_dup(other) ⇒ Object
-
#mobility_backends ⇒ Hash
private
Return a new backend for an attribute name.
Instance Method Details
#initialize_dup(other) ⇒ Object
146 147 148 149 |
# File 'lib/mobility/plugins/backend.rb', line 146 def initialize_dup(other) @mobility_backends = nil super end |
#mobility_backends ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a new backend for an attribute name.
142 143 144 |
# File 'lib/mobility/plugins/backend.rb', line 142 def mobility_backends @mobility_backends ||= MobilityBackends.new(self) end |