module ActiveFedora::AttributeMethods::ClassMethods

def generate_method(name)

Parameters:
  • name (Symbol) -- name of the attribute to generate
def generate_method(name)
  generated_attribute_methods.synchronize do
    define_attribute_methods name
  end
end

def initialize_generated_modules # :nodoc:

:nodoc:
def initialize_generated_modules # :nodoc:
  @generated_attribute_methods = Module.new { extend Mutex_m }
  include @generated_attribute_methods
end