General

Profile

kaikuchn (Kai Kuchenbecker)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

11/13/2019

04:04 PM Ruby Feature #13683: Add strict Enumerable#single
I like `one` a lot. Especially since there's already `one?`. kaikuchn (Kai Kuchenbecker)

02/17/2017

03:34 PM Ruby Bug #13102: Confusing method name: Set#delete?
Stefan Schüßler wrote:
> Not really, `Set#delete` also modifies the receiver.
> ...
Let me point you to this explanation on the use of bang in ruby method names: https://www.ruby-forum.com/topic/176830#773946
It is perpetually misunde...
kaikuchn (Kai Kuchenbecker)

01/09/2017

09:06 AM Ruby Bug #13102: Confusing method name: Set#delete?
Ryan Davis wrote:
> http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html#method-i-delete-3F
> ...
Exactly, it is the duality we all know from methods such as Array's #uniq and #uniq!, #select and #select!, #flatten and #flatten! o...
kaikuchn (Kai Kuchenbecker)

01/04/2017

05:18 PM Ruby Bug #13102: Confusing method name: Set#delete?
PS: This has been in the stdlib since at least 1.8.7 according to the docs. kaikuchn (Kai Kuchenbecker)
05:18 PM Ruby Bug #13102 (Rejected): Confusing method name: Set#delete?
Greetings,
a colleague of mine who recently started to learn Ruby managed to greatly confuse me today when he used Set#delete? which he claimed would delete an item from a set.
Reading the documentation I suspect the method was meant...
kaikuchn (Kai Kuchenbecker)

12/27/2015

12:46 AM Ruby Bug #11884 (Closed): Psych.load broken for OpenStruct in Ruby 2.3.0
Deserialising an OpenStruct through Psych::load results in a nil error since OpenStruct now has a respond_to_missing? method whose implementation references OpenStruct's @table instance variable.
To reproduce this issue simply use Psy...
kaikuchn (Kai Kuchenbecker)

Also available in: Atom