# File lib/hashie/dash.rb, line 74 def initialize(attributes = {}, &block) super(&block) self.class.defaults.each_pair do |prop, value| self.send("#{prop}=", value) end attributes.each_pair do |att, value| self.send("#{att}=", value) end if attributes end