diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-15 14:52:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-15 14:52:59 +0000 |
commit | 52fcd892e7c7eb553fd94c124f4ba59c90b73cb5 (patch) | |
tree | 7b30dcb0418c9861486ea330fdc90fc69a595127 /lib/singleton.rb | |
parent | 04284b7663e40098e688c15b5b206a47760588dc (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/singleton.rb')
-rw-r--r-- | lib/singleton.rb | 6 |
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. # |