diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/singleton.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/singleton.rb b/lib/singleton.rb index 0d9ade3d5e..3c81b2d3cb 100644 --- a/lib/singleton.rb +++ b/lib/singleton.rb @@ -10,8 +10,8 @@ # ``the instance'' can be created. # # a,b = Klass.instance, Klass.instance -# a == b # => true -# a.new # NoMethodError - new is private ... +# a == b # => true +# Klass.new # NoMethodError - new is private ... # # * ``The instance'' is created at instantiation time, in other # words the first call of Klass.instance(), thus |