Exception: Xail::UnknownFilter
- Inherits:
-
Exception
- Object
- Exception
- Xail::UnknownFilter
- Defined in:
- lib/xail/filter.rb
Instance Method Summary collapse
-
#initialize(filter) ⇒ UnknownFilter
constructor
A new instance of UnknownFilter.
Constructor Details
#initialize(filter) ⇒ UnknownFilter
Returns a new instance of UnknownFilter.
7 8 9 |
# File 'lib/xail/filter.rb', line 7 def initialize(filter) super("Unknown filter ``#{filter}''. Known: #{FilterRegistry.filters.keys.sort}") end |