Class: Steep::Diagnostic::Ruby::UnexpectedYield

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



545
546
547
# File 'lib/steep/diagnostic/ruby.rb', line 545

def header_line
  "No block given for `yield`"
end