Class: RSpec::Specify::Notification

Inherits:
Struct
  • Object
show all
Defined in:
lib/specify/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

Instance Attribute Details

#exampleObject

Returns the value of attribute example

Returns:

  • (Object)

    the current value of example



6
7
8
# File 'lib/specify/rspec/notification.rb', line 6

def example
  @example
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



6
7
8
# File 'lib/specify/rspec/notification.rb', line 6

def message
  @message
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



6
7
8
# File 'lib/specify/rspec/notification.rb', line 6

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/specify/rspec/notification.rb', line 6

def type
  @type
end