[ruby/irb] Fix sample code in doc
https://github.com/ruby/irb/commit/642adbe968
This commit is contained in:
parent
5c0636bda4
commit
2ae64bf6b9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user