Class: RSpec::Sidekiq::Configuration
- Inherits:
-
Object
- Object
- RSpec::Sidekiq::Configuration
- Defined in:
- lib/rspec/sidekiq/configuration.rb
Instance Attribute Summary collapse
-
#clear_all_enqueued_jobs ⇒ Object
Returns the value of attribute clear_all_enqueued_jobs.
-
#enable_terminal_colours ⇒ Object
Returns the value of attribute enable_terminal_colours.
-
#warn_when_jobs_not_processed_by_sidekiq ⇒ Object
Returns the value of attribute warn_when_jobs_not_processed_by_sidekiq.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 |
# File 'lib/rspec/sidekiq/configuration.rb', line 6 def initialize @clear_all_enqueued_jobs = true @enable_terminal_colours = true @warn_when_jobs_not_processed_by_sidekiq = true end |
Instance Attribute Details
#clear_all_enqueued_jobs ⇒ Object
Returns the value of attribute clear_all_enqueued_jobs.
4 5 6 |
# File 'lib/rspec/sidekiq/configuration.rb', line 4 def clear_all_enqueued_jobs @clear_all_enqueued_jobs end |
#enable_terminal_colours ⇒ Object
Returns the value of attribute enable_terminal_colours.
4 5 6 |
# File 'lib/rspec/sidekiq/configuration.rb', line 4 def enable_terminal_colours @enable_terminal_colours end |
#warn_when_jobs_not_processed_by_sidekiq ⇒ Object
Returns the value of attribute warn_when_jobs_not_processed_by_sidekiq.
4 5 6 |
# File 'lib/rspec/sidekiq/configuration.rb', line 4 def warn_when_jobs_not_processed_by_sidekiq @warn_when_jobs_not_processed_by_sidekiq end |