Module: TestProf::EventProf::CustomEvents::FactoryCreate::RunnerPatch

Defined in:
lib/test_prof/event_prof/custom_events/factory_create.rb

Instance Method Summary collapse

Instance Method Details

#run(strategy = @strategy) ⇒ Object



8
9
10
11
12
13
# File 'lib/test_prof/event_prof/custom_events/factory_create.rb', line 8

def run(strategy = @strategy)
  return super unless strategy == :create
  FactoryCreate.track(@name) do
    super
  end
end