Exception: Xail::UnknownFilter

Inherits:
Exception
  • Object
show all
Defined in:
lib/xail/filter.rb

Instance Method Summary collapse

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