You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rdoc
Parsing sources...
100% [ 1/ 1] test.rb
RDoc::Parser::Ruby failure around line 2 of
test.rb
new('test')
Before reporting this, could you check that the file you're documenting
has proper syntax:
/Users/Jason/.rvm/rubies/ruby-2.5.1/bin/ruby -c test.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(RDoc::Error) Invalid class or module definition: String
uh-oh! RDoc had a problem:
Invalid class or module definition: String
run with --debug for full backtrace
The easiest reproducing case for this is:
This is valid Ruby. However, not for
rdoc
.Versions:
The text was updated successfully, but these errors were encountered: