End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::RipperErrors#on_assign_error
on_assign_error(msg)
lib/syntax_suggest/ripper_errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/syntax_suggest/ripper_errors.rb, line 16
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
See also
#on_parse_error
#on_alias_error
#on_class_name_error
#compile_error
also in
4.0 · 3.4 · 3.3