diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-01 06:43:27 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-01 06:43:27 +0000 |
commit | 8773751012160f65af99c104b7850755e7120a71 (patch) | |
tree | 280443c4c840fe992694c21c7da92d069fe8e11c /lib | |
parent | bf4f43e21092ec6432671d595a6a42e939f51494 (diff) |
merges r21221 from trunk into ruby_1_9_1.
* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/singleton.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |