Whether to echo the return value to output or not.
Uses IRB.conf[:ECHO] if available, or defaults to true.
IRB.conf[:ECHO]
true
puts "hello" # hello #=> nil IRB.CurrentContext.echo = false puts "omg" # omg
270 271 272
# File 'lib/irb/context.rb', line 270 def echo @echo end