summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/singleton.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/singleton.rb b/lib/singleton.rb
index 18fda0bc58..0ab8517275 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.
#