From 51773bed10eb9d8f4d38e1a1e9d9d04d4954380d Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 27 Sep 2021 03:14:14 +0900 Subject: [PATCH] [ruby/irb] Add blank lines to sample code in doc for readability https://github.com/ruby/irb/commit/123b7e53ee --- lib/irb/context.rb | 3 +++ 1 file changed, 3 insertions(+) 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