Project

General

Profile

« Previous | Next » 

Revision 850df4b8

Added by matz (Yukihiro Matsumoto) almost 17 years ago

  • lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",
    i.e. default to binary. [ruby-dev:37385]

  • lib/rake.rb (Rake::FileList#egrep): allow specifying reading
    encoding, e.g. FileList['*.rb'].egrep(/require/, encoding:
    "ascii-8bit")

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