mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fixed Kernel#scanf to propagate code block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									1362d3fca2
								
							
						
					
					
						commit
						2e9663f152
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -691,7 +691,7 @@ end | ||||||
| 
 | 
 | ||||||
| module Kernel | module Kernel | ||||||
|   private |   private | ||||||
|   def scanf(fs) |   def scanf(fs,&b) | ||||||
|     STDIN.scanf(fs) |     STDIN.scanf(fs,&b) | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 dblack
						dblack