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.
10 11 12 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 10 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.
8 9 10 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 8 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.
14 15 16 |
# File 'lib/rspec/sidekiq/matchers/base.rb', line 14 def matches?() with_context(**) end |