diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 02:11:14 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 02:11:14 +0000 |
commit | 6cf1f19baa61702024fafdf6d8590c9c0fe90dde (patch) | |
tree | fb89d15486f38dab7fdc8d6d3d12bda86d0fac67 /lib/tmpdir.rb | |
parent | 6c47b1083c67a2ee572a7800974b9b513579b585 (diff) | |
download | ruby-6cf1f19baa61702024fafdf6d8590c9c0fe90dde.tar.gz |
* lib/tmpdir.rb: Unify to coding-style for method definition.
[fix GH-1252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tmpdir.rb')
-rw-r--r-- | lib/tmpdir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index e4df93c2d0..d12afa1ae6 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -82,7 +82,7 @@ class Dir # FileUtils.remove_entry dir # end # - def Dir.mktmpdir(prefix_suffix=nil, *rest) + def self.mktmpdir(prefix_suffix=nil, *rest) path = Tmpname.create(prefix_suffix || "d", *rest) {|n| mkdir(n, 0700)} if block_given? begin |