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

* 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
This commit is contained in:
hsbt 2016-02-26 02:11:14 +00:00
parent 49f17cc6a3
commit 379c3b8b24
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Feb 26 11:10:19 2016 Rick Salevsky <rsalevsky@suse.com>
* lib/tmpdir.rb: Unify to coding-style for method definition.
[fix GH-1252]
Fri Feb 26 11:02:04 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org> Fri Feb 26 11:02:04 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* README.md: update markdown syntax for anchor tag. * README.md: update markdown syntax for anchor tag.

View file

@ -82,7 +82,7 @@ class Dir
# FileUtils.remove_entry dir # FileUtils.remove_entry dir
# end # 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)} path = Tmpname.create(prefix_suffix || "d", *rest) {|n| mkdir(n, 0700)}
if block_given? if block_given?
begin begin