# File lib/eymiha.rb, line 73 def class_attr_writer(*kattrs) kattrs.each { |kattr| ka = kattr.to_s writer = "def self.\#{ka}=(\#{ka})\n @@\#{ka} = \#{ka}\nend\n" self.module_eval writer } end