mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Add blank lines to sample code in doc for readability
https://github.com/ruby/irb/commit/123b7e53ee
This commit is contained in:
parent
2ae64bf6b9
commit
51773bed10
1 changed files with 3 additions and 0 deletions
|
@ -264,10 +264,13 @@ module IRB
|
|||
#
|
||||
# a = "omg"
|
||||
# #=> omg
|
||||
#
|
||||
# a = "omg" * 10
|
||||
# #=> omgomgomgomgomgomgomg...
|
||||
#
|
||||
# IRB.CurrentContext.echo_on_assignment = false
|
||||
# a = "omg"
|
||||
#
|
||||
# IRB.CurrentContext.echo_on_assignment = true
|
||||
# a = "omg" * 10
|
||||
# #=> omgomgomgomgomgomgomgomgomgomg
|
||||
|
|
Loading…
Add table
Reference in a new issue