Class: RSpecPubsub::Formatter
- Inherits:
-
RSpec::Core::Formatters::ProgressFormatter
- Object
- RSpec::Core::Formatters::ProgressFormatter
- RSpecPubsub::Formatter
- Defined in:
- lib/rspec-pubsub-formatter.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
Instance Method Summary collapse
- #example_failed(example) ⇒ Object
- #example_passed(example) ⇒ Object
- #example_pending(example) ⇒ Object
-
#initialize(output) ⇒ Formatter
constructor
A new instance of Formatter.
- #start(example_count) ⇒ Object
Constructor Details
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
7 8 9 |
# File 'lib/rspec-pubsub-formatter.rb', line 7 def channel @channel end |
Instance Method Details
#example_failed(example) ⇒ Object
29 30 31 32 |
# File 'lib/rspec-pubsub-formatter.rb', line 29 def example_failed(example) super publish_status end |
#example_passed(example) ⇒ Object
19 20 21 22 |
# File 'lib/rspec-pubsub-formatter.rb', line 19 def example_passed(example) super publish_status end |
#example_pending(example) ⇒ Object
24 25 26 27 |
# File 'lib/rspec-pubsub-formatter.rb', line 24 def example_pending(example) super publish_status end |
#start(example_count) ⇒ Object
14 15 16 17 |
# File 'lib/rspec-pubsub-formatter.rb', line 14 def start(example_count) super publish_status end |