summaryrefslogtreecommitdiff
path: root/lib/irb/ruby-lex.rb
diff options
context:
space:
mode:
authorKaĆ­que Kandy Koga <kaiquekandykoga@gmail.com>2021-10-05 14:44:22 -0300
committergit <svn-admin@ruby-lang.org>2021-10-07 23:55:54 +0900
commit80e2242da6c4d7f1760cb08af72140e178642639 (patch)
tree36e8397af45a92edc7b2095d345fb30fda163047 /lib/irb/ruby-lex.rb
parent896626fa02f00831de5db2e3e75aa349a5a84102 (diff)
[ruby/irb] Update descriptions of methods
From Reidline to Reline Update description used in take_corresponding_syntax_to_kw_do and is_the_in_correspond_to_a_for methods Use possessive noun correctly Second element https://github.com/ruby/irb/commit/4fa9714d6f
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r--lib/irb/ruby-lex.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index f0c056e297..d7ac17bd79 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -477,7 +477,7 @@ class RubyLex
def take_corresponding_syntax_to_kw_do(tokens, index)
syntax_of_do = nil
- # Finding a syntax correnponding to "do".
+ # Finding a syntax corresponding to "do".
index.downto(0) do |i|
tk = tokens[i]
# In "continue", the token isn't the corresponding syntax to "do".
@@ -508,7 +508,7 @@ class RubyLex
def is_the_in_correspond_to_a_for(tokens, index)
syntax_of_in = nil
- # Finding a syntax correnponding to "do".
+ # Finding a syntax corresponding to "do".
index.downto(0) do |i|
tk = tokens[i]
# In "continue", the token isn't the corresponding syntax to "do".