Class: RSpec::Sidekiq::Matchers::JobOptionParser Private
- Inherits:
-
Object
- Object
- RSpec::Sidekiq::Matchers::JobOptionParser
- Defined in:
- lib/rspec/sidekiq/matchers/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #job ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(job) ⇒ JobOptionParser
constructor
private
A new instance of JobOptionParser.
- #matches?(options) ⇒ Boolean private
Constructor Details
#initialize(job) ⇒ JobOptionParser
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of JobOptionParser.
8 9 10 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 8 def initialize(job) @job = job end |
Instance Attribute Details
#job ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 6 def job @job end |
Instance Method Details
#matches?(options) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 12 def matches?() with_context(**) end |