Class: FactoryGirl::StrategySyntaxMethodRegistrar Private
- Inherits:
-
Object
- Object
- FactoryGirl::StrategySyntaxMethodRegistrar
- Defined in:
- lib/factory_girl/strategy_syntax_method_registrar.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 Method Summary (collapse)
- - (Object) define_strategy_methods private
-
- (StrategySyntaxMethodRegistrar) initialize(strategy_name)
constructor
private
A new instance of StrategySyntaxMethodRegistrar.
Constructor Details
- (StrategySyntaxMethodRegistrar) initialize(strategy_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.
A new instance of StrategySyntaxMethodRegistrar
4 5 6 |
# File 'lib/factory_girl/strategy_syntax_method_registrar.rb', line 4 def initialize(strategy_name) @strategy_name = strategy_name end |
Instance Method Details
- (Object) define_strategy_methods
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.
8 9 10 11 |
# File 'lib/factory_girl/strategy_syntax_method_registrar.rb', line 8 def define_strategy_methods define_singular_strategy_method define_list_strategy_method end |