Exception: Macros4Cuke::NoFormattingEventForFormatter

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

Overview

Raised when the list of formatting events provided by a macro-step formatter is nil or empty.

Instance Method Summary collapse

Constructor Details

#initialize(aFormatter) ⇒ NoFormattingEventForFormatter

Returns a new instance of NoFormattingEventForFormatter.



100
101
102
103
104
# File 'lib/macros4cuke/exceptions.rb', line 100

def initialize(aFormatter)
  msg = "Formatter #{aFormatter.class}"
  msg << ' does not support any formatting event.'
  super(msg)
end