[前][次][番号順一覧][スレッド一覧]

ruby-changes:65540

From: aycabta <ko1@a...>
Date: Fri, 19 Mar 2021 23:34:58 +0900 (JST)
Subject: [ruby-changes:65540] 0428c2e7df (master): [ruby/irb] Define "measure" command without forced override

https://git.ruby-lang.org/ruby.git/commit/?id=0428c2e7df

From 0428c2e7df748ff16dfed080d18c8ea06f3b915a Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 18 Mar 2021 19:06:22 +0900
Subject: [ruby/irb] Define "measure" command without forced override

https://github.com/ruby/irb/commit/9587ba13b5
---
 lib/irb/extend-command.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb
index 3473232..af076a6 100644
--- a/lib/irb/extend-command.rb
+++ b/lib/irb/extend-command.rb
@@ -126,7 +126,8 @@ module IRB # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/irb/extend-command.rb#L126
       ],
 
       [
-        :measure, :Measure, "irb/cmd/measure"
+        :irb_measure, :Measure, "irb/cmd/measure",
+        [:measure, NO_OVERRIDE],
       ],
 
     ]
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]