Module: ActiveFedora::Common::ClassMethods

Defined in:
lib/active_fedora/common.rb

Instance Method Summary collapse

Instance Method Details

#generated_association_methodsObject



11
12
13
14
15
16
17
# File 'lib/active_fedora/common.rb', line 11

def generated_association_methods
  @generated_association_methods ||= begin
    mod = const_set(:GeneratedAssociationMethods, Module.new)
    include mod
    mod
  end
end

#initialize_generated_modulesObject

:nodoc:



7
8
9
# File 'lib/active_fedora/common.rb', line 7

def initialize_generated_modules # :nodoc:
  generated_association_methods
end