Project

General

Profile

« Previous | Next » 

Revision dff59f6c

Added by drbrain (Eric Hodel) over 12 years ago

  • lib/rdoc/encoding.rb: Do not remove #! line from document when
    setting encoding. This allows ruby executables to be parsed as ruby
    files.

  • test/rdoc/test_rdoc_encoding.rb: Test for above.

  • lib/rdoc/parser.rb: Set the parser file name of ruby executables
    correctly.

  • test/rdoc/test_rdoc_parser.rb: Test for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e