[#82706] [Ruby trunk Bug#13851] getting "can't modify string; temporarily locked" on non-frozen instances — cardoso_tiago@...
Issue #13851 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/07
[#82853] [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork — russell.davis@...
Issue #13916 has been reported by russelldavis (Russell Davis).
3 messages
2017/09/19
[#82892] [Ruby trunk Bug#13921] buffered read_nonblock doesn't work as expected using SSLSocket — cardoso_tiago@...
Issue #13921 has been updated by chucke (Tiago Cardoso).
3 messages
2017/09/20
[ruby-core:82867] [Ruby trunk Feature#13801] Implement case equality test for Set#===
From:
knu@...
Date:
2017-09-19 08:48:22 UTC
List:
ruby-core #82867
Issue #13801 has been updated by knu (Akinori MUSHA). I don't remember but I guess I didn't define `Set#===` probably because Array didn't, but I agree `Set#===` could be useful and intuitive, so I've merged your PR with a slight modification (alias to save an extra method call) and a test in addition to the specs. Thanks! ---------------------------------------- Feature #13801: Implement case equality test for Set#=== https://bugs.ruby-lang.org/issues/13801#change-66766 * Author: davidarnold (David Arnold) * Status: Closed * Priority: Normal * Assignee: knu (Akinori MUSHA) * Target version: ---------------------------------------- In keeping with other class semantics, Set should implement an inclusion / membership test for #===. For example with Range: ~~~ ruby (1..3) === 2 #=> true ~~~ Desired behavior: ~~~ ruby Set[1, 2, 3] === 2 #=> true ~~~ Current behavior: ~~~ ruby Set[1, 2, 3] === 2 #=> false ~~~ -- 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>