Project

General

Profile

Actions

Bug #17557

closed

IRB array returned in multiple lines

Added by sergioro (Sergio Romero) over 3 years ago. Updated over 3 years ago.

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

Description

Hi Rubysts. In previous versions of IRB an array was displayed in a single line like:

's'.methods
=> [:unicode_normalize, :unicode_normalize!, :ascii_only?, :to_r, :unpack, ..., :!=, :equal?, :__id__, :instance_eval, :instance_exec]

But in version 1.3.1 (2021-01-12) the array is returned in multiple lines:

's'.methods
=>
[:unicode_normalize,
 :unicode_normalize!,
 :ascii_only?,
 :to_r,
 :unpack,
 ...,
 :!=,
 :equal?,
 :__id__,
 :instance_eval,
 :instance_exec]

Is there a way to toggle this behavior, perhaps IRB.conf?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0