ruby/sample
2025-07-04 13:01:39 +09:00
..
logger
openssl
optparse
prism * remove trailing spaces. [ci skip] 2024-10-16 18:22:44 +00:00
pty
rdoc/markup
ripper
trick2013
trick2015
trick2018
trick2022
trick2025 Revert "* remove trailing spaces. [ci skip]" 2025-04-18 06:48:30 +09:00
all-ruby-quine.rb Add all-ruby-quine as a sample code 2023-02-27 11:20:42 +09:00
benchmark.rb * lib/benchmark.rb: split executable code into sample directory. 2014-07-23 19:45:09 +00:00
biorhythm.rb
cal.rb
cbreak.rb Fix NoMethodError [ci skip] 2017-05-03 01:44:52 +00:00
cgi-session-pstore.rb sample: use IO::NULL 2014-08-10 02:41:03 +00:00
clnt.rb Strive to give better examples. 2002-12-19 20:26:16 +00:00
coverage.rb Use class methods of File over Kernel.open and IO.read 2022-12-01 02:28:49 +09:00
delegate.rb
dir.rb
dualstack-fetch.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
dualstack-httpd.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
eval.rb * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:53:09 +00:00
export.rb * basictest/test.rb: Adjust spaces in class declarations 2016-10-07 05:18:57 +00:00
exyacc.rb Clean up lambda output from exyacc.rb 2021-08-25 18:23:56 -07:00
fact.rb Simplify a sample code (#2374) 2019-08-17 14:56:57 +09:00
fib.awk * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
fib.pl * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
fib.py sample/fib.py: Fix syntax error in Python 3 [ci skip] 2018-12-18 23:36:47 +00:00
fib.rb Initial revision 1998-01-16 12:13:05 +00:00
fib.scm * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
from.rb
fullpath.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
iseq_loader.rb sample/iseq_loader: use File.open instead of Kernel#open 2018-01-12 09:31:22 +00:00
less.rb Initial revision 1998-01-16 12:13:05 +00:00
list.rb Fix warning: instance variable @head not initialized and remove unused instance variable 2020-12-19 15:24:09 +09:00
list2.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
list3.rb Update a sample code (#2387) 2019-08-19 18:00:29 +09:00
mine.rb
mkproto.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
mpart.rb
observ.rb Remove unused variable to suppress warning (#2388) [ci skip] 2019-08-19 18:16:45 +09:00
occur.pl
occur.rb Drop duplicated sample code (#2389) [ci skip] 2019-08-19 18:43:23 +09:00
open3.rb
philos.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
pi.rb Improve. 2002-12-19 20:56:37 +00:00
pstore.rb * lib/pstore.rb: split executable code into sample directory. 2014-07-23 19:31:18 +00:00
rcs.awk * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
rcs.dat
rcs.rb Improve. 2002-12-19 20:56:37 +00:00
README Drop duplicated sample code (#2389) [ci skip] 2019-08-19 18:43:23 +09:00
rinda-ring.rb * lib/rinda/ring.rb: split executable code into sample directory. 2014-08-21 04:23:56 +00:00
sieve.rb * re.c (rb_reg_expr_str): need to process backslashes properly. 2002-06-28 14:42:46 +00:00
simple-bench.rb * properties. 2014-11-02 17:36:57 +00:00
svr.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
tempfile.rb
test.rb Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
time.rb * sample/time.rb: use Process.times instead of Time.times. 2008-01-02 01:15:30 +00:00
timeout.rb sample/timeout.rb: Remove unnecessary increment [ci skip] 2018-03-22 13:01:17 +00:00
trojan.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
tsvr.rb * sample/svr.rb: obsolete TCPserver renamed. [ruby-core:24712] 2009-08-03 09:26:26 +00:00
uumerge.rb Use class methods of File over Kernel.open and IO.read 2022-12-01 02:28:49 +09:00
weakref.rb * lib/weakref.rb: split executable code into sample directory. 2014-07-26 17:12:11 +00:00

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
coverage.rb	simple test code coverage tool
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
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)
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
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 prototype from C
mpart.rb	split file int multi part
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
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
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
timeout.rb	timeout test
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