[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
|
# IRB.CurrentContext.echo_on_assignment = false
|
||||||
# a = "omg"
|
# a = "omg"
|
||||||
# IRB.CurrentContext.echo_on_assignment = true
|
# IRB.CurrentContext.echo_on_assignment = true
|
||||||
# a = "omg"
|
# a = "omg" * 10
|
||||||
# #=> omgomgomgomgomgomgomgomgomgomg
|
# #=> omgomgomgomgomgomgomgomgomgomg
|
||||||
attr_accessor :echo_on_assignment
|
attr_accessor :echo_on_assignment
|
||||||
# Whether a newline is put before multiline output.
|
# Whether a newline is put before multiline output.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user