Exception: Macros4Cuke::UnknownFormattingEvent

Inherits:
Macros4CukeError show all
Defined in:
lib/macros4cuke/exceptions.rb

Overview

Raised when a macro-step formatter uses an unknown formatting event.

Instance Method Summary collapse

Constructor Details

#initialize(aFormatter, anEvent) ⇒ UnknownFormattingEvent

Returns a new instance of UnknownFormattingEvent.



133
134
135
136
137
# File 'lib/macros4cuke/exceptions.rb', line 133

def initialize(aFormatter, anEvent)
  msg = "Formatter #{aFormatter.class}"
  msg << " uses the unknown formatting event '#{anEvent}'."
  super(msg)
end