Class: Steep::Diagnostic::Ruby::FallbackAny

Inherits:
Base
  • Object
show all
Defined in:
lib/steep/diagnostic/ruby.rb

Instance Attribute Summary

Attributes inherited from Base

#location, #node

Instance Method Summary collapse

Methods inherited from Base

#detail_lines, #diagnostic_code

Methods included from Helper

#error_name, #full_message

Constructor Details

#initialize(node:) ⇒ FallbackAny

Returns a new instance of FallbackAny.



660
661
662
# File 'lib/steep/diagnostic/ruby.rb', line 660

def initialize(node:)
  super(node: node)
end

Instance Method Details

#header_lineObject



664
665
666
# File 'lib/steep/diagnostic/ruby.rb', line 664

def header_line
  "Cannot detect the type of the expression"
end