Exception: EpiDecorator::UninferrableDecoratorError
- Inherits:
-
NameError
- Object
- NameError
- EpiDecorator::UninferrableDecoratorError
- Defined in:
- lib/epi_decorator/errors.rb
Instance Method Summary collapse
-
#initialize(klass) ⇒ UninferrableDecoratorError
constructor
A new instance of UninferrableDecoratorError.
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 |