Module: FedoraLens::AttributeMethods::Write::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#define_method_attribute=(name) ⇒ Object



37
38
39
40
41
42
# File 'lib/fedora_lens/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