# File lib/factory_girl/step_definitions.rb, line 14 def attributes(strategy = CreateAttributes) @human_hash.inject({}) do |attribute_hash, (human_key, value)| attributes = strategy.new(self, *process_key_value(human_key, value)) attribute_hash.merge({ attributes.key => attributes.value }) end end
Generated with the Darkfish Rdoc Generator 2.