Class: Steep::Diagnostic::Ruby::UnexpectedJumpValue

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, #initialize

Methods included from Helper

#error_name, #full_message

Constructor Details

This class inherits a constructor from Steep::Diagnostic::Ruby::Base

Instance Method Details

#header_lineObject



406
407
408
409
# File 'lib/steep/diagnostic/ruby.rb', line 406

def header_line
  node = node() or raise
  "The value given to #{node.type} will be ignored"
end