Module: Sidekiq::Portal::CoreExtensions::Timecop Private
- Defined in:
- lib/portal/core_extensions/timecop.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#travel ⇒ void
This method returns an undefined value.
10 11 12 13 14 15 |
# File 'lib/portal/core_extensions/timecop.rb', line 10 def travel(*) super.tap do Sidekiq::Portal.global.run_all Sidekiq::Worker.run_scheduled end end |