Class: Steep::Diagnostic::Signature::UnknownTypeName
- Defined in:
- lib/steep/diagnostic/signature.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Base
Instance Method Summary collapse
- #header_line ⇒ Object
-
#initialize(name:, location:) ⇒ UnknownTypeName
constructor
A new instance of UnknownTypeName.
Methods inherited from Base
#detail_lines, #diagnostic_code, #path
Methods included from Helper
Constructor Details
#initialize(name:, location:) ⇒ UnknownTypeName
Returns a new instance of UnknownTypeName.
70 71 72 73 |
# File 'lib/steep/diagnostic/signature.rb', line 70 def initialize(name:, location:) super(location: location) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
68 69 70 |
# File 'lib/steep/diagnostic/signature.rb', line 68 def name @name end |
Instance Method Details
#header_line ⇒ Object
75 76 77 |
# File 'lib/steep/diagnostic/signature.rb', line 75 def header_line "Cannot find type `#{name}`" end |