Module: Mobility::Plugins::Backend::InstanceMethods

Defined in:
lib/mobility/plugins/backend.rb

Instance Method Summary collapse

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_backendsHash

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.

Returns:

  • (Hash)

    Hash of attribute names and backend instances



142
143
144
# File 'lib/mobility/plugins/backend.rb', line 142

def mobility_backends
  @mobility_backends ||= MobilityBackends.new(self)
end