class RSpec::Core::Notifications::CustomNotification

of options.
other registered listeners, it creates attributes based on supplied hash
`CustomNotification` is used when sending custom events to formatters /

def self.for(options={})

Returns:
  • (CustomNotification) -

Parameters:
  • options (Hash) -- A hash of method / value pairs to create on this notification
def self.for(options={})
  return NullNotification if options.keys.empty?
  new(*options.keys).new(*options.values)
end