rio 0.3.4 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +287 -0
- data/Rakefile +7 -9
- data/VERSION +1 -1
- data/doc/ANNOUNCE +20 -1
- data/doc/RELEASE_NOTES +41 -0
- data/doc/rdoc/classes/Kernel.html +181 -0
- data/doc/rdoc/classes/Kernel.src/M000214.html +18 -0
- data/doc/rdoc/classes/RIO.html +621 -0
- data/doc/rdoc/classes/RIO.src/M000001.html +18 -0
- data/doc/rdoc/classes/RIO.src/M000002.html +18 -0
- data/doc/rdoc/classes/RIO.src/M000003.html +18 -0
- data/doc/rdoc/classes/RIO/Doc.html +138 -0
- data/doc/rdoc/classes/RIO/Doc/HOWTO.html +1040 -0
- data/doc/rdoc/classes/RIO/Doc/INTRO.html +1613 -0
- data/doc/rdoc/classes/RIO/Doc/MISC.html +443 -0
- data/doc/rdoc/classes/RIO/Doc/SYNOPSIS.html +338 -0
- data/doc/rdoc/classes/RIO/IF.html +114 -0
- data/doc/rdoc/classes/RIO/IF/CSV.html +202 -0
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000004.html +19 -0
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000005.html +16 -0
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000006.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.html +499 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000007.html +19 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000008.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000009.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000010.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000011.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000012.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000013.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000014.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000015.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000016.html +16 -0
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000017.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.html +7121 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000018.html +18 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000019.html +20 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000020.html +27 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000021.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000023.html +19 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000024.html +20 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000025.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000026.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000027.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000028.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000029.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000030.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000031.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000032.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000033.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000034.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000035.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000036.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000037.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000038.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000039.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000040.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000041.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000042.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000043.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000044.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000045.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000046.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000047.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000048.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000049.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000050.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000051.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000052.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000053.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000054.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000055.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000056.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000057.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000058.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000059.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000060.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000061.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000062.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000063.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000064.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000065.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000066.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000067.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000068.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000069.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000070.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000071.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000072.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000073.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000074.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000075.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000076.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000077.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000078.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000079.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000080.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000081.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000082.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000083.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000084.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000085.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000086.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000087.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000088.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000089.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000090.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000091.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000092.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000093.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000094.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000095.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000096.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000097.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000098.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000099.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000100.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000101.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000102.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000103.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000104.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000105.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000106.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000107.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000108.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000109.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000110.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000111.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000112.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000113.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000114.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000115.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000116.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000117.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000118.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000119.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000120.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000121.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000122.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000123.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000124.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000125.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000126.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000127.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000128.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000129.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000130.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000131.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000132.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000133.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000134.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000135.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000136.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000137.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000138.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000139.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000140.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000141.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000142.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000143.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000144.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000145.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000146.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000147.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000148.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000149.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000150.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000151.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000152.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000153.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000154.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000155.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000156.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000157.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000158.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000159.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000160.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000161.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000162.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000163.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000164.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000165.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000166.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000167.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000168.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000169.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000170.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000171.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000172.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000173.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000174.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000175.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000176.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000177.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000178.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000179.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000180.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000181.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000182.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000183.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000184.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000185.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000186.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000187.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000188.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000189.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000190.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000191.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000192.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000193.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000194.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000195.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000196.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000197.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000198.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000199.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000200.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000201.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000202.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000203.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000204.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000205.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000206.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000207.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000208.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000209.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000210.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000211.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000212.html +16 -0
- data/doc/rdoc/classes/RIO/Rio.src/M000213.html +16 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/README.html +243 -0
- data/doc/rdoc/files/lib/rio/constructor_rb.html +142 -0
- data/doc/rdoc/files/lib/rio/doc/HOWTO_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/doc/INTRO_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/doc/MISC_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/doc/SYNOPSIS_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/basic_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/csv_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/dir_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/file_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/fileordir_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/grande_entry_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/grande_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/grande_stream_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/internal_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/path_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/stream_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/string_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/temp_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/test_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/if/yaml_rb.html +135 -0
- data/doc/rdoc/files/lib/rio/kernel_rb.html +142 -0
- data/doc/rdoc/files/lib/rio_rb.html +154 -0
- data/doc/rdoc/fr_class_index.html +37 -0
- data/doc/rdoc/fr_file_index.html +49 -0
- data/doc/rdoc/fr_method_index.html +241 -0
- data/doc/rdoc/index.html +24 -0
- data/doc/rdoc/rdoc-style.css +384 -0
- data/lib/rio.rb +21 -5
- data/lib/rio/constructor.rb +13 -0
- data/lib/rio/context/copying.rb +56 -0
- data/lib/rio/context/methods.rb +1 -0
- data/lib/rio/cp.rb +53 -34
- data/lib/rio/doc/HOWTO.rb +9 -3
- data/lib/rio/doc/INTRO.rb +113 -3
- data/lib/rio/ext.rb +7 -1
- data/lib/rio/ext/csv.rb +17 -8
- data/lib/rio/ext/yaml.rb +182 -0
- data/lib/rio/factory.rb +11 -14
- data/lib/rio/filter/closeoneof.rb +12 -31
- data/lib/rio/filter/gzip.rb +7 -0
- data/lib/rio/if.rb +4 -1
- data/lib/rio/if/csv.rb +36 -35
- data/lib/rio/if/grande.rb +74 -5
- data/lib/rio/if/grande_stream.rb +11 -3
- data/lib/rio/if/path.rb +9 -8
- data/lib/rio/if/yaml.rb +218 -0
- data/lib/rio/ioh.rb +5 -3
- data/lib/rio/matchrecord.rb +9 -2
- data/lib/rio/ops/dir.rb +2 -1
- data/lib/rio/ops/either.rb +9 -9
- data/lib/rio/ops/file.rb +4 -1
- data/lib/rio/ops/path.rb +26 -20
- data/lib/rio/ops/stream.rb +1 -1
- data/lib/rio/ops/stream/input.rb +31 -9
- data/lib/rio/ops/stream/output.rb +7 -2
- data/lib/rio/ops/stream/read.rb +10 -10
- data/lib/rio/ops/stream/write.rb +10 -10
- data/lib/rio/path.rb +2 -2
- data/lib/rio/path/reset.rb +1 -1
- data/lib/rio/piper.rb +123 -0
- data/lib/rio/piper/cp.rb +81 -0
- data/lib/rio/rectype.rb +2 -2
- data/lib/rio/rl/base.rb +40 -17
- data/lib/rio/rl/builder.rb +8 -47
- data/lib/rio/rl/ioi.rb +3 -2
- data/lib/rio/rl/path.rb +101 -78
- data/lib/rio/rl/pathmethods.rb +95 -0
- data/lib/rio/rl/uri.rb +41 -51
- data/lib/rio/scheme/cmdio.rb +7 -1
- data/lib/rio/scheme/cmdpipe.rb +150 -0
- data/lib/rio/scheme/ftp.rb +0 -4
- data/lib/rio/scheme/http.rb +0 -2
- data/lib/rio/scheme/strio.rb +16 -0
- data/lib/rio/scheme/temp.rb +7 -7
- data/lib/rio/state.rb +23 -5
- data/lib/rio/stream.rb +4 -0
- data/lib/rio/stream/duplex.rb +1 -0
- data/lib/rio/stream/open.rb +8 -2
- data/lib/rio/version.rb +1 -1
- data/test/{runtests_gem.rb → gem_runtests.rb} +0 -0
- data/test/methods/path.rb +12 -0
- data/test/runtests.rb +2 -0
- data/test/tc/abs.rb +29 -27
- data/test/tc/all.rb +9 -3
- data/test/tc/base.rb +31 -0
- data/test/tc/cmdpipe.rb +146 -0
- data/test/tc/copydir.rb +2 -1
- data/test/tc/create.rb +10 -0
- data/test/tc/csv.rb +12 -12
- data/test/tc/csv2.rb +2 -2
- data/test/tc/csv_columns.rb +3 -3
- data/test/tc/each_break.rb +21 -8
- data/test/tc/expand_path.rb +21 -27
- data/test/tc/misc.rb +0 -1
- data/test/tc/noqae.rb +29 -21
- data/test/tc/overload.rb +14 -11
- data/test/tc/piper.rb +146 -0
- data/test/tc/riorl.rb +26 -17
- data/test/tc/route.rb +51 -0
- data/test/tc/skip.rb +8 -6
- data/test/tc/split.rb +70 -0
- data/test/tc/temp.rb +5 -5
- data/test/tc/testcase.rb +1 -0
- data/test/tc/yaml.rb +118 -0
- metadata +481 -229
- data/doc/README_MSWIN32.txt +0 -39
- data/ex/colx.rb +0 -8
- data/ex/findinruby +0 -23
- data/ex/findruby +0 -15
- data/ex/passwd_report.rb +0 -8
- data/ex/prompt.rb +0 -25
- data/ex/rgb.txt.gz +0 -0
- data/ex/riocat +0 -35
- data/ex/riogunzip +0 -31
- data/ex/riogzip +0 -24
- data/ex/rioprompt.rb +0 -6
- data/ex/tolf +0 -11
- data/test/mswin32.rb +0 -28
data/doc/rdoc/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
5
|
+
|
6
|
+
<!--
|
7
|
+
|
8
|
+
Rio
|
9
|
+
|
10
|
+
-->
|
11
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
12
|
+
<head>
|
13
|
+
<title>Rio</title>
|
14
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
15
|
+
</head>
|
16
|
+
<frameset rows="20%, 80%">
|
17
|
+
<frameset cols="25%,35%,45%">
|
18
|
+
<frame src="fr_file_index.html" title="Files" name="Files" />
|
19
|
+
<frame src="fr_class_index.html" name="Classes" />
|
20
|
+
<frame src="fr_method_index.html" name="Methods" />
|
21
|
+
</frameset>
|
22
|
+
<frame src="classes/RIO/Doc/SYNOPSIS.html" name="docwin" />
|
23
|
+
</frameset>
|
24
|
+
</html>
|
@@ -0,0 +1,384 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
font-family: Verdana,Arial,Helvetica,sans-serif;
|
4
|
+
font-size: 90%;
|
5
|
+
margin: 0;
|
6
|
+
margin-left: 40px;
|
7
|
+
padding: 0;
|
8
|
+
background: white;
|
9
|
+
}
|
10
|
+
|
11
|
+
h1,h2,h3,h4 { margin: 0; color: #8b4726; background: transparent; }
|
12
|
+
h1 { font-size: 150%; }
|
13
|
+
h2 { font-size: 140%; }
|
14
|
+
h3 { font-size: 130%; }
|
15
|
+
h4 { font-size: 120%; }
|
16
|
+
h2,h3,h4 { margin-top: 1em; }
|
17
|
+
|
18
|
+
a {
|
19
|
+
background: transparent;
|
20
|
+
color: #8b4500;
|
21
|
+
text-decoration: none;
|
22
|
+
}
|
23
|
+
a:hover {
|
24
|
+
color: #ffa500;
|
25
|
+
background: #8b4500;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Override the base stylesheet's Anchor inside a table cell */
|
29
|
+
td > a {
|
30
|
+
background: transparent;
|
31
|
+
color: #099;
|
32
|
+
text-decoration: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
small {
|
36
|
+
font-size: 0.7em;
|
37
|
+
}
|
38
|
+
/* and inside a section title */
|
39
|
+
.section-title > a {
|
40
|
+
background: transparent;
|
41
|
+
color: #8b4500;
|
42
|
+
text-decoration: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* === Structural elements =================================== */
|
46
|
+
|
47
|
+
div#index {
|
48
|
+
margin: 0;
|
49
|
+
margin-left: -40px;
|
50
|
+
padding: 0;
|
51
|
+
font-size: 90%;
|
52
|
+
background: #ffdead;
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
div#index a {
|
57
|
+
margin-left: 0.7em;
|
58
|
+
}
|
59
|
+
div#index-entries a {
|
60
|
+
background: transparent;
|
61
|
+
margin-left: 0.7em;
|
62
|
+
color: #8b4500;
|
63
|
+
}
|
64
|
+
div#index-entries a:hover {
|
65
|
+
background: transparent;
|
66
|
+
margin-left: 0.7em;
|
67
|
+
/* color: #ffdead; */
|
68
|
+
color: #ffdead;
|
69
|
+
background: #8b4500;
|
70
|
+
/*background: #ffdead;*/
|
71
|
+
}
|
72
|
+
.name-list a {
|
73
|
+
margin-left: 0.7em;
|
74
|
+
background: #ffdead;
|
75
|
+
color: #8b4500;
|
76
|
+
}
|
77
|
+
.name-list a:hover {
|
78
|
+
margin-left: 0.7em;
|
79
|
+
color: #ffdead;
|
80
|
+
background: #8b4500;
|
81
|
+
}
|
82
|
+
.section-bar {
|
83
|
+
color: #555;
|
84
|
+
/* background: #8b4500; */
|
85
|
+
|
86
|
+
border-bottom: 1px solid #999;
|
87
|
+
margin-left: -20px;
|
88
|
+
}
|
89
|
+
|
90
|
+
div#index .section-bar {
|
91
|
+
margin-left: 0px;
|
92
|
+
padding-left: 0.7em;
|
93
|
+
background: #8b4500;
|
94
|
+
color: #ffdead;
|
95
|
+
font-size: small;
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
.section-title {
|
100
|
+
/*background: #8b4500; */
|
101
|
+
background: #ffdead;
|
102
|
+
color: #eee;
|
103
|
+
padding: 3px;
|
104
|
+
margin-top: 2em;
|
105
|
+
margin-left: -30px;
|
106
|
+
border: 1px solid #999;
|
107
|
+
}
|
108
|
+
|
109
|
+
div#classHeader, div#fileHeader {
|
110
|
+
width: auto;
|
111
|
+
color: white;
|
112
|
+
padding: 0.5em 1.5em 0.5em 1.5em;
|
113
|
+
margin: 0;
|
114
|
+
margin-left: -40px;
|
115
|
+
border-bottom: 3px solid #006;
|
116
|
+
}
|
117
|
+
|
118
|
+
div#classHeader a, div#fileHeader a {
|
119
|
+
background: inherit;
|
120
|
+
color: white;
|
121
|
+
}
|
122
|
+
|
123
|
+
div#classHeader td, div#fileHeader td {
|
124
|
+
background: inherit;
|
125
|
+
color: white;
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
div#fileHeader {
|
130
|
+
background: #8b4500;
|
131
|
+
|
132
|
+
}
|
133
|
+
#fileHeader h1,#fileHeader h2,#fileHeader h3,#fileHeader h4 {
|
134
|
+
margin: 0;
|
135
|
+
color: #ffdead;
|
136
|
+
}
|
137
|
+
|
138
|
+
div#classHeader {
|
139
|
+
background: #8b4500;
|
140
|
+
}
|
141
|
+
td.class-header-space-col {
|
142
|
+
width: 2em;
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
.class-mod {
|
147
|
+
font-size: 110%;
|
148
|
+
font-weight: bold;
|
149
|
+
font-family: monospace;
|
150
|
+
text-transform: lowercase;
|
151
|
+
text-align: bottom;
|
152
|
+
|
153
|
+
}
|
154
|
+
.class-name-in-header {
|
155
|
+
font-size: 150%;
|
156
|
+
font-weight: bold;
|
157
|
+
font-family: monospace;
|
158
|
+
}
|
159
|
+
.in-url {
|
160
|
+
font-size: 80%
|
161
|
+
}
|
162
|
+
|
163
|
+
div#bodyContent {
|
164
|
+
padding: 0 1.5em 0 1.5em;
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
div#description {
|
169
|
+
padding: 0.5em 1.5em;
|
170
|
+
/* background: #efefef; */
|
171
|
+
background: #ffdead;
|
172
|
+
border: 1px dotted #999;
|
173
|
+
}
|
174
|
+
|
175
|
+
div#description h1,h2,h3,h4,h5,h6 {
|
176
|
+
color: #8b4500;
|
177
|
+
background: transparent;
|
178
|
+
}
|
179
|
+
|
180
|
+
div#validator-badges {
|
181
|
+
text-align: center;
|
182
|
+
}
|
183
|
+
div#validator-badges img { border: 0; }
|
184
|
+
|
185
|
+
div#copyright {
|
186
|
+
color: #333;
|
187
|
+
background: #efefef;
|
188
|
+
font: 0.75em sans-serif;
|
189
|
+
margin-top: 5em;
|
190
|
+
margin-bottom: 0;
|
191
|
+
padding: 0.5em 2em;
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
/* === Classes =================================== */
|
196
|
+
|
197
|
+
table.header-table {
|
198
|
+
color: white;
|
199
|
+
font-size: small;
|
200
|
+
}
|
201
|
+
|
202
|
+
.type-note {
|
203
|
+
font-size: small;
|
204
|
+
color: #DEDEDE;
|
205
|
+
}
|
206
|
+
|
207
|
+
.xxsection-bar {
|
208
|
+
background: #eee;
|
209
|
+
color: #333;
|
210
|
+
padding: 3px;
|
211
|
+
}
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
.section-title {
|
216
|
+
background: #79a;
|
217
|
+
color: #eee;
|
218
|
+
padding: 3px;
|
219
|
+
margin-top: 2em;
|
220
|
+
margin-left: -30px;
|
221
|
+
border: 1px solid #999;
|
222
|
+
}
|
223
|
+
|
224
|
+
.top-aligned-row { vertical-align: top }
|
225
|
+
.bottom-aligned-row { vertical-align: bottom }
|
226
|
+
|
227
|
+
/* --- Context section classes ----------------------- */
|
228
|
+
|
229
|
+
.context-row { }
|
230
|
+
.context-item-name { font-family: monospace; font-weight: bold; color: black; }
|
231
|
+
.context-item-value { font-size: small; color: #448; }
|
232
|
+
.context-item-desc { color: #333; padding-left: 2em; }
|
233
|
+
|
234
|
+
/* --- Method classes -------------------------- */
|
235
|
+
.method-detail {
|
236
|
+
background: #ffdead;
|
237
|
+
padding: 0;
|
238
|
+
margin-top: 0.5em;
|
239
|
+
margin-bottom: 1em;
|
240
|
+
border: 1px dotted #ccc;
|
241
|
+
}
|
242
|
+
.method-heading {
|
243
|
+
font-family: monospace;
|
244
|
+
font-weight: bold;
|
245
|
+
font-size: 130%;
|
246
|
+
color: #191970;
|
247
|
+
/* background: #b0c4de; */
|
248
|
+
background: #ffa07a;
|
249
|
+
border-bottom: 1px solid #666;
|
250
|
+
padding: 0.2em 0.5em 0 0.5em;
|
251
|
+
}
|
252
|
+
.method-heading a {
|
253
|
+
text-decoration: none;
|
254
|
+
}
|
255
|
+
.method-heading a:hover {
|
256
|
+
text-decoration: underline;
|
257
|
+
background: inherit;
|
258
|
+
color: inherit;
|
259
|
+
}
|
260
|
+
.method-signature { color: black; background: inherit; }
|
261
|
+
.method-name { font-weight: bold; }
|
262
|
+
.method-args { font-style: italic; }
|
263
|
+
|
264
|
+
.method-description { padding: 0 0.5em 0 0.5em; }
|
265
|
+
pre.method-description
|
266
|
+
{
|
267
|
+
padding: 0 0.5em 0 0.5em;
|
268
|
+
color: #ee2222;
|
269
|
+
|
270
|
+
}
|
271
|
+
#description pre
|
272
|
+
{
|
273
|
+
padding: 0.2em 0 0.2em 0;
|
274
|
+
margin: 0.3em 0 0.3em 0;
|
275
|
+
background: #fff8dc;
|
276
|
+
border-left: 2px solid #8b6508;
|
277
|
+
/* border-bottom: 1px solid #8b6508; */
|
278
|
+
/* border-top: 1px solid #8b6508; */
|
279
|
+
}
|
280
|
+
#description h1 {
|
281
|
+
color: #8b4500;
|
282
|
+
margin: 0.5em 0 0.2em 0;
|
283
|
+
/*border: 1px solid red;*/
|
284
|
+
}
|
285
|
+
#description h2 {
|
286
|
+
color: #8b4500;
|
287
|
+
margin: 0.5em 0 0.2em 0;
|
288
|
+
/*border: 1px solid red;*/
|
289
|
+
}
|
290
|
+
#description h3 {
|
291
|
+
color: #8b4500;
|
292
|
+
margin: 0.5em 0 0.2em 0;
|
293
|
+
/*border: 1px solid red;*/
|
294
|
+
}
|
295
|
+
#description h4 {
|
296
|
+
color: #8b4500;
|
297
|
+
margin: 0.5em 0 0.2em 0;
|
298
|
+
/*border: 1px solid red;*/
|
299
|
+
}
|
300
|
+
#description p {
|
301
|
+
margin: 0.5em 0 0.2em 0;
|
302
|
+
/*border: 1px solid red;*/
|
303
|
+
}
|
304
|
+
#description ul {
|
305
|
+
margin: 0.2em 0 0.5em 0;
|
306
|
+
/* border: 1px solid red; */
|
307
|
+
}
|
308
|
+
#description a {
|
309
|
+
background: #ffdead;
|
310
|
+
/* background: #eef; */
|
311
|
+
color: #8b4500;
|
312
|
+
text-decoration: none;
|
313
|
+
}
|
314
|
+
#description a:hover { text-decoration: underline; }
|
315
|
+
.method-description a {
|
316
|
+
background: #ffdead;
|
317
|
+
/* background: #eef; */
|
318
|
+
color: #8b4500;
|
319
|
+
text-decoration: none;
|
320
|
+
}
|
321
|
+
.method-description a:hover { text-decoration: underline; }
|
322
|
+
|
323
|
+
.method-description pre
|
324
|
+
{
|
325
|
+
padding: 0.2em 0 0.2em 0;
|
326
|
+
margin: 0.3em 0 0.3em 0;
|
327
|
+
background: #fff8dc;
|
328
|
+
border-left: 2px solid #8b6508;
|
329
|
+
}
|
330
|
+
|
331
|
+
.method-description table
|
332
|
+
{
|
333
|
+
border-top: 1px solid brown;
|
334
|
+
border-bottom: 1px solid brown;
|
335
|
+
margin: 0.4em 2em 0.4em 2em;
|
336
|
+
}
|
337
|
+
.method-description li
|
338
|
+
{
|
339
|
+
padding: 0 0 0 0;
|
340
|
+
margin: 0 0 0 0;
|
341
|
+
|
342
|
+
}
|
343
|
+
.method-description p {
|
344
|
+
margin: 0.5em 0 0.2em 0;
|
345
|
+
/* border: 1px solid red; */
|
346
|
+
}
|
347
|
+
.method-description tt {
|
348
|
+
margin: 0.5em 0 0.2em 0;
|
349
|
+
font-weight: bold;
|
350
|
+
color: navy;
|
351
|
+
}
|
352
|
+
.method-description ul {
|
353
|
+
margin: 0.2em 0 0.5em 0;
|
354
|
+
/* border: 1px solid red; */
|
355
|
+
}
|
356
|
+
|
357
|
+
|
358
|
+
/* --- Source code sections -------------------- */
|
359
|
+
|
360
|
+
a.source-toggle { font-size: 90%; }
|
361
|
+
div.method-source-code {
|
362
|
+
background: #262626;
|
363
|
+
color: #ffdead;
|
364
|
+
margin: 1em;
|
365
|
+
padding: 0.5em;
|
366
|
+
border: 1px dashed #999;
|
367
|
+
overflow: hidden;
|
368
|
+
}
|
369
|
+
|
370
|
+
div.method-source-code pre { color: #ffdead; overflow: hidden; }
|
371
|
+
|
372
|
+
/* --- Ruby keyword styles --------------------- */
|
373
|
+
|
374
|
+
.standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
|
375
|
+
|
376
|
+
.ruby-constant { color: #7fffd4; background: transparent; }
|
377
|
+
.ruby-keyword { color: #00ffff; background: transparent; }
|
378
|
+
.ruby-ivar { color: #eedd82; background: transparent; }
|
379
|
+
.ruby-operator { color: #00ffee; background: transparent; }
|
380
|
+
.ruby-identifier { color: #ffdead; background: transparent; }
|
381
|
+
.ruby-node { color: #ffa07a; background: transparent; }
|
382
|
+
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
|
383
|
+
.ruby-regexp { color: #ffa07a; background: transparent; }
|
384
|
+
.ruby-value { color: #7fffd4; background: transparent; }
|
data/lib/rio.rb
CHANGED
@@ -80,7 +80,7 @@ module RIO
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def initialize_copy(*args)
|
83
|
-
#p callstr("initialize_copy"
|
83
|
+
#p callstr("initialize_copy",args[0].inspect)
|
84
84
|
super
|
85
85
|
@state = Factory.instance.clone_state(@state)
|
86
86
|
end
|
@@ -99,11 +99,25 @@ module RIO
|
|
99
99
|
ario
|
100
100
|
end
|
101
101
|
|
102
|
-
#
|
102
|
+
# Returns the string representation of a Rio that is used by Ruby's libraries.
|
103
|
+
# For Rios that exist on the file system this is Rio#fspath.
|
104
|
+
# For FTP and HTTP Rios, this is the URL.
|
105
|
+
#
|
106
|
+
# rio('/a/b/c').to_s ==> "/a/b/c"
|
107
|
+
# rio('b/c').to_s ==> "b/c"
|
108
|
+
# rio('C:/b/c').to_s ==> "C:/b/c"
|
109
|
+
# rio('//ahost/a/b').to_s ==> "//ahost/a/b"
|
110
|
+
# rio('file://ahost/a/b').to_s ==> "//ahost/a/b"
|
111
|
+
# rio('file:///a/b').to_s ==> "/a/b"
|
112
|
+
# rio('file://localhost/a/b').to_s ==> "/a/b"
|
113
|
+
# rio('http://ahost/index.html').to_s ==> "http://ahost/index.html"
|
114
|
+
#
|
103
115
|
def to_s() target.to_s end
|
116
|
+
|
104
117
|
alias :to_str :to_s
|
105
118
|
def dup
|
106
|
-
|
119
|
+
#p callstr('dup',self)
|
120
|
+
self.class.new(self.to_rl)
|
107
121
|
end
|
108
122
|
|
109
123
|
def method_missing(sym,*args,&block) #:nodoc:
|
@@ -130,9 +144,11 @@ module RIO
|
|
130
144
|
|
131
145
|
protected
|
132
146
|
|
133
|
-
def target()
|
147
|
+
def target() #:nodoc:
|
148
|
+
@state.target
|
149
|
+
end
|
134
150
|
|
135
|
-
def callstr(func,*args)
|
151
|
+
def callstr(func,*args) #:nodoc:
|
136
152
|
self.class.to_s+'.'+func.to_s+'('+args.join(',')+')'
|
137
153
|
end
|
138
154
|
|