summaryrefslogtreecommitdiffstats
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
commit88ae4864402777233f15203c9c4cdbe6e04948bf (patch)
treee09385120051c6185163b0871efb0f3b0d47c455 /lib/singleton.rb
parentba28efd5c412c102568c71524306070959e21cbd (diff)
downloadruby-88ae4864402777233f15203c9c4cdbe6e04948bf.tar.gz
ruby-88ae4864402777233f15203c9c4cdbe6e04948bf.tar.xz
ruby-88ae4864402777233f15203c9c4cdbe6e04948bf.zip
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/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 18fda0bc5..0ab851727 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.
#