# File lib/point/base.rb, line 9 def method_missing(method, *params) set = method.to_s.include?('=') key = method.to_s.sub('=', '') self.attributes = Hash.new unless self.attributes.is_a?(Hash) if set self.attributes[key] = params.first else self.attributes[key] end end