зеркало из https://github.com/github/ruby.git
* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fd855a082b
Коммит
0d2e8c14bb
|
@ -1,3 +1,7 @@
|
|||
Thu Jan 1 07:42:36 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
|
||||
|
||||
Thu Jan 1 07:16:44 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in (distclean-ext, realclean-ext): use EXTS as default.
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
# * this ensures that only one instance of Klass lets call it
|
||||
# ``the instance'' can be created.
|
||||
#
|
||||
# a,b = Klass.instance, Klass.instance
|
||||
# a == b # => true
|
||||
# a.new # NoMethodError - new is private ...
|
||||
# a,b = Klass.instance, Klass.instance
|
||||
# a == b # => true
|
||||
# a.new # NoMethodError - new is private ...
|
||||
#
|
||||
# * ``The instance'' is created at instantiation time, in other
|
||||
# words the first call of Klass.instance(), thus
|
||||
|
|
Загрузка…
Ссылка в новой задаче