From 536a2eb9faeddca1f1bd187b44853f9640e45e0f Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 1 Jan 2009 06:43:27 +0000 Subject: merges r21221 from trunk into ruby_1_9_1. * lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/singleton.rb | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d48b1da81..2e79b984c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 1 07:42:36 2009 Yukihiro Matsumoto + + * lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029] + Thu Jan 1 07:16:44 2009 Nobuyoshi Nakada * 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 -- cgit