Permalink
Browse files

Add Kernel#initialize_dup

  • Loading branch information...
carlosgaldino committed Sep 16, 2012
1 parent 50cd87b commit 91a64bf6763ff90a423e46595328b484a39cb244
Showing with 4 additions and 0 deletions.
  1. +4 −0 kernel/common/kernel19.rb
@@ -247,4 +247,8 @@ def Rational(a, b = 1)
def <=>(other)
self == other ? 0 : nil
end
+
+ def initialize_dup(other)
+ initialize_copy(other)
+ end
end

0 comments on commit 91a64bf

Please sign in to comment.