Module: HasAssociativeFacades::ActsMethods
- Defined in:
- lib/has_associative_facades/acts_methods.rb
Instance Method Summary collapse
-
#has_associative_facades ⇒ Object
Use this method to declare the associated facade behavior on your ActiveRecord class.
Instance Method Details
#has_associative_facades ⇒ Object
Use this method to declare the associated facade behavior on your ActiveRecord class.
6 7 8 9 10 |
# File 'lib/has_associative_facades/acts_methods.rb', line 6 def has_associative_facades unless included_modules.include? InstanceMethods include InstanceMethods end end |