Project

General

Profile

Actions

Feature #13676

closed

to_s method is not overriden for Set

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

Status:
Closed
Priority:
Normal
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