Skip to content

Commit dbd0e36

Browse files
ydaholleolleolle
authored andcommitted
recever ==> receiver
1 parent 78dea58 commit dbd0e36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/irb/nesting_parser.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ def self.scan_opens(tokens)
6161
if args.include?(:arg)
6262
case t.event
6363
when :on_nl, :on_semicolon
64-
# def recever.f;
64+
# def receiver.f;
6565
body = :normal
6666
when :on_lparen
67-
# def recever.f()
67+
# def receiver.f()
6868
next_args << :eq
6969
else
7070
if t.event == :on_op && t.tok == '='
7171
# def receiver.f =
7272
body = :oneliner
7373
else
74-
# def recever.f arg
74+
# def receiver.f arg
7575
next_args << :arg_without_paren
7676
end
7777
end

0 commit comments

Comments
 (0)