1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all

module related to Rake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-06-10 04:01:26 +00:00
parent 58b14e7892
commit b5d59da9f6
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Jun 10 13:01:24 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
module related to Rake.
Fri Jun 10 09:52:38 2011 Eric Hodel <drbrain@segment7.net>
* encoding.c: Mention that Encoding.compatible? can work with more

View file

@ -73,9 +73,10 @@ class TestModule < Test::Unit::TestCase
end
def remove_rake_mixins(list)
list.
reject {|c| c.to_s == "RakeFileUtils" }.
reject {|c| c.to_s.start_with?("FileUtils") }
list.reject {|c|
name = c.name
name.start_with?("Rake") or name.start_with?("FileUtils")
}
end
module Mixin