Sha256: b540041790b1ceb2d2167467c1368fb5d4f28bbecee9d78a1b4bd34dfc89e838
Contents?: true
Size: 371 Bytes
Versions: 22
Compression:
Stored size: 371 Bytes
Contents
module FactoryGirl class Proxy #:nodoc: class Create < Build #:nodoc: def result(attribute_assigner, to_create) attribute_assigner.object.tap do |result_instance| run_callbacks(:after_build, result_instance) to_create[result_instance] run_callbacks(:after_create, result_instance) end end end end end
Version data entries
22 entries across 22 versions & 2 rubygems