Class: RSpec::Sidekiq::NullStatus
- Inherits:
-
NullObject
- Object
- NullObject
- RSpec::Sidekiq::NullStatus
- Defined in:
- lib/rspec/sidekiq/batch.rb
Instance Attribute Summary collapse
-
#bid ⇒ Object
readonly
Returns the value of attribute bid.
Instance Method Summary collapse
- #failures ⇒ Object
-
#initialize(bid, callbacks) ⇒ NullStatus
constructor
A new instance of NullStatus.
- #join ⇒ Object
- #total ⇒ Object
Methods inherited from NullObject
Constructor Details
#initialize(bid, callbacks) ⇒ NullStatus
Returns a new instance of NullStatus.
36 37 38 39 |
# File 'lib/rspec/sidekiq/batch.rb', line 36 def initialize(bid, callbacks) @bid = bid @callbacks = callbacks end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RSpec::Sidekiq::NullObject
Instance Attribute Details
#bid ⇒ Object (readonly)
Returns the value of attribute bid.
34 35 36 |
# File 'lib/rspec/sidekiq/batch.rb', line 34 def bid @bid end |
Instance Method Details
#failures ⇒ Object
41 42 43 |
# File 'lib/rspec/sidekiq/batch.rb', line 41 def failures 0 end |