From: marcandre-ruby-core@... Date: 2020-10-02T04:33:18+00:00 Subject: [ruby-core:100276] [Ruby master Feature#17210] More readable and useful `Set#inspect` Issue #17210 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Feature #17210: More readable and useful `Set#inspect` https://bugs.ruby-lang.org/issues/17210 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal * Assignee: knu (Akinori MUSHA) ---------------------------------------- I would like to change `Set#inspect`/`to_s`: ```ruby # before puts Set[1,2,3] # => "#" # after puts Set[1,2,3] # => "Set[1, 2, 3]" ``` This output is shorter, readable, and has the property that it corresponds to Ruby code -- https://bugs.ruby-lang.org/ Unsubscribe: