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:
		
							parent
							
								
									49f17cc6a3
								
							
						
					
					
						commit
						379c3b8b24
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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>
 | 
			
		||||
 | 
			
		||||
	* README.md: update markdown syntax for anchor tag.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue