# File lib/couchrest/attributes.rb, line 22 def initialize(attrs = nil) attrs.each{|k,v| self[k] = v} unless attrs.nil? end