Exception: Teaspoon::UnknownFormatter
- Defined in:
- lib/teaspoon/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg_or_options) ⇒ UnknownFormatter
constructor
A new instance of UnknownFormatter.
Constructor Details
#initialize(msg_or_options) ⇒ UnknownFormatter
Returns a new instance of UnknownFormatter.
55 56 57 58 59 |
# File 'lib/teaspoon/exceptions.rb', line 55 def initialize() super(() do || "Unknown formatter: expected \"#{[:name]}\" to be a registered formatter. Available formatters are #{[:available]}" end) end |