class RSpec::Core::Notifications::CustomNotification

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