Please sign in to comment.
Parsing executables with #! and encoding: comment
RDoc::Encoding#set_encoding was stripping the shebang preventing RDoc::Parser::for from recognizing the file as a ruby executable. The file would then be parsed with the Simple (RDoc) parser losing all internal documentation. Fixes bug #161
- Loading branch information...
Showing with 6 additions and 2 deletions.