Project

General

Profile

Actions

Bug #16647

closed

Redefining $/ causes irb to misbehave

Added by mehagar (Michael Hagar) about 4 years ago. Updated about 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
[ruby-core:97234]

Description

If I start irb and then do:

$/ = "asdf"

then every character I type shows a newline on the irb console. Previous versions of ruby do not have this behavior, and it is annoying.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0