Class: RSpec::Proverbs::Notification
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Proverbs::Notification
- Defined in:
- lib/proverbs/rspec/notification.rb
Overview
In RSpec, notifications are value objects that are passed to formatters to provide those formatters with information about a particular event.
Instance Attribute Summary collapse
-
#example ⇒ Object
Returns the value of attribute example.
-
#message ⇒ Object
Returns the value of attribute message.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#example ⇒ Object
Returns the value of attribute example
5 6 7 |
# File 'lib/proverbs/rspec/notification.rb', line 5 def example @example end |
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'lib/proverbs/rspec/notification.rb', line 5 def @message end |
#options ⇒ Object
Returns the value of attribute options
5 6 7 |
# File 'lib/proverbs/rspec/notification.rb', line 5 def @options end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/proverbs/rspec/notification.rb', line 5 def type @type end |