Module: Opto::Model::Association

Defined in:
lib/opto/model/association.rb,
lib/opto/model/association/has_one/proxy.rb,
lib/opto/model/association/has_many/proxy.rb,
lib/opto/model/association/has_one/declaration.rb,
lib/opto/model/association/has_many/declaration.rb

Defined Under Namespace

Modules: ClassMethods, HasMany, HasOne

Class Method Summary collapse

Class Method Details

.prepended(where) ⇒ Object



5
6
7
# File 'lib/opto/model/association.rb', line 5

def self.prepended(where)
  where.extend ClassMethods
end