# File lib/factory_girl/proxy.rb, line 98 def to_hash @attributes.inject({}) do |result, attribute| result[attribute] = get(attribute) result end end