Module: RSpec::SidekiqPro::Batches
- Defined in:
- lib/rspec/sidekiq_pro/batches.rb
Defined Under Namespace
Modules: Props
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
67 68 69 |
# File 'lib/rspec/sidekiq_pro/batches.rb', line 67 def [](key) Sidekiq::Batch.new(Props[key]["bid"]) end |
.each ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/rspec/sidekiq_pro/batches.rb', line 59 def each return to_enum(:each) unless block_given? Props.each do |props| yield Sidekiq::Batch.new(props["bid"]) end end |