mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04284b7663
commit
52fcd892e7
1 changed files with 3 additions and 3 deletions
|
@ -16,11 +16,11 @@
|
||||||
# * ``The instance'' is created at instantiation time, in other
|
# * ``The instance'' is created at instantiation time, in other
|
||||||
# words the first call of Klass.instance(), thus
|
# words the first call of Klass.instance(), thus
|
||||||
#
|
#
|
||||||
# class OtherKlass
|
# class OtherKlass
|
||||||
# include Singleton
|
# include Singleton
|
||||||
# # ...
|
# # ...
|
||||||
# end
|
# end
|
||||||
# ObjectSpace.each_object(OtherKlass){} # => 0.
|
# ObjectSpace.each_object(OtherKlass){} # => 0.
|
||||||
#
|
#
|
||||||
# * This behavior is preserved under inheritance and cloning.
|
# * This behavior is preserved under inheritance and cloning.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue