[ruby/irb] Fix sample code in doc

https://github.com/ruby/irb/commit/642adbe968
This commit is contained in:
aycabta 2021-09-27 03:13:21 +09:00 committed by git
parent 5c0636bda4
commit 2ae64bf6b9

View File

@ -269,7 +269,7 @@ module IRB
# IRB.CurrentContext.echo_on_assignment = false
# a = "omg"
# IRB.CurrentContext.echo_on_assignment = true
# a = "omg"
# a = "omg" * 10
# #=> omgomgomgomgomgomgomgomgomgomg
attr_accessor :echo_on_assignment
# Whether a newline is put before multiline output.