ruby-changes:41871
From: hsbt <ko1@a...>
Date: Fri, 26 Feb 2016 11:10:32 +0900 (JST)
Subject: [ruby-changes:41871] hsbt:r53945 (trunk): * lib/tmpdir.rb: Unify to coding-style for method definition.
hsbt 2016-02-26 11:11:14 +0900 (Fri, 26 Feb 2016) New Revision: 53945 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53945 Log: * lib/tmpdir.rb: Unify to coding-style for method definition. [fix GH-1252] Modified files: trunk/ChangeLog trunk/lib/tmpdir.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 53944) +++ ChangeLog (revision 53945) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Feb 26 11:10:19 2016 Rick Salevsky <rsalevsky@s...> + + * lib/tmpdir.rb: Unify to coding-style for method definition. + [fix GH-1252] + Fri Feb 26 11:02:04 2016 SHIBATA Hiroshi <hsbt@r...> * README.md: update markdown syntax for anchor tag. Index: lib/tmpdir.rb =================================================================== --- lib/tmpdir.rb (revision 53944) +++ lib/tmpdir.rb (revision 53945) @@ -82,7 +82,7 @@ class Dir https://github.com/ruby/ruby/blob/trunk/lib/tmpdir.rb#L82 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/