Class: FactoryGirl::NullFactory Private
- Inherits:
-
Object
- Object
- FactoryGirl::NullFactory
- Defined in:
- lib/factory_girl/null_factory.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary (collapse)
- - (Object) definition readonly private
Instance Method Summary (collapse)
- - (Object) class_name private
- - (Object) compile private
- - (Object) evaluator_class private
-
- (NullFactory) initialize
constructor
private
A new instance of NullFactory.
Constructor Details
- (NullFactory) initialize
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A new instance of NullFactory
6 7 8 |
# File 'lib/factory_girl/null_factory.rb', line 6 def initialize @definition = Definition.new end |
Instance Attribute Details
- (Object) definition (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'lib/factory_girl/null_factory.rb', line 4 def definition @definition end |
Instance Method Details
- (Object) class_name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 |
# File 'lib/factory_girl/null_factory.rb', line 14 def class_name; end |
- (Object) compile
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 |
# File 'lib/factory_girl/null_factory.rb', line 13 def compile; end |
- (Object) evaluator_class
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 |
# File 'lib/factory_girl/null_factory.rb', line 15 def evaluator_class; FactoryGirl::Evaluator; end |