Module: Mobility::InstanceMethods
- Defined in:
- lib/mobility/instance_methods.rb
Overview
Instance methods attached to all model classes when model includes or extends Mobility.
Instance Method Summary collapse
-
#mobility_backend_for(attribute) ⇒ Object
Fetch backend for an attribute.
Instance Method Details
#mobility_backend_for(attribute) ⇒ Object
Fetch backend for an attribute
11 12 13 |
# File 'lib/mobility/instance_methods.rb', line 11 def mobility_backend_for(attribute) send(Backend.method_name(attribute)) end |