Attributes
Read
No documentation available
Instance Methods
#
lib/syntax_suggest/ripper_errors.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/syntax_suggest/ripper_errors.rb, line 30
def call
@run_once ||= begin
@errors = []
parse
true
end
self
end
No documentation available
lib/syntax_suggest/ripper_errors.rb
View on GitHub
An alias for on_parse_error
lib/syntax_suggest/ripper_errors.rb
View on GitHub
An alias for on_parse_error
lib/syntax_suggest/ripper_errors.rb
View on GitHub
An alias for on_parse_error
lib/syntax_suggest/ripper_errors.rb
View on GitHub
An alias for on_parse_error
lib/syntax_suggest/ripper_errors.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/syntax_suggest/ripper_errors.rb, line 19
def on_parse_error(msg)
@errors ||= []
@errors << msg
end
Comes from ripper, called on every parse error, msg is a string