diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 22:43:41 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 22:43:41 +0000 |
| commit | d5d5820008b28575caba5ff28a7af7a72547dd51 (patch) | |
| tree | 62b1a3245c783dafb69d8e05f2ddb0d843b8d50f | |
| parent | 11bf69354e7284d4729f7e347dd6d15e7fab7b6f (diff) | |
| download | ruby-d5d5820008b28575caba5ff28a7af7a72547dd51.tar.gz ruby-d5d5820008b28575caba5ff28a7af7a72547dd51.tar.xz ruby-d5d5820008b28575caba5ff28a7af7a72547dd51.zip | |
* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/singleton.rb | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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. diff --git a/lib/singleton.rb b/lib/singleton.rb index c6a2527d9..0d9ade3d5 100644 --- a/lib/singleton.rb +++ b/lib/singleton.rb @@ -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 |
