Project

General

Profile

Actions

Bug #10184

closed

irb terminates with no method error

Added by sawa (Tsuyoshi Sawada) almost 11 years ago. Updated almost 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.1.2
[ruby-core:64658]

Description

When I input the following lines in irb, the irb terminates.

$ irb
irb(main):001:0> def !; end
=> :!
irb(main):002:0> !
/usr/local/lib/ruby/2.1.0/irb/input-method.rb:153:in `gets': private method `!' called for false:FalseClass (NoMethodError)
...
$

A corresponding question is posted on StackOverflow at http://stackoverflow.com/questions/25572126/irb-terminates-with-no-method-error/25572313#25572313.

Actions

Also available in: Atom PDF

Like0
Like0Like0