ruby-changes:68134
From: aycabta <ko1@a...>
Date: Mon, 27 Sep 2021 03:23:47 +0900 (JST)
Subject: [ruby-changes:68134] 2ae64bf6b9 (master): [ruby/irb] Fix sample code in doc
https://git.ruby-lang.org/ruby.git/commit/?id=2ae64bf6b9 From 2ae64bf6b92bc64005830fc8778a56a3a8f44865 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Mon, 27 Sep 2021 03:13:21 +0900 Subject: [ruby/irb] Fix sample code in doc https://github.com/ruby/irb/commit/642adbe968 --- lib/irb/context.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/irb/context.rb b/lib/irb/context.rb index 3827bda..b8f88b6 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -269,7 +269,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/context.rb#L269 # IRB.CurrentContext.echo_on_assignment = false # a = "omg" # IRB.CurrentContext.echo_on_assignment = true - # a = "omg" + # a = "omg" * 10 # #=> omgomgomgomgomgomgomgomgomgomg attr_accessor :echo_on_assignment # Whether a newline is put before multiline output. -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/