Issue #13676 has been reported by razor (Marat Chardymov).

----------------------------------------
Feature #13676: to_s method is not overriden for Set
https://bugs.ruby-lang.org/issues/13676

* Author: razor (Marat Chardymov)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
When I call 
~~~ ruby
s1 = Set.new
s1<<'tic'<<'tac'
s1.to_s
~~~
I'd expect ['tic', 'tac'] values being printed, not "#<Set:0x0055f331076348>"




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>