Module: ActiveShotgun::Model::Associations
- Defined in:
- lib/active_shotgun/model/associations.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base_class) ⇒ Object
6 7 8 9 |
# File 'lib/active_shotgun/model/associations.rb', line 6 def self.included(base_class) base_class.const_set(:BELONG_ASSOC, []) base_class.const_set(:MANY_ASSOC, []) end |