rio 0.3.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. data/README +14 -8
  2. data/Rakefile +7 -9
  3. data/doc/ANNOUNCE +61 -46
  4. data/doc/RELEASE_NOTES +12 -3
  5. data/doc/RIOIS +7 -7
  6. data/doc/generators/template/html/rio.rb +7 -8
  7. data/doc/generators/template/html/ugly.rb +4 -2
  8. data/doc/pkg_def.rb +4 -10
  9. data/doc/rdoc/classes/Kernel.html +133 -0
  10. data/doc/rdoc/classes/Kernel.src/M000233.html +18 -0
  11. data/doc/rdoc/classes/RIO.html +625 -0
  12. data/doc/rdoc/classes/RIO.src/M000001.html +18 -0
  13. data/doc/rdoc/classes/RIO.src/M000002.html +18 -0
  14. data/doc/rdoc/classes/RIO.src/M000003.html +18 -0
  15. data/doc/rdoc/classes/RIO/Doc.html +148 -0
  16. data/doc/rdoc/classes/RIO/Doc/EXAMPLES.html +432 -0
  17. data/doc/rdoc/classes/RIO/Doc/HOWTO.html +1075 -0
  18. data/doc/rdoc/classes/RIO/Doc/INDEX.html +368 -0
  19. data/doc/rdoc/classes/RIO/Doc/INTRO.html +1533 -0
  20. data/doc/rdoc/classes/RIO/Doc/OPTIONAL.html +221 -0
  21. data/doc/rdoc/classes/RIO/Doc/SYNOPSIS.html +337 -0
  22. data/doc/rdoc/classes/RIO/IF.html +165 -0
  23. data/doc/rdoc/classes/RIO/IF/CSV.html +203 -0
  24. data/doc/rdoc/classes/RIO/IF/CSV.src/M000116.html +19 -0
  25. data/doc/rdoc/classes/RIO/IF/CSV.src/M000117.html +16 -0
  26. data/doc/rdoc/classes/RIO/IF/CSV.src/M000118.html +16 -0
  27. data/doc/rdoc/classes/RIO/IF/Dir.html +343 -0
  28. data/doc/rdoc/classes/RIO/IF/Dir.src/M000045.html +16 -0
  29. data/doc/rdoc/classes/RIO/IF/Dir.src/M000046.html +16 -0
  30. data/doc/rdoc/classes/RIO/IF/Dir.src/M000047.html +16 -0
  31. data/doc/rdoc/classes/RIO/IF/Dir.src/M000048.html +16 -0
  32. data/doc/rdoc/classes/RIO/IF/Dir.src/M000049.html +16 -0
  33. data/doc/rdoc/classes/RIO/IF/Dir.src/M000050.html +16 -0
  34. data/doc/rdoc/classes/RIO/IF/Dir.src/M000051.html +16 -0
  35. data/doc/rdoc/classes/RIO/IF/File.html +223 -0
  36. data/doc/rdoc/classes/RIO/IF/File.src/M000212.html +16 -0
  37. data/doc/rdoc/classes/RIO/IF/File.src/M000213.html +16 -0
  38. data/doc/rdoc/classes/RIO/IF/File.src/M000214.html +16 -0
  39. data/doc/rdoc/classes/RIO/IF/File.src/M000215.html +16 -0
  40. data/doc/rdoc/classes/RIO/IF/FileOrDir.html +572 -0
  41. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000155.html +16 -0
  42. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000156.html +16 -0
  43. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000157.html +16 -0
  44. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000158.html +16 -0
  45. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000159.html +16 -0
  46. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000160.html +16 -0
  47. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000161.html +16 -0
  48. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000162.html +16 -0
  49. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000163.html +16 -0
  50. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000164.html +16 -0
  51. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000165.html +16 -0
  52. data/doc/rdoc/classes/RIO/IF/FileOrDir.src/M000166.html +16 -0
  53. data/doc/rdoc/classes/RIO/IF/Grande.html +1349 -0
  54. data/doc/rdoc/classes/RIO/IF/Grande.src/M000088.html +16 -0
  55. data/doc/rdoc/classes/RIO/IF/Grande.src/M000089.html +16 -0
  56. data/doc/rdoc/classes/RIO/IF/Grande.src/M000090.html +16 -0
  57. data/doc/rdoc/classes/RIO/IF/Grande.src/M000091.html +16 -0
  58. data/doc/rdoc/classes/RIO/IF/Grande.src/M000092.html +16 -0
  59. data/doc/rdoc/classes/RIO/IF/Grande.src/M000093.html +21 -0
  60. data/doc/rdoc/classes/RIO/IF/Grande.src/M000094.html +16 -0
  61. data/doc/rdoc/classes/RIO/IF/Grande.src/M000095.html +16 -0
  62. data/doc/rdoc/classes/RIO/IF/Grande.src/M000096.html +16 -0
  63. data/doc/rdoc/classes/RIO/IF/Grande.src/M000097.html +16 -0
  64. data/doc/rdoc/classes/RIO/IF/Grande.src/M000098.html +16 -0
  65. data/doc/rdoc/classes/RIO/IF/Grande.src/M000099.html +16 -0
  66. data/doc/rdoc/classes/RIO/IF/Grande.src/M000100.html +21 -0
  67. data/doc/rdoc/classes/RIO/IF/Grande.src/M000101.html +16 -0
  68. data/doc/rdoc/classes/RIO/IF/Grande.src/M000102.html +16 -0
  69. data/doc/rdoc/classes/RIO/IF/Grande.src/M000103.html +16 -0
  70. data/doc/rdoc/classes/RIO/IF/Grande.src/M000104.html +16 -0
  71. data/doc/rdoc/classes/RIO/IF/Grande.src/M000105.html +16 -0
  72. data/doc/rdoc/classes/RIO/IF/GrandeEntry.html +810 -0
  73. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000106.html +16 -0
  74. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000107.html +16 -0
  75. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000108.html +16 -0
  76. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000109.html +16 -0
  77. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000110.html +16 -0
  78. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000111.html +16 -0
  79. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000112.html +16 -0
  80. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000113.html +16 -0
  81. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000114.html +16 -0
  82. data/doc/rdoc/classes/RIO/IF/GrandeEntry.src/M000115.html +16 -0
  83. data/doc/rdoc/classes/RIO/IF/GrandeStream.html +1513 -0
  84. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000052.html +16 -0
  85. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000053.html +16 -0
  86. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000054.html +16 -0
  87. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000055.html +16 -0
  88. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000056.html +16 -0
  89. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000057.html +16 -0
  90. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000058.html +16 -0
  91. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000059.html +16 -0
  92. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000060.html +16 -0
  93. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000061.html +16 -0
  94. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000062.html +16 -0
  95. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000063.html +16 -0
  96. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000064.html +16 -0
  97. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000065.html +16 -0
  98. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000066.html +16 -0
  99. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000067.html +16 -0
  100. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000068.html +19 -0
  101. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000069.html +16 -0
  102. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000070.html +16 -0
  103. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000071.html +16 -0
  104. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000072.html +16 -0
  105. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000073.html +16 -0
  106. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000074.html +16 -0
  107. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000075.html +16 -0
  108. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000076.html +16 -0
  109. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000077.html +16 -0
  110. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000078.html +16 -0
  111. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000079.html +16 -0
  112. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000080.html +16 -0
  113. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000081.html +16 -0
  114. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000082.html +16 -0
  115. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000083.html +16 -0
  116. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000084.html +16 -0
  117. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000085.html +16 -0
  118. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000086.html +16 -0
  119. data/doc/rdoc/classes/RIO/IF/GrandeStream.src/M000087.html +16 -0
  120. data/doc/rdoc/classes/RIO/IF/Path.html +999 -0
  121. data/doc/rdoc/classes/RIO/IF/Path.src/M000180.html +16 -0
  122. data/doc/rdoc/classes/RIO/IF/Path.src/M000181.html +16 -0
  123. data/doc/rdoc/classes/RIO/IF/Path.src/M000182.html +16 -0
  124. data/doc/rdoc/classes/RIO/IF/Path.src/M000183.html +16 -0
  125. data/doc/rdoc/classes/RIO/IF/Path.src/M000184.html +16 -0
  126. data/doc/rdoc/classes/RIO/IF/Path.src/M000185.html +16 -0
  127. data/doc/rdoc/classes/RIO/IF/Path.src/M000186.html +16 -0
  128. data/doc/rdoc/classes/RIO/IF/Path.src/M000187.html +16 -0
  129. data/doc/rdoc/classes/RIO/IF/Path.src/M000188.html +16 -0
  130. data/doc/rdoc/classes/RIO/IF/Path.src/M000189.html +16 -0
  131. data/doc/rdoc/classes/RIO/IF/Path.src/M000190.html +16 -0
  132. data/doc/rdoc/classes/RIO/IF/Path.src/M000191.html +16 -0
  133. data/doc/rdoc/classes/RIO/IF/Path.src/M000192.html +16 -0
  134. data/doc/rdoc/classes/RIO/IF/Path.src/M000193.html +16 -0
  135. data/doc/rdoc/classes/RIO/IF/Path.src/M000194.html +16 -0
  136. data/doc/rdoc/classes/RIO/IF/Path.src/M000195.html +16 -0
  137. data/doc/rdoc/classes/RIO/IF/Path.src/M000196.html +16 -0
  138. data/doc/rdoc/classes/RIO/IF/Path.src/M000197.html +16 -0
  139. data/doc/rdoc/classes/RIO/IF/Path.src/M000198.html +16 -0
  140. data/doc/rdoc/classes/RIO/IF/Path.src/M000199.html +16 -0
  141. data/doc/rdoc/classes/RIO/IF/Path.src/M000200.html +16 -0
  142. data/doc/rdoc/classes/RIO/IF/Path.src/M000201.html +16 -0
  143. data/doc/rdoc/classes/RIO/IF/Path.src/M000202.html +18 -0
  144. data/doc/rdoc/classes/RIO/IF/Path.src/M000203.html +16 -0
  145. data/doc/rdoc/classes/RIO/IF/Path.src/M000204.html +16 -0
  146. data/doc/rdoc/classes/RIO/IF/Path.src/M000205.html +16 -0
  147. data/doc/rdoc/classes/RIO/IF/Path.src/M000206.html +16 -0
  148. data/doc/rdoc/classes/RIO/IF/Path.src/M000207.html +16 -0
  149. data/doc/rdoc/classes/RIO/IF/Path.src/M000208.html +16 -0
  150. data/doc/rdoc/classes/RIO/IF/Path.src/M000209.html +16 -0
  151. data/doc/rdoc/classes/RIO/IF/Path.src/M000210.html +16 -0
  152. data/doc/rdoc/classes/RIO/IF/Path.src/M000211.html +16 -0
  153. data/doc/rdoc/classes/RIO/IF/RubyIO.html +1414 -0
  154. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000004.html +16 -0
  155. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000005.html +16 -0
  156. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000006.html +16 -0
  157. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000007.html +16 -0
  158. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000008.html +16 -0
  159. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000009.html +16 -0
  160. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000010.html +16 -0
  161. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000011.html +16 -0
  162. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000012.html +16 -0
  163. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000013.html +16 -0
  164. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000014.html +16 -0
  165. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000015.html +16 -0
  166. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000016.html +16 -0
  167. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000017.html +16 -0
  168. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000018.html +16 -0
  169. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000019.html +16 -0
  170. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000020.html +16 -0
  171. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000021.html +16 -0
  172. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000022.html +16 -0
  173. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000023.html +16 -0
  174. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000024.html +16 -0
  175. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000025.html +16 -0
  176. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000026.html +16 -0
  177. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000027.html +16 -0
  178. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000028.html +16 -0
  179. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000029.html +16 -0
  180. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000030.html +16 -0
  181. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000031.html +16 -0
  182. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000032.html +16 -0
  183. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000033.html +16 -0
  184. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000034.html +16 -0
  185. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000035.html +16 -0
  186. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000036.html +16 -0
  187. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000037.html +16 -0
  188. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000038.html +16 -0
  189. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000039.html +16 -0
  190. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000040.html +16 -0
  191. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000041.html +16 -0
  192. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000042.html +16 -0
  193. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000043.html +16 -0
  194. data/doc/rdoc/classes/RIO/IF/RubyIO.src/M000044.html +16 -0
  195. data/doc/rdoc/classes/RIO/IF/String.html +203 -0
  196. data/doc/rdoc/classes/RIO/IF/String.src/M000216.html +16 -0
  197. data/doc/rdoc/classes/RIO/IF/String.src/M000217.html +16 -0
  198. data/doc/rdoc/classes/RIO/IF/String.src/M000218.html +16 -0
  199. data/doc/rdoc/classes/RIO/IF/Test.html +990 -0
  200. data/doc/rdoc/classes/RIO/IF/Test.src/M000119.html +16 -0
  201. data/doc/rdoc/classes/RIO/IF/Test.src/M000120.html +16 -0
  202. data/doc/rdoc/classes/RIO/IF/Test.src/M000121.html +16 -0
  203. data/doc/rdoc/classes/RIO/IF/Test.src/M000122.html +16 -0
  204. data/doc/rdoc/classes/RIO/IF/Test.src/M000123.html +16 -0
  205. data/doc/rdoc/classes/RIO/IF/Test.src/M000124.html +16 -0
  206. data/doc/rdoc/classes/RIO/IF/Test.src/M000125.html +16 -0
  207. data/doc/rdoc/classes/RIO/IF/Test.src/M000126.html +16 -0
  208. data/doc/rdoc/classes/RIO/IF/Test.src/M000127.html +16 -0
  209. data/doc/rdoc/classes/RIO/IF/Test.src/M000128.html +16 -0
  210. data/doc/rdoc/classes/RIO/IF/Test.src/M000129.html +16 -0
  211. data/doc/rdoc/classes/RIO/IF/Test.src/M000130.html +16 -0
  212. data/doc/rdoc/classes/RIO/IF/Test.src/M000131.html +16 -0
  213. data/doc/rdoc/classes/RIO/IF/Test.src/M000132.html +16 -0
  214. data/doc/rdoc/classes/RIO/IF/Test.src/M000133.html +16 -0
  215. data/doc/rdoc/classes/RIO/IF/Test.src/M000134.html +16 -0
  216. data/doc/rdoc/classes/RIO/IF/Test.src/M000135.html +16 -0
  217. data/doc/rdoc/classes/RIO/IF/Test.src/M000136.html +16 -0
  218. data/doc/rdoc/classes/RIO/IF/Test.src/M000137.html +16 -0
  219. data/doc/rdoc/classes/RIO/IF/Test.src/M000138.html +16 -0
  220. data/doc/rdoc/classes/RIO/IF/Test.src/M000139.html +16 -0
  221. data/doc/rdoc/classes/RIO/IF/Test.src/M000140.html +16 -0
  222. data/doc/rdoc/classes/RIO/IF/Test.src/M000141.html +16 -0
  223. data/doc/rdoc/classes/RIO/IF/Test.src/M000142.html +16 -0
  224. data/doc/rdoc/classes/RIO/IF/Test.src/M000143.html +16 -0
  225. data/doc/rdoc/classes/RIO/IF/Test.src/M000144.html +16 -0
  226. data/doc/rdoc/classes/RIO/IF/Test.src/M000145.html +16 -0
  227. data/doc/rdoc/classes/RIO/IF/Test.src/M000146.html +16 -0
  228. data/doc/rdoc/classes/RIO/IF/Test.src/M000147.html +16 -0
  229. data/doc/rdoc/classes/RIO/IF/Test.src/M000148.html +16 -0
  230. data/doc/rdoc/classes/RIO/IF/Test.src/M000149.html +16 -0
  231. data/doc/rdoc/classes/RIO/IF/Test.src/M000150.html +16 -0
  232. data/doc/rdoc/classes/RIO/IF/Test.src/M000151.html +16 -0
  233. data/doc/rdoc/classes/RIO/IF/Test.src/M000152.html +16 -0
  234. data/doc/rdoc/classes/RIO/IF/Test.src/M000153.html +16 -0
  235. data/doc/rdoc/classes/RIO/IF/Test.src/M000154.html +16 -0
  236. data/doc/rdoc/classes/RIO/IF/YAML.html +517 -0
  237. data/doc/rdoc/classes/RIO/IF/YAML.src/M000167.html +19 -0
  238. data/doc/rdoc/classes/RIO/IF/YAML.src/M000168.html +16 -0
  239. data/doc/rdoc/classes/RIO/IF/YAML.src/M000169.html +16 -0
  240. data/doc/rdoc/classes/RIO/IF/YAML.src/M000170.html +16 -0
  241. data/doc/rdoc/classes/RIO/IF/YAML.src/M000171.html +16 -0
  242. data/doc/rdoc/classes/RIO/IF/YAML.src/M000172.html +16 -0
  243. data/doc/rdoc/classes/RIO/IF/YAML.src/M000173.html +16 -0
  244. data/doc/rdoc/classes/RIO/IF/YAML.src/M000174.html +16 -0
  245. data/doc/rdoc/classes/RIO/IF/YAML.src/M000175.html +16 -0
  246. data/doc/rdoc/classes/RIO/IF/YAML.src/M000176.html +16 -0
  247. data/doc/rdoc/classes/RIO/IF/YAML.src/M000177.html +16 -0
  248. data/doc/rdoc/classes/RIO/IF/YAML.src/M000178.html +16 -0
  249. data/doc/rdoc/classes/RIO/IF/YAML.src/M000179.html +16 -0
  250. data/doc/rdoc/classes/RIO/Rio.html +508 -0
  251. data/doc/rdoc/classes/RIO/Rio.src/M000219.html +18 -0
  252. data/doc/rdoc/classes/RIO/Rio.src/M000220.html +20 -0
  253. data/doc/rdoc/classes/RIO/Rio.src/M000221.html +27 -0
  254. data/doc/rdoc/classes/RIO/Rio.src/M000222.html +16 -0
  255. data/doc/rdoc/classes/RIO/Rio.src/M000224.html +19 -0
  256. data/doc/rdoc/classes/RIO/Rio.src/M000225.html +20 -0
  257. data/doc/rdoc/classes/RIO/Rio.src/M000226.html +16 -0
  258. data/doc/rdoc/classes/RIO/Rio.src/M000227.html +16 -0
  259. data/doc/rdoc/classes/RIO/Rio.src/M000228.html +16 -0
  260. data/doc/rdoc/classes/RIO/Rio.src/M000229.html +16 -0
  261. data/doc/rdoc/classes/RIO/Rio.src/M000230.html +16 -0
  262. data/doc/rdoc/classes/RIO/Rio.src/M000231.html +16 -0
  263. data/doc/rdoc/classes/RIO/Rio.src/M000232.html +16 -0
  264. data/doc/rdoc/created.rid +1 -0
  265. data/doc/rdoc/files/README.html +229 -0
  266. data/doc/rdoc/files/lib/rio/constructor_rb.html +141 -0
  267. data/doc/rdoc/files/lib/rio/doc/EXAMPLES_rb.html +134 -0
  268. data/doc/rdoc/files/lib/rio/doc/HOWTO_rb.html +134 -0
  269. data/doc/rdoc/files/lib/rio/doc/INDEX_rb.html +134 -0
  270. data/doc/rdoc/files/lib/rio/doc/INTRO_rb.html +134 -0
  271. data/doc/rdoc/files/lib/rio/doc/OPTIONAL_rb.html +134 -0
  272. data/doc/rdoc/files/lib/rio/doc/SYNOPSIS_rb.html +134 -0
  273. data/doc/rdoc/files/lib/rio/if/basic_rb.html +134 -0
  274. data/doc/rdoc/files/lib/rio/if/csv_rb.html +134 -0
  275. data/doc/rdoc/files/lib/rio/if/dir_rb.html +134 -0
  276. data/doc/rdoc/files/lib/rio/if/file_rb.html +134 -0
  277. data/doc/rdoc/files/lib/rio/if/fileordir_rb.html +134 -0
  278. data/doc/rdoc/files/lib/rio/if/grande_entry_rb.html +134 -0
  279. data/doc/rdoc/files/lib/rio/if/grande_rb.html +141 -0
  280. data/doc/rdoc/files/lib/rio/if/grande_stream_rb.html +134 -0
  281. data/doc/rdoc/files/lib/rio/if/internal_rb.html +134 -0
  282. data/doc/rdoc/files/lib/rio/if/path_rb.html +134 -0
  283. data/doc/rdoc/files/lib/rio/if/rubyio_rb.html +134 -0
  284. data/doc/rdoc/files/lib/rio/if/string_rb.html +134 -0
  285. data/doc/rdoc/files/lib/rio/if/temp_rb.html +134 -0
  286. data/doc/rdoc/files/lib/rio/if/test_rb.html +134 -0
  287. data/doc/rdoc/files/lib/rio/if/yaml_rb.html +134 -0
  288. data/doc/rdoc/files/lib/rio/kernel_rb.html +142 -0
  289. data/doc/rdoc/files/lib/rio_rb.html +153 -0
  290. data/doc/rdoc/fr_class_index.html +49 -0
  291. data/doc/rdoc/fr_file_index.html +51 -0
  292. data/doc/rdoc/fr_method_index.html +259 -0
  293. data/doc/rdoc/index.html +30 -0
  294. data/doc/rdoc/rdoc-style.css +428 -0
  295. data/lib/rio/cp.rb +9 -8
  296. data/lib/rio/doc/HOWTO.rb +46 -32
  297. data/lib/rio/doc/INDEX.rb +311 -0
  298. data/lib/rio/doc/INTRO.rb +10 -10
  299. data/lib/rio/doc/OPTIONAL.rb +6 -9
  300. data/lib/rio/doc/SYNOPSIS.rb +54 -57
  301. data/lib/rio/ext/csv.rb +5 -1
  302. data/lib/rio/ext/yaml.rb +19 -40
  303. data/lib/rio/if/fileordir.rb +1 -1
  304. data/lib/rio/if/grande.rb +4 -4
  305. data/lib/rio/if/grande_entry.rb +6 -0
  306. data/lib/rio/if/grande_stream.rb +10 -8
  307. data/lib/rio/if/path.rb +1 -1
  308. data/lib/rio/if/rubyio.rb +4 -4
  309. data/lib/rio/if/yaml.rb +27 -13
  310. data/lib/rio/ops/stream/input.rb +0 -1
  311. data/lib/rio/stream.rb +1 -0
  312. data/lib/rio/version.rb +1 -1
  313. data/test/tc/synopsis.rb +75 -0
  314. data/test/tc/yaml.rb +150 -4
  315. metadata +314 -2
@@ -38,15 +38,15 @@ module RIO
38
38
  module Doc
39
39
  =begin rdoc
40
40
 
41
- = Rio - Ruby I/O Comfort Class
41
+ = Rio - Ruby I/O Facilitator
42
42
 
43
- Rio is a convenience class wrapping much of the functionality of IO,
44
- File, Dir, Pathname, FileUtils, Tempfile, StringIO, and OpenURI and
45
- uses Zlib, and CSV to extend that functionality using a simple
46
- consistent interface. Most of the instance methods of IO, File and
47
- Dir are simply forwarded to the appropriate handle to provide
48
- identical functionality. Rio also provides a "grande" interface that
49
- allows many application level IO tasks to be expressed succinctly.
43
+ fa-cil-i-tate: To make easy or easier [http://www.thefreedictionary.com/facilitate]
44
+
45
+ Rio is a facade for most of the standard ruby classes that deal with I/O;
46
+ providing a simple, intuitive, succinct interface to the functionality
47
+ provided by IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI
48
+ and others. Rio also provides an application level interface which allows many
49
+ common I/O idioms to be expressed succinctly.
50
50
 
51
51
 
52
52
  Rio functionality can be broadly broken into three categories
@@ -863,7 +863,7 @@ One way to append a string to a file and close it in one line is
863
863
 
864
864
  Run a cmd that must be opened for read and write
865
865
 
866
- ans = rio(?-,'cat').w!.puts!("Hello Kitty").readlines
866
+ ans = rio(?-,'cat').w!.puts!("Hello Kitty").readline
867
867
 
868
868
  The automatic selection of mode can be bypassed entirely using
869
869
  IF::RubyIO#mode and IF::FileOrDir#open.
@@ -872,7 +872,7 @@ If a mode is specified using +mode+, the file will still be opened
872
872
  automatically, but the mode specified in the +mode+ method will be
873
873
  used regardless of whether it makes sense.
874
874
 
875
- A Rio can also be opened explicitly using IF::RubyIO#open. +open+ takes one
875
+ A Rio can also be opened explicitly using IF::FileOrDir#open. +open+ takes one
876
876
  parameter, a mode. This also will override all of Rio's automatic
877
877
  mode selection.
878
878
 
@@ -38,16 +38,13 @@ module RIO
38
38
  module Doc #:doc:
39
39
  =begin rdoc
40
40
 
41
- = Rio - Ruby I/O Comfort Class
42
-
43
- Rio is a convenience class wrapping much of the functionality of IO,
44
- File, Dir, Pathname, FileUtils, Tempfile, StringIO, and OpenURI and
45
- uses Zlib, and CSV to extend that functionality using a simple
46
- consistent interface. Most of the instance methods of IO, File and
47
- Dir are simply forwarded to the appropriate handle to provide
48
- identical functionality. Rio also provides a "grande" interface that
49
- allows many application level IO tasks to be expressed succinctly.
41
+ = Rio - Ruby I/O Facilitator
50
42
 
43
+ Rio is a facade for most of the standard ruby classes that deal with I/O;
44
+ providing a simple, intuitive, succinct interface to the functionality
45
+ provided by IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI
46
+ and others. Rio also provides an application level interface which allows many
47
+ common I/O idioms to be expressed succinctly.
51
48
 
52
49
  Please read the following first:
53
50
  * RIO::Doc::INTRO
@@ -49,15 +49,15 @@ module RIO
49
49
  module Doc #:doc:
50
50
  =begin rdoc
51
51
 
52
- = Rio - Ruby I/O Comfort Class
52
+ = Rio - Ruby I/O Facilitator
53
53
 
54
- Rio is a convenience class wrapping much of the functionality of IO,
55
- File, Dir, Pathname, FileUtils, Tempfile, StringIO, and OpenURI and
56
- uses Zlib, and CSV to extend that functionality using a simple
57
- consistent interface. Most of the instance methods of IO, File and
58
- Dir are simply forwarded to the appropriate handle to provide
59
- identical functionality. Rio also provides a "grande" interface that
60
- allows many application level IO tasks to be expressed succinctly.
54
+ fa-cil-i-tate: To make easy or easier [http://www.thefreedictionary.com/facilitate]
55
+
56
+ Rio is a facade for most of the standard ruby classes that deal with I/O;
57
+ providing a simple, intuitive, succinct interface to the functionality
58
+ provided by IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI
59
+ and others. Rio also provides an application level interface which allows many
60
+ common I/O idioms to be expressed succinctly.
61
61
 
62
62
 
63
63
  == SYNOPSIS
@@ -66,6 +66,21 @@ For the following assume:
66
66
  astring = ""
67
67
  anarray = []
68
68
 
69
+ Iterate over the .rb files in a directory.
70
+ rio('adir').files('*.rb') { |entrio| ... }
71
+
72
+ Return an array of the .rb files in a directory.
73
+ rio('adir').files['*.rb']
74
+
75
+ Copy the .rb files in a directory.to another directory.
76
+ rio('adir').files('*.rb') > rio('another_directory')
77
+
78
+ Iterate over the .rb files in a directory and its subdirectories.
79
+ rio('adir').all.files('*.rb') { |entrio| ... }
80
+
81
+ Return an array of the .rb files in a directory and its subdirectories.
82
+ rio('adir').all.files['*.rb']
83
+
69
84
  Copy or append a file to a string
70
85
  rio('afile') > astring # copy
71
86
  rio('afile') >> astring # append
@@ -85,18 +100,39 @@ Copy or append a file to another file
85
100
  Copy a file to a directory
86
101
  rio('adir') << rio('afile')
87
102
 
88
- Copy a directory structure to another directory
103
+ Copy a directory to another directory
89
104
  rio('adir') >> rio('another_directory')
90
105
 
91
106
  Copy a web-page to a file
92
107
  rio('http://rubydoc.org/') > rio('afile')
93
108
 
109
+ Read a web-page into a string
110
+ astring = rio('http://rubydoc.org/').read
111
+
94
112
  Ways to get the chomped lines of a file into an array
95
113
  anarray = rio('afile').chomp[] # subscript operator
96
114
  rio('afile').chomp > anarray # copy-to operator
97
115
  anarray = rio('afile').chomp.to_a # to_a
98
116
  anarray = rio('afile').chomp.readlines # IO#readlines
99
117
 
118
+ Iterate over selected lines of a file
119
+ rio('adir').lines(0..3) { |aline| ... } # a range of lines
120
+ rio('adir').lines(/re/) { |aline| ... } # by regular expression
121
+ rio('adir').lines(0..3,/re/) { |aline| ... } # or both
122
+
123
+ Return selected lines of a file as an array
124
+ rio('adir').lines[0..3] # a range of lines
125
+ rio('adir').lines[/re/] # by regular expression
126
+ rio('adir').lines[0..3,/re/] # or both
127
+
128
+ Iterate over selected chomped lines of a file
129
+ rio('adir').chomp.lines(0..3) { |aline| ... } # a range of lines
130
+ rio('adir').chomp.lines(/re/) { |aline| ... } # by regular expression
131
+
132
+ Return selected chomped lines of a file as an array
133
+ rio('adir').chomp[0..3] # a range of lines
134
+ rio('adir').chomp[/re/] # by regular expression
135
+
100
136
  Copy a gzipped file un-gzipping it
101
137
  rio('afile.gz').gzip > rio('afile')
102
138
 
@@ -106,56 +142,20 @@ Copy a plain file, gzipping it
106
142
  Copy a file from a ftp server into a local file un-gzipping it
107
143
  rio('ftp://host/afile.gz').gzip > rio('afile')
108
144
 
109
- Iterate over the entries in a directory
110
- rio('adir').entries { |entrio| ... }
111
-
112
- Iterate over only the files in a directory
113
- rio('adir').files { |entrio| ... }
145
+ Return an array of .rb files excluding symlinks to .rb files
146
+ rio('adir').files('*.rb').skip[:symlink?]
114
147
 
115
- Iterate over only the .rb files in a directory
116
- rio('adir').files('*.rb') { |entrio| ... }
117
-
118
- Iterate over only the _dot_ files in a directory
119
- rio('adir').files(/^\./) { |entrio| ... }
120
-
121
- Iterate over the files in a directory and its subdirectories, skipping '.svn' and 'CVS' directories
122
- rio('adir').norecurse(/^\.svn$/,'CVS').files { |entrio| ... }
123
-
124
- Create an array of the .rb entries in a directory
125
- anarray = rio('adir')['*.rb']
126
-
127
- Create an array of the .rb entries in a directory and its subdirectories
128
- anarray = rio('adir').all['*.rb']
129
-
130
- Iterate over the .rb files in a directory and its subdirectories
131
- rio('adir').all.files('*.rb') { |entrio| ... }
148
+ Put the first 10 chomped lines of a gzipped file into an array
149
+ anarray = rio('afile.gz').chomp.gzip[0...10]
132
150
 
133
- Copy an entire directory structure and the .rb files within it
134
- rio('adir').dirs.files('*.rb') > rio('another_directory')
151
+ Copy lines 0 and 3 thru 5 of a gzipped file on an ftp server to stdout
152
+ rio('ftp://host/afile.gz').gzip.lines(0,3..5) > ?-
135
153
 
136
- Iterate over the first 10 chomped lines of a file
137
- rio('afile').chomp.lines(0..9) { |line| ... }
138
-
139
- Put the first 10 chomped lines of a file into an array
140
- anarray = rio('afile').chomp.lines[0..9]
141
-
142
- Copy the first 10 lines of a file into another file
143
- rio('afile').lines(0..9) > rio('another_file')
144
-
145
- Copy the first 10 lines of a file to stdout
146
- rio('afile').lines(0..9) > rio(?-)
147
-
148
- Copy the first 10 lines of a gzipped file on an ftp server to stdout
149
- rio('ftp://host/afile.gz').gzip.lines(0..9) > rio(?-)
150
-
151
- Put the first 100 chomped lines of a gzipped file into an array
152
- anarray = rio('afile.gz').chomp.gzip[0...100]
153
-
154
- Put chomped lines that start with 'Rio' into an array
155
- anarray = rio('afile').chomp[/^Rio/]
154
+ Return an array of files in a directory and its subdirectories, without descending into .svn directories.
155
+ rio('adir').norecurse(/^\.svn$/).files[]
156
156
 
157
157
  Iterate over the non-empty, non-comment chomped lines of a file
158
- rio('afile').chomp.skiplines(:empty?,/^\s*#/) { |line| ... }
158
+ rio('afile').chomp.skip(:empty?,/^\s*#/) { |line| ... }
159
159
 
160
160
  Copy the output of th ps command into an array, skipping the header line and the ps command entry
161
161
  rio(?-,'ps -a').skiplines(0,/ps$/) > anarray
@@ -168,9 +168,6 @@ Change the extension of all .htm files in a directory and its subdirectories to
168
168
  htmfile.extname = '.html'
169
169
  end
170
170
 
171
- Create a symbolic link 'asymlink' in 'adir' which refers to 'adir/afile'
172
- rio('adir/afile').symlink('adir/asymlink')
173
-
174
171
  === SUGGESTED READING
175
172
 
176
173
  * RIO::Doc::INTRO
@@ -208,7 +208,11 @@ module RIO
208
208
  fields.csv_rec_to_s = _rec_to_s_proc(fs,rs)
209
209
  end
210
210
  end
211
- fields
211
+ # p "csv#fields: #{fields}"
212
+ # fields.each do |f|
213
+ # p f
214
+ # end
215
+ fields.map{ |f| f.to_s }
212
216
  end
213
217
  def cnames(num)
214
218
  @cnames ||= trim((0...num).map { |n| "Col#{n}" })
@@ -54,6 +54,8 @@ module RIO
54
54
  protected :yaml_
55
55
  def objects(*args) records(*args) end
56
56
  def documents(*args) rows(*args) end
57
+ def object(*args) record(*args) end
58
+ def document(*args) row(*args) end
57
59
  def skipobjects(*args) skiprecords(*args) end
58
60
  def skipdocuments(*args) skiprows(*args) end
59
61
  end
@@ -85,16 +87,6 @@ module RIO
85
87
  YAML.dump(recs,ioarg)
86
88
  end
87
89
  end
88
- def cpto_obj_(arg)
89
- self.each { |obj|
90
-
91
- }
92
- end
93
- def cpto_array_(array)
94
- self.each { |el|
95
- array << el
96
- }
97
- end
98
90
  def cpto_string_(string)
99
91
  string << ::YAML.dump_stream(self.contents)
100
92
  end
@@ -122,21 +114,6 @@ module RIO
122
114
  getrec()
123
115
  end
124
116
 
125
- def add_filters
126
- cx['yaml_close_eof'],cx['closeoneof'] = cx['closeoneof'],false
127
- super
128
- end
129
- def each_(&block)
130
- #old_close_eof,cx['closeoneof'] = cx['closeoneof'],false
131
- super
132
- cx['closeoneof'] = cx.delete('yaml_close_eof')
133
-
134
- if closeoneof?
135
- add_filter(Filter::CloseOnEOF)
136
- ioh.oncloseproc = proc { self.on_closeoneof }
137
- end
138
- closeoneof? ? ioh.close_on_eof_(self) : self
139
- end
140
117
  end
141
118
  end
142
119
 
@@ -145,23 +122,25 @@ module RIO
145
122
  protected
146
123
 
147
124
  def cpfrom_(arg)
148
- case arg
149
- #when ::Array then cpfrom_array_(arg)
150
- when Rio,::IO,::StringIO then super
151
- else self.put_(arg)
152
- end
153
- self
154
- end
155
- def cpfrom_array_(array)
156
- array.each { |el|
157
- self.put_(el)
158
- }
159
- self
160
- end
161
- def cpfrom_rio_(ario)
162
- ioh.puts(::YAML.dump_stream(*ario[]))
125
+ #p "yaml#cpfrom_(#{arg})"
126
+ case arg
127
+ #when ::Array then cpfrom_array_(arg)
128
+ when Rio,::IO,::StringIO then super
129
+ else self.put_(arg)
130
+ end
163
131
  self
164
132
  end
133
+ # def cpfrom_array_(array)
134
+ # array.each { |el|
135
+ # self.put_(el)
136
+ # }
137
+ # self
138
+ # end
139
+ # def cpfrom_rio_(ario)
140
+ # p "yaml#cpfrom_rio_(#{ario})"
141
+ # ioh.puts(::YAML.dump_stream(*ario[]))
142
+ # self
143
+ # end
165
144
  def put_(obj)
166
145
  #p callstr('put_',obj)
167
146
  ioh.puts(obj.to_yaml)
@@ -109,7 +109,7 @@ module RIO
109
109
  def rename(*args,&block) target.rename(*args,&block); self end
110
110
 
111
111
 
112
- # Behaves like IF::GrandeStream#rename, but also changes the calling Rio to
112
+ # Behaves like IF::FileOrDir#rename, but also changes the calling Rio to
113
113
  # refer to the renamed path
114
114
  def rename!(*args,&block) target.rename!(*args,&block); self end
115
115
 
@@ -126,15 +126,15 @@ module RIO
126
126
  # As with IF::Grande#each:
127
127
  # * Files and directories are returned as Rios
128
128
  # * The types of entries is also affected by IF::GrandeEntry#files and IF::GrandeEntry#dirs.
129
- # rio('adir').files['*.txt'] # array of all _.txt_ files
129
+ # rio('adir').files['*.txt'] # array of all .txt files
130
130
  # rio('adir').dirs(/^\./) # array of all dot directories
131
131
  # * Recursion is enabled using IF::GrandeEntry#all
132
- # rio('adir').all.files['*.[ch]'] # array of c source files in _adir_ and its subdirecories
133
- # rio('adir').all.dirs[/^\.svn/] # array of subversion directories in _adir_ and subdirectories
132
+ # rio('adir').all.files['*.[ch]'] # array of c source files in adir and its subdirecories
133
+ # rio('adir').all.dirs[/^\.svn/] # array of subversion directories in adir and subdirectories
134
134
  # * IF::GrandeEntry#files and IF::GrandeEntry#dirs act independetly of each other.
135
135
  # Specifying both will cause both to be returned.
136
136
  # The argument list to IF::Grande#[] will be applied to the closest.
137
- # rio('adir').files('*.rb').dirs['ruby*'] # array of _.rb_ files and
137
+ # rio('adir').files('*.rb').dirs['ruby*'] # array of .rb files and
138
138
  # # directories starting with 'ruby'
139
139
  # rio('adir').dirs('ruby*').files['*.rb'] # same thing
140
140
  #
@@ -62,6 +62,12 @@ module RIO
62
62
  # rio('adir').dirs[/^\./] # return an array of dot directories
63
63
  # rio('adir').dirs[:symlink?] # an array of symlinks to directories
64
64
  #
65
+ # Given the directory structure 'adir/a/b/c/d'
66
+ #
67
+ # rio('adir').all.dirs[2] #=> 'adir/a/b'
68
+ # rio('adir').all.dirs[0..2] #=> 'adir/a','adir/a/b'
69
+ # rio('adir').all.skipdirs[0..2] #=> 'adir/a/b/c','adir/a/b/c/d'
70
+ #
65
71
  def dirs(*args,&block) target.dirs(*args,&block); self end
66
72
 
67
73
  # Grande Directory Exclude Method
@@ -91,7 +91,7 @@ module RIO
91
91
 
92
92
  # Sets the rio to read bytes and returns the rio
93
93
  #
94
- # _n_ specifies the number of bytes to be returned on each iteration of IF::Grande#each or by IF::Grande#getrec. If _args_
94
+ # _n_ specifies the number of bytes to be returned on each iteration of IF::Grande#each or by IF::GrandeStream#getrec. If _args_
95
95
  # are provided, they are treated as record selectors as if <tt>ario.bytes(n).records(*args)</tt> had been
96
96
  # called. See also #records, #lines, IF::Grande#each, IF::Grande#[]
97
97
  #
@@ -115,7 +115,7 @@ module RIO
115
115
  def bytes(n=1,*args,&block) target.bytes(n,*args,&block); self end
116
116
 
117
117
 
118
- # Specifies which records will be iterated through by IF::Grande#each or returned by IF::Grande#getrec
118
+ # Specifies which records will be iterated through by IF::Grande#each or returned by IF::GrandeStream#getrec
119
119
  #
120
120
  # If called with a block behaves as if <tt>records(*args).each(&block)</tt> had been called
121
121
  #
@@ -126,8 +126,8 @@ module RIO
126
126
  # and extensions such as IF::CSV#csv and IF::YAML#yaml.
127
127
  #
128
128
  # If args are provided they may be one or more of the following:
129
- # Regexp:: any matching record will be iterated over by IF::Grande#each or returned by IF::Grande#getrec
130
- # Integer:: specifies a record-number (zero-based) to be iterated over by IF::Grande#each or returned by IF::Grande#getrec
129
+ # Regexp:: any matching record will be iterated over by IF::Grande#each or returned by IF::GrandeStream#getrec
130
+ # Integer:: specifies a record-number (zero-based) to be iterated over by IF::Grande#each or returned by IF::GrandeStream#getrec
131
131
  # Range:: specifies a range of records (zero-based) to included in the iteration
132
132
  # Proc:: a proc which will be called for each record, records are included unless nil or false is returned
133
133
  # Symbol:: a symbol which will _sent_ to each record, records are included unless nil or false is returned
@@ -157,7 +157,7 @@ module RIO
157
157
  def records(*args,&block) target.records(*args,&block); self end
158
158
 
159
159
 
160
- # Specifies records which should *not* be iterated through by IF::Grande#each or returned by IF::Grande#getrec
160
+ # Specifies records which should *not* be iterated through by IF::Grande#each or returned by IF::GrandeStream#getrec
161
161
  #
162
162
  # If called with a block behaves as if <tt>skiprecords(*args).each(&block)</tt>
163
163
  # had been called
@@ -190,7 +190,7 @@ module RIO
190
190
 
191
191
 
192
192
  # Sets the Rio to read lines and specifies lines which should *not* be iterated through by IF::Grande#each or
193
- # returned by IF::Grande#getrec
193
+ # returned by IF::GrandeStream#getrec
194
194
  #
195
195
  # If called with a block behaves as if <tt>skiplines(*args).each(&block)</tt> had been called
196
196
  #
@@ -217,14 +217,14 @@ module RIO
217
217
 
218
218
 
219
219
  # Sets the Rio to read rows and specifies rows which should be iterated through
220
- # by IF::Grande#each or returned by IF::Grande#getrec.
220
+ # by IF::Grande#each or returned by IF::GrandeStream#getrec.
221
221
  # #rows is intended for use by extensions, where the concept of a row is reasonable.
222
222
  # In the absensence of an extension behaves like #records.
223
223
  def rows(*args,&block) target.rows(*args,&block); self end
224
224
 
225
225
 
226
226
  # Sets the Rio to read rows and specifies lines which should *not* be iterated
227
- # through by IF::Grande#each or returned by IF::Grande#getrec
227
+ # through by IF::Grande#each or returned by IF::GrandeStream#getrec
228
228
  # #skiprows is intended for use by extensions, where the concept of a row is
229
229
  # reasonable. In the absence of an extension behaves like #skiprecords
230
230
  def skiprows(*args,&block) target.skiprows(*args,&block); self end
@@ -359,6 +359,8 @@ module RIO
359
359
  #
360
360
  # Returns the Rio
361
361
  #
362
+ # rio(?-,'cat').w!.puts!("Hello Kitty").readline #=> "Hello Kitty"
363
+ #
362
364
  # See the discussion for #a.
363
365
  #
364
366
  def w!() target.w!(); self end
@@ -120,7 +120,7 @@ module RIO
120
120
  # to the value returned by File#extname. Returns the Rio.
121
121
  #
122
122
  # ario = rio('afile.tar.gz')
123
- # ario.ext? #=> '.ext'
123
+ # ario.ext? #=> '.gz'
124
124
  # ario.basename #=> rio('afile.tar')
125
125
  # ario.ext('.tar.gz').basename #=> rio('afile')
126
126
  # ario.ext? #=> '.tar.gz'