lib/faker_maker/factory.rb in faker_maker-0.7.0 vs lib/faker_maker/factory.rb in faker_maker-0.7.1

- old
+ new

@@ -15,16 +15,16 @@ Object end end def attach_attribute attribute - @attributes << attribute + @attributes << attribute end def build instance = instantiate populate_instance instance - yield self if block_given? + yield instance if block_given? instance end def assemble if @klass.nil? \ No newline at end of file