Classes: Factory
Shortcut for Factory.create.
Example:
Factory(:user, :name => 'Joe')
12 13 14
# File 'lib/factory_girl.rb', line 12 def Factory (name, attrs = {}) Factory.create(name, attrs) end