Module: ActiveFedora::AttributeMethods::Read::ClassMethods

Defined in:
lib/active_fedora/attribute_methods/read.rb

Instance Method Summary collapse

Instance Method Details

#define_method_attribute(name) ⇒ Object



52
53
54
55
56
57
# File 'lib/active_fedora/attribute_methods/read.rb', line 52

def define_method_attribute(name)
  method = ReaderMethodCache[name.to_s]
  generated_attribute_methods.module_eval do
    define_method name, method
  end
end