Exception: Quill::NoFactoryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Quill::NoFactoryError
- Defined in:
- lib/quill/no_factory_error.rb
Instance Method Summary collapse
-
#initialize(klass) ⇒ NoFactoryError
constructor
A new instance of NoFactoryError.
- #message ⇒ Object
Constructor Details
#initialize(klass) ⇒ NoFactoryError
Returns a new instance of NoFactoryError.
3 4 5 |
# File 'lib/quill/no_factory_error.rb', line 3 def initialize(klass) @klass = klass end |
Instance Method Details
#message ⇒ Object
7 8 9 |
# File 'lib/quill/no_factory_error.rb', line 7 def "The class #{klass.name} cannot be registered with the container, as it does not extend Quill::DSL." end |