From 44f221cefc83dac89a8890703403524dbdcd1012 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 2 Jan 2009 14:28:02 +0000 Subject: * lib/singleton.rb: fix documentation. [ruby-core:21038] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/singleton.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/singleton.rb b/lib/singleton.rb index 0d9ade3d5..3c81b2d3c 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 -- cgit