class FactoryGirl::StrategySyntaxMethodRegistrar

@api private

Public Class Methods

new(strategy_name) click to toggle source
# File lib/factory_girl/strategy_syntax_method_registrar.rb, line 4
def initialize(strategy_name)
  @strategy_name = strategy_name
end

Public Instance Methods

define_strategy_methods() click to toggle source
# File lib/factory_girl/strategy_syntax_method_registrar.rb, line 8
def define_strategy_methods
  define_singular_strategy_method
  define_list_strategy_method
end