mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/irb/context.rb (IRB::Context#initialize):
remove warnings when $VERBOSE is set as true in .irbrc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									5a4ce608e2
								
							
						
					
					
						commit
						696eec1e4f
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -1,3 +1,8 @@ | |||
| Fri Oct  9 10:12:13 2009  NARUSE, Yui  <naruse@ruby-lang.org> | ||||
| 
 | ||||
| 	* lib/irb/context.rb (IRB::Context#initialize): | ||||
| 	  remove warnings when $VERBOSE is set as true in .irbrc. | ||||
| 
 | ||||
| Fri Oct  9 02:58:18 2009  NARUSE, Yui  <naruse@ruby-lang.org> | ||||
| 
 | ||||
| 	* tool/enc-unicode.rb: optimized. | ||||
|  |  | |||
|  | @ -35,6 +35,8 @@ module IRB | |||
|       @load_modules = IRB.conf[:LOAD_MODULES] | ||||
| 
 | ||||
|       @use_readline = IRB.conf[:USE_READLINE] | ||||
|       @verbose = IRB.conf[:VERBOSE] | ||||
|       @io = nil | ||||
| 
 | ||||
|       self.inspect_mode = IRB.conf[:INSPECT_MODE] | ||||
|       self.math_mode = IRB.conf[:MATH_MODE] if IRB.conf[:MATH_MODE] | ||||
|  | @ -91,7 +93,6 @@ module IRB | |||
| 	@output_method = StdioOutputMethod.new | ||||
|       end | ||||
| 
 | ||||
|       @verbose = IRB.conf[:VERBOSE] | ||||
|       @echo = IRB.conf[:ECHO] | ||||
|       if @echo.nil? | ||||
| 	@echo = true | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 naruse
						naruse