Exception: EpiDecorator::UninferrableDecoratorError

Inherits:
NameError
  • Object
show all
Defined in:
lib/epi_decorator/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ UninferrableDecoratorError

Returns a new instance of UninferrableDecoratorError.



3
4
5
# File 'lib/epi_decorator/errors.rb', line 3

def initialize(klass)
  super("Could not infer a decorator for #{klass}.")
end