Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::RipperErrors#on_class_name_error
on_class_name_error(msg)
lib/syntax_suggest/ripper_errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/syntax_suggest/ripper_errors.rb, line 19
def on_parse_error(msg)
@errors ||= []
@errors << msg
end
Alias of #on_parse_error
Comes from ripper, called on every parse error, msg is a string