# File lib/cimi/model/base.rb, line 120 def add_attributes!(names, attr_klass, &block) if self.respond_to? :schema schema.add_attributes!(names, attr_klass, &block) else base_schema.add_attributes!(names, attr_klass, &block) end names.each do |name| define_method(name) { @attribute_values[name] } define_method("#{name}=""#{name}=") { |newval| @attribute_values[name] = newval } end end