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 | 3af58b4a5b347379601e10dcee2f6f2119b0e1bd (patch) | |
| tree | 7b30dcb0418c9861486ea330fdc90fc69a595127 /lib/singleton.rb | |
| parent | 56f5d2d29b1bbe2650ef714ebaa9cd0d4e254703 (diff) | |
| download | ruby-3af58b4a5b347379601e10dcee2f6f2119b0e1bd.tar.gz ruby-3af58b4a5b347379601e10dcee2f6f2119b0e1bd.tar.xz ruby-3af58b4a5b347379601e10dcee2f6f2119b0e1bd.zip | |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/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 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. # |
