lib/faker_maker/base.rb in faker_maker-0.7.1 vs lib/faker_maker/base.rb in faker_maker-1.0.0

- old
+ new

@@ -2,10 +2,10 @@ module Base def factory name, options={}, &block factory = FakerMaker::Factory.new name, options proxy = DefinitionProxy.new factory - proxy.instance_eval &block if block_given? + proxy.instance_eval( &block ) if block_given? FakerMaker.register_factory factory end end end