diff options
author | aycabta <[email protected]> | 2021-09-27 03:14:14 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-09-27 03:23:41 +0900 |
commit | 51773bed10eb9d8f4d38e1a1e9d9d04d4954380d (patch) | |
tree | 6651cd151c7c1a76029f986e9f2a96942461a2b2 /lib/irb/context.rb | |
parent | 2ae64bf6b92bc64005830fc8778a56a3a8f44865 (diff) |
[ruby/irb] Add blank lines to sample code in doc for readability
https://github.com/ruby/irb/commit/123b7e53ee
Diffstat (limited to 'lib/irb/context.rb')
-rw-r--r-- | lib/irb/context.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb index b8f88b661f..6dc5d7f0fd 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -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 |