Class: Factory::Proxy::Create

Inherits:
Build show all
Defined in:
lib/factory_girl/proxy/create.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Build

#associate, #association, #get, #initialize, #set

Methods inherited from Factory::Proxy

#associate, #association, #get, #initialize, #method_missing, #set

Constructor Details

This class inherits a constructor from Factory::Proxy::Build

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Factory::Proxy

Instance Method Details

#resultObject



4
5
6
7
# File 'lib/factory_girl/proxy/create.rb', line 4

def result
  @instance.save!
  @instance
end