nano 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1373) hide show
  1. data/ANN-0.8.1 +127 -0
  2. data/COPYING +59 -0
  3. data/ChangeLog +137 -0
  4. data/README +161 -0
  5. data/README.dev +12 -0
  6. data/Rakefile +124 -0
  7. data/Reapfile +87 -0
  8. data/TODO +43 -0
  9. data/Version +14 -0
  10. data/data/site_ruby/nano/base +32 -0
  11. data/data/site_ruby/nano/index.yaml +422 -0
  12. data/data/site_ruby/nano/noauto +27 -0
  13. data/data/site_ruby/nano/unsafe +17 -0
  14. data/lib/nano.rb +2 -0
  15. data/lib/nano/array.rb +32 -0
  16. data/lib/nano/array/%5B%5D%3D.rb +22 -0
  17. data/lib/nano/array/%5B%5D.rb +18 -0
  18. data/lib/nano/array/at_rand%21.rb +12 -0
  19. data/lib/nano/array/at_rand.rb +10 -0
  20. data/lib/nano/array/bulk.rb +10 -0
  21. data/lib/nano/array/delete_unless.rb +6 -0
  22. data/lib/nano/array/delete_values.rb +16 -0
  23. data/lib/nano/array/delete_values_at.rb +31 -0
  24. data/lib/nano/array/first%21.rb +11 -0
  25. data/lib/nano/array/first%3D.rb +13 -0
  26. data/lib/nano/array/foot.rb +11 -0
  27. data/lib/nano/array/head.rb +10 -0
  28. data/lib/nano/array/last%21.rb +11 -0
  29. data/lib/nano/array/last%3D.rb +12 -0
  30. data/lib/nano/array/last_index.rb +11 -0
  31. data/lib/nano/array/mid.rb +18 -0
  32. data/lib/nano/array/middle.rb +17 -0
  33. data/lib/nano/array/pick%21.rb +23 -0
  34. data/lib/nano/array/pick.rb +16 -0
  35. data/lib/nano/array/pos.rb +15 -0
  36. data/lib/nano/array/rand_index.rb +5 -0
  37. data/lib/nano/array/rand_subset.rb +31 -0
  38. data/lib/nano/array/range.rb +19 -0
  39. data/lib/nano/array/rotate%21.rb +18 -0
  40. data/lib/nano/array/rotate.rb +20 -0
  41. data/lib/nano/array/select%21.rb +11 -0
  42. data/lib/nano/array/shuffle%21.rb +25 -0
  43. data/lib/nano/array/shuffle.rb +17 -0
  44. data/lib/nano/array/slap.rb +11 -0
  45. data/lib/nano/array/store.rb +4 -0
  46. data/lib/nano/array/tail.rb +9 -0
  47. data/lib/nano/array/thru.rb +16 -0
  48. data/lib/nano/array/to_b.rb +6 -0
  49. data/lib/nano/array/to_h.rb +28 -0
  50. data/lib/nano/base.rb +29 -0
  51. data/lib/nano/binding.rb +14 -0
  52. data/lib/nano/binding/%3A%3Aof_caller.rb +89 -0
  53. data/lib/nano/binding/%5B%5D%3D.rb +11 -0
  54. data/lib/nano/binding/%5B%5D.rb +11 -0
  55. data/lib/nano/binding/__DIR__.rb +7 -0
  56. data/lib/nano/binding/__FILE__.rb +7 -0
  57. data/lib/nano/binding/__LINE__.rb +7 -0
  58. data/lib/nano/binding/call_stack.rb +8 -0
  59. data/lib/nano/binding/called.rb +12 -0
  60. data/lib/nano/binding/caller.rb +7 -0
  61. data/lib/nano/binding/defined%3F.rb +7 -0
  62. data/lib/nano/binding/eval.rb +10 -0
  63. data/lib/nano/binding/local_variables.rb +11 -0
  64. data/lib/nano/binding/method_name.rb +14 -0
  65. data/lib/nano/binding/of_caller.rb +89 -0
  66. data/lib/nano/binding/self.rb +12 -0
  67. data/lib/nano/class.rb +5 -0
  68. data/lib/nano/class/by_name.rb +1 -0
  69. data/lib/nano/class/descendents.rb +15 -0
  70. data/lib/nano/class/remove_descendents.rb +14 -0
  71. data/lib/nano/class/remove_subclasses.rb +4 -0
  72. data/lib/nano/class/subclasses.rb +4 -0
  73. data/lib/nano/comparable.rb +5 -0
  74. data/lib/nano/comparable/at_least.rb +13 -0
  75. data/lib/nano/comparable/at_most.rb +13 -0
  76. data/lib/nano/comparable/cap.rb +13 -0
  77. data/lib/nano/comparable/clip.rb +22 -0
  78. data/lib/nano/comparable/cmp.rb +14 -0
  79. data/lib/nano/continuation.rb +1 -0
  80. data/lib/nano/continuation/%3A%3Acreate.rb +50 -0
  81. data/lib/nano/date.rb +6 -0
  82. data/lib/nano/date/days_in_month.rb +13 -0
  83. data/lib/nano/date/days_of_month.rb +6 -0
  84. data/lib/nano/date/stamp.rb +11 -0
  85. data/lib/nano/date/to_date.rb +9 -0
  86. data/lib/nano/date/to_s.rb +16 -0
  87. data/lib/nano/date/to_time.rb +10 -0
  88. data/lib/nano/dir.rb +2 -0
  89. data/lib/nano/dir/%3A%3Als_r.rb +21 -0
  90. data/lib/nano/dir/%3A%3Arecurse.rb +7 -0
  91. data/lib/nano/enumerable.rb +32 -0
  92. data/lib/nano/enumerable/%25.rb +17 -0
  93. data/lib/nano/enumerable/%2A%2A.rb +15 -0
  94. data/lib/nano/enumerable/%3A%3Acombinations.rb +30 -0
  95. data/lib/nano/enumerable/%3A%3Across.rb +52 -0
  96. data/lib/nano/enumerable/collect_with_counter.rb +20 -0
  97. data/lib/nano/enumerable/collect_with_index.rb +4 -0
  98. data/lib/nano/enumerable/commonality.rb +37 -0
  99. data/lib/nano/enumerable/compact_collect.rb +25 -0
  100. data/lib/nano/enumerable/compact_map.rb +7 -0
  101. data/lib/nano/enumerable/cross.rb +18 -0
  102. data/lib/nano/enumerable/eF.rb +51 -0
  103. data/lib/nano/enumerable/each_by.rb +9 -0
  104. data/lib/nano/enumerable/each_combination.rb +34 -0
  105. data/lib/nano/enumerable/each_permutation.rb +33 -0
  106. data/lib/nano/enumerable/each_slice.rb +57 -0
  107. data/lib/nano/enumerable/each_unique_pair.rb +41 -0
  108. data/lib/nano/enumerable/entropy.rb +30 -0
  109. data/lib/nano/enumerable/filter_collect.rb +29 -0
  110. data/lib/nano/enumerable/filter_map.rb +7 -0
  111. data/lib/nano/enumerable/find_collisions.rb +15 -0
  112. data/lib/nano/enumerable/frequency.rb +16 -0
  113. data/lib/nano/enumerable/graph.rb +28 -0
  114. data/lib/nano/enumerable/ideal_entropy.rb +24 -0
  115. data/lib/nano/enumerable/map_with_counter.rb +4 -0
  116. data/lib/nano/enumerable/map_with_index.rb +4 -0
  117. data/lib/nano/enumerable/none%3F.rb +28 -0
  118. data/lib/nano/enumerable/occur.rb +36 -0
  119. data/lib/nano/enumerable/one%3F.rb +35 -0
  120. data/lib/nano/enumerable/partition_by.rb +28 -0
  121. data/lib/nano/enumerable/probability.rb +36 -0
  122. data/lib/nano/enumerable/to_h.rb +14 -0
  123. data/lib/nano/enumerable/unique_by.rb +16 -0
  124. data/lib/nano/file.rb +3 -0
  125. data/lib/nano/file/%3A%3Acreate.rb +18 -0
  126. data/lib/nano/file/%3A%3Aopen_as_string.rb +45 -0
  127. data/lib/nano/file/%3A%3Asplit_all.rb +13 -0
  128. data/lib/nano/fileutils.rb +7 -0
  129. data/lib/nano/fileutils/head.rb +28 -0
  130. data/lib/nano/fileutils/safe_ln.rb +22 -0
  131. data/lib/nano/fileutils/slice.rb +21 -0
  132. data/lib/nano/fileutils/tail.rb +23 -0
  133. data/lib/nano/fileutils/wc.rb +64 -0
  134. data/lib/nano/fileutils/whereis.rb +66 -0
  135. data/lib/nano/fileutils/which.rb +60 -0
  136. data/lib/nano/float.rb +4 -0
  137. data/lib/nano/float/approx%3F.rb +19 -0
  138. data/lib/nano/float/round_at.rb +30 -0
  139. data/lib/nano/float/round_off.rb +12 -0
  140. data/lib/nano/float/round_to.rb +31 -0
  141. data/lib/nano/full.rb +353 -0
  142. data/lib/nano/hash.rb +34 -0
  143. data/lib/nano/hash/%3A%3Azipnew.rb +15 -0
  144. data/lib/nano/hash/%3C%3C.rb +5 -0
  145. data/lib/nano/hash/%5B%5D%3D.rb +22 -0
  146. data/lib/nano/hash/%5B%5D.rb +21 -0
  147. data/lib/nano/hash/alias%21.rb +28 -0
  148. data/lib/nano/hash/assert_has_keys.rb +14 -0
  149. data/lib/nano/hash/assert_has_only_keys.rb +14 -0
  150. data/lib/nano/hash/at.rb +3 -0
  151. data/lib/nano/hash/collate%21.rb +10 -0
  152. data/lib/nano/hash/collate.rb +19 -0
  153. data/lib/nano/hash/delete_unless.rb +7 -0
  154. data/lib/nano/hash/each.rb +30 -0
  155. data/lib/nano/hash/graph%21.rb +8 -0
  156. data/lib/nano/hash/has_keys%3F.rb +15 -0
  157. data/lib/nano/hash/has_only_keys%3F.rb +15 -0
  158. data/lib/nano/hash/inverse.rb +28 -0
  159. data/lib/nano/hash/join.rb +7 -0
  160. data/lib/nano/hash/keys_to_s%21.rb +33 -0
  161. data/lib/nano/hash/keys_to_s.rb +24 -0
  162. data/lib/nano/hash/keys_to_sym%21.rb +38 -0
  163. data/lib/nano/hash/keys_to_sym.rb +29 -0
  164. data/lib/nano/hash/rand_key.rb +25 -0
  165. data/lib/nano/hash/rand_pair.rb +26 -0
  166. data/lib/nano/hash/rand_value.rb +36 -0
  167. data/lib/nano/hash/replace_each.rb +9 -0
  168. data/lib/nano/hash/shuffle%21.rb +16 -0
  169. data/lib/nano/hash/shuffle.rb +15 -0
  170. data/lib/nano/hash/slice.rb +11 -0
  171. data/lib/nano/hash/swap%21.rb +14 -0
  172. data/lib/nano/hash/swapkey%21.rb +20 -0
  173. data/lib/nano/hash/to_h.rb +12 -0
  174. data/lib/nano/hash/to_ostruct.rb +14 -0
  175. data/lib/nano/hash/to_ostruct_recurse.rb +19 -0
  176. data/lib/nano/hash/traverse%21.rb +16 -0
  177. data/lib/nano/hash/traverse.rb +21 -0
  178. data/lib/nano/hash/update_each.rb +19 -0
  179. data/lib/nano/hash/weave.rb +64 -0
  180. data/lib/nano/inflect.rb +35 -0
  181. data/lib/nano/integer.rb +8 -0
  182. data/lib/nano/integer/even%3F.rb +14 -0
  183. data/lib/nano/integer/fact.rb +13 -0
  184. data/lib/nano/integer/factorial.rb +17 -0
  185. data/lib/nano/integer/multiple%3F.rb +12 -0
  186. data/lib/nano/integer/odd%3F.rb +14 -0
  187. data/lib/nano/integer/ordinal.rb +17 -0
  188. data/lib/nano/integer/times_collect.rb +14 -0
  189. data/lib/nano/integer/times_map.rb +5 -0
  190. data/lib/nano/kernel.rb +23 -0
  191. data/lib/nano/kernel/__require__.rb +5 -0
  192. data/lib/nano/kernel/autoreload.rb +35 -0
  193. data/lib/nano/kernel/autoreload_glob.rb +36 -0
  194. data/lib/nano/kernel/bug%21.rb +17 -0
  195. data/lib/nano/kernel/call_stack.rb +36 -0
  196. data/lib/nano/kernel/called.rb +19 -0
  197. data/lib/nano/kernel/demo.rb +23 -0
  198. data/lib/nano/kernel/fn.rb +8 -0
  199. data/lib/nano/kernel/get_by_id.rb +7 -0
  200. data/lib/nano/kernel/here.rb +9 -0
  201. data/lib/nano/kernel/maybe.rb +15 -0
  202. data/lib/nano/kernel/method_name.rb +19 -0
  203. data/lib/nano/kernel/nack.rb +12 -0
  204. data/lib/nano/kernel/p.rb +9 -0
  205. data/lib/nano/kernel/require_all.rb +22 -0
  206. data/lib/nano/kernel/require_esc.rb +16 -0
  207. data/lib/nano/kernel/require_local.rb +12 -0
  208. data/lib/nano/kernel/require_nano.rb +18 -0
  209. data/lib/nano/kernel/resc.rb +6 -0
  210. data/lib/nano/kernel/returning.rb +22 -0
  211. data/lib/nano/kernel/silence_warnings.rb +4 -0
  212. data/lib/nano/kernel/silently.rb +12 -0
  213. data/lib/nano/kernel/warn_with_line.rb +17 -0
  214. data/lib/nano/logger/format.rb +22 -0
  215. data/lib/nano/logger/format_message.rb +11 -0
  216. data/lib/nano/matchdata.rb +3 -0
  217. data/lib/nano/matchdata/match.rb +12 -0
  218. data/lib/nano/matchdata/matchset.rb +10 -0
  219. data/lib/nano/matchdata/matchtree.rb +29 -0
  220. data/lib/nano/module.rb +34 -0
  221. data/lib/nano/module/abstract.rb +18 -0
  222. data/lib/nano/module/alias_module_function.rb +28 -0
  223. data/lib/nano/module/attr_setter.rb +38 -0
  224. data/lib/nano/module/attr_tester.rb +46 -0
  225. data/lib/nano/module/basename.rb +17 -0
  226. data/lib/nano/module/by_name.rb +43 -0
  227. data/lib/nano/module/cattr_accessor.rb +25 -0
  228. data/lib/nano/module/cattr_reader.rb +40 -0
  229. data/lib/nano/module/cattr_writer.rb +44 -0
  230. data/lib/nano/module/clone_removing.rb +10 -0
  231. data/lib/nano/module/clone_renaming.rb +14 -0
  232. data/lib/nano/module/clone_using.rb +14 -0
  233. data/lib/nano/module/dirname.rb +20 -0
  234. data/lib/nano/module/equate_on.rb +37 -0
  235. data/lib/nano/module/generate_instance_method_name.rb +18 -0
  236. data/lib/nano/module/include_as.rb +72 -0
  237. data/lib/nano/module/initializer.rb +34 -0
  238. data/lib/nano/module/instance_methods.rb +131 -0
  239. data/lib/nano/module/integrate.rb +18 -0
  240. data/lib/nano/module/memoize.rb +50 -0
  241. data/lib/nano/module/modspace.rb +22 -0
  242. data/lib/nano/module/namespace.rb +33 -0
  243. data/lib/nano/module/redef.rb +6 -0
  244. data/lib/nano/module/redefine_method.rb +30 -0
  245. data/lib/nano/module/redirect.rb +5 -0
  246. data/lib/nano/module/redirect_method.rb +39 -0
  247. data/lib/nano/module/remove.rb +4 -0
  248. data/lib/nano/module/rename.rb +5 -0
  249. data/lib/nano/module/rename_method.rb +12 -0
  250. data/lib/nano/module/sattr.rb +56 -0
  251. data/lib/nano/module/sattr_accessor.rb +1 -0
  252. data/lib/nano/module/sattr_reader.rb +1 -0
  253. data/lib/nano/module/sattr_setter.rb +1 -0
  254. data/lib/nano/module/sattr_tester.rb +1 -0
  255. data/lib/nano/module/sattr_writer.rb +1 -0
  256. data/lib/nano/module/sort_on.rb +35 -0
  257. data/lib/nano/module/undef.rb +4 -0
  258. data/lib/nano/module/wrap.rb +5 -0
  259. data/lib/nano/module/wrap_method.rb +21 -0
  260. data/lib/nano/nil_as_emptiness.rb +34 -0
  261. data/lib/nano/nilclass.rb +2 -0
  262. data/lib/nano/nilclass/%5B%5D.rb +10 -0
  263. data/lib/nano/nilclass/empty%3F.rb +8 -0
  264. data/lib/nano/nilclass/include%3F.rb +8 -0
  265. data/lib/nano/nilclass/length.rb +10 -0
  266. data/lib/nano/nilclass/method_missing.rb +10 -0
  267. data/lib/nano/nilclass/size.rb +10 -0
  268. data/lib/nano/nilclass/to_f.rb +9 -0
  269. data/lib/nano/nilclass/to_h.rb +10 -0
  270. data/lib/nano/numeric.rb +5 -0
  271. data/lib/nano/numeric/ceil_multiple.rb +8 -0
  272. data/lib/nano/numeric/distance.rb +13 -0
  273. data/lib/nano/numeric/pred.rb +14 -0
  274. data/lib/nano/numeric/succ.rb +20 -0
  275. data/lib/nano/numeric/to_b.rb +13 -0
  276. data/lib/nano/object.rb +28 -0
  277. data/lib/nano/object/__class__.rb +7 -0
  278. data/lib/nano/object/assign_from.rb +42 -0
  279. data/lib/nano/object/assign_with.rb +45 -0
  280. data/lib/nano/object/bool%3F.rb +21 -0
  281. data/lib/nano/object/constant.rb +23 -0
  282. data/lib/nano/object/copy.rb +10 -0
  283. data/lib/nano/object/deep_copy.rb +10 -0
  284. data/lib/nano/object/false%3F.rb +21 -0
  285. data/lib/nano/object/generate_method_name.rb +18 -0
  286. data/lib/nano/object/in%3F.rb +10 -0
  287. data/lib/nano/object/metaclass.rb +7 -0
  288. data/lib/nano/object/method%21.rb +48 -0
  289. data/lib/nano/object/methods.rb +33 -0
  290. data/lib/nano/object/new.rb +11 -0
  291. data/lib/nano/object/object_class.rb +7 -0
  292. data/lib/nano/object/object_hexid.rb +10 -0
  293. data/lib/nano/object/set_from.rb +13 -0
  294. data/lib/nano/object/set_with.rb +19 -0
  295. data/lib/nano/object/singleton_class.rb +7 -0
  296. data/lib/nano/object/special_class.rb +7 -0
  297. data/lib/nano/object/super_method.rb +11 -0
  298. data/lib/nano/object/super_send.rb +11 -0
  299. data/lib/nano/object/superup.rb +39 -0
  300. data/lib/nano/object/to_b.rb +14 -0
  301. data/lib/nano/object/to_bool.rb +24 -0
  302. data/lib/nano/object/true%3F.rb +21 -0
  303. data/lib/nano/object/val%3F.rb +14 -0
  304. data/lib/nano/object/with_accessor.rb +21 -0
  305. data/lib/nano/object/with_reader.rb +19 -0
  306. data/lib/nano/object/with_writer.rb +21 -0
  307. data/lib/nano/ostruct.rb +3 -0
  308. data/lib/nano/ostruct/%5B%5D%3D.rb +18 -0
  309. data/lib/nano/ostruct/%5B%5D.rb +18 -0
  310. data/lib/nano/ostruct/ostruct_update.rb +20 -0
  311. data/lib/nano/pathname.rb +2 -0
  312. data/lib/nano/pathname/ascend.rb +21 -0
  313. data/lib/nano/pathname/descend.rb +20 -0
  314. data/lib/nano/proc.rb +3 -0
  315. data/lib/nano/proc/%2A.rb +8 -0
  316. data/lib/nano/proc/compose.rb +21 -0
  317. data/lib/nano/proc/to_method.rb +47 -0
  318. data/lib/nano/random.rb +30 -0
  319. data/lib/nano/range.rb +4 -0
  320. data/lib/nano/range/to_r.rb +9 -0
  321. data/lib/nano/range/to_range.rb +13 -0
  322. data/lib/nano/range/umbrella.rb +37 -0
  323. data/lib/nano/range/within%3F.rb +19 -0
  324. data/lib/nano/regexp.rb +3 -0
  325. data/lib/nano/regexp/arity.rb +12 -0
  326. data/lib/nano/regexp/to_re.rb +15 -0
  327. data/lib/nano/regexp/to_regexp.rb +11 -0
  328. data/lib/nano/string.rb +88 -0
  329. data/lib/nano/string/%3A%3Apatterns.rb +28 -0
  330. data/lib/nano/string/%3A%3Arand_letter.rb +13 -0
  331. data/lib/nano/string/%3A%3Arandom.rb +27 -0
  332. data/lib/nano/string/align_center.rb +36 -0
  333. data/lib/nano/string/align_left.rb +18 -0
  334. data/lib/nano/string/align_right.rb +18 -0
  335. data/lib/nano/string/at.rb +5 -0
  336. data/lib/nano/string/at_rand%21.rb +24 -0
  337. data/lib/nano/string/at_rand.rb +17 -0
  338. data/lib/nano/string/basename.rb +12 -0
  339. data/lib/nano/string/blank%3F.rb +14 -0
  340. data/lib/nano/string/bracket%21.rb +10 -0
  341. data/lib/nano/string/bracket.rb +19 -0
  342. data/lib/nano/string/brief.rb +23 -0
  343. data/lib/nano/string/bytes.rb +10 -0
  344. data/lib/nano/string/camelcase.rb +24 -0
  345. data/lib/nano/string/camelize.rb +14 -0
  346. data/lib/nano/string/capitalized%3F.rb +17 -0
  347. data/lib/nano/string/chars.rb +12 -0
  348. data/lib/nano/string/cmp.rb +18 -0
  349. data/lib/nano/string/demodulize.rb +7 -0
  350. data/lib/nano/string/dequote.rb +19 -0
  351. data/lib/nano/string/downcase%3F.rb +16 -0
  352. data/lib/nano/string/dresner%21.rb +11 -0
  353. data/lib/nano/string/dresner.rb +16 -0
  354. data/lib/nano/string/each_char.rb +11 -0
  355. data/lib/nano/string/each_word.rb +26 -0
  356. data/lib/nano/string/first%21.rb +34 -0
  357. data/lib/nano/string/first%3D.rb +13 -0
  358. data/lib/nano/string/first.rb +18 -0
  359. data/lib/nano/string/first_char.rb +11 -0
  360. data/lib/nano/string/fold.rb +33 -0
  361. data/lib/nano/string/frequency.rb +15 -0
  362. data/lib/nano/string/humanize.rb +10 -0
  363. data/lib/nano/string/indent.rb +17 -0
  364. data/lib/nano/string/index_all.rb +19 -0
  365. data/lib/nano/string/last%21.rb +34 -0
  366. data/lib/nano/string/last%3D.rb +13 -0
  367. data/lib/nano/string/last.rb +17 -0
  368. data/lib/nano/string/last_char.rb +13 -0
  369. data/lib/nano/string/line_wrap.rb +53 -0
  370. data/lib/nano/string/lines.rb +12 -0
  371. data/lib/nano/string/lowercase%3F.rb +11 -0
  372. data/lib/nano/string/margin.rb +26 -0
  373. data/lib/nano/string/mscan.rb +17 -0
  374. data/lib/nano/string/natcmp.rb +83 -0
  375. data/lib/nano/string/nchar.rb +21 -0
  376. data/lib/nano/string/ordinal.rb +7 -0
  377. data/lib/nano/string/plural.rb +43 -0
  378. data/lib/nano/string/pop.rb +7 -0
  379. data/lib/nano/string/probability.rb +11 -0
  380. data/lib/nano/string/push.rb +5 -0
  381. data/lib/nano/string/quote.rb +24 -0
  382. data/lib/nano/string/rand_byte%21.rb +17 -0
  383. data/lib/nano/string/rand_byte.rb +12 -0
  384. data/lib/nano/string/rand_index.rb +9 -0
  385. data/lib/nano/string/range.rb +15 -0
  386. data/lib/nano/string/range_all.rb +26 -0
  387. data/lib/nano/string/range_of_line.rb +19 -0
  388. data/lib/nano/string/shatter.rb +21 -0
  389. data/lib/nano/string/shift.rb +7 -0
  390. data/lib/nano/string/shuffle.rb +20 -0
  391. data/lib/nano/string/similarity.rb +84 -0
  392. data/lib/nano/string/singular.rb +51 -0
  393. data/lib/nano/string/slap.rb +9 -0
  394. data/lib/nano/string/soundex.rb +71 -0
  395. data/lib/nano/string/succ.rb +14 -0
  396. data/lib/nano/string/tab.rb +13 -0
  397. data/lib/nano/string/tabto.rb +17 -0
  398. data/lib/nano/string/to_a.rb +13 -0
  399. data/lib/nano/string/to_arr.rb +34 -0
  400. data/lib/nano/string/to_b.rb +28 -0
  401. data/lib/nano/string/to_const.rb +13 -0
  402. data/lib/nano/string/to_date.rb +10 -0
  403. data/lib/nano/string/to_proc.rb +26 -0
  404. data/lib/nano/string/to_re.rb +14 -0
  405. data/lib/nano/string/to_time.rb +9 -0
  406. data/lib/nano/string/underscore.rb +9 -0
  407. data/lib/nano/string/unix_crypt%21.rb +8 -0
  408. data/lib/nano/string/unix_crypt.rb +8 -0
  409. data/lib/nano/string/unpack.rb +16 -0
  410. data/lib/nano/string/unshift.rb +7 -0
  411. data/lib/nano/string/upcase%3F.rb +17 -0
  412. data/lib/nano/string/uppercase%3F.rb +11 -0
  413. data/lib/nano/string/whitespace%3F.rb +5 -0
  414. data/lib/nano/string/word_filter%21.rb +22 -0
  415. data/lib/nano/string/word_filter.rb +14 -0
  416. data/lib/nano/string/word_wrap%21.rb +13 -0
  417. data/lib/nano/string/word_wrap.rb +21 -0
  418. data/lib/nano/string/words.rb +12 -0
  419. data/lib/nano/string_as_array.rb +16 -0
  420. data/lib/nano/symbol.rb +12 -0
  421. data/lib/nano/symbol/camelcase.rb +21 -0
  422. data/lib/nano/symbol/camelize.rb +10 -0
  423. data/lib/nano/symbol/capitalized%3F.rb +10 -0
  424. data/lib/nano/symbol/downcase%3F.rb +10 -0
  425. data/lib/nano/symbol/not.rb +16 -0
  426. data/lib/nano/symbol/pad.rb +20 -0
  427. data/lib/nano/symbol/succ.rb +18 -0
  428. data/lib/nano/symbol/to_const.rb +14 -0
  429. data/lib/nano/symbol/to_proc.rb +20 -0
  430. data/lib/nano/symbol/to_str.rb +12 -0
  431. data/lib/nano/symbol/underscore.rb +10 -0
  432. data/lib/nano/symbol/upcase%3F.rb +10 -0
  433. data/lib/nano/time.rb +6 -0
  434. data/lib/nano/time/%3A%3Adays_extrema.rb +22 -0
  435. data/lib/nano/time/change.rb +20 -0
  436. data/lib/nano/time/elapse.rb +18 -0
  437. data/lib/nano/time/stamp.rb +21 -0
  438. data/lib/nano/time/to_date.rb +8 -0
  439. data/lib/nano/time/to_s.rb +6 -0
  440. data/lib/nano/time/to_time.rb +10 -0
  441. data/lib/nanoreq.rb +2 -0
  442. data/lib/nanosys.rb +203 -0
  443. data/pub/www/doc/classes/Array.html +794 -0
  444. data/pub/www/doc/classes/Array.src/M000039.html +36 -0
  445. data/pub/www/doc/classes/Array.src/M000040.html +30 -0
  446. data/pub/www/doc/classes/Array.src/M000041.html +30 -0
  447. data/pub/www/doc/classes/Array.src/M000042.html +30 -0
  448. data/pub/www/doc/classes/Array.src/M000043.html +35 -0
  449. data/pub/www/doc/classes/Array.src/M000044.html +30 -0
  450. data/pub/www/doc/classes/Array.src/M000045.html +30 -0
  451. data/pub/www/doc/classes/Array.src/M000046.html +31 -0
  452. data/pub/www/doc/classes/Array.src/M000047.html +30 -0
  453. data/pub/www/doc/classes/Array.src/M000048.html +32 -0
  454. data/pub/www/doc/classes/Array.src/M000049.html +37 -0
  455. data/pub/www/doc/classes/Array.src/M000050.html +38 -0
  456. data/pub/www/doc/classes/Array.src/M000051.html +31 -0
  457. data/pub/www/doc/classes/Array.src/M000052.html +36 -0
  458. data/pub/www/doc/classes/Array.src/M000053.html +30 -0
  459. data/pub/www/doc/classes/Array.src/M000054.html +30 -0
  460. data/pub/www/doc/classes/Array.src/M000055.html +34 -0
  461. data/pub/www/doc/classes/Array.src/M000056.html +30 -0
  462. data/pub/www/doc/classes/Array.src/M000057.html +36 -0
  463. data/pub/www/doc/classes/Array.src/M000058.html +42 -0
  464. data/pub/www/doc/classes/Array.src/M000059.html +30 -0
  465. data/pub/www/doc/classes/Array.src/M000060.html +43 -0
  466. data/pub/www/doc/classes/Array.src/M000061.html +30 -0
  467. data/pub/www/doc/classes/Array.src/M000062.html +34 -0
  468. data/pub/www/doc/classes/Array.src/M000063.html +30 -0
  469. data/pub/www/doc/classes/Array.src/M000064.html +31 -0
  470. data/pub/www/doc/classes/Array.src/M000065.html +34 -0
  471. data/pub/www/doc/classes/Array.src/M000066.html +35 -0
  472. data/pub/www/doc/classes/Array.src/M000067.html +30 -0
  473. data/pub/www/doc/classes/Array.src/M000069.html +30 -0
  474. data/pub/www/doc/classes/Array.src/M000070.html +34 -0
  475. data/pub/www/doc/classes/Array.src/M000071.html +39 -0
  476. data/pub/www/doc/classes/Array.src/M000072.html +41 -0
  477. data/pub/www/doc/classes/Array.src/M000073.html +35 -0
  478. data/pub/www/doc/classes/Binding.html +389 -0
  479. data/pub/www/doc/classes/Binding.src/M000216.html +30 -0
  480. data/pub/www/doc/classes/Binding.src/M000217.html +73 -0
  481. data/pub/www/doc/classes/Binding.src/M000218.html +30 -0
  482. data/pub/www/doc/classes/Binding.src/M000219.html +31 -0
  483. data/pub/www/doc/classes/Binding.src/M000220.html +73 -0
  484. data/pub/www/doc/classes/Binding.src/M000221.html +30 -0
  485. data/pub/www/doc/classes/Binding.src/M000222.html +30 -0
  486. data/pub/www/doc/classes/Binding.src/M000223.html +30 -0
  487. data/pub/www/doc/classes/Binding.src/M000224.html +34 -0
  488. data/pub/www/doc/classes/Binding.src/M000225.html +31 -0
  489. data/pub/www/doc/classes/Binding.src/M000226.html +30 -0
  490. data/pub/www/doc/classes/Binding.src/M000227.html +31 -0
  491. data/pub/www/doc/classes/Binding.src/M000228.html +30 -0
  492. data/pub/www/doc/classes/Binding.src/M000229.html +30 -0
  493. data/pub/www/doc/classes/Binding.src/M000230.html +30 -0
  494. data/pub/www/doc/classes/Class.html +130 -0
  495. data/pub/www/doc/classes/Class.src/M000191.html +36 -0
  496. data/pub/www/doc/classes/Class.src/M000192.html +33 -0
  497. data/pub/www/doc/classes/Comparable.html +180 -0
  498. data/pub/www/doc/classes/Comparable.src/M000413.html +30 -0
  499. data/pub/www/doc/classes/Comparable.src/M000414.html +30 -0
  500. data/pub/www/doc/classes/Comparable.src/M000415.html +30 -0
  501. data/pub/www/doc/classes/Comparable.src/M000416.html +30 -0
  502. data/pub/www/doc/classes/Comparable.src/M000417.html +33 -0
  503. data/pub/www/doc/classes/Continuation.html +147 -0
  504. data/pub/www/doc/classes/Continuation.src/M000366.html +33 -0
  505. data/pub/www/doc/classes/Date.html +177 -0
  506. data/pub/www/doc/classes/Date.src/M000203.html +30 -0
  507. data/pub/www/doc/classes/Date.src/M000204.html +30 -0
  508. data/pub/www/doc/classes/Date.src/M000205.html +37 -0
  509. data/pub/www/doc/classes/Date.src/M000207.html +30 -0
  510. data/pub/www/doc/classes/Date.src/M000208.html +30 -0
  511. data/pub/www/doc/classes/Dir.html +111 -0
  512. data/pub/www/doc/classes/Dir.src/M000037.html +41 -0
  513. data/pub/www/doc/classes/Enumerable.html +630 -0
  514. data/pub/www/doc/classes/Enumerable.src/M000387.html +34 -0
  515. data/pub/www/doc/classes/Enumerable.src/M000388.html +34 -0
  516. data/pub/www/doc/classes/Enumerable.src/M000389.html +43 -0
  517. data/pub/www/doc/classes/Enumerable.src/M000390.html +38 -0
  518. data/pub/www/doc/classes/Enumerable.src/M000391.html +37 -0
  519. data/pub/www/doc/classes/Enumerable.src/M000392.html +41 -0
  520. data/pub/www/doc/classes/Enumerable.src/M000393.html +32 -0
  521. data/pub/www/doc/classes/Enumerable.src/M000394.html +30 -0
  522. data/pub/www/doc/classes/Enumerable.src/M000395.html +35 -0
  523. data/pub/www/doc/classes/Enumerable.src/M000396.html +37 -0
  524. data/pub/www/doc/classes/Enumerable.src/M000397.html +34 -0
  525. data/pub/www/doc/classes/Enumerable.src/M000399.html +32 -0
  526. data/pub/www/doc/classes/Enumerable.src/M000401.html +34 -0
  527. data/pub/www/doc/classes/Enumerable.src/M000402.html +34 -0
  528. data/pub/www/doc/classes/Enumerable.src/M000405.html +45 -0
  529. data/pub/www/doc/classes/Enumerable.src/M000406.html +33 -0
  530. data/pub/www/doc/classes/Enumerable.src/M000407.html +60 -0
  531. data/pub/www/doc/classes/Enumerable.src/M000408.html +41 -0
  532. data/pub/www/doc/classes/Enumerable.src/M000409.html +46 -0
  533. data/pub/www/doc/classes/Enumerable.src/M000410.html +30 -0
  534. data/pub/www/doc/classes/Enumerable.src/M000411.html +36 -0
  535. data/pub/www/doc/classes/Enumerable.src/M000412.html +30 -0
  536. data/pub/www/doc/classes/FalseClass.html +105 -0
  537. data/pub/www/doc/classes/FalseClass.src/M000038.html +30 -0
  538. data/pub/www/doc/classes/File.html +160 -0
  539. data/pub/www/doc/classes/File.src/M000418.html +33 -0
  540. data/pub/www/doc/classes/File.src/M000419.html +51 -0
  541. data/pub/www/doc/classes/File.src/M000420.html +33 -0
  542. data/pub/www/doc/classes/FileUtils.html +239 -0
  543. data/pub/www/doc/classes/FileUtils.src/M000359.html +71 -0
  544. data/pub/www/doc/classes/FileUtils.src/M000360.html +30 -0
  545. data/pub/www/doc/classes/FileUtils.src/M000361.html +58 -0
  546. data/pub/www/doc/classes/FileUtils.src/M000362.html +39 -0
  547. data/pub/www/doc/classes/FileUtils.src/M000363.html +40 -0
  548. data/pub/www/doc/classes/FileUtils.src/M000364.html +30 -0
  549. data/pub/www/doc/classes/FileUtils.src/M000365.html +67 -0
  550. data/pub/www/doc/classes/Float.html +150 -0
  551. data/pub/www/doc/classes/Float.src/M000188.html +30 -0
  552. data/pub/www/doc/classes/Float.src/M000189.html +31 -0
  553. data/pub/www/doc/classes/Float.src/M000190.html +31 -0
  554. data/pub/www/doc/classes/Functor.html +128 -0
  555. data/pub/www/doc/classes/Functor.src/M000209.html +28 -0
  556. data/pub/www/doc/classes/Functor.src/M000210.html +28 -0
  557. data/pub/www/doc/classes/Functor.src/M000211.html +28 -0
  558. data/pub/www/doc/classes/Functor.src/M000212.html +28 -0
  559. data/pub/www/doc/classes/Hash.html +933 -0
  560. data/pub/www/doc/classes/Hash.src/M000074.html +32 -0
  561. data/pub/www/doc/classes/Hash.src/M000075.html +30 -0
  562. data/pub/www/doc/classes/Hash.src/M000076.html +30 -0
  563. data/pub/www/doc/classes/Hash.src/M000077.html +32 -0
  564. data/pub/www/doc/classes/Hash.src/M000078.html +31 -0
  565. data/pub/www/doc/classes/Hash.src/M000079.html +31 -0
  566. data/pub/www/doc/classes/Hash.src/M000080.html +31 -0
  567. data/pub/www/doc/classes/Hash.src/M000081.html +35 -0
  568. data/pub/www/doc/classes/Hash.src/M000082.html +37 -0
  569. data/pub/www/doc/classes/Hash.src/M000083.html +30 -0
  570. data/pub/www/doc/classes/Hash.src/M000084.html +38 -0
  571. data/pub/www/doc/classes/Hash.src/M000085.html +30 -0
  572. data/pub/www/doc/classes/Hash.src/M000086.html +32 -0
  573. data/pub/www/doc/classes/Hash.src/M000090.html +31 -0
  574. data/pub/www/doc/classes/Hash.src/M000091.html +34 -0
  575. data/pub/www/doc/classes/Hash.src/M000092.html +30 -0
  576. data/pub/www/doc/classes/Hash.src/M000093.html +31 -0
  577. data/pub/www/doc/classes/Hash.src/M000095.html +30 -0
  578. data/pub/www/doc/classes/Hash.src/M000096.html +32 -0
  579. data/pub/www/doc/classes/Hash.src/M000097.html +30 -0
  580. data/pub/www/doc/classes/Hash.src/M000098.html +31 -0
  581. data/pub/www/doc/classes/Hash.src/M000099.html +30 -0
  582. data/pub/www/doc/classes/Hash.src/M000100.html +30 -0
  583. data/pub/www/doc/classes/Hash.src/M000101.html +32 -0
  584. data/pub/www/doc/classes/Hash.src/M000103.html +28 -0
  585. data/pub/www/doc/classes/Hash.src/M000104.html +30 -0
  586. data/pub/www/doc/classes/Hash.src/M000105.html +40 -0
  587. data/pub/www/doc/classes/Hash.src/M000107.html +34 -0
  588. data/pub/www/doc/classes/Hash.src/M000108.html +30 -0
  589. data/pub/www/doc/classes/Hash.src/M000109.html +34 -0
  590. data/pub/www/doc/classes/Hash.src/M000110.html +33 -0
  591. data/pub/www/doc/classes/Hash.src/M000111.html +40 -0
  592. data/pub/www/doc/classes/Hash.src/M000113.html +31 -0
  593. data/pub/www/doc/classes/Hash.src/M000115.html +67 -0
  594. data/pub/www/doc/classes/Hash.src/M000116.html +31 -0
  595. data/pub/www/doc/classes/Hash.src/M000117.html +32 -0
  596. data/pub/www/doc/classes/Hash.src/M000119.html +31 -0
  597. data/pub/www/doc/classes/Integer.html +237 -0
  598. data/pub/www/doc/classes/Integer.src/M000006.html +30 -0
  599. data/pub/www/doc/classes/Integer.src/M000007.html +30 -0
  600. data/pub/www/doc/classes/Integer.src/M000008.html +30 -0
  601. data/pub/www/doc/classes/Integer.src/M000009.html +31 -0
  602. data/pub/www/doc/classes/Integer.src/M000011.html +33 -0
  603. data/pub/www/doc/classes/Integer.src/M000012.html +39 -0
  604. data/pub/www/doc/classes/Integer.src/M000013.html +30 -0
  605. data/pub/www/doc/classes/Integer.src/M000014.html +30 -0
  606. data/pub/www/doc/classes/Kernel.html +415 -0
  607. data/pub/www/doc/classes/Kernel.src/M000367.html +39 -0
  608. data/pub/www/doc/classes/Kernel.src/M000368.html +31 -0
  609. data/pub/www/doc/classes/Kernel.src/M000369.html +30 -0
  610. data/pub/www/doc/classes/Kernel.src/M000370.html +30 -0
  611. data/pub/www/doc/classes/Kernel.src/M000371.html +30 -0
  612. data/pub/www/doc/classes/Kernel.src/M000372.html +38 -0
  613. data/pub/www/doc/classes/Kernel.src/M000373.html +30 -0
  614. data/pub/www/doc/classes/Kernel.src/M000374.html +31 -0
  615. data/pub/www/doc/classes/Kernel.src/M000375.html +50 -0
  616. data/pub/www/doc/classes/Kernel.src/M000376.html +49 -0
  617. data/pub/www/doc/classes/Kernel.src/M000377.html +30 -0
  618. data/pub/www/doc/classes/Kernel.src/M000378.html +28 -0
  619. data/pub/www/doc/classes/Kernel.src/M000379.html +31 -0
  620. data/pub/www/doc/classes/Kernel.src/M000380.html +34 -0
  621. data/pub/www/doc/classes/Kernel.src/M000381.html +32 -0
  622. data/pub/www/doc/classes/Kernel.src/M000382.html +31 -0
  623. data/pub/www/doc/classes/Kernel.src/M000383.html +31 -0
  624. data/pub/www/doc/classes/Kernel.src/M000384.html +33 -0
  625. data/pub/www/doc/classes/Kernel.src/M000385.html +35 -0
  626. data/pub/www/doc/classes/Kernel/NanoKernel.html +111 -0
  627. data/pub/www/doc/classes/Kernel/NanoKernel.src/M000386.html +35 -0
  628. data/pub/www/doc/classes/Logger.html +137 -0
  629. data/pub/www/doc/classes/Logger.src/M000231.html +31 -0
  630. data/pub/www/doc/classes/Logger.src/M000232.html +30 -0
  631. data/pub/www/doc/classes/MatchData.html +146 -0
  632. data/pub/www/doc/classes/MatchData.src/M000134.html +45 -0
  633. data/pub/www/doc/classes/MatchData.src/M000135.html +30 -0
  634. data/pub/www/doc/classes/MatchData.src/M000136.html +30 -0
  635. data/pub/www/doc/classes/Module.html +996 -0
  636. data/pub/www/doc/classes/Module.src/M000139.html +30 -0
  637. data/pub/www/doc/classes/Module.src/M000140.html +44 -0
  638. data/pub/www/doc/classes/Module.src/M000141.html +32 -0
  639. data/pub/www/doc/classes/Module.src/M000142.html +36 -0
  640. data/pub/www/doc/classes/Module.src/M000143.html +37 -0
  641. data/pub/www/doc/classes/Module.src/M000144.html +33 -0
  642. data/pub/www/doc/classes/Module.src/M000145.html +30 -0
  643. data/pub/www/doc/classes/Module.src/M000146.html +89 -0
  644. data/pub/www/doc/classes/Module.src/M000147.html +32 -0
  645. data/pub/www/doc/classes/Module.src/M000148.html +32 -0
  646. data/pub/www/doc/classes/Module.src/M000149.html +32 -0
  647. data/pub/www/doc/classes/Module.src/M000150.html +32 -0
  648. data/pub/www/doc/classes/Module.src/M000151.html +32 -0
  649. data/pub/www/doc/classes/Module.src/M000152.html +32 -0
  650. data/pub/www/doc/classes/Module.src/M000153.html +46 -0
  651. data/pub/www/doc/classes/Module.src/M000154.html +33 -0
  652. data/pub/www/doc/classes/Module.src/M000155.html +30 -0
  653. data/pub/www/doc/classes/Module.src/M000156.html +34 -0
  654. data/pub/www/doc/classes/Module.src/M000158.html +31 -0
  655. data/pub/www/doc/classes/Module.src/M000159.html +37 -0
  656. data/pub/www/doc/classes/Module.src/M000160.html +32 -0
  657. data/pub/www/doc/classes/Module.src/M000161.html +35 -0
  658. data/pub/www/doc/classes/Module.src/M000162.html +33 -0
  659. data/pub/www/doc/classes/Module.src/M000163.html +35 -0
  660. data/pub/www/doc/classes/Module.src/M000164.html +41 -0
  661. data/pub/www/doc/classes/Module.src/M000165.html +32 -0
  662. data/pub/www/doc/classes/Module.src/M000166.html +41 -0
  663. data/pub/www/doc/classes/Module.src/M000168.html +30 -0
  664. data/pub/www/doc/classes/Module.src/M000169.html +36 -0
  665. data/pub/www/doc/classes/Module.src/M000172.html +33 -0
  666. data/pub/www/doc/classes/Module.src/M000173.html +35 -0
  667. data/pub/www/doc/classes/Module.src/M000176.html +34 -0
  668. data/pub/www/doc/classes/Module.src/M000177.html +32 -0
  669. data/pub/www/doc/classes/Module.src/M000178.html +41 -0
  670. data/pub/www/doc/classes/NackClass.html +92 -0
  671. data/pub/www/doc/classes/NanoSystem.html +340 -0
  672. data/pub/www/doc/classes/NanoSystem.src/M000120.html +30 -0
  673. data/pub/www/doc/classes/NanoSystem.src/M000121.html +31 -0
  674. data/pub/www/doc/classes/NanoSystem.src/M000122.html +32 -0
  675. data/pub/www/doc/classes/NanoSystem.src/M000123.html +31 -0
  676. data/pub/www/doc/classes/NanoSystem.src/M000124.html +31 -0
  677. data/pub/www/doc/classes/NanoSystem.src/M000125.html +44 -0
  678. data/pub/www/doc/classes/NanoSystem.src/M000126.html +47 -0
  679. data/pub/www/doc/classes/NanoSystem.src/M000127.html +30 -0
  680. data/pub/www/doc/classes/NanoSystem.src/M000128.html +30 -0
  681. data/pub/www/doc/classes/NanoSystem.src/M000129.html +30 -0
  682. data/pub/www/doc/classes/NanoSystem.src/M000130.html +30 -0
  683. data/pub/www/doc/classes/NanoSystem.src/M000132.html +42 -0
  684. data/pub/www/doc/classes/NanoSystem.src/M000133.html +39 -0
  685. data/pub/www/doc/classes/NilClass.html +240 -0
  686. data/pub/www/doc/classes/NilClass.src/M000194.html +28 -0
  687. data/pub/www/doc/classes/NilClass.src/M000195.html +30 -0
  688. data/pub/www/doc/classes/NilClass.src/M000196.html +28 -0
  689. data/pub/www/doc/classes/NilClass.src/M000197.html +28 -0
  690. data/pub/www/doc/classes/NilClass.src/M000198.html +28 -0
  691. data/pub/www/doc/classes/NilClass.src/M000199.html +30 -0
  692. data/pub/www/doc/classes/NilClass.src/M000200.html +28 -0
  693. data/pub/www/doc/classes/NilClass.src/M000201.html +28 -0
  694. data/pub/www/doc/classes/NilClass.src/M000202.html +30 -0
  695. data/pub/www/doc/classes/Numeric.html +223 -0
  696. data/pub/www/doc/classes/Numeric.src/M000180.html +30 -0
  697. data/pub/www/doc/classes/Numeric.src/M000181.html +30 -0
  698. data/pub/www/doc/classes/Numeric.src/M000182.html +30 -0
  699. data/pub/www/doc/classes/Numeric.src/M000183.html +30 -0
  700. data/pub/www/doc/classes/Numeric.src/M000184.html +31 -0
  701. data/pub/www/doc/classes/Numeric.src/M000185.html +30 -0
  702. data/pub/www/doc/classes/Numeric.src/M000186.html +32 -0
  703. data/pub/www/doc/classes/Numeric.src/M000187.html +31 -0
  704. data/pub/www/doc/classes/Object.html +665 -0
  705. data/pub/www/doc/classes/Object.src/M000235.html +32 -0
  706. data/pub/www/doc/classes/Object.src/M000236.html +30 -0
  707. data/pub/www/doc/classes/Object.src/M000237.html +38 -0
  708. data/pub/www/doc/classes/Object.src/M000238.html +30 -0
  709. data/pub/www/doc/classes/Object.src/M000239.html +33 -0
  710. data/pub/www/doc/classes/Object.src/M000241.html +33 -0
  711. data/pub/www/doc/classes/Object.src/M000242.html +30 -0
  712. data/pub/www/doc/classes/Object.src/M000243.html +31 -0
  713. data/pub/www/doc/classes/Object.src/M000244.html +41 -0
  714. data/pub/www/doc/classes/Object.src/M000245.html +31 -0
  715. data/pub/www/doc/classes/Object.src/M000246.html +34 -0
  716. data/pub/www/doc/classes/Object.src/M000247.html +31 -0
  717. data/pub/www/doc/classes/Object.src/M000248.html +30 -0
  718. data/pub/www/doc/classes/Object.src/M000249.html +32 -0
  719. data/pub/www/doc/classes/Object.src/M000250.html +31 -0
  720. data/pub/www/doc/classes/Object.src/M000251.html +30 -0
  721. data/pub/www/doc/classes/Object.src/M000252.html +30 -0
  722. data/pub/www/doc/classes/Object.src/M000253.html +31 -0
  723. data/pub/www/doc/classes/Object.src/M000254.html +30 -0
  724. data/pub/www/doc/classes/Object.src/M000255.html +30 -0
  725. data/pub/www/doc/classes/Object.src/M000256.html +52 -0
  726. data/pub/www/doc/classes/Object.src/M000257.html +30 -0
  727. data/pub/www/doc/classes/Object.src/M000258.html +32 -0
  728. data/pub/www/doc/classes/Object.src/M000259.html +30 -0
  729. data/pub/www/doc/classes/Object.src/M000260.html +30 -0
  730. data/pub/www/doc/classes/Object.src/M000261.html +30 -0
  731. data/pub/www/doc/classes/Object.src/M000262.html +30 -0
  732. data/pub/www/doc/classes/Object.src/M000263.html +30 -0
  733. data/pub/www/doc/classes/OpenStruct.html +154 -0
  734. data/pub/www/doc/classes/OpenStruct.src/M000213.html +34 -0
  735. data/pub/www/doc/classes/OpenStruct.src/M000214.html +32 -0
  736. data/pub/www/doc/classes/OpenStruct.src/M000215.html +31 -0
  737. data/pub/www/doc/classes/Pathname.html +126 -0
  738. data/pub/www/doc/classes/Pathname.src/M000233.html +33 -0
  739. data/pub/www/doc/classes/Pathname.src/M000234.html +34 -0
  740. data/pub/www/doc/classes/Proc.html +143 -0
  741. data/pub/www/doc/classes/Proc.src/M000137.html +32 -0
  742. data/pub/www/doc/classes/Range.html +188 -0
  743. data/pub/www/doc/classes/Range.src/M000002.html +35 -0
  744. data/pub/www/doc/classes/Range.src/M000003.html +32 -0
  745. data/pub/www/doc/classes/Range.src/M000004.html +30 -0
  746. data/pub/www/doc/classes/Range.src/M000005.html +30 -0
  747. data/pub/www/doc/classes/Regexp.html +155 -0
  748. data/pub/www/doc/classes/Regexp.src/M000028.html +30 -0
  749. data/pub/www/doc/classes/Regexp.src/M000029.html +30 -0
  750. data/pub/www/doc/classes/Regexp.src/M000030.html +30 -0
  751. data/pub/www/doc/classes/ScriptBug.html +92 -0
  752. data/pub/www/doc/classes/String.html +1672 -0
  753. data/pub/www/doc/classes/String.src/M000264.html +30 -0
  754. data/pub/www/doc/classes/String.src/M000265.html +40 -0
  755. data/pub/www/doc/classes/String.src/M000266.html +30 -0
  756. data/pub/www/doc/classes/String.src/M000267.html +32 -0
  757. data/pub/www/doc/classes/String.src/M000268.html +30 -0
  758. data/pub/www/doc/classes/String.src/M000269.html +34 -0
  759. data/pub/www/doc/classes/String.src/M000271.html +31 -0
  760. data/pub/www/doc/classes/String.src/M000272.html +30 -0
  761. data/pub/www/doc/classes/String.src/M000273.html +34 -0
  762. data/pub/www/doc/classes/String.src/M000274.html +40 -0
  763. data/pub/www/doc/classes/String.src/M000275.html +30 -0
  764. data/pub/www/doc/classes/String.src/M000276.html +30 -0
  765. data/pub/www/doc/classes/String.src/M000277.html +37 -0
  766. data/pub/www/doc/classes/String.src/M000278.html +42 -0
  767. data/pub/www/doc/classes/String.src/M000279.html +32 -0
  768. data/pub/www/doc/classes/String.src/M000280.html +31 -0
  769. data/pub/www/doc/classes/String.src/M000281.html +34 -0
  770. data/pub/www/doc/classes/String.src/M000282.html +36 -0
  771. data/pub/www/doc/classes/String.src/M000283.html +30 -0
  772. data/pub/www/doc/classes/String.src/M000284.html +36 -0
  773. data/pub/www/doc/classes/String.src/M000285.html +34 -0
  774. data/pub/www/doc/classes/String.src/M000287.html +39 -0
  775. data/pub/www/doc/classes/String.src/M000288.html +83 -0
  776. data/pub/www/doc/classes/String.src/M000290.html +30 -0
  777. data/pub/www/doc/classes/String.src/M000291.html +36 -0
  778. data/pub/www/doc/classes/String.src/M000292.html +30 -0
  779. data/pub/www/doc/classes/String.src/M000293.html +38 -0
  780. data/pub/www/doc/classes/String.src/M000294.html +32 -0
  781. data/pub/www/doc/classes/String.src/M000295.html +30 -0
  782. data/pub/www/doc/classes/String.src/M000296.html +30 -0
  783. data/pub/www/doc/classes/String.src/M000297.html +30 -0
  784. data/pub/www/doc/classes/String.src/M000298.html +30 -0
  785. data/pub/www/doc/classes/String.src/M000299.html +30 -0
  786. data/pub/www/doc/classes/String.src/M000300.html +30 -0
  787. data/pub/www/doc/classes/String.src/M000301.html +30 -0
  788. data/pub/www/doc/classes/String.src/M000302.html +30 -0
  789. data/pub/www/doc/classes/String.src/M000303.html +30 -0
  790. data/pub/www/doc/classes/String.src/M000304.html +30 -0
  791. data/pub/www/doc/classes/String.src/M000305.html +32 -0
  792. data/pub/www/doc/classes/String.src/M000306.html +30 -0
  793. data/pub/www/doc/classes/String.src/M000307.html +32 -0
  794. data/pub/www/doc/classes/String.src/M000308.html +31 -0
  795. data/pub/www/doc/classes/String.src/M000309.html +30 -0
  796. data/pub/www/doc/classes/String.src/M000310.html +31 -0
  797. data/pub/www/doc/classes/String.src/M000312.html +32 -0
  798. data/pub/www/doc/classes/String.src/M000313.html +40 -0
  799. data/pub/www/doc/classes/String.src/M000314.html +31 -0
  800. data/pub/www/doc/classes/String.src/M000316.html +33 -0
  801. data/pub/www/doc/classes/String.src/M000317.html +37 -0
  802. data/pub/www/doc/classes/String.src/M000318.html +30 -0
  803. data/pub/www/doc/classes/String.src/M000319.html +32 -0
  804. data/pub/www/doc/classes/String.src/M000320.html +33 -0
  805. data/pub/www/doc/classes/String.src/M000321.html +34 -0
  806. data/pub/www/doc/classes/String.src/M000322.html +34 -0
  807. data/pub/www/doc/classes/String.src/M000323.html +30 -0
  808. data/pub/www/doc/classes/String.src/M000324.html +34 -0
  809. data/pub/www/doc/classes/String.src/M000325.html +34 -0
  810. data/pub/www/doc/classes/String.src/M000326.html +30 -0
  811. data/pub/www/doc/classes/String.src/M000327.html +32 -0
  812. data/pub/www/doc/classes/String.src/M000328.html +42 -0
  813. data/pub/www/doc/classes/String.src/M000329.html +34 -0
  814. data/pub/www/doc/classes/String.src/M000330.html +30 -0
  815. data/pub/www/doc/classes/String.src/M000331.html +35 -0
  816. data/pub/www/doc/classes/String.src/M000332.html +30 -0
  817. data/pub/www/doc/classes/String.src/M000333.html +31 -0
  818. data/pub/www/doc/classes/String.src/M000334.html +43 -0
  819. data/pub/www/doc/classes/String.src/M000335.html +30 -0
  820. data/pub/www/doc/classes/String.src/M000336.html +30 -0
  821. data/pub/www/doc/classes/String.src/M000337.html +30 -0
  822. data/pub/www/doc/classes/String.src/M000338.html +32 -0
  823. data/pub/www/doc/classes/String.src/M000339.html +30 -0
  824. data/pub/www/doc/classes/String.src/M000340.html +44 -0
  825. data/pub/www/doc/classes/String.src/M000341.html +31 -0
  826. data/pub/www/doc/classes/String.src/M000342.html +35 -0
  827. data/pub/www/doc/classes/String.src/M000343.html +39 -0
  828. data/pub/www/doc/classes/String.src/M000344.html +51 -0
  829. data/pub/www/doc/classes/String.src/M000345.html +30 -0
  830. data/pub/www/doc/classes/String.src/M000346.html +36 -0
  831. data/pub/www/doc/classes/String.src/M000347.html +30 -0
  832. data/pub/www/doc/classes/String.src/M000348.html +40 -0
  833. data/pub/www/doc/classes/String.src/M000349.html +36 -0
  834. data/pub/www/doc/classes/String.src/M000350.html +30 -0
  835. data/pub/www/doc/classes/String.src/M000352.html +33 -0
  836. data/pub/www/doc/classes/String.src/M000353.html +33 -0
  837. data/pub/www/doc/classes/String.src/M000354.html +30 -0
  838. data/pub/www/doc/classes/String.src/M000355.html +69 -0
  839. data/pub/www/doc/classes/String.src/M000356.html +30 -0
  840. data/pub/www/doc/classes/String.src/M000357.html +30 -0
  841. data/pub/www/doc/classes/Symbol.html +269 -0
  842. data/pub/www/doc/classes/Symbol.src/M000015.html +30 -0
  843. data/pub/www/doc/classes/Symbol.src/M000016.html +30 -0
  844. data/pub/www/doc/classes/Symbol.src/M000017.html +30 -0
  845. data/pub/www/doc/classes/Symbol.src/M000018.html +30 -0
  846. data/pub/www/doc/classes/Symbol.src/M000019.html +30 -0
  847. data/pub/www/doc/classes/Symbol.src/M000020.html +30 -0
  848. data/pub/www/doc/classes/Symbol.src/M000021.html +30 -0
  849. data/pub/www/doc/classes/Symbol.src/M000022.html +34 -0
  850. data/pub/www/doc/classes/Symbol.src/M000023.html +38 -0
  851. data/pub/www/doc/classes/Symbol.src/M000024.html +30 -0
  852. data/pub/www/doc/classes/Symbol.src/M000025.html +30 -0
  853. data/pub/www/doc/classes/Symbol.src/M000026.html +30 -0
  854. data/pub/www/doc/classes/Symbol.src/M000027.html +30 -0
  855. data/pub/www/doc/classes/Time.html +198 -0
  856. data/pub/www/doc/classes/Time.src/M000031.html +39 -0
  857. data/pub/www/doc/classes/Time.src/M000032.html +31 -0
  858. data/pub/www/doc/classes/Time.src/M000033.html +34 -0
  859. data/pub/www/doc/classes/Time.src/M000034.html +43 -0
  860. data/pub/www/doc/classes/Time.src/M000035.html +30 -0
  861. data/pub/www/doc/classes/Time.src/M000036.html +33 -0
  862. data/pub/www/doc/classes/TrueClass.html +105 -0
  863. data/pub/www/doc/classes/TrueClass.src/M000358.html +30 -0
  864. data/pub/www/doc/created.rid +1 -0
  865. data/pub/www/doc/files/COPYING.html +155 -0
  866. data/pub/www/doc/files/README.html +311 -0
  867. data/pub/www/doc/files/lib/nano/array/%5B%5D%3D_rb.html +96 -0
  868. data/pub/www/doc/files/lib/nano/array/%5B%5D_rb.html +92 -0
  869. data/pub/www/doc/files/lib/nano/array/at_rand%21_rb.html +92 -0
  870. data/pub/www/doc/files/lib/nano/array/at_rand_rb.html +92 -0
  871. data/pub/www/doc/files/lib/nano/array/bulk_rb.html +92 -0
  872. data/pub/www/doc/files/lib/nano/array/delete_unless_rb.html +96 -0
  873. data/pub/www/doc/files/lib/nano/array/delete_values_at_rb.html +92 -0
  874. data/pub/www/doc/files/lib/nano/array/delete_values_rb.html +92 -0
  875. data/pub/www/doc/files/lib/nano/array/first%21_rb.html +96 -0
  876. data/pub/www/doc/files/lib/nano/array/first%3D_rb.html +96 -0
  877. data/pub/www/doc/files/lib/nano/array/foot_rb.html +96 -0
  878. data/pub/www/doc/files/lib/nano/array/head_rb.html +92 -0
  879. data/pub/www/doc/files/lib/nano/array/last%21_rb.html +96 -0
  880. data/pub/www/doc/files/lib/nano/array/last%3D_rb.html +96 -0
  881. data/pub/www/doc/files/lib/nano/array/last_index_rb.html +92 -0
  882. data/pub/www/doc/files/lib/nano/array/mid_rb.html +92 -0
  883. data/pub/www/doc/files/lib/nano/array/middle_rb.html +92 -0
  884. data/pub/www/doc/files/lib/nano/array/pick%21_rb.html +96 -0
  885. data/pub/www/doc/files/lib/nano/array/pick_rb.html +96 -0
  886. data/pub/www/doc/files/lib/nano/array/pos_rb.html +92 -0
  887. data/pub/www/doc/files/lib/nano/array/rand_index_rb.html +92 -0
  888. data/pub/www/doc/files/lib/nano/array/rand_subset_rb.html +92 -0
  889. data/pub/www/doc/files/lib/nano/array/range_rb.html +92 -0
  890. data/pub/www/doc/files/lib/nano/array/rotate%21_rb.html +92 -0
  891. data/pub/www/doc/files/lib/nano/array/rotate_rb.html +96 -0
  892. data/pub/www/doc/files/lib/nano/array/select%21_rb.html +92 -0
  893. data/pub/www/doc/files/lib/nano/array/shuffle%21_rb.html +96 -0
  894. data/pub/www/doc/files/lib/nano/array/shuffle_rb.html +96 -0
  895. data/pub/www/doc/files/lib/nano/array/slap_rb.html +92 -0
  896. data/pub/www/doc/files/lib/nano/array/store_rb.html +92 -0
  897. data/pub/www/doc/files/lib/nano/array/tail_rb.html +92 -0
  898. data/pub/www/doc/files/lib/nano/array/thru_rb.html +92 -0
  899. data/pub/www/doc/files/lib/nano/array/to_b_rb.html +92 -0
  900. data/pub/www/doc/files/lib/nano/array/to_h_rb.html +92 -0
  901. data/pub/www/doc/files/lib/nano/array_rb.html +127 -0
  902. data/pub/www/doc/files/lib/nano/base_rb.html +124 -0
  903. data/pub/www/doc/files/lib/nano/binding/%3A%3Aof_caller_rb.html +96 -0
  904. data/pub/www/doc/files/lib/nano/binding/%5B%5D%3D_rb.html +96 -0
  905. data/pub/www/doc/files/lib/nano/binding/%5B%5D_rb.html +96 -0
  906. data/pub/www/doc/files/lib/nano/binding/__DIR___rb.html +96 -0
  907. data/pub/www/doc/files/lib/nano/binding/__FILE___rb.html +96 -0
  908. data/pub/www/doc/files/lib/nano/binding/__LINE___rb.html +96 -0
  909. data/pub/www/doc/files/lib/nano/binding/call_stack_rb.html +97 -0
  910. data/pub/www/doc/files/lib/nano/binding/called_rb.html +96 -0
  911. data/pub/www/doc/files/lib/nano/binding/caller_rb.html +96 -0
  912. data/pub/www/doc/files/lib/nano/binding/defined%3F_rb.html +96 -0
  913. data/pub/www/doc/files/lib/nano/binding/eval_rb.html +92 -0
  914. data/pub/www/doc/files/lib/nano/binding/local_variables_rb.html +96 -0
  915. data/pub/www/doc/files/lib/nano/binding/method_name_rb.html +96 -0
  916. data/pub/www/doc/files/lib/nano/binding/of_caller_rb.html +96 -0
  917. data/pub/www/doc/files/lib/nano/binding/self_rb.html +96 -0
  918. data/pub/www/doc/files/lib/nano/binding_rb.html +109 -0
  919. data/pub/www/doc/files/lib/nano/class/by_name_rb.html +96 -0
  920. data/pub/www/doc/files/lib/nano/class/descendents_rb.html +92 -0
  921. data/pub/www/doc/files/lib/nano/class/remove_descendents_rb.html +96 -0
  922. data/pub/www/doc/files/lib/nano/class/remove_subclasses_rb.html +96 -0
  923. data/pub/www/doc/files/lib/nano/class/subclasses_rb.html +96 -0
  924. data/pub/www/doc/files/lib/nano/class_rb.html +100 -0
  925. data/pub/www/doc/files/lib/nano/comparable/at_least_rb.html +92 -0
  926. data/pub/www/doc/files/lib/nano/comparable/at_most_rb.html +92 -0
  927. data/pub/www/doc/files/lib/nano/comparable/cap_rb.html +92 -0
  928. data/pub/www/doc/files/lib/nano/comparable/clip_rb.html +92 -0
  929. data/pub/www/doc/files/lib/nano/comparable/cmp_rb.html +92 -0
  930. data/pub/www/doc/files/lib/nano/comparable_rb.html +100 -0
  931. data/pub/www/doc/files/lib/nano/continuation/%3A%3Acreate_rb.html +146 -0
  932. data/pub/www/doc/files/lib/nano/continuation_rb.html +96 -0
  933. data/pub/www/doc/files/lib/nano/date/days_in_month_rb.html +96 -0
  934. data/pub/www/doc/files/lib/nano/date/days_of_month_rb.html +96 -0
  935. data/pub/www/doc/files/lib/nano/date/stamp_rb.html +96 -0
  936. data/pub/www/doc/files/lib/nano/date/to_date_rb.html +96 -0
  937. data/pub/www/doc/files/lib/nano/date/to_s_rb.html +96 -0
  938. data/pub/www/doc/files/lib/nano/date/to_time_rb.html +96 -0
  939. data/pub/www/doc/files/lib/nano/date_rb.html +101 -0
  940. data/pub/www/doc/files/lib/nano/dir/%3A%3Als_r_rb.html +92 -0
  941. data/pub/www/doc/files/lib/nano/dir/%3A%3Arecurse_rb.html +96 -0
  942. data/pub/www/doc/files/lib/nano/dir_rb.html +97 -0
  943. data/pub/www/doc/files/lib/nano/enumerable/%25_rb.html +96 -0
  944. data/pub/www/doc/files/lib/nano/enumerable/%2A%2A_rb.html +96 -0
  945. data/pub/www/doc/files/lib/nano/enumerable/%3A%3Acombinations_rb.html +92 -0
  946. data/pub/www/doc/files/lib/nano/enumerable/%3A%3Across_rb.html +96 -0
  947. data/pub/www/doc/files/lib/nano/enumerable/collect_with_counter_rb.html +92 -0
  948. data/pub/www/doc/files/lib/nano/enumerable/collect_with_index_rb.html +96 -0
  949. data/pub/www/doc/files/lib/nano/enumerable/commonality_rb.html +92 -0
  950. data/pub/www/doc/files/lib/nano/enumerable/compact_collect_rb.html +96 -0
  951. data/pub/www/doc/files/lib/nano/enumerable/compact_map_rb.html +96 -0
  952. data/pub/www/doc/files/lib/nano/enumerable/cross_rb.html +96 -0
  953. data/pub/www/doc/files/lib/nano/enumerable/eF_rb.html +96 -0
  954. data/pub/www/doc/files/lib/nano/enumerable/each_by_rb.html +96 -0
  955. data/pub/www/doc/files/lib/nano/enumerable/each_combination_rb.html +92 -0
  956. data/pub/www/doc/files/lib/nano/enumerable/each_permutation_rb.html +92 -0
  957. data/pub/www/doc/files/lib/nano/enumerable/each_slice_rb.html +92 -0
  958. data/pub/www/doc/files/lib/nano/enumerable/each_unique_pair_rb.html +96 -0
  959. data/pub/www/doc/files/lib/nano/enumerable/entropy_rb.html +97 -0
  960. data/pub/www/doc/files/lib/nano/enumerable/filter_collect_rb.html +92 -0
  961. data/pub/www/doc/files/lib/nano/enumerable/filter_map_rb.html +96 -0
  962. data/pub/www/doc/files/lib/nano/enumerable/find_collisions_rb.html +96 -0
  963. data/pub/www/doc/files/lib/nano/enumerable/frequency_rb.html +92 -0
  964. data/pub/www/doc/files/lib/nano/enumerable/graph_rb.html +92 -0
  965. data/pub/www/doc/files/lib/nano/enumerable/ideal_entropy_rb.html +92 -0
  966. data/pub/www/doc/files/lib/nano/enumerable/map_with_counter_rb.html +96 -0
  967. data/pub/www/doc/files/lib/nano/enumerable/map_with_index_rb.html +96 -0
  968. data/pub/www/doc/files/lib/nano/enumerable/none%3F_rb.html +92 -0
  969. data/pub/www/doc/files/lib/nano/enumerable/occur_rb.html +92 -0
  970. data/pub/www/doc/files/lib/nano/enumerable/one%3F_rb.html +92 -0
  971. data/pub/www/doc/files/lib/nano/enumerable/partition_by_rb.html +92 -0
  972. data/pub/www/doc/files/lib/nano/enumerable/probability_rb.html +92 -0
  973. data/pub/www/doc/files/lib/nano/enumerable/to_h_rb.html +92 -0
  974. data/pub/www/doc/files/lib/nano/enumerable/unique_by_rb.html +92 -0
  975. data/pub/www/doc/files/lib/nano/enumerable_rb.html +127 -0
  976. data/pub/www/doc/files/lib/nano/file/%3A%3Acreate_rb.html +92 -0
  977. data/pub/www/doc/files/lib/nano/file/%3A%3Aopen_as_string_rb.html +120 -0
  978. data/pub/www/doc/files/lib/nano/file/%3A%3Asplit_all_rb.html +101 -0
  979. data/pub/www/doc/files/lib/nano/file_rb.html +98 -0
  980. data/pub/www/doc/files/lib/nano/fileutils/head_rb.html +96 -0
  981. data/pub/www/doc/files/lib/nano/fileutils/safe_ln_rb.html +96 -0
  982. data/pub/www/doc/files/lib/nano/fileutils/slice_rb.html +96 -0
  983. data/pub/www/doc/files/lib/nano/fileutils/tail_rb.html +96 -0
  984. data/pub/www/doc/files/lib/nano/fileutils/wc_rb.html +96 -0
  985. data/pub/www/doc/files/lib/nano/fileutils/whereis_rb.html +96 -0
  986. data/pub/www/doc/files/lib/nano/fileutils/which_rb.html +96 -0
  987. data/pub/www/doc/files/lib/nano/fileutils_rb.html +102 -0
  988. data/pub/www/doc/files/lib/nano/float/approx?_rb.html +96 -0
  989. data/pub/www/doc/files/lib/nano/float/round_at_rb.html +96 -0
  990. data/pub/www/doc/files/lib/nano/float/round_off_rb.html +92 -0
  991. data/pub/www/doc/files/lib/nano/float/round_to_rb.html +96 -0
  992. data/pub/www/doc/files/lib/nano/float_rb.html +99 -0
  993. data/pub/www/doc/files/lib/nano/full_rb.html +448 -0
  994. data/pub/www/doc/files/lib/nano/hash/%3A%3Azipnew_rb.html +92 -0
  995. data/pub/www/doc/files/lib/nano/hash/%3C%3C_rb.html +92 -0
  996. data/pub/www/doc/files/lib/nano/hash/%5B%5D%3D_rb.html +96 -0
  997. data/pub/www/doc/files/lib/nano/hash/%5B%5D_rb.html +96 -0
  998. data/pub/www/doc/files/lib/nano/hash/alias%21_rb.html +92 -0
  999. data/pub/www/doc/files/lib/nano/hash/assert_has_keys_rb.html +92 -0
  1000. data/pub/www/doc/files/lib/nano/hash/assert_has_only_keys_rb.html +92 -0
  1001. data/pub/www/doc/files/lib/nano/hash/at_rb.html +92 -0
  1002. data/pub/www/doc/files/lib/nano/hash/collate%21_rb.html +96 -0
  1003. data/pub/www/doc/files/lib/nano/hash/collate_rb.html +96 -0
  1004. data/pub/www/doc/files/lib/nano/hash/delete_unless_rb.html +96 -0
  1005. data/pub/www/doc/files/lib/nano/hash/each_rb.html +92 -0
  1006. data/pub/www/doc/files/lib/nano/hash/graph%21_rb.html +96 -0
  1007. data/pub/www/doc/files/lib/nano/hash/has_keys%3F_rb.html +92 -0
  1008. data/pub/www/doc/files/lib/nano/hash/has_only_keys%3F_rb.html +92 -0
  1009. data/pub/www/doc/files/lib/nano/hash/inverse_rb.html +92 -0
  1010. data/pub/www/doc/files/lib/nano/hash/join_rb.html +92 -0
  1011. data/pub/www/doc/files/lib/nano/hash/keys_to_s%21_rb.html +96 -0
  1012. data/pub/www/doc/files/lib/nano/hash/keys_to_s_rb.html +96 -0
  1013. data/pub/www/doc/files/lib/nano/hash/keys_to_sym%21_rb.html +96 -0
  1014. data/pub/www/doc/files/lib/nano/hash/keys_to_sym_rb.html +96 -0
  1015. data/pub/www/doc/files/lib/nano/hash/rand_key_rb.html +92 -0
  1016. data/pub/www/doc/files/lib/nano/hash/rand_pair_rb.html +92 -0
  1017. data/pub/www/doc/files/lib/nano/hash/rand_value_rb.html +92 -0
  1018. data/pub/www/doc/files/lib/nano/hash/replace_each_rb.html +92 -0
  1019. data/pub/www/doc/files/lib/nano/hash/shuffle%21_rb.html +96 -0
  1020. data/pub/www/doc/files/lib/nano/hash/shuffle_rb.html +96 -0
  1021. data/pub/www/doc/files/lib/nano/hash/slice_rb.html +92 -0
  1022. data/pub/www/doc/files/lib/nano/hash/swap%21_rb.html +92 -0
  1023. data/pub/www/doc/files/lib/nano/hash/swapkey%21_rb.html +92 -0
  1024. data/pub/www/doc/files/lib/nano/hash/to_h_rb.html +92 -0
  1025. data/pub/www/doc/files/lib/nano/hash/to_ostruct_rb.html +96 -0
  1026. data/pub/www/doc/files/lib/nano/hash/to_ostruct_recurse_rb.html +96 -0
  1027. data/pub/www/doc/files/lib/nano/hash/traverse%21_rb.html +96 -0
  1028. data/pub/www/doc/files/lib/nano/hash/traverse_rb.html +96 -0
  1029. data/pub/www/doc/files/lib/nano/hash/update_each_rb.html +92 -0
  1030. data/pub/www/doc/files/lib/nano/hash/weave_rb.html +92 -0
  1031. data/pub/www/doc/files/lib/nano/hash_rb.html +129 -0
  1032. data/pub/www/doc/files/lib/nano/inflect_rb.html +117 -0
  1033. data/pub/www/doc/files/lib/nano/integer/even%3F_rb.html +96 -0
  1034. data/pub/www/doc/files/lib/nano/integer/fact_rb.html +96 -0
  1035. data/pub/www/doc/files/lib/nano/integer/factorial_rb.html +92 -0
  1036. data/pub/www/doc/files/lib/nano/integer/multiple%3F_rb.html +92 -0
  1037. data/pub/www/doc/files/lib/nano/integer/odd%3F_rb.html +96 -0
  1038. data/pub/www/doc/files/lib/nano/integer/ordinal_rb.html +92 -0
  1039. data/pub/www/doc/files/lib/nano/integer/times_collect_rb.html +92 -0
  1040. data/pub/www/doc/files/lib/nano/integer/times_map_rb.html +96 -0
  1041. data/pub/www/doc/files/lib/nano/integer_rb.html +103 -0
  1042. data/pub/www/doc/files/lib/nano/kernel/__require___rb.html +92 -0
  1043. data/pub/www/doc/files/lib/nano/kernel/autoreload_glob_rb.html +92 -0
  1044. data/pub/www/doc/files/lib/nano/kernel/autoreload_rb.html +92 -0
  1045. data/pub/www/doc/files/lib/nano/kernel/bug%21_rb.html +92 -0
  1046. data/pub/www/doc/files/lib/nano/kernel/call_stack_rb.html +92 -0
  1047. data/pub/www/doc/files/lib/nano/kernel/called_rb.html +92 -0
  1048. data/pub/www/doc/files/lib/nano/kernel/demo_rb.html +92 -0
  1049. data/pub/www/doc/files/lib/nano/kernel/fn_rb.html +92 -0
  1050. data/pub/www/doc/files/lib/nano/kernel/get_by_id_rb.html +92 -0
  1051. data/pub/www/doc/files/lib/nano/kernel/here_rb.html +92 -0
  1052. data/pub/www/doc/files/lib/nano/kernel/maybe_rb.html +92 -0
  1053. data/pub/www/doc/files/lib/nano/kernel/method_name_rb.html +92 -0
  1054. data/pub/www/doc/files/lib/nano/kernel/nack_rb.html +98 -0
  1055. data/pub/www/doc/files/lib/nano/kernel/p_rb.html +92 -0
  1056. data/pub/www/doc/files/lib/nano/kernel/require_all_rb.html +92 -0
  1057. data/pub/www/doc/files/lib/nano/kernel/require_esc_rb.html +96 -0
  1058. data/pub/www/doc/files/lib/nano/kernel/require_local_rb.html +92 -0
  1059. data/pub/www/doc/files/lib/nano/kernel/require_nano_rb.html +96 -0
  1060. data/pub/www/doc/files/lib/nano/kernel/resc_rb.html +92 -0
  1061. data/pub/www/doc/files/lib/nano/kernel/returning_rb.html +92 -0
  1062. data/pub/www/doc/files/lib/nano/kernel/silence_warnings_rb.html +96 -0
  1063. data/pub/www/doc/files/lib/nano/kernel/silently_rb.html +92 -0
  1064. data/pub/www/doc/files/lib/nano/kernel/warn_with_line_rb.html +92 -0
  1065. data/pub/www/doc/files/lib/nano/kernel_rb.html +118 -0
  1066. data/pub/www/doc/files/lib/nano/logger/format_message_rb.html +97 -0
  1067. data/pub/www/doc/files/lib/nano/logger/format_rb.html +97 -0
  1068. data/pub/www/doc/files/lib/nano/matchdata/match_rb.html +92 -0
  1069. data/pub/www/doc/files/lib/nano/matchdata/matchset_rb.html +96 -0
  1070. data/pub/www/doc/files/lib/nano/matchdata/matchtree_rb.html +92 -0
  1071. data/pub/www/doc/files/lib/nano/matchdata_rb.html +98 -0
  1072. data/pub/www/doc/files/lib/nano/module/abstract_rb.html +105 -0
  1073. data/pub/www/doc/files/lib/nano/module/alias_module_function_rb.html +92 -0
  1074. data/pub/www/doc/files/lib/nano/module/attr_setter_rb.html +92 -0
  1075. data/pub/www/doc/files/lib/nano/module/attr_tester_rb.html +96 -0
  1076. data/pub/www/doc/files/lib/nano/module/basename_rb.html +92 -0
  1077. data/pub/www/doc/files/lib/nano/module/by_name_rb.html +96 -0
  1078. data/pub/www/doc/files/lib/nano/module/cattr_accessor_rb.html +97 -0
  1079. data/pub/www/doc/files/lib/nano/module/cattr_reader_rb.html +97 -0
  1080. data/pub/www/doc/files/lib/nano/module/cattr_writer_rb.html +97 -0
  1081. data/pub/www/doc/files/lib/nano/module/clone_removing_rb.html +92 -0
  1082. data/pub/www/doc/files/lib/nano/module/clone_renaming_rb.html +92 -0
  1083. data/pub/www/doc/files/lib/nano/module/clone_using_rb.html +92 -0
  1084. data/pub/www/doc/files/lib/nano/module/dirname_rb.html +92 -0
  1085. data/pub/www/doc/files/lib/nano/module/equate_on_rb.html +92 -0
  1086. data/pub/www/doc/files/lib/nano/module/generate_instance_method_name_rb.html +92 -0
  1087. data/pub/www/doc/files/lib/nano/module/include_as_rb.html +96 -0
  1088. data/pub/www/doc/files/lib/nano/module/initializer_rb.html +92 -0
  1089. data/pub/www/doc/files/lib/nano/module/instance_methods_rb.html +96 -0
  1090. data/pub/www/doc/files/lib/nano/module/integrate_rb.html +100 -0
  1091. data/pub/www/doc/files/lib/nano/module/memoize_rb.html +92 -0
  1092. data/pub/www/doc/files/lib/nano/module/modspace_rb.html +97 -0
  1093. data/pub/www/doc/files/lib/nano/module/namespace_rb.html +96 -0
  1094. data/pub/www/doc/files/lib/nano/module/redef_rb.html +96 -0
  1095. data/pub/www/doc/files/lib/nano/module/redefine_method_rb.html +92 -0
  1096. data/pub/www/doc/files/lib/nano/module/redirect_method_rb.html +92 -0
  1097. data/pub/www/doc/files/lib/nano/module/redirect_rb.html +96 -0
  1098. data/pub/www/doc/files/lib/nano/module/remove_rb.html +92 -0
  1099. data/pub/www/doc/files/lib/nano/module/rename_method_rb.html +92 -0
  1100. data/pub/www/doc/files/lib/nano/module/rename_rb.html +96 -0
  1101. data/pub/www/doc/files/lib/nano/module/sattr_accessor_rb.html +96 -0
  1102. data/pub/www/doc/files/lib/nano/module/sattr_rb.html +97 -0
  1103. data/pub/www/doc/files/lib/nano/module/sattr_reader_rb.html +96 -0
  1104. data/pub/www/doc/files/lib/nano/module/sattr_setter_rb.html +96 -0
  1105. data/pub/www/doc/files/lib/nano/module/sattr_tester_rb.html +96 -0
  1106. data/pub/www/doc/files/lib/nano/module/sattr_writer_rb.html +96 -0
  1107. data/pub/www/doc/files/lib/nano/module/sort_on_rb.html +92 -0
  1108. data/pub/www/doc/files/lib/nano/module/undef_rb.html +92 -0
  1109. data/pub/www/doc/files/lib/nano/module/wrap_method_rb.html +92 -0
  1110. data/pub/www/doc/files/lib/nano/module/wrap_rb.html +96 -0
  1111. data/pub/www/doc/files/lib/nano/module_rb.html +129 -0
  1112. data/pub/www/doc/files/lib/nano/nil_as_emptiness_rb.html +117 -0
  1113. data/pub/www/doc/files/lib/nano/nilclass/%5B%5D_rb.html +92 -0
  1114. data/pub/www/doc/files/lib/nano/nilclass/empty%3F_rb.html +92 -0
  1115. data/pub/www/doc/files/lib/nano/nilclass/include%3F_rb.html +92 -0
  1116. data/pub/www/doc/files/lib/nano/nilclass/length_rb.html +96 -0
  1117. data/pub/www/doc/files/lib/nano/nilclass/method_missing_rb.html +92 -0
  1118. data/pub/www/doc/files/lib/nano/nilclass/size_rb.html +96 -0
  1119. data/pub/www/doc/files/lib/nano/nilclass/to_f_rb.html +92 -0
  1120. data/pub/www/doc/files/lib/nano/nilclass/to_h_rb.html +92 -0
  1121. data/pub/www/doc/files/lib/nano/nilclass_rb.html +97 -0
  1122. data/pub/www/doc/files/lib/nano/numeric/ceil_multiple_rb.html +92 -0
  1123. data/pub/www/doc/files/lib/nano/numeric/distance_rb.html +92 -0
  1124. data/pub/www/doc/files/lib/nano/numeric/pred_rb.html +96 -0
  1125. data/pub/www/doc/files/lib/nano/numeric/succ_rb.html +96 -0
  1126. data/pub/www/doc/files/lib/nano/numeric/to_b_rb.html +92 -0
  1127. data/pub/www/doc/files/lib/nano/numeric_rb.html +100 -0
  1128. data/pub/www/doc/files/lib/nano/object/__class___rb.html +92 -0
  1129. data/pub/www/doc/files/lib/nano/object/assign_from_rb.html +96 -0
  1130. data/pub/www/doc/files/lib/nano/object/assign_with_rb.html +96 -0
  1131. data/pub/www/doc/files/lib/nano/object/bool%3F_rb.html +97 -0
  1132. data/pub/www/doc/files/lib/nano/object/constant_rb.html +92 -0
  1133. data/pub/www/doc/files/lib/nano/object/copy_rb.html +92 -0
  1134. data/pub/www/doc/files/lib/nano/object/deep_copy_rb.html +92 -0
  1135. data/pub/www/doc/files/lib/nano/object/false%3F_rb.html +97 -0
  1136. data/pub/www/doc/files/lib/nano/object/generate_method_name_rb.html +92 -0
  1137. data/pub/www/doc/files/lib/nano/object/in%3F_rb.html +92 -0
  1138. data/pub/www/doc/files/lib/nano/object/metaclass_rb.html +92 -0
  1139. data/pub/www/doc/files/lib/nano/object/method%21_rb.html +92 -0
  1140. data/pub/www/doc/files/lib/nano/object/methods_rb.html +96 -0
  1141. data/pub/www/doc/files/lib/nano/object/new_rb.html +92 -0
  1142. data/pub/www/doc/files/lib/nano/object/object_class_rb.html +92 -0
  1143. data/pub/www/doc/files/lib/nano/object/object_hexid_rb.html +92 -0
  1144. data/pub/www/doc/files/lib/nano/object/set_from_rb.html +96 -0
  1145. data/pub/www/doc/files/lib/nano/object/set_with_rb.html +96 -0
  1146. data/pub/www/doc/files/lib/nano/object/singleton_class_rb.html +92 -0
  1147. data/pub/www/doc/files/lib/nano/object/special_class_rb.html +92 -0
  1148. data/pub/www/doc/files/lib/nano/object/super_method_rb.html +92 -0
  1149. data/pub/www/doc/files/lib/nano/object/super_send_rb.html +92 -0
  1150. data/pub/www/doc/files/lib/nano/object/superup_rb.html +96 -0
  1151. data/pub/www/doc/files/lib/nano/object/to_b_rb.html +92 -0
  1152. data/pub/www/doc/files/lib/nano/object/to_bool_rb.html +92 -0
  1153. data/pub/www/doc/files/lib/nano/object/true%3F_rb.html +97 -0
  1154. data/pub/www/doc/files/lib/nano/object/val%3F_rb.html +92 -0
  1155. data/pub/www/doc/files/lib/nano/object/with_accessor_rb.html +97 -0
  1156. data/pub/www/doc/files/lib/nano/object/with_reader_rb.html +97 -0
  1157. data/pub/www/doc/files/lib/nano/object/with_writer_rb.html +97 -0
  1158. data/pub/www/doc/files/lib/nano/object_rb.html +123 -0
  1159. data/pub/www/doc/files/lib/nano/ostruct/%5B%5D%3D_rb.html +96 -0
  1160. data/pub/www/doc/files/lib/nano/ostruct/%5B%5D_rb.html +96 -0
  1161. data/pub/www/doc/files/lib/nano/ostruct/ostruct_update_rb.html +96 -0
  1162. data/pub/www/doc/files/lib/nano/ostruct_rb.html +98 -0
  1163. data/pub/www/doc/files/lib/nano/pathname/ascend_rb.html +96 -0
  1164. data/pub/www/doc/files/lib/nano/pathname/descend_rb.html +96 -0
  1165. data/pub/www/doc/files/lib/nano/pathname_rb.html +97 -0
  1166. data/pub/www/doc/files/lib/nano/proc/%2A_rb.html +96 -0
  1167. data/pub/www/doc/files/lib/nano/proc/compose_rb.html +92 -0
  1168. data/pub/www/doc/files/lib/nano/proc/to_method_rb.html +113 -0
  1169. data/pub/www/doc/files/lib/nano/proc/to_method_rb.src/M000001.html +40 -0
  1170. data/pub/www/doc/files/lib/nano/proc_rb.html +98 -0
  1171. data/pub/www/doc/files/lib/nano/random_rb.html +120 -0
  1172. data/pub/www/doc/files/lib/nano/range/to_r_rb.html +92 -0
  1173. data/pub/www/doc/files/lib/nano/range/to_range_rb.html +92 -0
  1174. data/pub/www/doc/files/lib/nano/range/umbrella_rb.html +92 -0
  1175. data/pub/www/doc/files/lib/nano/range/within%3F_rb.html +96 -0
  1176. data/pub/www/doc/files/lib/nano/range_rb.html +99 -0
  1177. data/pub/www/doc/files/lib/nano/regexp/arity_rb.html +92 -0
  1178. data/pub/www/doc/files/lib/nano/regexp/to_re_rb.html +92 -0
  1179. data/pub/www/doc/files/lib/nano/regexp/to_regexp_rb.html +92 -0
  1180. data/pub/www/doc/files/lib/nano/regexp_rb.html +98 -0
  1181. data/pub/www/doc/files/lib/nano/string/%3A%3Apatterns_rb.html +92 -0
  1182. data/pub/www/doc/files/lib/nano/string/%3A%3Arand_letter_rb.html +92 -0
  1183. data/pub/www/doc/files/lib/nano/string/%3A%3Arandom_rb.html +99 -0
  1184. data/pub/www/doc/files/lib/nano/string/align_center_rb.html +97 -0
  1185. data/pub/www/doc/files/lib/nano/string/align_left_rb.html +97 -0
  1186. data/pub/www/doc/files/lib/nano/string/align_right_rb.html +97 -0
  1187. data/pub/www/doc/files/lib/nano/string/at_rand%21_rb.html +97 -0
  1188. data/pub/www/doc/files/lib/nano/string/at_rand_rb.html +97 -0
  1189. data/pub/www/doc/files/lib/nano/string/at_rb.html +92 -0
  1190. data/pub/www/doc/files/lib/nano/string/basename_rb.html +92 -0
  1191. data/pub/www/doc/files/lib/nano/string/blank%3F_rb.html +92 -0
  1192. data/pub/www/doc/files/lib/nano/string/bracket%21_rb.html +96 -0
  1193. data/pub/www/doc/files/lib/nano/string/bracket_rb.html +96 -0
  1194. data/pub/www/doc/files/lib/nano/string/brief_rb.html +92 -0
  1195. data/pub/www/doc/files/lib/nano/string/bytes_rb.html +92 -0
  1196. data/pub/www/doc/files/lib/nano/string/camelcase_rb.html +92 -0
  1197. data/pub/www/doc/files/lib/nano/string/camelize_rb.html +92 -0
  1198. data/pub/www/doc/files/lib/nano/string/capitalized%3F_rb.html +92 -0
  1199. data/pub/www/doc/files/lib/nano/string/chars_rb.html +92 -0
  1200. data/pub/www/doc/files/lib/nano/string/cmp_rb.html +92 -0
  1201. data/pub/www/doc/files/lib/nano/string/demodulize_rb.html +96 -0
  1202. data/pub/www/doc/files/lib/nano/string/dequote_rb.html +92 -0
  1203. data/pub/www/doc/files/lib/nano/string/downcase%3F_rb.html +92 -0
  1204. data/pub/www/doc/files/lib/nano/string/dresner%21_rb.html +96 -0
  1205. data/pub/www/doc/files/lib/nano/string/dresner_rb.html +92 -0
  1206. data/pub/www/doc/files/lib/nano/string/each_char_rb.html +92 -0
  1207. data/pub/www/doc/files/lib/nano/string/each_word_rb.html +92 -0
  1208. data/pub/www/doc/files/lib/nano/string/first%21_rb.html +97 -0
  1209. data/pub/www/doc/files/lib/nano/string/first%3D_rb.html +96 -0
  1210. data/pub/www/doc/files/lib/nano/string/first_char_rb.html +96 -0
  1211. data/pub/www/doc/files/lib/nano/string/first_rb.html +97 -0
  1212. data/pub/www/doc/files/lib/nano/string/fold_rb.html +92 -0
  1213. data/pub/www/doc/files/lib/nano/string/frequency_rb.html +97 -0
  1214. data/pub/www/doc/files/lib/nano/string/humanize_rb.html +92 -0
  1215. data/pub/www/doc/files/lib/nano/string/indent_rb.html +97 -0
  1216. data/pub/www/doc/files/lib/nano/string/index_all_rb.html +92 -0
  1217. data/pub/www/doc/files/lib/nano/string/last%21_rb.html +97 -0
  1218. data/pub/www/doc/files/lib/nano/string/last%3D_rb.html +96 -0
  1219. data/pub/www/doc/files/lib/nano/string/last_char_rb.html +96 -0
  1220. data/pub/www/doc/files/lib/nano/string/last_rb.html +97 -0
  1221. data/pub/www/doc/files/lib/nano/string/line_wrap_rb.html +92 -0
  1222. data/pub/www/doc/files/lib/nano/string/lines_rb.html +92 -0
  1223. data/pub/www/doc/files/lib/nano/string/lowercase%3F_rb.html +96 -0
  1224. data/pub/www/doc/files/lib/nano/string/margin_rb.html +92 -0
  1225. data/pub/www/doc/files/lib/nano/string/mscan_rb.html +92 -0
  1226. data/pub/www/doc/files/lib/nano/string/natcmp_rb.html +92 -0
  1227. data/pub/www/doc/files/lib/nano/string/nchar_rb.html +92 -0
  1228. data/pub/www/doc/files/lib/nano/string/ordinal_rb.html +96 -0
  1229. data/pub/www/doc/files/lib/nano/string/plural_rb.html +92 -0
  1230. data/pub/www/doc/files/lib/nano/string/pop_rb.html +92 -0
  1231. data/pub/www/doc/files/lib/nano/string/probability_rb.html +97 -0
  1232. data/pub/www/doc/files/lib/nano/string/push_rb.html +92 -0
  1233. data/pub/www/doc/files/lib/nano/string/quote_rb.html +96 -0
  1234. data/pub/www/doc/files/lib/nano/string/rand_byte%21_rb.html +92 -0
  1235. data/pub/www/doc/files/lib/nano/string/rand_byte_rb.html +92 -0
  1236. data/pub/www/doc/files/lib/nano/string/rand_index_rb.html +92 -0
  1237. data/pub/www/doc/files/lib/nano/string/range_all_rb.html +96 -0
  1238. data/pub/www/doc/files/lib/nano/string/range_of_line_rb.html +92 -0
  1239. data/pub/www/doc/files/lib/nano/string/range_rb.html +92 -0
  1240. data/pub/www/doc/files/lib/nano/string/shatter_rb.html +92 -0
  1241. data/pub/www/doc/files/lib/nano/string/shift_rb.html +92 -0
  1242. data/pub/www/doc/files/lib/nano/string/shuffle_rb.html +96 -0
  1243. data/pub/www/doc/files/lib/nano/string/similarity_rb.html +92 -0
  1244. data/pub/www/doc/files/lib/nano/string/singular_rb.html +96 -0
  1245. data/pub/www/doc/files/lib/nano/string/slap_rb.html +92 -0
  1246. data/pub/www/doc/files/lib/nano/string/soundex_rb.html +92 -0
  1247. data/pub/www/doc/files/lib/nano/string/succ_rb.html +92 -0
  1248. data/pub/www/doc/files/lib/nano/string/tab_rb.html +97 -0
  1249. data/pub/www/doc/files/lib/nano/string/tabto_rb.html +97 -0
  1250. data/pub/www/doc/files/lib/nano/string/to_a_rb.html +96 -0
  1251. data/pub/www/doc/files/lib/nano/string/to_arr_rb.html +92 -0
  1252. data/pub/www/doc/files/lib/nano/string/to_b_rb.html +92 -0
  1253. data/pub/www/doc/files/lib/nano/string/to_const_rb.html +92 -0
  1254. data/pub/www/doc/files/lib/nano/string/to_date_rb.html +97 -0
  1255. data/pub/www/doc/files/lib/nano/string/to_proc_rb.html +92 -0
  1256. data/pub/www/doc/files/lib/nano/string/to_re_rb.html +92 -0
  1257. data/pub/www/doc/files/lib/nano/string/to_time_rb.html +96 -0
  1258. data/pub/www/doc/files/lib/nano/string/underscore_rb.html +92 -0
  1259. data/pub/www/doc/files/lib/nano/string/unix_crypt%21_rb.html +96 -0
  1260. data/pub/www/doc/files/lib/nano/string/unix_crypt_rb.html +96 -0
  1261. data/pub/www/doc/files/lib/nano/string/unpack_rb.html +92 -0
  1262. data/pub/www/doc/files/lib/nano/string/unshift_rb.html +92 -0
  1263. data/pub/www/doc/files/lib/nano/string/upcase%3F_rb.html +92 -0
  1264. data/pub/www/doc/files/lib/nano/string/uppercase%3F_rb.html +96 -0
  1265. data/pub/www/doc/files/lib/nano/string/whitespace%3F_rb.html +96 -0
  1266. data/pub/www/doc/files/lib/nano/string/word_filter%21_rb.html +92 -0
  1267. data/pub/www/doc/files/lib/nano/string/word_filter_rb.html +96 -0
  1268. data/pub/www/doc/files/lib/nano/string/word_wrap%21_rb.html +96 -0
  1269. data/pub/www/doc/files/lib/nano/string/word_wrap_rb.html +96 -0
  1270. data/pub/www/doc/files/lib/nano/string/words_rb.html +92 -0
  1271. data/pub/www/doc/files/lib/nano/string_as_array_rb.html +109 -0
  1272. data/pub/www/doc/files/lib/nano/string_rb.html +183 -0
  1273. data/pub/www/doc/files/lib/nano/symbol/camelcase_rb.html +96 -0
  1274. data/pub/www/doc/files/lib/nano/symbol/camelize_rb.html +96 -0
  1275. data/pub/www/doc/files/lib/nano/symbol/capitalized%3F_rb.html +96 -0
  1276. data/pub/www/doc/files/lib/nano/symbol/downcase%3F_rb.html +96 -0
  1277. data/pub/www/doc/files/lib/nano/symbol/not_rb.html +92 -0
  1278. data/pub/www/doc/files/lib/nano/symbol/pad_rb.html +92 -0
  1279. data/pub/www/doc/files/lib/nano/symbol/succ_rb.html +92 -0
  1280. data/pub/www/doc/files/lib/nano/symbol/to_const_rb.html +96 -0
  1281. data/pub/www/doc/files/lib/nano/symbol/to_proc_rb.html +92 -0
  1282. data/pub/www/doc/files/lib/nano/symbol/to_str_rb.html +92 -0
  1283. data/pub/www/doc/files/lib/nano/symbol/underscore_rb.html +96 -0
  1284. data/pub/www/doc/files/lib/nano/symbol/upcase%3F_rb.html +96 -0
  1285. data/pub/www/doc/files/lib/nano/symbol_rb.html +107 -0
  1286. data/pub/www/doc/files/lib/nano/time/%3A%3Adays_extrema_rb.html +114 -0
  1287. data/pub/www/doc/files/lib/nano/time/change_rb.html +92 -0
  1288. data/pub/www/doc/files/lib/nano/time/elapse_rb.html +92 -0
  1289. data/pub/www/doc/files/lib/nano/time/stamp_rb.html +92 -0
  1290. data/pub/www/doc/files/lib/nano/time/to_date_rb.html +96 -0
  1291. data/pub/www/doc/files/lib/nano/time/to_s_rb.html +96 -0
  1292. data/pub/www/doc/files/lib/nano/time/to_time_rb.html +92 -0
  1293. data/pub/www/doc/files/lib/nano/time_rb.html +101 -0
  1294. data/pub/www/doc/files/lib/nano_rb.html +96 -0
  1295. data/pub/www/doc/files/lib/nanoreq_rb.html +97 -0
  1296. data/pub/www/doc/files/lib/nanosys_rb.html +97 -0
  1297. data/pub/www/doc/fr_class_index.html +80 -0
  1298. data/pub/www/doc/fr_file_index.html +476 -0
  1299. data/pub/www/doc/fr_method_index.html +465 -0
  1300. data/pub/www/doc/index.html +28 -0
  1301. data/pub/www/doc/rdoc-style.css +175 -0
  1302. data/pub/www/images/atom_logo_sm.jpg +0 -0
  1303. data/pub/www/images/gray.jpg +0 -0
  1304. data/pub/www/images/ruby-lg.png +0 -0
  1305. data/pub/www/images/ruby.gif +0 -0
  1306. data/pub/www/index.html +195 -0
  1307. data/pub/www/methods.html +439 -0
  1308. data/setup.rb +1361 -0
  1309. data/test/array/tc_array.rb +324 -0
  1310. data/test/binding/tc_binding.rb +108 -0
  1311. data/test/binding/tc_binding_call_stack.rb +12 -0
  1312. data/test/binding/tc_binding_of_caller.rb +20 -0
  1313. data/test/class/tc_class.rb +48 -0
  1314. data/test/comparable/tc_comparable.rb +62 -0
  1315. data/test/continuation/tc_continuation.rb +12 -0
  1316. data/test/date/tc_date.rb +54 -0
  1317. data/test/dir/TEST/A.txt +0 -0
  1318. data/test/dir/TEST/A/B.txt +0 -0
  1319. data/test/dir/TEST/A/B/C.txt +0 -0
  1320. data/test/dir/tc_dir.rb +31 -0
  1321. data/test/enumerable/tc_enumerable.rb +370 -0
  1322. data/test/file/TEST1 +1 -0
  1323. data/test/file/TEST2 +1 -0
  1324. data/test/file/tc_file.rb +41 -0
  1325. data/test/fileutils/tc_fileutils.rb +77 -0
  1326. data/test/fileutils/tc_wc.rb +48 -0
  1327. data/test/fileutils/tc_whereis.rb +36 -0
  1328. data/test/fileutils/tc_which.rb +41 -0
  1329. data/test/fileutils/test_file.txt +25 -0
  1330. data/test/fileutils/test_file2.txt +25 -0
  1331. data/test/float/tc_float.rb +64 -0
  1332. data/test/hash/tc_each.rb +25 -0
  1333. data/test/hash/tc_hash.rb +296 -0
  1334. data/test/hash/tc_slice-op.rb +98 -0
  1335. data/test/integer/tc_integer.rb +77 -0
  1336. data/test/kernel/TEST/test.rb +4 -0
  1337. data/test/kernel/tc_kernel.rb +165 -0
  1338. data/test/matchdata/tc_matchdata.rb +62 -0
  1339. data/test/module/tc_abstract.rb +24 -0
  1340. data/test/module/tc_cloning.rb +44 -0
  1341. data/test/module/tc_instance_methods.rb +45 -0
  1342. data/test/module/tc_memoize.rb +38 -0
  1343. data/test/module/tc_module.rb +349 -0
  1344. data/test/nilclass/tc_method_missing.rb +12 -0
  1345. data/test/nilclass/tc_nilclass.rb +59 -0
  1346. data/test/numeric/tc_numeric.rb +61 -0
  1347. data/test/object/tc_methods.rb +39 -0
  1348. data/test/object/tc_object.rb +299 -0
  1349. data/test/object/tc_superup.rb +64 -0
  1350. data/test/object/tc_val%3F.rb +33 -0
  1351. data/test/ostruct/tc_ostruct.rb +35 -0
  1352. data/test/proc/tc_proc.rb +40 -0
  1353. data/test/range/tc_range.rb +49 -0
  1354. data/test/regexp/tc_regexp.rb +38 -0
  1355. data/test/string/tc_at.rb +25 -0
  1356. data/test/string/tc_basename.rb +23 -0
  1357. data/test/string/tc_demodulize.rb +23 -0
  1358. data/test/string/tc_margin.rb +105 -0
  1359. data/test/string/tc_pop.rb +24 -0
  1360. data/test/string/tc_push.rb +24 -0
  1361. data/test/string/tc_quote.rb +33 -0
  1362. data/test/string/tc_shift.rb +24 -0
  1363. data/test/string/tc_slap.rb +24 -0
  1364. data/test/string/tc_soundex.rb +24 -0
  1365. data/test/string/tc_string.rb +705 -0
  1366. data/test/string/tc_to_a.rb +13 -0
  1367. data/test/string/tc_unshift.rb +23 -0
  1368. data/test/symbol/tc_symbol.rb +105 -0
  1369. data/test/tc_fixtures/filelist/testfile.txt +1 -0
  1370. data/test/tc_fixtures/filelist/testfile2.txt +1 -0
  1371. data/test/tc_nil_as_emptiness.rb +20 -0
  1372. data/test/time/tc_time.rb +70 -0
  1373. metadata +1546 -0
@@ -0,0 +1,48 @@
1
+
2
+ require 'test/unit'
3
+
4
+ require 'nano/class/descendents'
5
+ require 'nano/class/subclasses'
6
+ require 'nano/class/remove_descendents'
7
+ require 'nano/class/remove_subclasses'
8
+
9
+ # fixture
10
+
11
+ class A ; end
12
+ class B < A ; end
13
+ class C < B ; end
14
+
15
+ # test
16
+
17
+ class TC_Class < Test::Unit::TestCase
18
+
19
+ # descendents
20
+
21
+ def test_descendents
22
+ assert_equal( [C,B], A.descendents )
23
+ end
24
+
25
+ # subclasses (alias of descendents)
26
+
27
+ def test_subclasses
28
+ assert_equal( [C,B], A.subclasses )
29
+ end
30
+
31
+ # remove_descendents
32
+
33
+ def test_descendents
34
+ assert_nothing_raised { B.remove_descendents }
35
+ # doesn't work despite above; not sure why
36
+ #assert_equal( [B], A.descendents )
37
+ end
38
+
39
+ # remove_subclasses (alias of remove_descendents)
40
+ def test_subclasses
41
+ assert_nothing_raised { A.remove_subclasses }
42
+ # doesn't work despite above; not why
43
+ #assert_equal( [], A.subclasses )
44
+ end
45
+
46
+ end
47
+
48
+ nil
@@ -0,0 +1,62 @@
1
+
2
+ require 'test/unit'
3
+
4
+ require 'nano/comparable/at_least'
5
+ require 'nano/comparable/at_most'
6
+ require 'nano/comparable/cap'
7
+ require 'nano/comparable/clip'
8
+ require 'nano/comparable/cmp'
9
+
10
+ class TC_Comparable < Test::Unit::TestCase
11
+
12
+ # at_least
13
+
14
+ def test_at_least
15
+ assert_equal( 4, 3.at_least(4) )
16
+ assert_equal( 4, 4.at_least(4) )
17
+ assert_equal( 5, 5.at_least(4) )
18
+ end
19
+
20
+ # at_most
21
+
22
+ def test_at_most
23
+ assert_equal( 3, 3.at_most(4) )
24
+ assert_equal( 4, 4.at_most(4) )
25
+ assert_equal( 4, 5.at_most(4) )
26
+ end
27
+
28
+ # cap
29
+
30
+ def test_cap
31
+ assert_equal( 3, 3.cap(4) )
32
+ assert_equal( 4, 4.cap(4) )
33
+ assert_equal( 4, 5.cap(4) )
34
+ end
35
+
36
+ # clip
37
+
38
+ def test_clip
39
+ assert_equal( 4, 3.clip(4) )
40
+ assert_equal( 4, 4.clip(4) )
41
+ assert_equal( 5, 5.clip(4) )
42
+ assert_equal( 4, 4.clip(3,5) )
43
+ assert_equal( 3, 3.clip(3,5) )
44
+ assert_equal( 5, 5.clip(3,5) )
45
+ assert_equal( 3, 2.clip(3,5) )
46
+ assert_equal( 5, 6.clip(3,5) )
47
+ assert_equal( 'd', 'd'.clip('c','e') )
48
+ assert_equal( 'c', 'c'.clip('c','e') )
49
+ assert_equal( 'e', 'e'.clip('c','e') )
50
+ assert_equal( 'c', 'b'.clip('c','e') )
51
+ assert_equal( 'e', 'f'.clip('c','e') )
52
+ end
53
+
54
+ # cmp
55
+
56
+ def test_cmp
57
+ assert_equal( -1, 3.cmp(4) )
58
+ assert_equal( 0, 3.cmp(3) )
59
+ assert_equal( 1, 3.cmp(2) )
60
+ end
61
+
62
+ end
@@ -0,0 +1,12 @@
1
+
2
+ require 'nano/continuation/%3A%3Acreate'
3
+
4
+ class TCContinuation < Test::Unit::TestCase
5
+
6
+ # ::create
7
+
8
+ def test_Continuation_create
9
+ assert_nothing_raised { c, r = Continuation.create }
10
+ end
11
+
12
+ end
@@ -0,0 +1,54 @@
1
+
2
+ require 'test/unit'
3
+
4
+ require 'nano/date/days_in_month'
5
+ require 'nano/date/days_of_month'
6
+ require 'nano/date/stamp'
7
+ require 'nano/date/to_date'
8
+ require 'nano/date/to_s'
9
+ require 'nano/date/to_time'
10
+
11
+
12
+ class TC_Date < Test::Unit::TestCase
13
+
14
+ def setup
15
+ @d = Date.civil( 2005, 04, 20 )
16
+ end
17
+
18
+ # days_in_month
19
+
20
+ def test_days_in_month
21
+ assert_equal( 31, Date.new(2004,1,1).days_in_month )
22
+ end
23
+
24
+ # days_of_month
25
+
26
+ def test_days_of_month
27
+ assert_equal( (1..@d.days_in_month).to_a, @d.days_of_month )
28
+ end
29
+
30
+ # stamp
31
+
32
+ def test_stamp
33
+ assert_equal( "2005-04-20", @d.stamp )
34
+ end
35
+
36
+ # to_date
37
+
38
+ def test_to_date
39
+ assert_instance_of( ::Date, @d.to_date )
40
+ end
41
+
42
+ # to_s
43
+
44
+ def test_to_s
45
+ assert_equal( "2005-04-20", @d.to_s )
46
+ end
47
+
48
+ # to_time
49
+
50
+ def test_to_time
51
+ assert_instance_of( ::Time, @d.to_time )
52
+ end
53
+
54
+ end
File without changes
File without changes
File without changes
@@ -0,0 +1,31 @@
1
+
2
+ require 'test/unit'
3
+
4
+ require 'nano/dir/%3A%3Als_r'
5
+ require 'nano/dir/%3A%3Arecurse'
6
+
7
+ class TC_Dir < Test::Unit::TestCase
8
+
9
+ # ls_r
10
+
11
+ def test_ls_r
12
+ td = Dir.pwd
13
+ Dir.chdir File.dirname(__FILE__)
14
+ r = ["TEST/A", "TEST/A/B", "TEST/A/B/C.txt", "TEST/A/B.txt", "TEST/A.txt"]
15
+ fs = Dir.ls_r( 'TEST' )
16
+ assert_equal( r, fs, Dir.pwd )
17
+ Dir.chdir td
18
+ end
19
+
20
+ # recurse (alias for ls_r)
21
+
22
+ def test_recurse
23
+ td = Dir.pwd
24
+ Dir.chdir File.dirname(__FILE__)
25
+ r = ["TEST/A", "TEST/A/B", "TEST/A/B/C.txt", "TEST/A/B.txt", "TEST/A.txt"]
26
+ fs = Dir.recurse( 'TEST' )
27
+ assert_equal( r, fs, Dir.pwd )
28
+ Dir.chdir td
29
+ end
30
+
31
+ end
@@ -0,0 +1,370 @@
1
+
2
+ require 'test/unit'
3
+
4
+ require 'nano/enumerable/%25'
5
+ require 'nano/enumerable/%2A%2A'
6
+ require 'nano/enumerable/%3A%3Acombinations'
7
+ require 'nano/enumerable/%3A%3Across'
8
+ require 'nano/enumerable/collect_with_counter'
9
+ require 'nano/enumerable/collect_with_index'
10
+ require 'nano/enumerable/commonality'
11
+ require 'nano/enumerable/compact_collect'
12
+ require 'nano/enumerable/compact_map'
13
+ require 'nano/enumerable/cross'
14
+ require 'nano/enumerable/each_by'
15
+ require 'nano/enumerable/each_combination'
16
+ require 'nano/enumerable/each_permutation'
17
+ require 'nano/enumerable/each_slice'
18
+ require 'nano/enumerable/each_unique_pair'
19
+ require 'nano/enumerable/eF'
20
+ require 'nano/enumerable/entropy'
21
+ require 'nano/enumerable/filter_collect'
22
+ require 'nano/enumerable/filter_map'
23
+ require 'nano/enumerable/find_collisions'
24
+ require 'nano/enumerable/frequency'
25
+ require 'nano/enumerable/graph'
26
+ require 'nano/enumerable/ideal_entropy'
27
+ require 'nano/enumerable/map_with_counter'
28
+ require 'nano/enumerable/map_with_index'
29
+ require 'nano/enumerable/none%3F'
30
+ require 'nano/enumerable/occur'
31
+ require 'nano/enumerable/one%3F'
32
+ require 'nano/enumerable/partition_by'
33
+ require 'nano/enumerable/probability'
34
+ require 'nano/enumerable/to_h'
35
+ require 'nano/enumerable/unique_by'
36
+
37
+ class TC_Enumerable < Test::Unit::TestCase
38
+
39
+ # %
40
+
41
+ def test_percent_op
42
+ a = [1,2,3]
43
+ b = [4,5]
44
+ assert_equal( [2,4,6], a.% + a )
45
+ end
46
+
47
+ # **
48
+ def test_cross_op
49
+ a = [1,2,3] ** [4,5,6]
50
+ assert_equal( [[1, 4],[1, 5],[1, 6],[2, 4],[2, 5],[2, 6],[3, 4],[3, 5],[3, 6]], a )
51
+ end
52
+
53
+ # ::combinations
54
+
55
+ def test_Enumerable_combinations
56
+ a = [1,2]
57
+ b = [3,4]
58
+ r = Enumerable.combinations(a,b)
59
+ assert_equal( [[1,3],[1,4],[2,3],[2,4]], r )
60
+
61
+ r = [ ["a", "a", "x"],
62
+ ["a", "a", "y"],
63
+ ["a", "x", "x"],
64
+ ["a", "x", "y"],
65
+ ["b", "a", "x"],
66
+ ["b", "a", "y"],
67
+ ["b", "x", "x"],
68
+ ["b", "x", "y"] ]
69
+ a = %w|a b|
70
+ b = %w|a x|
71
+ c = %w|x y|
72
+ z = Enumerable.combinations(a, b, c)
73
+ assert_equal( r, z )
74
+ end
75
+
76
+ # ::cross
77
+
78
+ def test_Enumerable_cross
79
+ i = [[1,2], [3,4]]
80
+ o = [[1, 3], [1, 4], [2, 3], [2, 4]]
81
+ assert_equal( o, Enumerable.cross(*i) )
82
+ i = [[1,2], [4], ["apple", "banana"]]
83
+ o = [[1, 4, "apple"], [1, 4, "banana"], [2, 4, "apple"], [2, 4, "banana"]]
84
+ assert_equal( o, Enumerable.cross(*i) )
85
+ end
86
+
87
+ # collect_with_counter
88
+
89
+ def test_collect_with_counter
90
+ a = [1,2,3].collect_with_counter{ |e,i| e*i }
91
+ assert_equal( [0,2,6], a )
92
+ end
93
+
94
+ # collect_with_index
95
+
96
+ def test_collect_with_index
97
+ a = [1,2,3].collect_with_index{ |e,i| e*i }
98
+ assert_equal( [0,2,6], a )
99
+ end
100
+
101
+ # commonality
102
+
103
+ def test_commonality
104
+ a = [1,2,2,3,3,3]
105
+ r = { 2 => [2,2], 3 => [3,3,3] }
106
+ assert_equal( r, a.commonality )
107
+ a = [1,2,2,3,3,3]
108
+ r = {false=>[1, 2, 2], true=>[3, 3, 3]}
109
+ assert_equal( r, a.commonality { |x| x > 2 } )
110
+ end
111
+
112
+ # compact_collect
113
+
114
+ def test_compact_collect
115
+ a = [1,2,nil,4].compact_collect { |e| e }
116
+ assert_equal( [1,2,4], a )
117
+ end
118
+
119
+ # compact_map
120
+
121
+ def test_compact_map
122
+ a = [1,2,nil,4].compact_map { |e| e }
123
+ assert_equal( [1,2,4], a )
124
+ end
125
+
126
+ # cross
127
+
128
+ def test_cross
129
+ a = [1,2,3].cross([4,5,6])
130
+ assert_equal( [[1, 4],[1, 5],[1, 6],[2, 4],[2, 5],[2, 6],[3, 4],[3, 5],[3, 6]], a )
131
+ a = []
132
+ [1,2,3].cross([4,5,6]) {|elem| a << elem }
133
+ assert_equal( [[1, 4],[1, 5],[1, 6],[2, 4],[2, 5],[2, 6],[3, 4],[3, 5],[3, 6]], a )
134
+ end
135
+
136
+ # each_by
137
+
138
+ def test_each_by
139
+ x = []
140
+ [1,2,3,4].each_by(2){ |a,b| x << [a,b] }
141
+ o = [[1,2],[3,4]]
142
+ assert_equal( o, x )
143
+
144
+ x = []
145
+ [1,2,3,4,5].each_by(3){ |*a| x << a }
146
+ o = [[1,2,3],[4,5]]
147
+ assert_equal( o, x )
148
+ end
149
+
150
+ # each_combination
151
+
152
+ def test_each_combination
153
+ r = []
154
+ a = [1,2,3,4]
155
+ a.each_combination(2){ |a,b| r << [a,b] }
156
+ assert_equal( [[1,2],[1,3],[1,4],[2,3],[2,4],[3,4]], r )
157
+ end
158
+
159
+ # each_permutation
160
+
161
+ def test_each_permutation
162
+
163
+ end
164
+
165
+ # each_slice
166
+
167
+ def test_each_slice
168
+ x = []
169
+ [1,2,3,4].each_slice{ |a,b| x << [a,b] }
170
+ o = [[1,2],[3,4]]
171
+ assert_equal( o, x )
172
+
173
+ x = []
174
+ [1,2,3,4,5].each_by{ |a,b,c| x << [a,b,c] }
175
+ o = [[1,2,3],[4,5,nil]]
176
+ assert_equal( o, x )
177
+
178
+ x = []
179
+ [1,2,3,4].each_slice(2){ |a,b| x << [a,b] }
180
+ o = [[1,2],[3,4]]
181
+ assert_equal( o, x )
182
+
183
+ x = []
184
+ [1,2,3,4,5,6,7,8].each_slice(4){ |*a| x << a }
185
+ o = [[1,2,3,4],[5,6,7,8]]
186
+ assert_equal( o, x )
187
+
188
+ x = []
189
+ [1,2,3,4,5,6].each_slice(3){ |*a| x << a }
190
+ o = [[1,2,3],[4,5,6]]
191
+ assert_equal( o, x )
192
+
193
+ a = [1,2,3,4,5,6]
194
+ r = []
195
+ a.each_slice(2){ |x,y| r << [x,y] }
196
+ assert_equal( [[1,2],[3,4],[5,6]], r )
197
+
198
+ r = []
199
+ a.each_slice(3){ |*e| r << e }
200
+ assert_equal( [[1,2,3],[4,5,6]], r )
201
+ end
202
+
203
+ # each_unique_pair
204
+
205
+ def test_each_unique_pair
206
+ r = []
207
+ a = [1,2,3,4]
208
+ a.each_unique_pair{ |a,b| r << [a,b] }
209
+ assert_equal( [[1,2],[1,3],[1,4],[2,3],[2,4],[3,4]], r )
210
+ end
211
+
212
+ # eF
213
+
214
+ def test_eF
215
+ a = [1,2,3]
216
+ b = [4,5]
217
+ #assert_equal( [4,5,6], a.every + 3 )
218
+ assert_equal( [5,7], a.eF + b )
219
+ assert_equal( [[5,7],[3,4,5]], a.eF.+(b,2) )
220
+ assert_equal( [[5,7],[4,5,6]], a.eF.+(b,3) )
221
+ end
222
+
223
+ # entropy
224
+
225
+ def test_entropy
226
+ assert_equal( 1.0, %w{ a b }.entropy )
227
+ end
228
+
229
+ # filter_collect
230
+
231
+ def test_filter_collect
232
+ e = [3,4]
233
+ a = [1,2,3,4].filter_collect { |n|
234
+ throw(:skip) if n < 3
235
+ n
236
+ }
237
+ assert_equal( e, a )
238
+ end
239
+
240
+ # filter_map
241
+
242
+ def test_filter_map
243
+ e = [3,4]
244
+ a = [1,2,3,4].filter_map { |n|
245
+ throw(:skip) if n < 3
246
+ n
247
+ }
248
+ assert_equal( e, a )
249
+ end
250
+
251
+ # find_collisions
252
+
253
+ def test_find_collisions
254
+ a = [1,2,2,3,3,3]
255
+ assert_equal( [2,3], a.find_collisions )
256
+ a = [1,2,2,3,3,3]
257
+ r = {false=>[1, 2, 2], true=>[3, 3, 3]}
258
+ assert_equal( r, a.find_collisions { |x| x > 2 } )
259
+ end
260
+
261
+ # frequency
262
+
263
+ def test_frequency
264
+ assert_equal( {'a'=>1,'b'=>1}, %w{a b}.frequency )
265
+ assert_equal( {'tom'=>1,'boy'=>1}, %w{tom boy}.frequency )
266
+ end
267
+
268
+ # graph
269
+
270
+ def test_graph
271
+ numbers = (1..3)
272
+ squares = numbers.graph{ |n| [n, n*n] }
273
+ assert_equal( {1=>1, 2=>4, 3=>9}, squares )
274
+ sq_roots = numbers.graph{ |n| [n*n, n] }
275
+ assert_equal( {1=>1, 4=>2, 9=>3}, sq_roots )
276
+ end
277
+
278
+ # ideal_entropy
279
+
280
+ def test_ideal_entropy
281
+ assert_equal( 1.0, %w{ a b }.ideal_entropy )
282
+ assert_equal( 2.0, %w{ a a b b }.ideal_entropy )
283
+ end
284
+
285
+ # map_with_counter
286
+
287
+ def test_map_with_counter
288
+ a = [1,2,3].map_with_counter{ |e,i| e*i }
289
+ assert_equal( [0,2,6], a )
290
+ end
291
+
292
+ # map_with_index
293
+
294
+ def test_map_with_index
295
+ a = [1,2,3].map_with_index{ |e,i| e*i }
296
+ assert_equal( [0,2,6], a )
297
+ end
298
+
299
+ # none?
300
+
301
+ def test_none?
302
+ a = [nil, nil]
303
+ assert( a.none? )
304
+ a = [false, false]
305
+ assert( a.none? )
306
+ a = [true, false]
307
+ assert( ! a.none? )
308
+ a = [nil, 1]
309
+ assert( ! a.none? )
310
+ end
311
+
312
+ # occur
313
+
314
+ def test_occur
315
+ arr = [:a,:b,:a]
316
+ assert_equal( [:b], arr.occur(1) )
317
+ assert_equal( [:a], arr.occur(2) )
318
+ assert_equal( [:b], arr.occur(1..1) )
319
+ assert_equal( [:a], arr.occur{ |n| n % 2 == 0 } )
320
+ end
321
+
322
+ # one?
323
+
324
+ def test_one?
325
+ a = [nil, true]
326
+ assert( a.one? )
327
+ a = [true, false]
328
+ assert( a.one? )
329
+ a = [true, true]
330
+ assert( ! a.one? )
331
+ a = [true, 1]
332
+ assert( ! a.one? )
333
+ a = [1, 1]
334
+ assert( ! a.one? )
335
+ end
336
+
337
+ # partition_by
338
+
339
+ def partition_by
340
+ x = (1..5).partition_by{ |n| n % 3 }
341
+ o = { 0 => [3], 1 => [1, 4], 2 => [2,5] }
342
+ assert_equal( o, x )
343
+ x = ["I had", 1, "dollar and", 50, "cents"].partition_by { |e| e.class }
344
+ o = { String => ["I had","dollar and","cents"], Fixnum => [1,50] }
345
+ assert_equal( o, x )
346
+ end
347
+
348
+ # probablity
349
+
350
+ def test_probability
351
+ assert_equal( {'a'=>0.5,'b'=>0.5}, %w{a b}.probability )
352
+ assert_equal( {'tom'=>0.5,'boy'=>0.5}, %w{tom boy}.probability )
353
+ end
354
+
355
+ # to_h
356
+
357
+ def test_to_h
358
+ a = [:a,:b,:c]
359
+ assert_equal( { 0=>:a, 1=>:b, 2=>:c }, a.to_h )
360
+ end
361
+
362
+ # unique_by
363
+
364
+ def test_uniq_by
365
+ a = [-5, -4, -3, -2, -1, 0]
366
+ r = (-5..5).to_a.uniq_by{|i| i*i }
367
+ assert_equal( a, r )
368
+ end
369
+
370
+ end