Module: ActiveFedora::AttributeMethods::Write::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#define_method_attribute=(name) ⇒ Object


37
38
39
40
41
42
# File 'lib/active_fedora/attribute_methods/write.rb', line 37

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