1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
knu f2dfae7ea0 * lib/getopts.rb: Rewrite to fix some bugs and complete features.
- Accept options with the colon in the first argument;
    getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:").
  - Do not discard the argument that caused an error.
  - Do not discard '-', which commonly stands for stdin.
  - Allow specifying a long option with a value using '='.
    (command --long-option=value)
  - Stop reading options when it meets a non-option argument.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04 21:15:47 +00:00
..
cgi Reflect the update of the MD5 module which is now Digest::MD5. 2001-12-01 14:07:01 +00:00
irb * lib/matrix.rb: resolve 'ruby -w' warnings. 2001-06-27 15:35:04 +00:00
net * lib/net/imap.rb: added document. 2002-03-01 02:27:37 +00:00
shell * lib/matrix.rb: resolve 'ruby -w' warnings. 2001-06-27 15:35:04 +00:00
uri * lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is absolute URI. 2002-02-26 02:36:05 +00:00
base64.rb This commit was generated by cvs2svn to compensate for changes in r372, 1999-01-20 04:59:39 +00:00
cgi-lib.rb matz 2000-07-19 08:04:52 +00:00
cgi.rb * lib/cgi.rb: CGI#header: do not set Apache.request.status for 2001-11-21 03:30:22 +00:00
complex.rb * class.c (rb_mod_clone): should not copy class name, since clone 2001-10-22 06:48:18 +00:00
date.rb * parse.y (arg): "||=" should not warn for uninitialized instance 2001-05-07 09:26:29 +00:00
date2.rb matz - date/date2 integration 2000-07-18 07:37:02 +00:00
debug.rb Corrected mis-indentation. Try diff -w to find that these are the same without 2002-02-25 15:30:31 +00:00
delegate.rb * parse.y (str_extend): should check nesting parentheses in #{}. 2001-11-21 15:42:12 +00:00
e2mmap.rb forgot some checkins. 2001-05-06 15:06:00 +00:00
English.rb * lib/English.rb: typo 2002-01-11 09:22:04 +00:00
Env.rb * eval.c (proc_call): should not modify ruby_block->frame.iter 2001-02-26 05:29:06 +00:00
eregex.rb 2000-02-23 2000-02-23 05:23:12 +00:00
final.rb matz 2000-07-15 13:37:03 +00:00
finalize.rb matz 2000-09-07 06:59:46 +00:00
find.rb * gc.c (id2ref): sometimes confused symbol and reference. 2001-03-21 03:41:45 +00:00
forwardable.rb * matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug. 2001-11-03 13:41:57 +00:00
ftools.rb * lib/ftools.rb (catname): allow trailing '/' for the destination. 2001-10-02 10:36:34 +00:00
ftplib.rb 2000-02-23 2000-02-23 05:23:12 +00:00
getoptlong.rb The author of getoptlong.rb has agreed on changing the license from 2002-01-04 09:03:11 +00:00
getopts.rb * lib/getopts.rb: Rewrite to fix some bugs and complete features. 2002-03-04 21:15:47 +00:00
importenv.rb * eval.c (proc_call): should not modify ruby_block->frame.iter 2001-02-26 05:29:06 +00:00
irb.rb *** empty log message *** 2001-05-08 09:28:19 +00:00
jcode.rb * lib/jcode.rb: fixup quote handing. 2001-09-06 08:12:24 +00:00
mailread.rb * ext/socket/socket.c (unix_addr): getsockname(2) may result len = 0. 2001-10-02 04:31:23 +00:00
mathn.rb forgot some checkins. 2001-05-06 15:06:00 +00:00
matrix.rb * matrix.rb: Vector#* bug. reported from Massimiliano Mirra 2001-12-09 14:11:30 +00:00
mkmf.rb * lib/mkmf.rb (dir_config): prior --with flag. 2002-01-31 12:03:08 +00:00
monitor.rb * lib/monitor.rb (wait): fix timeout support. 2001-04-02 05:27:49 +00:00
mutex_m.rb * lib/sync.rb: bug fix if obj.initialize has parameters when 2001-06-06 14:19:33 +00:00
observer.rb * array.c (rb_ary_sort_bang): returns self, even if its length is 2001-02-02 11:38:20 +00:00
open3.rb * file.c (rb_stat_rdev_major): added. [new] 2002-01-29 07:16:09 +00:00
ostruct.rb Initial revision 1998-01-16 12:19:09 +00:00
parsearg.rb This commit was generated by cvs2svn to compensate for changes in r372, 1999-01-20 04:59:39 +00:00
parsedate.rb * parse.y (yylex): fixed serious syntax misbehavior. do's 2001-01-19 19:00:28 +00:00
ping.rb * process.c (proc_waitall): new method based on a patch from Brian 2001-02-15 06:01:00 +00:00
pp.rb * prettyprint.rb: FillGroup implemented. 2002-02-22 02:31:46 +00:00
prettyprint.rb * prettyprint.rb: FillGroup implemented. 2002-02-22 02:31:46 +00:00
profile.rb * io.c (argf_seek_m): wrong calling sequence of rb_io_seek(). 2001-03-13 05:45:13 +00:00
pstore.rb Reflect the update of the MD5 module which is now Digest::MD5. 2001-12-01 14:07:01 +00:00
rational.rb regexp literal (e.g. \202) match, etc. 1999-09-01 09:48:03 +00:00
readbytes.rb 1.4.0 1999-08-13 05:45:20 +00:00
README added uri library (uri-0.9.4) 2002-01-10 08:00:51 +00:00
resolv-replace.rb * ruby.c (proc_options): unexpected SecurityError happens when -T4. 2001-05-30 09:10:30 +00:00
resolv.rb * lib/timeout.rb (timeout): new optional argument to specify an 2002-01-16 03:37:23 +00:00
shell.rb * lib/shell.rb (Shell::expand_path): relative to @cwd. 2002-02-25 04:35:12 +00:00
shellwords.rb * lib/shellwords.rb: don't destroy argument. 2001-06-03 19:25:07 +00:00
singleton.rb * file.c (rb_stat_inspect): print dev, rdev in hexadecimal. 2002-02-01 06:03:03 +00:00
sync.rb * lib/sync.rb: bug fix if obj.initialize has parameters when 2001-06-06 14:19:33 +00:00
telnet.rb 2000-05-01 2000-05-01 09:42:38 +00:00
tempfile.rb * lib/tempfile.rb: a tempfile must be created with mode 0600. 2001-07-05 17:19:28 +00:00
thread.rb * array.c (rb_ary_and): should not push frozen key string. 2001-05-16 09:05:54 +00:00
thwait.rb matz 2000-09-25 09:15:08 +00:00
time.rb fix typo in documentation. 2002-01-07 06:48:48 +00:00
timeout.rb * lib/timeout.rb (timeout): new optional argument to specify an 2002-01-16 03:37:23 +00:00
tracer.rb * time.c (time_plus): result should not be negative unless 2001-12-21 09:23:28 +00:00
uri.rb * lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is absolute URI. 2002-02-26 02:36:05 +00:00
weakref.rb * process.c (security): always give warning for insecure PATH. 2001-11-08 06:43:14 +00:00

English.rb	lets Perl'ish global variables have English names
Env.rb		loads importenv.rb
README		this file
base64.rb	encodes/decodes base64 (obsolete)
cgi-lib.rb	simple CGI support library (old style)
cgi.rb		CGI support library
cgi/session	CGI session class
complex.rb	complex number suppor
date.rb		date object
date2.rb	date object (obsolete; use date)
debug.rb	ruby debugger
delegate.rb	delegates messages to other object
e2mmap.rb	exception utilities
eregex.rb	extended regular expression (just a proof of concept)
final.rb	adds finalizer to the object (simple)
finalize.rb	adds finalizer to the object
find.rb		traverses directory tree
forwardable.rb	explicit delegation library
ftools.rb	file tools
ftplib.rb	obsolete - use net/ftp
getoptlong.rb	GNU getoptlong compatible
getopts.rb	parses command line options (use getoptlong)
importenv.rb	imports environment variables as global variables
irb.rb		interactive ruby
jcode.rb	Japanese text handling (replace String methods)
mailread.rb	reads mail headers
mathn.rb	extended math operation
matrix.rb	matrix calculation library
mkmf.rb		Makefile maker
monitor.rb	exclusive region monitor for thread
mutex_m.rb	mutex mixin
net/ftp.rb	ftp access
net/http.rb	HTTP access
net/imap.rb	IMAP4 access
net/pop.rb	POP3 access
net/protocol.rb	abstract class for net library
net/smtp.rb	SMTP access
net/telnet.rb	telnet library
observer.rb	observer desing pattern library (provides Observable)
open3.rb	opens subprocess connection stdin/stdout/stderr
ostruct.rb	python style object
parsearg.rb	argument parser using getopts
parsedate.rb	parses date string
ping.rb		checks whether host is up, using TCP echo.
pp.rb		pretty print objects
prettyprint.rb	pretty printing algorithm
profile.rb	ruby profiler
pstore.rb	persistent object strage using marshal
rational.rb	rational number support
readbytes.rb	define IO#readbytes
resolv.rb	DNS resolver in Ruby
resolv-replace.rb	replace Socket DNS by resolve.rb
shell.rb	runs commands and does pipeline operations like shell
shellwords.rb	split into words like shell
singleton.rb	singleton design pattern library
sync.rb		2 phase lock
telnet.rb	obsolete - use net/telnet
tempfile.rb	temporary file with automatic removal
time.rb		RFC2822, RFC2616, ISO8601 style time formatting/parsing
thread.rb	thread support
thwait.rb	thread syncronization class
timeout.rb	provides timeout
tracer.rb	execution tracer
uri.rb		URI support
uri/ftp.rb	ftp scheme support
uri/http.rb	http scheme support
uri/https.rb	https scheme support
uri/ldap.rb	ldap scheme support
uri/mailto.rb	mailto scheme support
weakref.rb	weak reference class