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
38 39 40 41 42 43 |
# File 'lib/active_fedora/attribute_methods/write.rb', line 38 def define_method_attribute=(name) method = WriterMethodCache[name.to_s] generated_attribute_methods.module_eval do define_method "#{name}=", method end end |