diff options
| author | ydah <13041216+ydah@users.noreply.github.com> | 2024-01-25 11:26:33 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-01-25 09:58:15 +0000 |
| commit | fd9b968569fc8b7a4cdc3dcad815cd3aab8d7088 (patch) | |
| tree | 1e1017ba8b5c47452d7149b7c2e989cca1b79ae4 /lib | |
| parent | 6580a95f8d5a74bec20d41eb9660a93f13be8922 (diff) | |
[ruby/irb] recever ==> receiver
https://github.com/ruby/irb/commit/dbd0e368c4
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/irb/nesting_parser.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb/nesting_parser.rb b/lib/irb/nesting_parser.rb index 3d4db82444..23eeeaf6cf 100644 --- a/lib/irb/nesting_parser.rb +++ b/lib/irb/nesting_parser.rb @@ -61,17 +61,17 @@ module IRB if args.include?(:arg) case t.event when :on_nl, :on_semicolon - # def recever.f; + # def receiver.f; body = :normal when :on_lparen - # def recever.f() + # def receiver.f() next_args << :eq else if t.event == :on_op && t.tok == '=' # def receiver.f = body = :oneliner else - # def recever.f arg + # def receiver.f arg next_args << :arg_without_paren end end |
