зеркало из https://github.com/github/ruby.git
[ruby/irb] Add blank lines to sample code in doc for readability
https://github.com/ruby/irb/commit/123b7e53ee
This commit is contained in:
Родитель
2ae64bf6b9
Коммит
51773bed10
|
@ -264,10 +264,13 @@ module IRB
|
||||||
#
|
#
|
||||||
# a = "omg"
|
# a = "omg"
|
||||||
# #=> omg
|
# #=> omg
|
||||||
|
#
|
||||||
# a = "omg" * 10
|
# a = "omg" * 10
|
||||||
# #=> omgomgomgomgomgomgomg...
|
# #=> omgomgomgomgomgomgomg...
|
||||||
|
#
|
||||||
# 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" * 10
|
# a = "omg" * 10
|
||||||
# #=> omgomgomgomgomgomgomgomgomgomg
|
# #=> omgomgomgomgomgomgomgomgomgomg
|
||||||
|
|
Загрузка…
Ссылка в новой задаче