# File lib/merb-core/core_ext/class.rb, line 133 def class_inheritable_array_writer(*syms) options = syms.last.is_a?(Hash) ? syms.pop : {} syms.each do |sym| class_eval "\ndef self.\#{sym}=(obj)\nwrite_inheritable_array(:\#{sym}, obj)\nend\n\n\#{\"\n\ndef \#{sym}=(obj)\nself.class.\#{sym} = obj\nend\n\" unless options[:instance_writer] == false }\n", __FILE__, __LINE__ end end