Subject: [ruby-core:37335] singleton twice?
From: Roger Pack <rogerdpack2@ a . m
Date: Fri, 24 Jun 2011 05:38:05 +0900
Hello all.
Is the following expected?
>> class A; include Singleton; end
>> A.instance
=> #<A:0x43491c0>
>> class A; include Singleton; end
>> A.instance
=> #<A:0x4326c00>
It seems its singleton instance has been overridden?
-roger-