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
- #define_strategy_methods ⇒ Object private
-
#initialize(strategy_name) ⇒ StrategySyntaxMethodRegistrar
constructor
private
A new instance of StrategySyntaxMethodRegistrar.
Constructor Details
#initialize(strategy_name) ⇒ StrategySyntaxMethodRegistrar
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.
Returns 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
#define_strategy_methods ⇒ Object
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 12 |
# File 'lib/factory_girl/strategy_syntax_method_registrar.rb', line 8 def define_strategy_methods define_singular_strategy_method define_list_strategy_method define_pair_strategy_method end |