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


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

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