5
Ruby-Klassentypen und case-Anweisungen
Was ist der Unterschied zwischen case item.class when MyClass # do something here when Array # do something different here when String # do a third thing end und case item.class when MyClass.class # do something here when Array.class # do something different here when String.class # do a third …