Method: Factory#initialize
- Defined in:
- lib/factory_girl/factory.rb
#initialize(name, options = {}) ⇒ Factory
:nodoc:
65 66 67 68 69 70 |
# File 'lib/factory_girl/factory.rb', line 65 def initialize (name, = {}) #:nodoc: () @factory_name = factory_name_for(name) @options = @attributes = [] end |