mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Set IRB::Context#return_format on test clarify
This commit is contained in:
		
							parent
							
								
									a458317b91
								
							
						
					
					
						commit
						1b02f6c020
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -143,6 +143,7 @@ module TestIRB
 | 
				
			||||||
        "_\n"
 | 
					        "_\n"
 | 
				
			||||||
      ])
 | 
					      ])
 | 
				
			||||||
      irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input)
 | 
					      irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input)
 | 
				
			||||||
 | 
					      irb.context.return_format = "=> %s\n"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # The default
 | 
					      # The default
 | 
				
			||||||
      irb.context.echo = true
 | 
					      irb.context.echo = true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue