From: knu@... Date: 2017-07-14T08:19:27+00:00 Subject: [ruby-core:82052] [Ruby trunk Feature#13676][Assigned] to_s method is not overriden for Set Issue #13676 has been updated by knu (Akinori MUSHA). Status changed from Feedback to Assigned Assignee set to knu (Akinori MUSHA) Makes sense. I'll add to_s as an alias to inspect. ---------------------------------------- Feature #13676: to_s method is not overriden for Set https://bugs.ruby-lang.org/issues/13676#change-65780 * Author: razor (Marat Chardymov) * Status: Assigned * Priority: Normal * Assignee: knu (Akinori MUSHA) * Target version: ---------------------------------------- When I call ~~~ ruby s1 = Set.new s1<<'tic'<<'tac' s1.to_s ~~~ I'd expect ['tic', 'tac'] values being printed, not "#" -- https://bugs.ruby-lang.org/ Unsubscribe: