rio 0.3.4 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (349) hide show
  1. data/ChangeLog +287 -0
  2. data/Rakefile +7 -9
  3. data/VERSION +1 -1
  4. data/doc/ANNOUNCE +20 -1
  5. data/doc/RELEASE_NOTES +41 -0
  6. data/doc/rdoc/classes/Kernel.html +181 -0
  7. data/doc/rdoc/classes/Kernel.src/M000214.html +18 -0
  8. data/doc/rdoc/classes/RIO.html +621 -0
  9. data/doc/rdoc/classes/RIO.src/M000001.html +18 -0
  10. data/doc/rdoc/classes/RIO.src/M000002.html +18 -0
  11. data/doc/rdoc/classes/RIO.src/M000003.html +18 -0
  12. data/doc/rdoc/classes/RIO/Doc.html +138 -0
  13. data/doc/rdoc/classes/RIO/Doc/HOWTO.html +1040 -0
  14. data/doc/rdoc/classes/RIO/Doc/INTRO.html +1613 -0
  15. data/doc/rdoc/classes/RIO/Doc/MISC.html +443 -0
  16. data/doc/rdoc/classes/RIO/Doc/SYNOPSIS.html +338 -0
  17. data/doc/rdoc/classes/RIO/IF.html +114 -0
  18. data/doc/rdoc/classes/RIO/IF/CSV.html +202 -0
  19. data/doc/rdoc/classes/RIO/IF/CSV.src/M000004.html +19 -0
  20. data/doc/rdoc/classes/RIO/IF/CSV.src/M000005.html +16 -0
  21. data/doc/rdoc/classes/RIO/IF/CSV.src/M000006.html +16 -0
  22. data/doc/rdoc/classes/RIO/IF/YAML.html +499 -0
  23. data/doc/rdoc/classes/RIO/IF/YAML.src/M000007.html +19 -0
  24. data/doc/rdoc/classes/RIO/IF/YAML.src/M000008.html +16 -0
  25. data/doc/rdoc/classes/RIO/IF/YAML.src/M000009.html +16 -0
  26. data/doc/rdoc/classes/RIO/IF/YAML.src/M000010.html +16 -0
  27. data/doc/rdoc/classes/RIO/IF/YAML.src/M000011.html +16 -0
  28. data/doc/rdoc/classes/RIO/IF/YAML.src/M000012.html +16 -0
  29. data/doc/rdoc/classes/RIO/IF/YAML.src/M000013.html +16 -0
  30. data/doc/rdoc/classes/RIO/IF/YAML.src/M000014.html +16 -0
  31. data/doc/rdoc/classes/RIO/IF/YAML.src/M000015.html +16 -0
  32. data/doc/rdoc/classes/RIO/IF/YAML.src/M000016.html +16 -0
  33. data/doc/rdoc/classes/RIO/IF/YAML.src/M000017.html +16 -0
  34. data/doc/rdoc/classes/RIO/Rio.html +7121 -0
  35. data/doc/rdoc/classes/RIO/Rio.src/M000018.html +18 -0
  36. data/doc/rdoc/classes/RIO/Rio.src/M000019.html +20 -0
  37. data/doc/rdoc/classes/RIO/Rio.src/M000020.html +27 -0
  38. data/doc/rdoc/classes/RIO/Rio.src/M000021.html +16 -0
  39. data/doc/rdoc/classes/RIO/Rio.src/M000023.html +19 -0
  40. data/doc/rdoc/classes/RIO/Rio.src/M000024.html +20 -0
  41. data/doc/rdoc/classes/RIO/Rio.src/M000025.html +16 -0
  42. data/doc/rdoc/classes/RIO/Rio.src/M000026.html +16 -0
  43. data/doc/rdoc/classes/RIO/Rio.src/M000027.html +16 -0
  44. data/doc/rdoc/classes/RIO/Rio.src/M000028.html +16 -0
  45. data/doc/rdoc/classes/RIO/Rio.src/M000029.html +16 -0
  46. data/doc/rdoc/classes/RIO/Rio.src/M000030.html +16 -0
  47. data/doc/rdoc/classes/RIO/Rio.src/M000031.html +16 -0
  48. data/doc/rdoc/classes/RIO/Rio.src/M000032.html +16 -0
  49. data/doc/rdoc/classes/RIO/Rio.src/M000033.html +16 -0
  50. data/doc/rdoc/classes/RIO/Rio.src/M000034.html +16 -0
  51. data/doc/rdoc/classes/RIO/Rio.src/M000035.html +16 -0
  52. data/doc/rdoc/classes/RIO/Rio.src/M000036.html +16 -0
  53. data/doc/rdoc/classes/RIO/Rio.src/M000037.html +16 -0
  54. data/doc/rdoc/classes/RIO/Rio.src/M000038.html +16 -0
  55. data/doc/rdoc/classes/RIO/Rio.src/M000039.html +16 -0
  56. data/doc/rdoc/classes/RIO/Rio.src/M000040.html +16 -0
  57. data/doc/rdoc/classes/RIO/Rio.src/M000041.html +16 -0
  58. data/doc/rdoc/classes/RIO/Rio.src/M000042.html +16 -0
  59. data/doc/rdoc/classes/RIO/Rio.src/M000043.html +16 -0
  60. data/doc/rdoc/classes/RIO/Rio.src/M000044.html +16 -0
  61. data/doc/rdoc/classes/RIO/Rio.src/M000045.html +16 -0
  62. data/doc/rdoc/classes/RIO/Rio.src/M000046.html +16 -0
  63. data/doc/rdoc/classes/RIO/Rio.src/M000047.html +16 -0
  64. data/doc/rdoc/classes/RIO/Rio.src/M000048.html +16 -0
  65. data/doc/rdoc/classes/RIO/Rio.src/M000049.html +16 -0
  66. data/doc/rdoc/classes/RIO/Rio.src/M000050.html +16 -0
  67. data/doc/rdoc/classes/RIO/Rio.src/M000051.html +16 -0
  68. data/doc/rdoc/classes/RIO/Rio.src/M000052.html +16 -0
  69. data/doc/rdoc/classes/RIO/Rio.src/M000053.html +16 -0
  70. data/doc/rdoc/classes/RIO/Rio.src/M000054.html +16 -0
  71. data/doc/rdoc/classes/RIO/Rio.src/M000055.html +16 -0
  72. data/doc/rdoc/classes/RIO/Rio.src/M000056.html +16 -0
  73. data/doc/rdoc/classes/RIO/Rio.src/M000057.html +16 -0
  74. data/doc/rdoc/classes/RIO/Rio.src/M000058.html +16 -0
  75. data/doc/rdoc/classes/RIO/Rio.src/M000059.html +16 -0
  76. data/doc/rdoc/classes/RIO/Rio.src/M000060.html +16 -0
  77. data/doc/rdoc/classes/RIO/Rio.src/M000061.html +16 -0
  78. data/doc/rdoc/classes/RIO/Rio.src/M000062.html +16 -0
  79. data/doc/rdoc/classes/RIO/Rio.src/M000063.html +16 -0
  80. data/doc/rdoc/classes/RIO/Rio.src/M000064.html +16 -0
  81. data/doc/rdoc/classes/RIO/Rio.src/M000065.html +16 -0
  82. data/doc/rdoc/classes/RIO/Rio.src/M000066.html +16 -0
  83. data/doc/rdoc/classes/RIO/Rio.src/M000067.html +16 -0
  84. data/doc/rdoc/classes/RIO/Rio.src/M000068.html +16 -0
  85. data/doc/rdoc/classes/RIO/Rio.src/M000069.html +16 -0
  86. data/doc/rdoc/classes/RIO/Rio.src/M000070.html +16 -0
  87. data/doc/rdoc/classes/RIO/Rio.src/M000071.html +16 -0
  88. data/doc/rdoc/classes/RIO/Rio.src/M000072.html +16 -0
  89. data/doc/rdoc/classes/RIO/Rio.src/M000073.html +16 -0
  90. data/doc/rdoc/classes/RIO/Rio.src/M000074.html +16 -0
  91. data/doc/rdoc/classes/RIO/Rio.src/M000075.html +16 -0
  92. data/doc/rdoc/classes/RIO/Rio.src/M000076.html +16 -0
  93. data/doc/rdoc/classes/RIO/Rio.src/M000077.html +16 -0
  94. data/doc/rdoc/classes/RIO/Rio.src/M000078.html +16 -0
  95. data/doc/rdoc/classes/RIO/Rio.src/M000079.html +16 -0
  96. data/doc/rdoc/classes/RIO/Rio.src/M000080.html +16 -0
  97. data/doc/rdoc/classes/RIO/Rio.src/M000081.html +16 -0
  98. data/doc/rdoc/classes/RIO/Rio.src/M000082.html +16 -0
  99. data/doc/rdoc/classes/RIO/Rio.src/M000083.html +16 -0
  100. data/doc/rdoc/classes/RIO/Rio.src/M000084.html +16 -0
  101. data/doc/rdoc/classes/RIO/Rio.src/M000085.html +16 -0
  102. data/doc/rdoc/classes/RIO/Rio.src/M000086.html +16 -0
  103. data/doc/rdoc/classes/RIO/Rio.src/M000087.html +16 -0
  104. data/doc/rdoc/classes/RIO/Rio.src/M000088.html +16 -0
  105. data/doc/rdoc/classes/RIO/Rio.src/M000089.html +16 -0
  106. data/doc/rdoc/classes/RIO/Rio.src/M000090.html +16 -0
  107. data/doc/rdoc/classes/RIO/Rio.src/M000091.html +16 -0
  108. data/doc/rdoc/classes/RIO/Rio.src/M000092.html +16 -0
  109. data/doc/rdoc/classes/RIO/Rio.src/M000093.html +16 -0
  110. data/doc/rdoc/classes/RIO/Rio.src/M000094.html +16 -0
  111. data/doc/rdoc/classes/RIO/Rio.src/M000095.html +16 -0
  112. data/doc/rdoc/classes/RIO/Rio.src/M000096.html +16 -0
  113. data/doc/rdoc/classes/RIO/Rio.src/M000097.html +16 -0
  114. data/doc/rdoc/classes/RIO/Rio.src/M000098.html +16 -0
  115. data/doc/rdoc/classes/RIO/Rio.src/M000099.html +16 -0
  116. data/doc/rdoc/classes/RIO/Rio.src/M000100.html +16 -0
  117. data/doc/rdoc/classes/RIO/Rio.src/M000101.html +16 -0
  118. data/doc/rdoc/classes/RIO/Rio.src/M000102.html +16 -0
  119. data/doc/rdoc/classes/RIO/Rio.src/M000103.html +16 -0
  120. data/doc/rdoc/classes/RIO/Rio.src/M000104.html +16 -0
  121. data/doc/rdoc/classes/RIO/Rio.src/M000105.html +16 -0
  122. data/doc/rdoc/classes/RIO/Rio.src/M000106.html +16 -0
  123. data/doc/rdoc/classes/RIO/Rio.src/M000107.html +16 -0
  124. data/doc/rdoc/classes/RIO/Rio.src/M000108.html +16 -0
  125. data/doc/rdoc/classes/RIO/Rio.src/M000109.html +16 -0
  126. data/doc/rdoc/classes/RIO/Rio.src/M000110.html +16 -0
  127. data/doc/rdoc/classes/RIO/Rio.src/M000111.html +16 -0
  128. data/doc/rdoc/classes/RIO/Rio.src/M000112.html +16 -0
  129. data/doc/rdoc/classes/RIO/Rio.src/M000113.html +16 -0
  130. data/doc/rdoc/classes/RIO/Rio.src/M000114.html +16 -0
  131. data/doc/rdoc/classes/RIO/Rio.src/M000115.html +16 -0
  132. data/doc/rdoc/classes/RIO/Rio.src/M000116.html +16 -0
  133. data/doc/rdoc/classes/RIO/Rio.src/M000117.html +16 -0
  134. data/doc/rdoc/classes/RIO/Rio.src/M000118.html +16 -0
  135. data/doc/rdoc/classes/RIO/Rio.src/M000119.html +16 -0
  136. data/doc/rdoc/classes/RIO/Rio.src/M000120.html +16 -0
  137. data/doc/rdoc/classes/RIO/Rio.src/M000121.html +16 -0
  138. data/doc/rdoc/classes/RIO/Rio.src/M000122.html +16 -0
  139. data/doc/rdoc/classes/RIO/Rio.src/M000123.html +16 -0
  140. data/doc/rdoc/classes/RIO/Rio.src/M000124.html +16 -0
  141. data/doc/rdoc/classes/RIO/Rio.src/M000125.html +16 -0
  142. data/doc/rdoc/classes/RIO/Rio.src/M000126.html +16 -0
  143. data/doc/rdoc/classes/RIO/Rio.src/M000127.html +16 -0
  144. data/doc/rdoc/classes/RIO/Rio.src/M000128.html +16 -0
  145. data/doc/rdoc/classes/RIO/Rio.src/M000129.html +16 -0
  146. data/doc/rdoc/classes/RIO/Rio.src/M000130.html +16 -0
  147. data/doc/rdoc/classes/RIO/Rio.src/M000131.html +16 -0
  148. data/doc/rdoc/classes/RIO/Rio.src/M000132.html +16 -0
  149. data/doc/rdoc/classes/RIO/Rio.src/M000133.html +16 -0
  150. data/doc/rdoc/classes/RIO/Rio.src/M000134.html +16 -0
  151. data/doc/rdoc/classes/RIO/Rio.src/M000135.html +16 -0
  152. data/doc/rdoc/classes/RIO/Rio.src/M000136.html +16 -0
  153. data/doc/rdoc/classes/RIO/Rio.src/M000137.html +16 -0
  154. data/doc/rdoc/classes/RIO/Rio.src/M000138.html +16 -0
  155. data/doc/rdoc/classes/RIO/Rio.src/M000139.html +16 -0
  156. data/doc/rdoc/classes/RIO/Rio.src/M000140.html +16 -0
  157. data/doc/rdoc/classes/RIO/Rio.src/M000141.html +16 -0
  158. data/doc/rdoc/classes/RIO/Rio.src/M000142.html +16 -0
  159. data/doc/rdoc/classes/RIO/Rio.src/M000143.html +16 -0
  160. data/doc/rdoc/classes/RIO/Rio.src/M000144.html +16 -0
  161. data/doc/rdoc/classes/RIO/Rio.src/M000145.html +16 -0
  162. data/doc/rdoc/classes/RIO/Rio.src/M000146.html +16 -0
  163. data/doc/rdoc/classes/RIO/Rio.src/M000147.html +16 -0
  164. data/doc/rdoc/classes/RIO/Rio.src/M000148.html +16 -0
  165. data/doc/rdoc/classes/RIO/Rio.src/M000149.html +16 -0
  166. data/doc/rdoc/classes/RIO/Rio.src/M000150.html +16 -0
  167. data/doc/rdoc/classes/RIO/Rio.src/M000151.html +16 -0
  168. data/doc/rdoc/classes/RIO/Rio.src/M000152.html +16 -0
  169. data/doc/rdoc/classes/RIO/Rio.src/M000153.html +16 -0
  170. data/doc/rdoc/classes/RIO/Rio.src/M000154.html +16 -0
  171. data/doc/rdoc/classes/RIO/Rio.src/M000155.html +16 -0
  172. data/doc/rdoc/classes/RIO/Rio.src/M000156.html +16 -0
  173. data/doc/rdoc/classes/RIO/Rio.src/M000157.html +16 -0
  174. data/doc/rdoc/classes/RIO/Rio.src/M000158.html +16 -0
  175. data/doc/rdoc/classes/RIO/Rio.src/M000159.html +16 -0
  176. data/doc/rdoc/classes/RIO/Rio.src/M000160.html +16 -0
  177. data/doc/rdoc/classes/RIO/Rio.src/M000161.html +16 -0
  178. data/doc/rdoc/classes/RIO/Rio.src/M000162.html +16 -0
  179. data/doc/rdoc/classes/RIO/Rio.src/M000163.html +16 -0
  180. data/doc/rdoc/classes/RIO/Rio.src/M000164.html +16 -0
  181. data/doc/rdoc/classes/RIO/Rio.src/M000165.html +16 -0
  182. data/doc/rdoc/classes/RIO/Rio.src/M000166.html +16 -0
  183. data/doc/rdoc/classes/RIO/Rio.src/M000167.html +16 -0
  184. data/doc/rdoc/classes/RIO/Rio.src/M000168.html +16 -0
  185. data/doc/rdoc/classes/RIO/Rio.src/M000169.html +16 -0
  186. data/doc/rdoc/classes/RIO/Rio.src/M000170.html +16 -0
  187. data/doc/rdoc/classes/RIO/Rio.src/M000171.html +16 -0
  188. data/doc/rdoc/classes/RIO/Rio.src/M000172.html +16 -0
  189. data/doc/rdoc/classes/RIO/Rio.src/M000173.html +16 -0
  190. data/doc/rdoc/classes/RIO/Rio.src/M000174.html +16 -0
  191. data/doc/rdoc/classes/RIO/Rio.src/M000175.html +16 -0
  192. data/doc/rdoc/classes/RIO/Rio.src/M000176.html +16 -0
  193. data/doc/rdoc/classes/RIO/Rio.src/M000177.html +16 -0
  194. data/doc/rdoc/classes/RIO/Rio.src/M000178.html +16 -0
  195. data/doc/rdoc/classes/RIO/Rio.src/M000179.html +16 -0
  196. data/doc/rdoc/classes/RIO/Rio.src/M000180.html +16 -0
  197. data/doc/rdoc/classes/RIO/Rio.src/M000181.html +16 -0
  198. data/doc/rdoc/classes/RIO/Rio.src/M000182.html +16 -0
  199. data/doc/rdoc/classes/RIO/Rio.src/M000183.html +16 -0
  200. data/doc/rdoc/classes/RIO/Rio.src/M000184.html +16 -0
  201. data/doc/rdoc/classes/RIO/Rio.src/M000185.html +16 -0
  202. data/doc/rdoc/classes/RIO/Rio.src/M000186.html +16 -0
  203. data/doc/rdoc/classes/RIO/Rio.src/M000187.html +16 -0
  204. data/doc/rdoc/classes/RIO/Rio.src/M000188.html +16 -0
  205. data/doc/rdoc/classes/RIO/Rio.src/M000189.html +16 -0
  206. data/doc/rdoc/classes/RIO/Rio.src/M000190.html +16 -0
  207. data/doc/rdoc/classes/RIO/Rio.src/M000191.html +16 -0
  208. data/doc/rdoc/classes/RIO/Rio.src/M000192.html +16 -0
  209. data/doc/rdoc/classes/RIO/Rio.src/M000193.html +16 -0
  210. data/doc/rdoc/classes/RIO/Rio.src/M000194.html +16 -0
  211. data/doc/rdoc/classes/RIO/Rio.src/M000195.html +16 -0
  212. data/doc/rdoc/classes/RIO/Rio.src/M000196.html +16 -0
  213. data/doc/rdoc/classes/RIO/Rio.src/M000197.html +16 -0
  214. data/doc/rdoc/classes/RIO/Rio.src/M000198.html +16 -0
  215. data/doc/rdoc/classes/RIO/Rio.src/M000199.html +16 -0
  216. data/doc/rdoc/classes/RIO/Rio.src/M000200.html +16 -0
  217. data/doc/rdoc/classes/RIO/Rio.src/M000201.html +16 -0
  218. data/doc/rdoc/classes/RIO/Rio.src/M000202.html +16 -0
  219. data/doc/rdoc/classes/RIO/Rio.src/M000203.html +16 -0
  220. data/doc/rdoc/classes/RIO/Rio.src/M000204.html +16 -0
  221. data/doc/rdoc/classes/RIO/Rio.src/M000205.html +16 -0
  222. data/doc/rdoc/classes/RIO/Rio.src/M000206.html +16 -0
  223. data/doc/rdoc/classes/RIO/Rio.src/M000207.html +16 -0
  224. data/doc/rdoc/classes/RIO/Rio.src/M000208.html +16 -0
  225. data/doc/rdoc/classes/RIO/Rio.src/M000209.html +16 -0
  226. data/doc/rdoc/classes/RIO/Rio.src/M000210.html +16 -0
  227. data/doc/rdoc/classes/RIO/Rio.src/M000211.html +16 -0
  228. data/doc/rdoc/classes/RIO/Rio.src/M000212.html +16 -0
  229. data/doc/rdoc/classes/RIO/Rio.src/M000213.html +16 -0
  230. data/doc/rdoc/created.rid +1 -0
  231. data/doc/rdoc/files/README.html +243 -0
  232. data/doc/rdoc/files/lib/rio/constructor_rb.html +142 -0
  233. data/doc/rdoc/files/lib/rio/doc/HOWTO_rb.html +135 -0
  234. data/doc/rdoc/files/lib/rio/doc/INTRO_rb.html +135 -0
  235. data/doc/rdoc/files/lib/rio/doc/MISC_rb.html +135 -0
  236. data/doc/rdoc/files/lib/rio/doc/SYNOPSIS_rb.html +135 -0
  237. data/doc/rdoc/files/lib/rio/if/basic_rb.html +135 -0
  238. data/doc/rdoc/files/lib/rio/if/csv_rb.html +135 -0
  239. data/doc/rdoc/files/lib/rio/if/dir_rb.html +135 -0
  240. data/doc/rdoc/files/lib/rio/if/file_rb.html +135 -0
  241. data/doc/rdoc/files/lib/rio/if/fileordir_rb.html +135 -0
  242. data/doc/rdoc/files/lib/rio/if/grande_entry_rb.html +135 -0
  243. data/doc/rdoc/files/lib/rio/if/grande_rb.html +135 -0
  244. data/doc/rdoc/files/lib/rio/if/grande_stream_rb.html +135 -0
  245. data/doc/rdoc/files/lib/rio/if/internal_rb.html +135 -0
  246. data/doc/rdoc/files/lib/rio/if/path_rb.html +135 -0
  247. data/doc/rdoc/files/lib/rio/if/stream_rb.html +135 -0
  248. data/doc/rdoc/files/lib/rio/if/string_rb.html +135 -0
  249. data/doc/rdoc/files/lib/rio/if/temp_rb.html +135 -0
  250. data/doc/rdoc/files/lib/rio/if/test_rb.html +135 -0
  251. data/doc/rdoc/files/lib/rio/if/yaml_rb.html +135 -0
  252. data/doc/rdoc/files/lib/rio/kernel_rb.html +142 -0
  253. data/doc/rdoc/files/lib/rio_rb.html +154 -0
  254. data/doc/rdoc/fr_class_index.html +37 -0
  255. data/doc/rdoc/fr_file_index.html +49 -0
  256. data/doc/rdoc/fr_method_index.html +241 -0
  257. data/doc/rdoc/index.html +24 -0
  258. data/doc/rdoc/rdoc-style.css +384 -0
  259. data/lib/rio.rb +21 -5
  260. data/lib/rio/constructor.rb +13 -0
  261. data/lib/rio/context/copying.rb +56 -0
  262. data/lib/rio/context/methods.rb +1 -0
  263. data/lib/rio/cp.rb +53 -34
  264. data/lib/rio/doc/HOWTO.rb +9 -3
  265. data/lib/rio/doc/INTRO.rb +113 -3
  266. data/lib/rio/ext.rb +7 -1
  267. data/lib/rio/ext/csv.rb +17 -8
  268. data/lib/rio/ext/yaml.rb +182 -0
  269. data/lib/rio/factory.rb +11 -14
  270. data/lib/rio/filter/closeoneof.rb +12 -31
  271. data/lib/rio/filter/gzip.rb +7 -0
  272. data/lib/rio/if.rb +4 -1
  273. data/lib/rio/if/csv.rb +36 -35
  274. data/lib/rio/if/grande.rb +74 -5
  275. data/lib/rio/if/grande_stream.rb +11 -3
  276. data/lib/rio/if/path.rb +9 -8
  277. data/lib/rio/if/yaml.rb +218 -0
  278. data/lib/rio/ioh.rb +5 -3
  279. data/lib/rio/matchrecord.rb +9 -2
  280. data/lib/rio/ops/dir.rb +2 -1
  281. data/lib/rio/ops/either.rb +9 -9
  282. data/lib/rio/ops/file.rb +4 -1
  283. data/lib/rio/ops/path.rb +26 -20
  284. data/lib/rio/ops/stream.rb +1 -1
  285. data/lib/rio/ops/stream/input.rb +31 -9
  286. data/lib/rio/ops/stream/output.rb +7 -2
  287. data/lib/rio/ops/stream/read.rb +10 -10
  288. data/lib/rio/ops/stream/write.rb +10 -10
  289. data/lib/rio/path.rb +2 -2
  290. data/lib/rio/path/reset.rb +1 -1
  291. data/lib/rio/piper.rb +123 -0
  292. data/lib/rio/piper/cp.rb +81 -0
  293. data/lib/rio/rectype.rb +2 -2
  294. data/lib/rio/rl/base.rb +40 -17
  295. data/lib/rio/rl/builder.rb +8 -47
  296. data/lib/rio/rl/ioi.rb +3 -2
  297. data/lib/rio/rl/path.rb +101 -78
  298. data/lib/rio/rl/pathmethods.rb +95 -0
  299. data/lib/rio/rl/uri.rb +41 -51
  300. data/lib/rio/scheme/cmdio.rb +7 -1
  301. data/lib/rio/scheme/cmdpipe.rb +150 -0
  302. data/lib/rio/scheme/ftp.rb +0 -4
  303. data/lib/rio/scheme/http.rb +0 -2
  304. data/lib/rio/scheme/strio.rb +16 -0
  305. data/lib/rio/scheme/temp.rb +7 -7
  306. data/lib/rio/state.rb +23 -5
  307. data/lib/rio/stream.rb +4 -0
  308. data/lib/rio/stream/duplex.rb +1 -0
  309. data/lib/rio/stream/open.rb +8 -2
  310. data/lib/rio/version.rb +1 -1
  311. data/test/{runtests_gem.rb → gem_runtests.rb} +0 -0
  312. data/test/methods/path.rb +12 -0
  313. data/test/runtests.rb +2 -0
  314. data/test/tc/abs.rb +29 -27
  315. data/test/tc/all.rb +9 -3
  316. data/test/tc/base.rb +31 -0
  317. data/test/tc/cmdpipe.rb +146 -0
  318. data/test/tc/copydir.rb +2 -1
  319. data/test/tc/create.rb +10 -0
  320. data/test/tc/csv.rb +12 -12
  321. data/test/tc/csv2.rb +2 -2
  322. data/test/tc/csv_columns.rb +3 -3
  323. data/test/tc/each_break.rb +21 -8
  324. data/test/tc/expand_path.rb +21 -27
  325. data/test/tc/misc.rb +0 -1
  326. data/test/tc/noqae.rb +29 -21
  327. data/test/tc/overload.rb +14 -11
  328. data/test/tc/piper.rb +146 -0
  329. data/test/tc/riorl.rb +26 -17
  330. data/test/tc/route.rb +51 -0
  331. data/test/tc/skip.rb +8 -6
  332. data/test/tc/split.rb +70 -0
  333. data/test/tc/temp.rb +5 -5
  334. data/test/tc/testcase.rb +1 -0
  335. data/test/tc/yaml.rb +118 -0
  336. metadata +481 -229
  337. data/doc/README_MSWIN32.txt +0 -39
  338. data/ex/colx.rb +0 -8
  339. data/ex/findinruby +0 -23
  340. data/ex/findruby +0 -15
  341. data/ex/passwd_report.rb +0 -8
  342. data/ex/prompt.rb +0 -25
  343. data/ex/rgb.txt.gz +0 -0
  344. data/ex/riocat +0 -35
  345. data/ex/riogunzip +0 -31
  346. data/ex/riogzip +0 -24
  347. data/ex/rioprompt.rb +0 -6
  348. data/ex/tolf +0 -11
  349. data/test/mswin32.rb +0 -28
data/ChangeLog CHANGED
@@ -1,4 +1,291 @@
1
1
  ------------------------------------------------------------------------
2
+ r124 | kit | 2005-11-14 20:49:23 -0800 (Mon, 14 Nov 2005) | 1 line
3
+ Changed paths:
4
+ M /rio/trunk/lib/rio/version.rb
5
+
6
+ New Version
7
+ ------------------------------------------------------------------------
8
+ r123 | kit | 2005-11-14 20:48:05 -0800 (Mon, 14 Nov 2005) | 1 line
9
+ Changed paths:
10
+ M /rio/trunk/lib/rio/piper.rb
11
+ M /rio/trunk/lib/rio/stream/duplex.rb
12
+ M /rio/trunk/test/tc/piper.rb
13
+
14
+ changes to make piper tests pass on mswin
15
+ ------------------------------------------------------------------------
16
+ r122 | kit | 2005-11-14 20:15:02 -0800 (Mon, 14 Nov 2005) | 1 line
17
+ Changed paths:
18
+ M /rio/trunk/doc/ANNOUNCE
19
+ M /rio/trunk/doc/RELEASE_NOTES
20
+ M /rio/trunk/lib/rio/doc/HOWTO.rb
21
+ M /rio/trunk/lib/rio/piper/cp.rb
22
+ M /rio/trunk/lib/rio/piper.rb
23
+ M /rio/trunk/lib/rio/state.rb
24
+
25
+ Release
26
+ ------------------------------------------------------------------------
27
+ r121 | kit | 2005-11-14 17:31:28 -0800 (Mon, 14 Nov 2005) | 1 line
28
+ Changed paths:
29
+ A /rio/trunk/test/tc/cmdpipe.rb
30
+
31
+ cmdpipe tests
32
+ ------------------------------------------------------------------------
33
+ r120 | kit | 2005-11-14 17:30:57 -0800 (Mon, 14 Nov 2005) | 1 line
34
+ Changed paths:
35
+ M /rio/trunk/lib/rio/constructor.rb
36
+ M /rio/trunk/lib/rio/factory.rb
37
+ M /rio/trunk/lib/rio/if/grande.rb
38
+ M /rio/trunk/lib/rio/piper/cp.rb
39
+ M /rio/trunk/lib/rio/piper.rb
40
+ M /rio/trunk/lib/rio/rl/base.rb
41
+ M /rio/trunk/lib/rio/rl/builder.rb
42
+ M /rio/trunk/lib/rio/scheme/cmdpipe.rb
43
+ M /rio/trunk/lib/rio/scheme/strio.rb
44
+ M /rio/trunk/lib/rio.rb
45
+ M /rio/trunk/test/tc/all.rb
46
+ M /rio/trunk/test/tc/riorl.rb
47
+
48
+ cmdpipe documentation
49
+ ------------------------------------------------------------------------
50
+ r119 | kit | 2005-11-14 12:42:09 -0800 (Mon, 14 Nov 2005) | 1 line
51
+ Changed paths:
52
+ M /rio/trunk/lib/rio/ops/file.rb
53
+ M /rio/trunk/lib/rio/ops/stream/input.rb
54
+ A /rio/trunk/lib/rio/piper
55
+ A /rio/trunk/lib/rio/piper/cp.rb
56
+ M /rio/trunk/lib/rio/piper.rb
57
+ M /rio/trunk/lib/rio/rl/ioi.rb
58
+ M /rio/trunk/lib/rio/scheme/cmdio.rb
59
+ M /rio/trunk/lib/rio/scheme/cmdpipe.rb
60
+ M /rio/trunk/lib/rio/stream/open.rb
61
+ A /rio/trunk/test/tc/piper.rb
62
+ M /rio/trunk/test/tc/riorl.rb
63
+
64
+ cmdpipe using piper (cp model of pipes)
65
+ ------------------------------------------------------------------------
66
+ r118 | kit | 2005-11-09 10:09:56 -0800 (Wed, 09 Nov 2005) | 1 line
67
+ Changed paths:
68
+ M /rio/trunk/Rakefile
69
+ A /rio/trunk/rio.gemspec
70
+
71
+ added rio.gemspec
72
+ ------------------------------------------------------------------------
73
+ r116 | kit | 2005-11-09 08:39:06 -0800 (Wed, 09 Nov 2005) | 1 line
74
+ Changed paths:
75
+ M /rio/trunk/lib/rio/version.rb
76
+
77
+ new version
78
+ ------------------------------------------------------------------------
79
+ r115 | kit | 2005-11-09 08:35:51 -0800 (Wed, 09 Nov 2005) | 1 line
80
+ Changed paths:
81
+ M /rio/trunk/doc/RELEASE_NOTES
82
+
83
+ RELEASE_NOTES
84
+ ------------------------------------------------------------------------
85
+ r114 | kit | 2005-11-09 07:21:52 -0800 (Wed, 09 Nov 2005) | 1 line
86
+ Changed paths:
87
+ M /rio/trunk/doc/RELEASE_NOTES
88
+ M /rio/trunk/lib/rio/if/path.rb
89
+ M /rio/trunk/lib/rio/ops/path.rb
90
+ M /rio/trunk/lib/rio/rl/base.rb
91
+ M /rio/trunk/lib/rio/rl/path.rb
92
+ M /rio/trunk/lib/rio/scheme/temp.rb
93
+ M /rio/trunk/test/tc/riorl.rb
94
+ M /rio/trunk/test/tc/temp.rb
95
+
96
+ tempfile fixes
97
+ ------------------------------------------------------------------------
98
+ r113 | kit | 2005-11-06 23:59:18 -0800 (Sun, 06 Nov 2005) | 1 line
99
+ Changed paths:
100
+ D /rio/trunk/test/mswin32.rb
101
+
102
+ removed test/mswin32.rb
103
+ ------------------------------------------------------------------------
104
+ r112 | kit | 2005-11-06 23:58:27 -0800 (Sun, 06 Nov 2005) | 1 line
105
+ Changed paths:
106
+ D /rio/trunk/doc/README_MSWIN32.txt
107
+ M /rio/trunk/lib/rio/if/path.rb
108
+ M /rio/trunk/lib/rio/ops/path.rb
109
+ M /rio/trunk/lib/rio/rl/path.rb
110
+ M /rio/trunk/lib/rio.rb
111
+ M /rio/trunk/test/runtests.rb
112
+ M /rio/trunk/test/tc/all.rb
113
+ M /rio/trunk/test/tc/misc.rb
114
+ M /rio/trunk/test/tc/overload.rb
115
+ M /rio/trunk/test/tc/route.rb
116
+
117
+ documentation and more path work, unified tests for mswin32
118
+ ------------------------------------------------------------------------
119
+ r111 | kit | 2005-11-06 22:37:39 -0800 (Sun, 06 Nov 2005) | 1 line
120
+ Changed paths:
121
+ M /rio/trunk/lib/rio/rl/path.rb
122
+ A /rio/trunk/lib/rio/rl/pathmethods.rb
123
+ M /rio/trunk/lib/rio/rl/uri.rb
124
+ M /rio/trunk/lib/rio/scheme/ftp.rb
125
+ M /rio/trunk/test/mswin32.rb
126
+ M /rio/trunk/test/tc/all.rb
127
+ M /rio/trunk/test/tc/base.rb
128
+ A /rio/trunk/test/tc/route.rb
129
+
130
+ fix route_from, route_to
131
+ ------------------------------------------------------------------------
132
+ r110 | kit | 2005-11-06 19:47:14 -0800 (Sun, 06 Nov 2005) | 1 line
133
+ Changed paths:
134
+ M /rio/trunk/lib/rio/ops/path.rb
135
+ M /rio/trunk/lib/rio/rl/path.rb
136
+ M /rio/trunk/lib/rio/rl/uri.rb
137
+ M /rio/trunk/lib/rio/scheme/http.rb
138
+ A /rio/trunk/test/gem_runtests.rb (from /rio/trunk/test/runtests_gem.rb:107)
139
+ M /rio/trunk/test/mswin32.rb
140
+ D /rio/trunk/test/runtests_gem.rb
141
+ M /rio/trunk/test/tc/abs.rb
142
+ M /rio/trunk/test/tc/all.rb
143
+ A /rio/trunk/test/tc/base.rb
144
+ A /rio/trunk/test/tc/split.rb
145
+
146
+ Cleanup of RL, and path handling in general
147
+ ------------------------------------------------------------------------
148
+ r109 | kit | 2005-11-05 19:44:40 -0800 (Sat, 05 Nov 2005) | 1 line
149
+ Changed paths:
150
+ M /rio/trunk/lib/rio/if/path.rb
151
+ M /rio/trunk/lib/rio/ops/path.rb
152
+ M /rio/trunk/lib/rio/path.rb
153
+ M /rio/trunk/lib/rio/rl/base.rb
154
+ M /rio/trunk/lib/rio/rl/builder.rb
155
+ M /rio/trunk/lib/rio/rl/ioi.rb
156
+ M /rio/trunk/lib/rio/rl/path.rb
157
+ M /rio/trunk/lib/rio/state.rb
158
+ M /rio/trunk/test/mswin32.rb
159
+ M /rio/trunk/test/tc/abs.rb
160
+ M /rio/trunk/test/tc/create.rb
161
+
162
+ change meaning of path, modify tests
163
+ ------------------------------------------------------------------------
164
+ r108 | kit | 2005-10-30 11:36:40 -0800 (Sun, 30 Oct 2005) | 1 line
165
+ Changed paths:
166
+ M /rio/trunk/lib/rio/ops/path.rb
167
+ M /rio/trunk/lib/rio/ops/stream/input.rb
168
+ M /rio/trunk/lib/rio/path/reset.rb
169
+ M /rio/trunk/lib/rio/piper.rb
170
+ M /rio/trunk/lib/rio/rl/base.rb
171
+ M /rio/trunk/lib/rio/rl/builder.rb
172
+ M /rio/trunk/lib/rio/rl/ioi.rb
173
+ M /rio/trunk/lib/rio/rl/path.rb
174
+ M /rio/trunk/lib/rio/scheme/cmdpipe.rb
175
+ M /rio/trunk/lib/rio/scheme/temp.rb
176
+ M /rio/trunk/test/mswin32.rb
177
+ M /rio/trunk/test/tc/abs.rb
178
+ M /rio/trunk/test/tc/copydir.rb
179
+ M /rio/trunk/test/tc/create.rb
180
+ M /rio/trunk/test/tc/expand_path.rb
181
+ M /rio/trunk/test/tc/noqae.rb
182
+ M /rio/trunk/test/tc/riorl.rb
183
+ M /rio/trunk/test/tc/skip.rb
184
+ M /rio/trunk/test/tc/testcase.rb
185
+
186
+ MSWIN32 paths
187
+ ------------------------------------------------------------------------
188
+ r107 | kit | 2005-10-28 14:34:23 -0700 (Fri, 28 Oct 2005) | 1 line
189
+ Changed paths:
190
+ M /rio/trunk/lib/rio/factory.rb
191
+ M /rio/trunk/lib/rio/filter/closeoneof.rb
192
+ M /rio/trunk/lib/rio/ioh.rb
193
+ M /rio/trunk/lib/rio/ops/stream/input.rb
194
+ M /rio/trunk/lib/rio/ops/stream/output.rb
195
+ M /rio/trunk/lib/rio/ops/stream/read.rb
196
+ M /rio/trunk/lib/rio/ops/stream/write.rb
197
+ M /rio/trunk/lib/rio/ops/stream.rb
198
+ M /rio/trunk/lib/rio/piper.rb
199
+ M /rio/trunk/lib/rio/rl/base.rb
200
+ M /rio/trunk/lib/rio/rl/builder.rb
201
+ M /rio/trunk/lib/rio/rl/path.rb
202
+ M /rio/trunk/lib/rio/scheme/cmdio.rb
203
+ A /rio/trunk/lib/rio/scheme/cmdpipe.rb
204
+ M /rio/trunk/lib/rio/state.rb
205
+ M /rio/trunk/lib/rio/stream/open.rb
206
+ M /rio/trunk/lib/rio.rb
207
+
208
+ initial pipe implementation
209
+ ------------------------------------------------------------------------
210
+ r106 | kit | 2005-10-27 13:12:14 -0700 (Thu, 27 Oct 2005) | 1 line
211
+ Changed paths:
212
+ A /rio/trunk/lib/rio/piper.rb
213
+
214
+ inititial of piper.rb
215
+ ------------------------------------------------------------------------
216
+ r105 | kit | 2005-10-26 08:11:56 -0700 (Wed, 26 Oct 2005) | 1 line
217
+ Changed paths:
218
+ M /rio/trunk/test/tc/all.rb
219
+ M /rio/trunk/test/tc/each_break.rb
220
+
221
+ Ruby 1.8.3 handles directory streams differently - for now just commented out the tests that this broke
222
+ ------------------------------------------------------------------------
223
+ r104 | kit | 2005-09-12 22:22:01 -0700 (Mon, 12 Sep 2005) | 1 line
224
+ Changed paths:
225
+ M /rio/trunk/lib/rio/if/yaml.rb
226
+
227
+ yaml documentation
228
+ ------------------------------------------------------------------------
229
+ r103 | kit | 2005-09-12 21:53:53 -0700 (Mon, 12 Sep 2005) | 1 line
230
+ Changed paths:
231
+ M /rio/trunk/lib/rio/doc/INTRO.rb
232
+ M /rio/trunk/lib/rio/ext/yaml.rb
233
+ M /rio/trunk/lib/rio/if/yaml.rb
234
+ M /rio/trunk/lib/rio/ops/either.rb
235
+ M /rio/trunk/lib/rio/state.rb
236
+
237
+ yaml and yaml documentation
238
+ ------------------------------------------------------------------------
239
+ r102 | kit | 2005-09-10 21:03:02 -0700 (Sat, 10 Sep 2005) | 1 line
240
+ Changed paths:
241
+ M /rio/trunk/lib/rio/ext/yaml.rb
242
+ M /rio/trunk/lib/rio/ext.rb
243
+ M /rio/trunk/lib/rio/if/grande.rb
244
+ A /rio/trunk/lib/rio/if/yaml.rb
245
+ M /rio/trunk/lib/rio/if.rb
246
+ M /rio/trunk/test/tc/yaml.rb
247
+
248
+ yaml interface and documentation
249
+ ------------------------------------------------------------------------
250
+ r101 | kit | 2005-09-10 20:08:08 -0700 (Sat, 10 Sep 2005) | 1 line
251
+ Changed paths:
252
+ A /rio/trunk/test/tc/yaml.rb
253
+
254
+ yaml
255
+ ------------------------------------------------------------------------
256
+ r100 | kit | 2005-09-10 20:06:23 -0700 (Sat, 10 Sep 2005) | 1 line
257
+ Changed paths:
258
+ A /rio/trunk/lib/rio/context/copying.rb
259
+ M /rio/trunk/lib/rio/context/methods.rb
260
+ M /rio/trunk/lib/rio/cp.rb
261
+ M /rio/trunk/lib/rio/doc/INTRO.rb
262
+ M /rio/trunk/lib/rio/ext/csv.rb
263
+ A /rio/trunk/lib/rio/ext/yaml.rb
264
+ M /rio/trunk/lib/rio/ext.rb
265
+ M /rio/trunk/lib/rio/filter/closeoneof.rb
266
+ M /rio/trunk/lib/rio/filter/gzip.rb
267
+ M /rio/trunk/lib/rio/if/csv.rb
268
+ M /rio/trunk/lib/rio/if/grande.rb
269
+ M /rio/trunk/lib/rio/if/grande_stream.rb
270
+ M /rio/trunk/lib/rio/if.rb
271
+ M /rio/trunk/lib/rio/ioh.rb
272
+ M /rio/trunk/lib/rio/matchrecord.rb
273
+ M /rio/trunk/lib/rio/ops/dir.rb
274
+ M /rio/trunk/lib/rio/ops/either.rb
275
+ M /rio/trunk/lib/rio/ops/file.rb
276
+ M /rio/trunk/lib/rio/ops/stream/input.rb
277
+ M /rio/trunk/lib/rio/ops/stream/output.rb
278
+ M /rio/trunk/lib/rio/rectype.rb
279
+ M /rio/trunk/lib/rio/state.rb
280
+ M /rio/trunk/lib/rio/stream/open.rb
281
+ M /rio/trunk/lib/rio/stream.rb
282
+ M /rio/trunk/test/tc/all.rb
283
+ M /rio/trunk/test/tc/csv.rb
284
+ M /rio/trunk/test/tc/csv2.rb
285
+ M /rio/trunk/test/tc/csv_columns.rb
286
+
287
+ yaml support
288
+ ------------------------------------------------------------------------
2
289
  r97 | kit | 2005-09-06 16:51:50 -0700 (Tue, 06 Sep 2005) | 1 line
3
290
  Changed paths:
4
291
  M /rio/trunk/doc/ANNOUNCE
data/Rakefile CHANGED
@@ -115,9 +115,7 @@ end
115
115
 
116
116
  CLOBBER << "test/rio.log"
117
117
  task :test do |t|
118
- chdir 'test' do
119
- ruby "-I../lib -I. runtests.rb"
120
- end
118
+ sh "cd test;ruby -I../lib -I. runtests.rb"
121
119
  end
122
120
 
123
121
  #task :package => [:gen_files] do |var|
@@ -146,11 +144,11 @@ end
146
144
  task :gen_files => [:gen_changelog, :gen_version]
147
145
  CLOBBER << "ChangeLog" << "VERSION"
148
146
  task :no_old_pkg do
149
- unless Dir["pkg/#{PKG::FULLNAME}*"].empty?
150
- $stderr.puts("packages for version #{PKG::VERSION} exist!")
151
- $stderr.puts("Either delete them, or change the version number.")
152
- exit(-1)
153
- end
147
+ # unless Dir["pkg/#{PKG::FULLNAME}*"].empty?
148
+ # $stderr.puts("packages for version #{PKG::VERSION} exist!")
149
+ # $stderr.puts("Either delete them, or change the version number.")
150
+ # exit(-1)
151
+ # end
154
152
  end
155
153
 
156
154
  task :package => [:no_old_pkg, :gen_files]
@@ -223,7 +221,7 @@ else
223
221
 
224
222
  s.author = "Christopher Kleckner"
225
223
  s.email = "rio4ruby@rubyforge.org"
226
- s.homepage = "rio.rubyforge.org"
224
+ s.homepage = "http://rio.rubyforge.org/"
227
225
  s.rubyforge_project = "rio"
228
226
  end
229
227
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.6
@@ -1,4 +1,4 @@
1
- New and Improved -- Rio 0.3.4
1
+ Piping Hot -- Rio 0.3.6
2
2
 
3
3
  == Overview
4
4
 
@@ -10,6 +10,25 @@ provided by IO, File, and Dir to an appropriate object, Rio provides a
10
10
  "grande" interface that allows many common application-level I/O and
11
11
  file-system tasks to be expressed succinctly.
12
12
 
13
+ == New
14
+
15
+ Support for Pipe operator
16
+ # Pipe multiple commands
17
+ rio('afile') | rio(?-,'acmd') | 'another_cmd' | ?-
18
+
19
+ # run the same series of commands, with different input and/or output
20
+ cmdpipe = rio(?-,'acmd') | rio(?-,'another_cmd')
21
+ rio('infile1') | cmdpipe | rio('outfile1')
22
+ rio('infile2') | cmdpipe | rio('outfile2')
23
+
24
+ cmdpipe2 = rio(?|,'cmd1','cmd2','outfile') # create a cmdpipe Rio
25
+ rio('infile1') | cmdpipe2 # run with input coming from a file
26
+ rio(?-) | cmdpipe2 # same commands with input from stdin
27
+
28
+ Improved support for MS Windows path specifications
29
+ rio('D:/adir/afile')
30
+ rio('//ahost/adir/afile')
31
+
13
32
  == SYNOPSIS
14
33
 
15
34
  For the following assume:
@@ -24,6 +24,47 @@ Suggested Reading
24
24
  * RIO::Doc::HOWTO
25
25
  * RIO::Rio
26
26
 
27
+ == New for version 0.3.6
28
+ * Pipe operator and command pipes
29
+
30
+ Pipe multiple commands
31
+ rio('afile') | rio(?-,'acmd') | 'another_cmd' | ?-
32
+
33
+ Run the same series of commands, with different input and/or output
34
+ cmdpipe = rio(?-,'acmd') | rio(?-,'another_cmd')
35
+ rio('infile1') | cmdpipe | rio('outfile1')
36
+ rio('infile2') | cmdpipe | rio('outfile2')
37
+
38
+ cmdpipe2 = rio(?|,'cmd1','cmd2',rio('outfile')) # create a cmdpipe Rio
39
+ rio('infile1') | cmdpipe2 # run with input coming from a file
40
+ rio(?-) | cmdpipe2 # same commands with input from stdin
41
+
42
+
43
+ == New for version 0.3.5
44
+ * Partial support for MS Windows drive and UNC path specifications
45
+
46
+ The separator must be '/'. Back-slashes are not supported.
47
+
48
+ Drives and UNC paths may be specified as expected:
49
+ rio("D:/adir/afile")
50
+ rio('//ahost/adir/afile')
51
+
52
+ This support has introduced a change in the behaviour
53
+ of Rio#path. Rio#path now returns the path on the
54
+ file-system for Rios that are on the file-system; returns the path
55
+ portion of the URL for FTP, HTTP and other Rios that
56
+ have a path, and return nil for Rios that have no path
57
+ rio('/a/b/c').path #==> "/a/b/c"
58
+ rio('b/c').path #==> "b/c"
59
+ rio('C:/b/c').path #==> "C:/b/c"
60
+ rio('//ahost/a/b').path #==> "//ahost/a/b"
61
+ rio('file://ahost/a/b').path #==> "//ahost/a/b"
62
+ rio('file:///a/b').path #==> "/a/b"
63
+ rio('file://localhost/a/b').path #==> "/a/b"
64
+ rio('http://ahost/index.html').path #==> "/index.html"
65
+ rio('stdin:').path #==> nil
66
+
67
+
27
68
  == New for version 0.3.4
28
69
  * New Grande Selection parameter.
29
70
 
@@ -0,0 +1,181 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Kernel</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td class="class-mod"><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Kernel</td>
54
+ <td rowspan="2" class="class-header-space-col"></td>
55
+ <td rowspan="2">
56
+ <a class="in-url" href="../files/lib/rio/kernel_rb.html">
57
+ lib/rio/kernel.rb
58
+ </a>
59
+ &nbsp;&nbsp;
60
+ </td>
61
+ </tr>
62
+
63
+ </table>
64
+ </div>
65
+ <!-- banner header -->
66
+
67
+ <div id="bodyContent">
68
+
69
+
70
+
71
+ <div id="contextContent">
72
+
73
+ <div id="description">
74
+ <p>
75
+ To create the documentation for Rio run the command
76
+ </p>
77
+ <pre>
78
+ rake rdoc
79
+ </pre>
80
+ <p>
81
+ from the distribution directory. Then point your browser at the
82
+ &#8216;doc/rdoc&#8217; directory.
83
+ </p>
84
+ <p>
85
+ Suggested Reading
86
+ </p>
87
+ <ul>
88
+ <li><a href="RIO/Doc/SYNOPSIS.html">RIO::Doc::SYNOPSIS</a>
89
+
90
+ </li>
91
+ <li><a href="RIO/Doc/INTRO.html">RIO::Doc::INTRO</a>
92
+
93
+ </li>
94
+ <li><a href="RIO/Doc/HOWTO.html">RIO::Doc::HOWTO</a>
95
+
96
+ </li>
97
+ <li><a href="RIO/Rio.html">RIO::Rio</a>
98
+
99
+ </li>
100
+ </ul>
101
+ <p>
102
+ <b>Rio is pre-alpha software. The documented interface and behavior is
103
+ subject to change without notice.</b>
104
+ </p>
105
+
106
+ </div>
107
+
108
+
109
+ </div>
110
+
111
+ <div id="method-list">
112
+ <h3 class="section-bar">Methods</h3>
113
+
114
+ <div class="name-list">
115
+ <a href="#M000215">io</a>&nbsp;&nbsp;
116
+ <a href="#M000214">rio</a>&nbsp;&nbsp;
117
+ </div>
118
+ </div>
119
+
120
+ </div>
121
+
122
+
123
+ <!-- if includes -->
124
+
125
+ <div id="section">
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <!-- if method_list -->
135
+ <div id="methods">
136
+ <h3 class="section-bar">Public Instance methods</h3>
137
+
138
+ <div id="method-M000215" class="method-detail">
139
+ <a name="M000215"></a>
140
+
141
+ <div class="method-heading">
142
+ <span class="method-name">io</span><span class="method-args">(*args)</span>
143
+ </div>
144
+
145
+ <div class="method-description">
146
+ <p>
147
+ Alias for <a href="Kernel.html#M000214">rio</a>
148
+ </p>
149
+ </div>
150
+ </div>
151
+
152
+ <div id="method-M000214" class="method-detail">
153
+ <a name="M000214"></a>
154
+
155
+ <div class="method-heading">
156
+ <a href="Kernel.src/M000214.html" target="Code" class="method-signature"
157
+ onclick="popupCode('Kernel.src/M000214.html');return false;">
158
+ <span class="method-name">rio</span><span class="method-args">(*args) {|self| ...}</span>
159
+ </a>
160
+ </div>
161
+
162
+ <div class="method-description">
163
+ <p>
164
+ Shortcut for <a href="RIO.html#M000001">RIO.rio</a>
165
+ </p>
166
+ </div>
167
+ </div>
168
+
169
+
170
+ </div>
171
+
172
+
173
+ </div>
174
+
175
+
176
+ <div id="validator-badges">
177
+ <p><small>Copyright &copy; 2005 Christopher Kleckner. <a href="http://www.gnu.org/licenses/gpl.html">All rights reserved</a>.</small></p>
178
+ </div>
179
+
180
+ </body>
181
+ </html>