# File lib/rhc/rest/attributes.rb, line 16 def define_attr(*names) names.map(&:to_sym).each do |name| define_method(name) do attribute(name) end define_method("#{name}=") do |value| instance_variable_set(:"@#{name}", nil) attributes[name.to_s] = value end end end