Skip to content

Instantly share code, notes, and snippets.

View s7ephen's full-sized avatar

Stephen A. Ridley s7ephen

View GitHub Profile
@s7ephen
s7ephen / dup_derp
Created October 21, 2009 19:37 — forked from al3x/dup_derp
$ irb
>> 1.class
=> Fixnum
>> 1.respond_to?(:dup)
=> true
>> 1.dup
TypeError: can't dup Fixnum
from (irb):3:in `dup'
from (irb):3
-navi-two:~ s7ephen$ irb -v