folio 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. data/COPYING +675 -0
  2. data/MANIFEST +234 -0
  3. data/METADATA +8 -0
  4. data/NEWS +9 -0
  5. data/README +69 -0
  6. data/demo/sample1/foo/foo.txt +1 -0
  7. data/demo/sample1/tryme.rb +14 -0
  8. data/doc/rdoc/classes/Folio/BlockDevice.html +117 -0
  9. data/doc/rdoc/classes/Folio/CharacterDevice.html +117 -0
  10. data/doc/rdoc/classes/Folio/Device.html +119 -0
  11. data/doc/rdoc/classes/Folio/Directory.html +420 -0
  12. data/doc/rdoc/classes/Folio/Document.html +261 -0
  13. data/doc/rdoc/classes/Folio/FileNotFound.html +92 -0
  14. data/doc/rdoc/classes/Folio/FileObject.html +1200 -0
  15. data/doc/rdoc/classes/Folio/Link.html +238 -0
  16. data/doc/rdoc/classes/Folio/Pipe.html +131 -0
  17. data/doc/rdoc/classes/Folio/Prompt.html +796 -0
  18. data/doc/rdoc/classes/Folio/Socket.html +115 -0
  19. data/doc/rdoc/classes/Folio.html +148 -0
  20. data/doc/rdoc/created.rid +1 -0
  21. data/doc/rdoc/files/COPYING.html +992 -0
  22. data/doc/rdoc/files/METADATA.html +101 -0
  23. data/doc/rdoc/files/NEWS.html +102 -0
  24. data/doc/rdoc/files/README.html +171 -0
  25. data/doc/rdoc/files/lib/folio/device_rb.html +96 -0
  26. data/doc/rdoc/files/lib/folio/directory_rb.html +96 -0
  27. data/doc/rdoc/files/lib/folio/document_rb.html +96 -0
  28. data/doc/rdoc/files/lib/folio/errors_rb.html +92 -0
  29. data/doc/rdoc/files/lib/folio/fileobject_rb.html +92 -0
  30. data/doc/rdoc/files/lib/folio/link_rb.html +96 -0
  31. data/doc/rdoc/files/lib/folio/pipe_rb.html +96 -0
  32. data/doc/rdoc/files/lib/folio/prompt_rb.html +92 -0
  33. data/doc/rdoc/files/lib/folio/socket_rb.html +96 -0
  34. data/doc/rdoc/files/lib/folio_rb.html +105 -0
  35. data/doc/rdoc/fr_class_index.html +58 -0
  36. data/doc/rdoc/fr_file_index.html +60 -0
  37. data/doc/rdoc/fr_method_index.html +185 -0
  38. data/doc/rdoc/index.html +26 -0
  39. data/doc/rdoc/rdoc-style.css +175 -0
  40. data/doc/ri/Folio/BlockDevice/blockdev%3f-i.yaml +10 -0
  41. data/doc/ri/Folio/BlockDevice/cdesc-BlockDevice.yaml +18 -0
  42. data/doc/ri/Folio/CharacterDevice/cdesc-CharacterDevice.yaml +18 -0
  43. data/doc/ri/Folio/CharacterDevice/chardev%3f-i.yaml +10 -0
  44. data/doc/ri/Folio/Device/cdesc-Device.yaml +18 -0
  45. data/doc/ri/Folio/Device/new-c.yaml +10 -0
  46. data/doc/ri/Folio/Directory/%2b-i.yaml +12 -0
  47. data/doc/ri/Folio/Directory/%2f-i.yaml +13 -0
  48. data/doc/ri/Folio/Directory/cd-i.yaml +12 -0
  49. data/doc/ri/Folio/Directory/cdesc-Directory.yaml +49 -0
  50. data/doc/ri/Folio/Directory/chdir-i.yaml +11 -0
  51. data/doc/ri/Folio/Directory/chmod_r-i.yaml +10 -0
  52. data/doc/ri/Folio/Directory/chown_r-i.yaml +12 -0
  53. data/doc/ri/Folio/Directory/chroot-i.yaml +10 -0
  54. data/doc/ri/Folio/Directory/cp_r-i.yaml +12 -0
  55. data/doc/ri/Folio/Directory/delete-i.yaml +12 -0
  56. data/doc/ri/Folio/Directory/directory%3f-i.yaml +10 -0
  57. data/doc/ri/Folio/Directory/entries-i.yaml +12 -0
  58. data/doc/ri/Folio/Directory/foreach-i.yaml +10 -0
  59. data/doc/ri/Folio/Directory/new-c.yaml +10 -0
  60. data/doc/ri/Folio/Directory/paths-i.yaml +12 -0
  61. data/doc/ri/Folio/Directory/rm_r-i.yaml +10 -0
  62. data/doc/ri/Folio/Directory/rm_rf-i.yaml +10 -0
  63. data/doc/ri/Folio/Directory/rmdir-i.yaml +13 -0
  64. data/doc/ri/Folio/Directory/unlink-i.yaml +12 -0
  65. data/doc/ri/Folio/Document/cdesc-Document.yaml +34 -0
  66. data/doc/ri/Folio/Document/delete-i.yaml +10 -0
  67. data/doc/ri/Folio/Document/executable%3f-i.yaml +10 -0
  68. data/doc/ri/Folio/Document/executable_real%3f-i.yaml +10 -0
  69. data/doc/ri/Folio/Document/file%3f-i.yaml +10 -0
  70. data/doc/ri/Folio/Document/intialize-i.yaml +10 -0
  71. data/doc/ri/Folio/Document/open-i.yaml +10 -0
  72. data/doc/ri/Folio/Document/read-i.yaml +10 -0
  73. data/doc/ri/Folio/Document/readlines-i.yaml +10 -0
  74. data/doc/ri/Folio/Document/truncate-i.yaml +10 -0
  75. data/doc/ri/Folio/Document/unlink-i.yaml +12 -0
  76. data/doc/ri/Folio/FileNotFound/cdesc-FileNotFound.yaml +15 -0
  77. data/doc/ri/Folio/FileObject/%3c%3d%3e-i.yaml +10 -0
  78. data/doc/ri/Folio/FileObject/%3d%3d-i.yaml +10 -0
  79. data/doc/ri/Folio/FileObject/%5b%5d-c.yaml +12 -0
  80. data/doc/ri/Folio/FileObject/atime-i.yaml +10 -0
  81. data/doc/ri/Folio/FileObject/basename-i.yaml +10 -0
  82. data/doc/ri/Folio/FileObject/blockdev%3f-i.yaml +10 -0
  83. data/doc/ri/Folio/FileObject/cdesc-FileObject.yaml +154 -0
  84. data/doc/ri/Folio/FileObject/chardev%3f-i.yaml +10 -0
  85. data/doc/ri/Folio/FileObject/chmod-i.yaml +10 -0
  86. data/doc/ri/Folio/FileObject/chown-i.yaml +10 -0
  87. data/doc/ri/Folio/FileObject/cp-i.yaml +12 -0
  88. data/doc/ri/Folio/FileObject/ctime-i.yaml +10 -0
  89. data/doc/ri/Folio/FileObject/delete-i.yaml +12 -0
  90. data/doc/ri/Folio/FileObject/delete_force-i.yaml +12 -0
  91. data/doc/ri/Folio/FileObject/directory%3f-i.yaml +10 -0
  92. data/doc/ri/Folio/FileObject/dirname-i.yaml +10 -0
  93. data/doc/ri/Folio/FileObject/exist%3f-i.yaml +13 -0
  94. data/doc/ri/Folio/FileObject/exists%3f-i.yaml +12 -0
  95. data/doc/ri/Folio/FileObject/extname-i.yaml +10 -0
  96. data/doc/ri/Folio/FileObject/file%3f-i.yaml +10 -0
  97. data/doc/ri/Folio/FileObject/fnmatch%3f-i.yaml +12 -0
  98. data/doc/ri/Folio/FileObject/fnmatch-i.yaml +11 -0
  99. data/doc/ri/Folio/FileObject/grpowned%3f-i.yaml +10 -0
  100. data/doc/ri/Folio/FileObject/identical%3f-i.yaml +10 -0
  101. data/doc/ri/Folio/FileObject/inspect-i.yaml +12 -0
  102. data/doc/ri/Folio/FileObject/install-i.yaml +12 -0
  103. data/doc/ri/Folio/FileObject/link-i.yaml +11 -0
  104. data/doc/ri/Folio/FileObject/link_force-i.yaml +11 -0
  105. data/doc/ri/Folio/FileObject/ln-i.yaml +12 -0
  106. data/doc/ri/Folio/FileObject/ln_f-i.yaml +12 -0
  107. data/doc/ri/Folio/FileObject/ln_s-i.yaml +12 -0
  108. data/doc/ri/Folio/FileObject/ln_sf-i.yaml +12 -0
  109. data/doc/ri/Folio/FileObject/mtime-i.yaml +10 -0
  110. data/doc/ri/Folio/FileObject/mv-i.yaml +12 -0
  111. data/doc/ri/Folio/FileObject/new-c.yaml +10 -0
  112. data/doc/ri/Folio/FileObject/owned%3f-i.yaml +10 -0
  113. data/doc/ri/Folio/FileObject/pipe%3f-i.yaml +10 -0
  114. data/doc/ri/Folio/FileObject/readable%3f-i.yaml +10 -0
  115. data/doc/ri/Folio/FileObject/readable_real%3f-i.yaml +10 -0
  116. data/doc/ri/Folio/FileObject/relative-i.yaml +12 -0
  117. data/doc/ri/Folio/FileObject/rename-i.yaml +11 -0
  118. data/doc/ri/Folio/FileObject/restat-i.yaml +13 -0
  119. data/doc/ri/Folio/FileObject/rm-i.yaml +12 -0
  120. data/doc/ri/Folio/FileObject/rm_f-i.yaml +12 -0
  121. data/doc/ri/Folio/FileObject/setgid%3f-i.yaml +10 -0
  122. data/doc/ri/Folio/FileObject/setuid%3f-i.yaml +10 -0
  123. data/doc/ri/Folio/FileObject/size%3f-i.yaml +10 -0
  124. data/doc/ri/Folio/FileObject/size-i.yaml +10 -0
  125. data/doc/ri/Folio/FileObject/socket%3f-i.yaml +10 -0
  126. data/doc/ri/Folio/FileObject/split-i.yaml +12 -0
  127. data/doc/ri/Folio/FileObject/stat%21-i.yaml +12 -0
  128. data/doc/ri/Folio/FileObject/stat-i.yaml +12 -0
  129. data/doc/ri/Folio/FileObject/sticky%3f-i.yaml +10 -0
  130. data/doc/ri/Folio/FileObject/symlink-i.yaml +11 -0
  131. data/doc/ri/Folio/FileObject/symlink_force-i.yaml +11 -0
  132. data/doc/ri/Folio/FileObject/to_s-i.yaml +12 -0
  133. data/doc/ri/Folio/FileObject/touch-i.yaml +10 -0
  134. data/doc/ri/Folio/FileObject/unlink-i.yaml +15 -0
  135. data/doc/ri/Folio/FileObject/unlink_force-i.yaml +13 -0
  136. data/doc/ri/Folio/FileObject/util-i.yaml +10 -0
  137. data/doc/ri/Folio/FileObject/utime-i.yaml +10 -0
  138. data/doc/ri/Folio/FileObject/writable%3f-i.yaml +10 -0
  139. data/doc/ri/Folio/FileObject/writable_real%3f-i.yaml +10 -0
  140. data/doc/ri/Folio/FileObject/zero%3f-i.yaml +10 -0
  141. data/doc/ri/Folio/Link/cdesc-Link.yaml +29 -0
  142. data/doc/ri/Folio/Link/lchmod-i.yaml +10 -0
  143. data/doc/ri/Folio/Link/lchown-i.yaml +10 -0
  144. data/doc/ri/Folio/Link/link%3f-i.yaml +10 -0
  145. data/doc/ri/Folio/Link/lstat-i.yaml +10 -0
  146. data/doc/ri/Folio/Link/method_missing-i.yaml +11 -0
  147. data/doc/ri/Folio/Link/new-c.yaml +10 -0
  148. data/doc/ri/Folio/Link/readlink-i.yaml +10 -0
  149. data/doc/ri/Folio/Link/symlink%3f-i.yaml +10 -0
  150. data/doc/ri/Folio/Pipe/cdesc-Pipe.yaml +17 -0
  151. data/doc/ri/Folio/Pipe/new-c.yaml +10 -0
  152. data/doc/ri/Folio/Pipe/pipe%3f-i.yaml +10 -0
  153. data/doc/ri/Folio/Prompt/%2b-i.yaml +13 -0
  154. data/doc/ri/Folio/Prompt/%2f-i.yaml +12 -0
  155. data/doc/ri/Folio/Prompt/%5b%5d-c.yaml +10 -0
  156. data/doc/ri/Folio/Prompt/cd-i.yaml +10 -0
  157. data/doc/ri/Folio/Prompt/cdesc-Prompt.yaml +89 -0
  158. data/doc/ri/Folio/Prompt/chmod-i.yaml +10 -0
  159. data/doc/ri/Folio/Prompt/chmod_r-i.yaml +10 -0
  160. data/doc/ri/Folio/Prompt/chown-i.yaml +12 -0
  161. data/doc/ri/Folio/Prompt/chown_r-i.yaml +10 -0
  162. data/doc/ri/Folio/Prompt/cp-i.yaml +12 -0
  163. data/doc/ri/Folio/Prompt/cp_r-i.yaml +12 -0
  164. data/doc/ri/Folio/Prompt/directories-i.yaml +12 -0
  165. data/doc/ri/Folio/Prompt/entries-i.yaml +13 -0
  166. data/doc/ri/Folio/Prompt/file-i.yaml +12 -0
  167. data/doc/ri/Folio/Prompt/files-i.yaml +12 -0
  168. data/doc/ri/Folio/Prompt/fileutils-i.yaml +10 -0
  169. data/doc/ri/Folio/Prompt/glob-i.yaml +12 -0
  170. data/doc/ri/Folio/Prompt/install-i.yaml +10 -0
  171. data/doc/ri/Folio/Prompt/ln-i.yaml +12 -0
  172. data/doc/ri/Folio/Prompt/ln_s-i.yaml +12 -0
  173. data/doc/ri/Folio/Prompt/ln_sf-i.yaml +10 -0
  174. data/doc/ri/Folio/Prompt/localize-i.yaml +10 -0
  175. data/doc/ri/Folio/Prompt/ls-i.yaml +12 -0
  176. data/doc/ri/Folio/Prompt/mkdir-i.yaml +10 -0
  177. data/doc/ri/Folio/Prompt/mkdir_p-i.yaml +10 -0
  178. data/doc/ri/Folio/Prompt/mode-i.yaml +12 -0
  179. data/doc/ri/Folio/Prompt/mv-i.yaml +12 -0
  180. data/doc/ri/Folio/Prompt/new-c.yaml +11 -0
  181. data/doc/ri/Folio/Prompt/paths-i.yaml +12 -0
  182. data/doc/ri/Folio/Prompt/pwd-i.yaml +10 -0
  183. data/doc/ri/Folio/Prompt/rm-i.yaml +10 -0
  184. data/doc/ri/Folio/Prompt/rm_r-i.yaml +10 -0
  185. data/doc/ri/Folio/Prompt/rm_rf-i.yaml +10 -0
  186. data/doc/ri/Folio/Prompt/rmdir-i.yaml +10 -0
  187. data/doc/ri/Folio/Prompt/to_s-i.yaml +10 -0
  188. data/doc/ri/Folio/Prompt/touch-i.yaml +12 -0
  189. data/doc/ri/Folio/Socket/cdesc-Socket.yaml +16 -0
  190. data/doc/ri/Folio/Socket/new-c.yaml +10 -0
  191. data/doc/ri/Folio/cdesc-Folio.yaml +15 -0
  192. data/doc/ri/created.rid +1 -0
  193. data/lib/folio/device.rb +29 -0
  194. data/lib/folio/directory.rb +83 -0
  195. data/lib/folio/document.rb +66 -0
  196. data/lib/folio/errors.rb +7 -0
  197. data/lib/folio/fileobject.rb +242 -0
  198. data/lib/folio/link.rb +49 -0
  199. data/lib/folio/pipe.rb +16 -0
  200. data/lib/folio/prompt.rb +239 -0
  201. data/lib/folio/socket.rb +14 -0
  202. data/lib/folio.rb +79 -0
  203. data/test/fixture/bar.txt +0 -0
  204. data/test/fixture/foo.txt +0 -0
  205. data/test/test_folio.rb +28 -0
  206. data/test/test_helper.rb +7 -0
  207. metadata +300 -0
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::FileObject#writable_real?
7
+ is_singleton: false
8
+ name: writable_real?
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::FileObject#zero?
7
+ is_singleton: false
8
+ name: zero?
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,29 @@
1
+ --- !ruby/object:RI::ClassDescription
2
+ attributes: []
3
+
4
+ class_methods:
5
+ - !ruby/object:RI::MethodSummary
6
+ name: new
7
+ comment:
8
+ constants: []
9
+
10
+ full_name: Folio::Link
11
+ includes: []
12
+
13
+ instance_methods:
14
+ - !ruby/object:RI::MethodSummary
15
+ name: lchmod
16
+ - !ruby/object:RI::MethodSummary
17
+ name: lchown
18
+ - !ruby/object:RI::MethodSummary
19
+ name: link?
20
+ - !ruby/object:RI::MethodSummary
21
+ name: lstat
22
+ - !ruby/object:RI::MethodSummary
23
+ name: method_missing
24
+ - !ruby/object:RI::MethodSummary
25
+ name: readlink
26
+ - !ruby/object:RI::MethodSummary
27
+ name: symlink?
28
+ name: Link
29
+ superclass: FileObject
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link#lchmod
7
+ is_singleton: false
8
+ name: lchmod
9
+ params: (mode)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link#lchown
7
+ is_singleton: false
8
+ name: lchown
9
+ params: (own, grp)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link#link?
7
+ is_singleton: false
8
+ name: link?
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link#lstat
7
+ is_singleton: false
8
+ name: lstat
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,11 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment: []
6
+
7
+ full_name: Folio::Link#method_missing
8
+ is_singleton: false
9
+ name: method_missing
10
+ params: (s, *a, &b)
11
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link::new
7
+ is_singleton: true
8
+ name: new
9
+ params: (path)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Link#readlink
7
+ is_singleton: false
8
+ name: readlink
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment: ""
6
+ full_name: Folio::Link#symlink?
7
+ is_singleton: false
8
+ name: symlink?
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,17 @@
1
+ --- !ruby/object:RI::ClassDescription
2
+ attributes: []
3
+
4
+ class_methods:
5
+ - !ruby/object:RI::MethodSummary
6
+ name: new
7
+ comment:
8
+ constants: []
9
+
10
+ full_name: Folio::Pipe
11
+ includes: []
12
+
13
+ instance_methods:
14
+ - !ruby/object:RI::MethodSummary
15
+ name: pipe?
16
+ name: Pipe
17
+ superclass: FileObject
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Pipe::new
7
+ is_singleton: true
8
+ name: new
9
+ params: (path)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Pipe#pipe?
7
+ is_singleton: false
8
+ name: pipe?
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,13 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases:
3
+ - !ruby/object:RI::AliasName
4
+ name: /
5
+ block_params:
6
+ comment:
7
+ - !ruby/struct:SM::Flow::P
8
+ body: Join paths.
9
+ full_name: Folio::Prompt#+
10
+ is_singleton: false
11
+ name: +
12
+ params: (fname)
13
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: "Alias for #+"
8
+ full_name: Folio::Prompt#/
9
+ is_singleton: false
10
+ name: /
11
+ params: (fname)
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt::[]
7
+ is_singleton: true
8
+ name: "[]"
9
+ params: (path)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#cd
7
+ is_singleton: false
8
+ name: cd
9
+ params: (dir, &block)
10
+ visibility: public
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:RI::ClassDescription
2
+ attributes:
3
+ - !ruby/object:RI::Attribute
4
+ comment:
5
+ name: path
6
+ rw: R
7
+ class_methods:
8
+ - !ruby/object:RI::MethodSummary
9
+ name: "[]"
10
+ - !ruby/object:RI::MethodSummary
11
+ name: new
12
+ comment:
13
+ - !ruby/struct:SM::Flow::H
14
+ level: 1
15
+ text: Prompt class
16
+ constants: []
17
+
18
+ full_name: Folio::Prompt
19
+ includes: []
20
+
21
+ instance_methods:
22
+ - !ruby/object:RI::MethodSummary
23
+ name: +
24
+ - !ruby/object:RI::MethodSummary
25
+ name: /
26
+ - !ruby/object:RI::MethodSummary
27
+ name: cd
28
+ - !ruby/object:RI::MethodSummary
29
+ name: chmod
30
+ - !ruby/object:RI::MethodSummary
31
+ name: chmod_r
32
+ - !ruby/object:RI::MethodSummary
33
+ name: chown
34
+ - !ruby/object:RI::MethodSummary
35
+ name: chown_r
36
+ - !ruby/object:RI::MethodSummary
37
+ name: cp
38
+ - !ruby/object:RI::MethodSummary
39
+ name: cp_r
40
+ - !ruby/object:RI::MethodSummary
41
+ name: directories
42
+ - !ruby/object:RI::MethodSummary
43
+ name: entries
44
+ - !ruby/object:RI::MethodSummary
45
+ name: file
46
+ - !ruby/object:RI::MethodSummary
47
+ name: files
48
+ - !ruby/object:RI::MethodSummary
49
+ name: fileutils
50
+ - !ruby/object:RI::MethodSummary
51
+ name: glob
52
+ - !ruby/object:RI::MethodSummary
53
+ name: install
54
+ - !ruby/object:RI::MethodSummary
55
+ name: ln
56
+ - !ruby/object:RI::MethodSummary
57
+ name: ln_s
58
+ - !ruby/object:RI::MethodSummary
59
+ name: ln_sf
60
+ - !ruby/object:RI::MethodSummary
61
+ name: localize
62
+ - !ruby/object:RI::MethodSummary
63
+ name: ls
64
+ - !ruby/object:RI::MethodSummary
65
+ name: mkdir
66
+ - !ruby/object:RI::MethodSummary
67
+ name: mkdir_p
68
+ - !ruby/object:RI::MethodSummary
69
+ name: mode
70
+ - !ruby/object:RI::MethodSummary
71
+ name: mv
72
+ - !ruby/object:RI::MethodSummary
73
+ name: paths
74
+ - !ruby/object:RI::MethodSummary
75
+ name: pwd
76
+ - !ruby/object:RI::MethodSummary
77
+ name: rm
78
+ - !ruby/object:RI::MethodSummary
79
+ name: rm_r
80
+ - !ruby/object:RI::MethodSummary
81
+ name: rm_rf
82
+ - !ruby/object:RI::MethodSummary
83
+ name: rmdir
84
+ - !ruby/object:RI::MethodSummary
85
+ name: to_s
86
+ - !ruby/object:RI::MethodSummary
87
+ name: touch
88
+ name: Prompt
89
+ superclass: Object
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#chmod
7
+ is_singleton: false
8
+ name: chmod
9
+ params: (mode, list, options)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#chmod_r
7
+ is_singleton: false
8
+ name: chmod_r
9
+ params: (mode, list, options)
10
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: alias_method :chmod_R, :chmod_r
8
+ full_name: Folio::Prompt#chown
9
+ is_singleton: false
10
+ name: chown
11
+ params: (user, group, list, options)
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#chown_r
7
+ is_singleton: false
8
+ name: chown_r
9
+ params: (user, group, list, options)
10
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: cp(list, dir, options)
8
+ full_name: Folio::Prompt#cp
9
+ is_singleton: false
10
+ name: cp
11
+ params: (src, dest, options)
12
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: cp_r(list, dir, options)
8
+ full_name: Folio::Prompt#cp_r
9
+ is_singleton: false
10
+ name: cp_r
11
+ params: (src, dest, options)
12
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: Directory entries.
8
+ full_name: Folio::Prompt#directories
9
+ is_singleton: false
10
+ name: directories
11
+ params: ()
12
+ visibility: public
@@ -0,0 +1,13 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases:
3
+ - !ruby/object:RI::AliasName
4
+ name: ls
5
+ block_params:
6
+ comment:
7
+ - !ruby/struct:SM::Flow::P
8
+ body: Directory entries.
9
+ full_name: Folio::Prompt#entries
10
+ is_singleton: false
11
+ name: entries
12
+ params: ()
13
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: Get the FileObject.
8
+ full_name: Folio::Prompt#file
9
+ is_singleton: false
10
+ name: file
11
+ params: (name)
12
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: Directory entries.
8
+ full_name: Folio::Prompt#files
9
+ is_singleton: false
10
+ name: files
11
+ params: ()
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#fileutils
7
+ is_singleton: false
8
+ name: fileutils
9
+ params: ()
10
+ visibility: private
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: Glob pattern.
8
+ full_name: Folio::Prompt#glob
9
+ is_singleton: false
10
+ name: glob
11
+ params: (*patterns)
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#install
7
+ is_singleton: false
8
+ name: install
9
+ params: (src, dest, mode, options)
10
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: ln(list, destdir, options)
8
+ full_name: Folio::Prompt#ln
9
+ is_singleton: false
10
+ name: ln
11
+ params: (old, new, options)
12
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: ln_s(list, destdir, options)
8
+ full_name: Folio::Prompt#ln_s
9
+ is_singleton: false
10
+ name: ln_s
11
+ params: (old, new, options)
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#ln_sf
7
+ is_singleton: false
8
+ name: ln_sf
9
+ params: (old, new, options)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#localize
7
+ is_singleton: false
8
+ name: localize
9
+ params: (local_path)
10
+ visibility: private
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: "Alias for #entries"
8
+ full_name: Folio::Prompt#ls
9
+ is_singleton: false
10
+ name: ls
11
+ params: ()
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment: ""
6
+ full_name: Folio::Prompt#mkdir
7
+ is_singleton: false
8
+ name: mkdir
9
+ params: (dir, options)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#mkdir_p
7
+ is_singleton: false
8
+ name: mkdir_p
9
+ params: (dir, options)
10
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: opertaton mode
8
+ full_name: Folio::Prompt#mode
9
+ is_singleton: false
10
+ name: mode
11
+ params: (opts=nil)
12
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: mv(list, dir, options)
8
+ full_name: Folio::Prompt#mv
9
+ is_singleton: false
10
+ name: mv
11
+ params: (src, dest, options)
12
+ visibility: public
@@ -0,0 +1,11 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment: []
6
+
7
+ full_name: Folio::Prompt::new
8
+ is_singleton: true
9
+ name: new
10
+ params: (*path)
11
+ visibility: public
@@ -0,0 +1,12 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ - !ruby/struct:SM::Flow::P
7
+ body: Directory entries.
8
+ full_name: Folio::Prompt#paths
9
+ is_singleton: false
10
+ name: paths
11
+ params: ()
12
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#pwd
7
+ is_singleton: false
8
+ name: pwd
9
+ params: ()
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#rm
7
+ is_singleton: false
8
+ name: rm
9
+ params: (list, options)
10
+ visibility: public
@@ -0,0 +1,10 @@
1
+ --- !ruby/object:RI::MethodDescription
2
+ aliases: []
3
+
4
+ block_params:
5
+ comment:
6
+ full_name: Folio::Prompt#rm_r
7
+ is_singleton: false
8
+ name: rm_r
9
+ params: (list, options)
10
+ visibility: public