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.



135
136
137
138
139
# File 'lib/macros4cuke/exceptions.rb', line 135

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