Class: Jade::Frontend::ForwardDeclaration::Error::UnknownExtendsInterface
- Inherits:
-
Error
- Object
- Error
- Jade::Frontend::ForwardDeclaration::Error::UnknownExtendsInterface
- Defined in:
- lib/jade/frontend/forward_declaration/error/unknown_extends_interface.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(entry, span, interface:) ⇒ UnknownExtendsInterface
constructor
A new instance of UnknownExtendsInterface.
- #message ⇒ Object
Methods inherited from Error
#candidates, #label, #notes, #queried_name, #to_diagnostic
Constructor Details
#initialize(entry, span, interface:) ⇒ UnknownExtendsInterface
Returns a new instance of UnknownExtendsInterface.
6 7 8 9 |
# File 'lib/jade/frontend/forward_declaration/error/unknown_extends_interface.rb', line 6 def initialize(entry, span, interface:) @interface = interface super(entry:, span:) end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/jade/frontend/forward_declaration/error/unknown_extends_interface.rb', line 11 def "I cannot find an interface named `#{@interface}`" end |