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

ruby-changes:64244

From: Nobuyoshi <ko1@a...>
Date: Thu, 17 Dec 2020 20:24:51 +0900 (JST)
Subject: [ruby-changes:64244] b5effe07bd (master): [ruby/irb] Fixed a typo in a comment [ci skip]

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

From b5effe07bd7965a3d90c36509025c4231f306741 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 22 Nov 2020 22:03:09 +0900
Subject: [ruby/irb] Fixed a typo in a comment [ci skip]

https://github.com/ruby/irb/commit/ce373417f3

diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 0302282..cfb57e3 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -384,7 +384,7 @@ class RubyLex https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L384
           end
         else
           if in_oneliner_def == :BODY
-            # one[-liner method definition
+            # one-liner method definition
             depth_difference -= 1
           end
           in_oneliner_def = nil
-- 
cgit v0.10.2


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

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