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 | 0d2e8c14bb187e5f5a117f6e37a6b4ab34e540e1 (patch) | |
tree | 62b1a3245c783dafb69d8e05f2ddb0d843b8d50f | |
parent | fd855a082bc0485dd2f9132a16cd91fd14ba76cb (diff) | |
download | ruby-0d2e8c14bb187e5f5a117f6e37a6b4ab34e540e1.tar.gz |
* 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
-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 c6a2527d9a..0d9ade3d5e 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 |