ruby/lib
matz 6d481a4ae4 * hash.c (env_clear): new Hash compatible method.
* hash.c (env_shift): ditto.

* hash.c (env_invert): ditto.

* hash.c (env_replace): ditto.

* hash.c (env_update): ditto.

* array.c (rb_ary_join): dispatch based on "to_str".

* array.c (rb_ary_times): ditto.

* array.c (rb_ary_equal): ditto.

* process.c (rb_f_exec): dispatch based on "to_ary".

* eval.c (umethod_bind): exact class match is not required.  relax
  the restriction to subclasses.

* eval.c (rb_eval): call "inherited" before executing class body.

* class.c (rb_define_class): call "inherited" after defining the
  constant.

* class.c (rb_define_class_under): ditto.

* eval.c (massign): expand first element if RHS is an array and
  its size is 1, and LHS has concrete assignment target (i.e. LHS
  has target(s) other than *var).

* eval.c (massign): avoid unnecessary avalue/svalue conversion.

* eval.c (rb_yield_0): ditto

* array.c (rb_ary_update): do not allocate unused array if rpl is
  nil (i.e. merely removing elements).

* io.c (io_read): should resize supplied string if it's shorter
  than expected.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-07 07:36:40 +00:00
..
cgi Delete final.rb, which was obsoleted long ago. 2002-12-19 18:55:32 +00:00
date use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
irb * lib/irb/completion.rb: Use Object#class rather than Object#type. 2002-12-24 14:50:10 +00:00
net * lib/net/telnet.rb: Telnet#print not add "\n". 2002-12-26 17:48:29 +00:00
optparse * lib/optparse.rb (OptionParser::Switch::parse_arg): require block 2002-08-07 23:48:47 +00:00
racc use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
shell use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
uri * removed URI::Generic#to_ary. 2002-12-16 00:52:32 +00:00
English.rb
Env.rb
README * lib/README: Synchronize with reality. 2002-12-23 17:13:25 +00:00
base64.rb
benchmark.rb exiled historical RD inclusion, wrong [ruby-dev:19191] 2002-12-25 17:22:58 +00:00
cgi-lib.rb * lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not 2002-12-24 14:42:38 +00:00
cgi.rb * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA 2002-12-27 18:12:36 +00:00
complex.rb
date.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
date2.rb
debug.rb DEBUGGER__::Context::debug_print_help: Typo fix of help message. 2002-11-09 15:34:20 +00:00
delegate.rb * math.c (math_acos): check errno after operation. ditto for 2002-11-14 06:18:59 +00:00
e2mmap.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
erb.rb * erb.rb: fix def_class bug. 2002-11-21 14:39:26 +00:00
eregex.rb
fileutils.rb * lib/fileutils.rb (ln): add ' -f' in the verbose message. 2003-01-06 09:34:16 +00:00
finalize.rb * class.c (rb_define_method): do not set NOEX_CFUNC if klass is 2002-11-07 19:18:16 +00:00
find.rb
forwardable.rb
ftools.rb
getoptlong.rb * io.c (io_read): takes optional second argument to specify a 2002-12-11 09:32:41 +00:00
getopts.rb * lib/getopts.rb: Do not choke on characters that cannot be used 2002-11-03 19:05:33 +00:00
importenv.rb
ipaddr.rb * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough. 2002-12-23 17:07:49 +00:00
irb.rb * array.c (rb_ary_zip): iterates over items in the receiver. 2002-11-19 08:07:51 +00:00
jcode.rb
mailread.rb
mathn.rb
matrix.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
mkmf.rb * Makefile.in, {win32,bcc32}/Makefile.sub: add new target: 2002-12-31 12:31:12 +00:00
monitor.rb
mutex_m.rb
observer.rb * observer.rb: raise NoMethodError instead of NameError. [ruby-dev:18788] 2002-11-14 22:46:00 +00:00
open-uri.rb Add a missing ||. 2002-12-18 19:22:46 +00:00
open3.rb
optparse.rb renamed OptionParser#new to #define. 2002-12-02 09:40:44 +00:00
ostruct.rb * instruby.rb: not rewrite installed scripts when dry-run mode. 2002-11-18 20:09:46 +00:00
parsearg.rb * numeric.c (num_to_int): default to_int implementaion for every 2002-07-29 06:14:10 +00:00
parsedate.rb
ping.rb * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:22:18 +00:00
pp.rb * lib/pp.rb (PP.singleline_pp): new method. 2002-12-02 16:16:05 +00:00
prettyprint.rb * lib/prettyprint.rb (PrettyPrint.singleline_format): new method. 2002-10-08 01:58:34 +00:00
profile.rb * object.c (Init_Object): should not remove Class#allocate. 2002-12-20 09:00:10 +00:00
profiler.rb * object.c (Init_Object): should not remove Class#allocate. 2002-12-20 09:00:10 +00:00
pstore.rb * hash.c (env_clear): new Hash compatible method. 2003-01-07 07:36:40 +00:00
rational.rb * lib/rational.rb(Rational#hash): modify algorism for hash-function. 2002-08-15 07:36:35 +00:00
readbytes.rb
resolv-replace.rb
resolv.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
set.rb Convert RD to Rdoc. 2002-12-24 05:29:04 +00:00
shell.rb
shellwords.rb
singleton.rb use Object#class instead of deprecated Object#type. 2002-10-02 16:45:35 +00:00
sync.rb
tempfile.rb Rename an argument name to avoid a potential clash. 2002-12-23 14:48:14 +00:00
thread.rb * file.c (rb_find_file): $LOAD_PATH must not be empty. 2002-08-27 08:31:08 +00:00
thwait.rb
time.rb * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness. 2002-08-24 05:18:08 +00:00
timeout.rb
tracer.rb * class.c (rb_define_method): do not set NOEX_CFUNC if klass is 2002-11-07 19:18:16 +00:00
tsort.rb * pp.rb (ARGF.pretty_print): implemented. 2002-09-11 12:29:17 +00:00
uri.rb * removed URI::Generic#to_ary. 2002-12-16 00:52:32 +00:00
weakref.rb * lib/weakref.rb (WeakRef::@@final): use Hash#delete. 2002-10-10 07:00:07 +00:00

README

English.rb	lets Perl'ish global variables have English names
Env.rb		loads importenv.rb
README		this file
base64.rb	encodes/decodes base64 (obsolete)
benchmark.rb	a benchmark utility
cgi-lib.rb	simple CGI support library (old style)
cgi.rb		CGI support library
cgi/session.rb	CGI session class
complex.rb	complex number suppor
date.rb		date object
date/format.rb	date parsing and formatting
date2.rb	date object (obsolete; use date)
debug.rb	ruby debugger
delegate.rb	delegates messages to other object
e2mmap.rb	exception utilities
erb.rb		tiny eRuby library
eregex.rb	extended regular expression (just a proof of concept)
fileutils.rb	file utilities
finalize.rb	adds finalizer to the object
find.rb		traverses directory tree
forwardable.rb	explicit delegation library
ftools.rb	file tools
getoptlong.rb	GNU getoptlong compatible
getopts.rb	parses command line options (use getoptlong)
importenv.rb	imports environment variables as global variables
ipaddr.rb	defines the IPAddr class
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 (DO NOT USE)
net/smtp.rb	SMTP access
net/telnet.rb	telnet library
observer.rb	observer desing pattern library (provides Observable)
open-uri.rb     easy-to-use network interface using URI and Net
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	runs ruby profiler
profiler.rb	ruby profiler module
pstore.rb	persistent object strage using marshal
racc/parser.rb	racc (Ruby yACC) runtime
rational.rb	rational number support
readbytes.rb	define IO#readbytes
resolv-replace.rb	replace Socket DNS by resolve.rb
resolv.rb	DNS resolver in Ruby
set.rb		defines the Set class
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
tempfile.rb	temporary file with automatic removal
thread.rb	thread support
thwait.rb	thread syncronization class
time.rb		RFC2822, RFC2616, ISO8601 style time formatting/parsing
timeout.rb	provides timeout
tracer.rb	execution tracer
tsort.rb	topological sorting
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