summaryrefslogtreecommitdiff
path: root/lib/singleton.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 14:52:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 14:52:59 +0000
commitb7efe244cd1fa7246ab9d28da697068a9a680230 (patch)
treee09385120051c6185163b0871efb0f3b0d47c455 /lib/singleton.rb
parent27c921dfade1a806ec39dcd4c79dd2dd008316a4 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/singleton.rb')
-rw-r--r--lib/singleton.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/singleton.rb b/lib/singleton.rb
index 18fda0b..0ab8517 100644
--- a/lib/singleton.rb
+++ b/lib/singleton.rb
@@ -16,11 +16,11 @@
# * ``The instance'' is created at instantiation time, in other
# words the first call of Klass.instance(), thus
#
-# class OtherKlass
+# class OtherKlass
# include Singleton
# # ...
-# end
-# ObjectSpace.each_object(OtherKlass){} # => 0.
+# end
+# ObjectSpace.each_object(OtherKlass){} # => 0.
#
# * This behavior is preserved under inheritance and cloning.
#