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

fileutils.rb: reduce public

* lib/fileutils.rb (Verbose, NoWrite, DryRun): make extended
  methods public by each one calls.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-02-29 08:36:29 +00:00
parent 13dadf3f26
commit 6b3e5bb061

View file

@ -1700,9 +1700,7 @@ module FileUtils
end
extend self
class << self
::FileUtils::METHODS.each do |m|
public m
end
public(*::FileUtils::METHODS)
end
end
@ -1726,9 +1724,7 @@ module FileUtils
end
extend self
class << self
::FileUtils::METHODS.each do |m|
public m
end
public(*::FileUtils::METHODS)
end
end
@ -1753,9 +1749,7 @@ module FileUtils
end
extend self
class << self
::FileUtils::METHODS.each do |m|
public m
end
public(*::FileUtils::METHODS)
end
end