akr
aede5b3911
update comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 23:45:12 +00:00
marcandre
a50bdcd6df
* lib/ostruct.rb (method_missing): Handle [] and []= correctly.
...
Based on a patch by Caius Durling, bug #4179 [ruby-core:33792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 15:59:02 +00:00
shyouhei
42f704a8fa
prevent an error when passing a frozen string to REXML::Text.new
...
dup the string passed in instead of cloning so that it's frozen state is ignored
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 02:34:23 +00:00
jeg2
a9c056f1ed
* lib/csv.rb: Enhance each() to support Enumerator.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 15:35:06 +00:00
jeg2
b74f5dee4a
* lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
...
[Ruby 1.9 - Bug #4785 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 13:32:40 +00:00
shyouhei
c0f09a8a35
* lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
...
* test/xmlrpc/parser.rb: test for the above
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 06:44:48 +00:00
jeg2
6e7544f132
* lib/csv.rb: Improved stray quoting error message (patch by Edvard Majakari).
...
* lib/csv.rb: Remove debugging prints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 14:46:08 +00:00
drbrain
5bf1c145d4
* lib/benchmark.rb: Restore nodoc for Benchmark::Job and
...
Benchmark::Report. [Ruby 1.9 - Bug #4726 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:38:30 +00:00
drbrain
0441079b58
* lib/net/pop.rb: Hide implementation details from RDoc.
...
[Ruby 1.9 - Bug #4711 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:30:04 +00:00
drbrain
9c711c0be6
* lib/net/ftp.rb: Add :nodoc: for private methods.
...
[Ruby 1.9 - Bug #4710 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:26:51 +00:00
drbrain
421875eeff
* lib/erb.rb: Restore documentation for ERB::Util and ERB::DefMethod
...
(oops). [Ruby 1.9 - Bug #4694 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:24:32 +00:00
drbrain
373ea89e17
* lib/erb.rb: Hide documentation for implementation details of ERB.
...
[Ruby 1.9 - Bug #4694 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:22:40 +00:00
nobu
c5c245554d
* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
...
compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:58:18 +00:00
nobu
9a7e295255
* lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:12:20 +00:00
nobu
54bbfe811e
* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be overridden in subclasses.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 21:22:00 +00:00
tenderlove
4eaf3d4a51
* lib/yaml.rb: switch default YAML engine to Psych, old syck engine
...
may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 19:05:47 +00:00
drbrain
1cb6879c82
* lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. Garcia.
...
[Ruby 1.9 - Bug #4768 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:21:10 +00:00
sorah
6dc0488148
* lib/test/unit/parallel.rb: Never Ignore SIGINT. When received
...
Interrupt, immediately puts result and exit. [ruby-dev:43571]
* lib/test/unit.rb: When received Interrupt, wait results from workers
and correct them. [ruby-dev:43571]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:10:49 +00:00
drbrain
1e13786700
* lib/mathn.rb: Improve documentation. Patch by Sandor Szucs.
...
[Ruby 1.9 - Bug #4767 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 00:08:30 +00:00
drbrain
c651520c13
* lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.
...
[Ruby 1.9 - Bug #4761 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 23:46:08 +00:00
drbrain
883fb2bbfc
* lib/timeout.rb: Improve documentation. Patch by David Copeland.
...
[Ruby 1.9 - Bug #4755 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:27:09 +00:00
drbrain
95e1fc5b4e
* lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.
...
[Ruby 1.9 - Bug #4753 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:21:56 +00:00
drbrain
bb34bcbe47
* lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.
...
[Ruby 1.9 - Bug #4752 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:14:57 +00:00
drbrain
55aa4dce3b
* lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch by
...
Bil Kleb. [Ruby 1.9 - Bug 4751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 02:12:15 +00:00
nagachika
78cd4749d8
* lib/scanf.rb: fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-20 12:22:26 +00:00
drbrain
7e1e46b99d
* lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.
...
[Ruby 1.9 - Bug #4735 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-19 19:24:13 +00:00
nobu
d371e3583e
* lib: revert r31635-r31638 and untabify with expand(1).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-19 00:07:25 +00:00
drbrain
b205e55953
* lib/benchmark.rb: Fix indentation.
...
* lib/net/imap.rb: Fix indentation of regular expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 22:07:09 +00:00
drbrain
f535b33f8d
* lib/net/imap.rb: Fix indentation of EOF for heredoc.
...
* lib/debug.rb (Commands): Fix indentation of EOHELP for heredoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:41:01 +00:00
drbrain
8d90611563
* lib/mkmf.rb: Fix indentation of EOM for heredoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:31:13 +00:00
drbrain
7bbf2f3085
* lib: Convert tabs to spaces for ruby files per
...
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
Patch by Steve Klabnik [Ruby 1.9 - Bug #4730 ]
Patch by Jason Dew [Ruby 1.9 - Feature #4718 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:19:18 +00:00
drbrain
34276148c4
* lib/cgi/util.rb: Improve documentation. Patch by Clinton Nixon.
...
[Ruby 1.9 - Bug #4733 ]
* lib/cgi/core.rb: ditto
* lib/cgi/cookie.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:07:13 +00:00
drbrain
ebce1b4bd6
* lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clinton
...
Nixon. [Ruby 1.9 - Bug #4728 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:02:36 +00:00
nobu
7dd49ed5a7
* lib: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 14:09:38 +00:00
kosaki
da3d9e99dd
* lib/timeout.rb (Timeout#timeout): don't leak "execution expired"
...
exception. [Bug #4283 ] [ruby-core:34534].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 11:31:58 +00:00
drbrain
3cb36fadf2
* lib/cmath.rb: Add some examples and improve documentation. Patch by
...
Sandor Szücs. [Ruby 1.9 - Bug #4727 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 21:09:39 +00:00
drbrain
0d014df637
* lib/benchmark.rb: Remove nodoc from Benchmark::Job and
...
Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 20:42:25 +00:00
drbrain
1ebfbd7c63
* lib/webrick/compat.rb: Improve documentation. Patch by Sandor
...
Szücs. [Ruby 1.9 - Bug #4725 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 20:29:58 +00:00
drbrain
747772bd43
* lib/tracer.rb: Improve documentation. Patch by Richard Ramsden.
...
[Ruby 1.9 - Feature #4720 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 20:16:23 +00:00
drbrain
6e1b572364
* lib/cmath.rb: Improve documentation. Patch by Jason Dew.
...
[Ruby 1.9 - Feature #4717 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 19:54:40 +00:00
drbrain
af70305901
* lib/net/ftp.rb (module Net):
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 19:51:16 +00:00
drbrain
f4c41cf2d2
* lib/singleton.rb: Improve documentation. Patch by Pete Higgins.
...
[Ruby 1.9 - Bug #4709 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 18:03:19 +00:00
drbrain
13ae409e1e
* lib/net/http.rb: Improve documentation of proxy configuration
...
methods. Patch by Alf Mikula. [Ruby 1.9 - Bug #4714 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 22:15:32 +00:00
drbrain
a13b23973a
* lib/net/pop.rb: Improve documentation. Patch by Vincent Batts.
...
[Ruby 1.9 - Bug #4711 ]
* lib/net/telnet.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 22:09:23 +00:00
drbrain
3257aa8f8f
* lib/net/http.rb: Fix nodoc for Net::HTTP::version_1_1?. Patch by
...
Alf Mikula. [Ruby 1.9 - Bug #4713 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 22:00:48 +00:00
drbrain
ae4afa5a4e
* lib/optparse.rb: Add link to make_switch to improve documentation.
...
Patch by David Copeland. [Ruby 1.9 - Bug #4708 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:57:22 +00:00
drbrain
1234af557b
* lib/observer.rb: Improve documentation. Patch by David Copeland.
...
[Ruby 1.9 - Bug #4707 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:53:12 +00:00
drbrain
532f1485d3
* lib/logger.rb: Improve documentation. Patch by David Copeland.
...
[Ruby 1.9 - Bug #4706 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:43:20 +00:00
drbrain
28c2fa2fdb
* lib/gserver.rb: Improve documentation. Patch by David Copeland.
...
[Ruby 1.9 - Bug #4705 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:31:06 +00:00
drbrain
e60f744e9a
* lib/cgi.rb: Add toplevel documentation to class CGI
...
* lib/cgi/session.rb: Add overview documentation to CGI::Cookie
* lib/cgi/html.rb: Don't add CGI::TagMaker documentation to CGI.
Patch by David Copeland. [Ruby 1.9 - Bug #4704 ]
* lib/cgi/core.rb: Clean up CGI documentation. Patch by David
Copeland. [Ruby 1.9 - Bug #4704 ]
* lib/cgi/cookie.rb: Clean up CGI::Cookie documentation. Patch by
David Copeland. [Ruby 1.9 - Bug #4704 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 21:21:35 +00:00