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



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

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