diff options
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 |
