ruby/sample
Jeremy Evans 71d97a5ef8 Fix sample/drb/http0serv.rb
Previously, trying to use this would result in:

undefined method `uri' for #<DRb::HTTP0::ServerSide:0x00000aec9f1637f8> (NoMethodError)

Also, use a relative require to load sample/drb/http0.rb.

Fixes [Bug #13431]
2019-08-25 10:56:47 -07:00
..
drb Fix sample/drb/http0serv.rb 2019-08-25 10:56:47 -07:00
logger
openssl
optparse
pty pty/shl.rb: update [ci skip] 2017-02-05 01:26:27 +00:00
rdoc/markup
ripper erb.rb: deprecate safe_level of ERB.new 2018-02-22 13:28:25 +00:00
rss
testunit
trick2013 For this may be a syntax error (instead of LocalJumpError) in Ruby 2.7 2019-02-04 06:28:57 +00:00
trick2015 Fixed typos. 2018-01-12 09:07:47 +00:00
trick2018 Fix typo in trick2018/README [ci skip] 2018-12-03 10:35:13 +00:00
webrick
README Drop duplicated sample code (#2389) [ci skip] 2019-08-19 18:43:23 +09:00
benchmark.rb
biorhythm.rb Clean sample code biorhythm (#2375) 2019-08-17 15:03:00 +09:00
cal.rb
cbreak.rb Fix NoMethodError [ci skip] 2017-05-03 01:44:52 +00:00
cgi-session-pstore.rb
clnt.rb
coverage.rb
delegate.rb * basictest/test.rb: Adjust spaces in class declarations 2016-10-07 05:18:57 +00:00
dir.rb Accurate a sample to show having some ext (#2385) 2019-08-19 17:30:59 +09:00
dualstack-fetch.rb
dualstack-httpd.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
eval.rb
export.rb * basictest/test.rb: Adjust spaces in class declarations 2016-10-07 05:18:57 +00:00
exyacc.rb
fact.rb Simplify a sample code (#2374) 2019-08-17 14:56:57 +09:00
fib.awk
fib.pl
fib.py sample/fib.py: Fix syntax error in Python 3 [ci skip] 2018-12-18 23:36:47 +00:00
fib.rb
fib.scm
from.rb
fullpath.rb
iseq_loader.rb sample/iseq_loader: use File.open instead of Kernel#open 2018-01-12 09:31:22 +00:00
less.rb
list.rb
list2.rb
list3.rb Update a sample code (#2387) 2019-08-19 18:00:29 +09:00
mine.rb
mkproto.rb
mpart.rb
net-imap.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
pstore.rb
rcs.awk
rcs.dat
rcs.rb
rinda-ring.rb
sieve.rb
simple-bench.rb
svr.rb
tempfile.rb
test.rb fix typos [ci skip] 2016-10-27 00:45:46 +00:00
time.rb
timeout.rb sample/timeout.rb: Remove unnecessary increment [ci skip] 2018-03-22 13:01:17 +00:00
trojan.rb
tsvr.rb
uumerge.rb
weakref.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
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