ruby--ruby/sample
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
..
README
biorhythm.rb
cal.rb
cbreak.rb
clnt.rb
dbmtest.rb
dir.rb
dualstack-fetch.rb
dualstack-httpd.rb
eval.rb
export.rb
exyacc.rb
fact.rb
fib.awk
fib.pl
fib.py
fib.rb
fib.scm
freq.rb
from.rb
fullpath.rb
getopts.test
goodfriday.rb
less.rb
list.rb
list2.rb
list3.rb
mine.rb
mkproto.rb
mpart.rb
mrshtest.rb
observ.rb
occur.pl
occur.rb
occur2.rb Improve. 2002-12-19 20:56:37 +00:00
philos.rb
pi.rb Improve. 2002-12-19 20:56:37 +00:00
rcs.awk
rcs.dat
rcs.rb Improve. 2002-12-19 20:56:37 +00:00
regx.rb
sieve.rb
svr.rb
test.rb * hash.c (env_clear): new Hash compatible method. 2003-01-07 07:36:40 +00:00
time.rb Improve. 2002-12-19 20:56:37 +00:00
trojan.rb Improve. 2002-12-19 20:56:37 +00:00
tsvr.rb Improve. 2002-12-19 20:56:37 +00:00
uumerge.rb

README

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
dbmtest.rb	test for dbm
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
dstore.rb	object database on dbm
eval.rb		simple evaluator
export.rb	method access example
exyacc.rb	extrace BNF from yacc file
fact.rb		factorial calculator
fib.awk		Fibonacci number (AWK)
fib.pl		Fibonacci number (Perl)
fib.py		Fibonacci number (Python)
fib.rb		Fibonacci number (Ruby)
fib.scm		Fibonacci number (Scheme)
freq.rb		count word occurrence
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
getopts.test	test fot getopt.rb
goodfriday.rb	print various christian calendar event.
io.rb		io test
irb.rb		interactive ruby
less.rb		front end for less
list.rb		stupid object sample
list2.rb	stupid object sample
list3.rb	stupid object sample
mine.rb		simple mine sweeper	
mkproto.rb	extract protptype from C
mpart.rb	split file int multi part
mrshtest.rb	test marshal
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
occur2.rb	count word occurrence - another style
philos.rb	famous dining philosophers
pi.rb		calculate PI
rcs.awk		random character stereogram (AWK)
rcs.rb		random character stereogram (Ruby)
rcs.dat		data for random character stereogram
rd2html.rb	rd (Ruby Document) to HTML translator
regx.rb		regular expression tester
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
trojan.rb	simple tool to find file that may be trojan horse.
tsvr.rb		socket server using thread
uumerge.rb	merge files and uudecode them