Class: RSpec::Core::Notifications::ExampleNotification
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Core::Notifications::ExampleNotification
- Defined in:
- lib/rspec/core/notifications.rb,
lib/rspec/core/notifications.rb
Overview
The ExampleNotification
represents notifications sent by the reporter which contain information about the current (or soon to be) example. It is used by formatters to access information about that example.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#example ⇒ RSpec::Core::Example
the current example.
Instance Attribute Details
#example ⇒ RSpec::Core::Example
the current example
38 39 40 |
# File 'lib/rspec/core/notifications.rb', line 38 def example @example end |