Project

General

Profile

Actions

Feature #13676

closed

to_s method is not overriden for Set

Added by razor (Marat Chardymov) almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:81753]

Description

When I call

s1 = Set.new
s1<<'tic'<<'tac'
s1.to_s

I'd expect ['tic', 'tac'] values being printed, not "#Set:0x0055f331076348"

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0