Module: HasAssociativeFacades::ActsMethods

Defined in:
lib/has_associative_facades/acts_methods.rb

Instance Method Summary collapse

Instance Method Details

#has_associative_facadesObject

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