nano 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ANN-0.8.1 +127 -0
- data/COPYING +59 -0
- data/ChangeLog +137 -0
- data/README +161 -0
- data/README.dev +12 -0
- data/Rakefile +124 -0
- data/Reapfile +87 -0
- data/TODO +43 -0
- data/Version +14 -0
- data/data/site_ruby/nano/base +32 -0
- data/data/site_ruby/nano/index.yaml +422 -0
- data/data/site_ruby/nano/noauto +27 -0
- data/data/site_ruby/nano/unsafe +17 -0
- data/lib/nano.rb +2 -0
- data/lib/nano/array.rb +32 -0
- data/lib/nano/array/%5B%5D%3D.rb +22 -0
- data/lib/nano/array/%5B%5D.rb +18 -0
- data/lib/nano/array/at_rand%21.rb +12 -0
- data/lib/nano/array/at_rand.rb +10 -0
- data/lib/nano/array/bulk.rb +10 -0
- data/lib/nano/array/delete_unless.rb +6 -0
- data/lib/nano/array/delete_values.rb +16 -0
- data/lib/nano/array/delete_values_at.rb +31 -0
- data/lib/nano/array/first%21.rb +11 -0
- data/lib/nano/array/first%3D.rb +13 -0
- data/lib/nano/array/foot.rb +11 -0
- data/lib/nano/array/head.rb +10 -0
- data/lib/nano/array/last%21.rb +11 -0
- data/lib/nano/array/last%3D.rb +12 -0
- data/lib/nano/array/last_index.rb +11 -0
- data/lib/nano/array/mid.rb +18 -0
- data/lib/nano/array/middle.rb +17 -0
- data/lib/nano/array/pick%21.rb +23 -0
- data/lib/nano/array/pick.rb +16 -0
- data/lib/nano/array/pos.rb +15 -0
- data/lib/nano/array/rand_index.rb +5 -0
- data/lib/nano/array/rand_subset.rb +31 -0
- data/lib/nano/array/range.rb +19 -0
- data/lib/nano/array/rotate%21.rb +18 -0
- data/lib/nano/array/rotate.rb +20 -0
- data/lib/nano/array/select%21.rb +11 -0
- data/lib/nano/array/shuffle%21.rb +25 -0
- data/lib/nano/array/shuffle.rb +17 -0
- data/lib/nano/array/slap.rb +11 -0
- data/lib/nano/array/store.rb +4 -0
- data/lib/nano/array/tail.rb +9 -0
- data/lib/nano/array/thru.rb +16 -0
- data/lib/nano/array/to_b.rb +6 -0
- data/lib/nano/array/to_h.rb +28 -0
- data/lib/nano/base.rb +29 -0
- data/lib/nano/binding.rb +14 -0
- data/lib/nano/binding/%3A%3Aof_caller.rb +89 -0
- data/lib/nano/binding/%5B%5D%3D.rb +11 -0
- data/lib/nano/binding/%5B%5D.rb +11 -0
- data/lib/nano/binding/__DIR__.rb +7 -0
- data/lib/nano/binding/__FILE__.rb +7 -0
- data/lib/nano/binding/__LINE__.rb +7 -0
- data/lib/nano/binding/call_stack.rb +8 -0
- data/lib/nano/binding/called.rb +12 -0
- data/lib/nano/binding/caller.rb +7 -0
- data/lib/nano/binding/defined%3F.rb +7 -0
- data/lib/nano/binding/eval.rb +10 -0
- data/lib/nano/binding/local_variables.rb +11 -0
- data/lib/nano/binding/method_name.rb +14 -0
- data/lib/nano/binding/of_caller.rb +89 -0
- data/lib/nano/binding/self.rb +12 -0
- data/lib/nano/class.rb +5 -0
- data/lib/nano/class/by_name.rb +1 -0
- data/lib/nano/class/descendents.rb +15 -0
- data/lib/nano/class/remove_descendents.rb +14 -0
- data/lib/nano/class/remove_subclasses.rb +4 -0
- data/lib/nano/class/subclasses.rb +4 -0
- data/lib/nano/comparable.rb +5 -0
- data/lib/nano/comparable/at_least.rb +13 -0
- data/lib/nano/comparable/at_most.rb +13 -0
- data/lib/nano/comparable/cap.rb +13 -0
- data/lib/nano/comparable/clip.rb +22 -0
- data/lib/nano/comparable/cmp.rb +14 -0
- data/lib/nano/continuation.rb +1 -0
- data/lib/nano/continuation/%3A%3Acreate.rb +50 -0
- data/lib/nano/date.rb +6 -0
- data/lib/nano/date/days_in_month.rb +13 -0
- data/lib/nano/date/days_of_month.rb +6 -0
- data/lib/nano/date/stamp.rb +11 -0
- data/lib/nano/date/to_date.rb +9 -0
- data/lib/nano/date/to_s.rb +16 -0
- data/lib/nano/date/to_time.rb +10 -0
- data/lib/nano/dir.rb +2 -0
- data/lib/nano/dir/%3A%3Als_r.rb +21 -0
- data/lib/nano/dir/%3A%3Arecurse.rb +7 -0
- data/lib/nano/enumerable.rb +32 -0
- data/lib/nano/enumerable/%25.rb +17 -0
- data/lib/nano/enumerable/%2A%2A.rb +15 -0
- data/lib/nano/enumerable/%3A%3Acombinations.rb +30 -0
- data/lib/nano/enumerable/%3A%3Across.rb +52 -0
- data/lib/nano/enumerable/collect_with_counter.rb +20 -0
- data/lib/nano/enumerable/collect_with_index.rb +4 -0
- data/lib/nano/enumerable/commonality.rb +37 -0
- data/lib/nano/enumerable/compact_collect.rb +25 -0
- data/lib/nano/enumerable/compact_map.rb +7 -0
- data/lib/nano/enumerable/cross.rb +18 -0
- data/lib/nano/enumerable/eF.rb +51 -0
- data/lib/nano/enumerable/each_by.rb +9 -0
- data/lib/nano/enumerable/each_combination.rb +34 -0
- data/lib/nano/enumerable/each_permutation.rb +33 -0
- data/lib/nano/enumerable/each_slice.rb +57 -0
- data/lib/nano/enumerable/each_unique_pair.rb +41 -0
- data/lib/nano/enumerable/entropy.rb +30 -0
- data/lib/nano/enumerable/filter_collect.rb +29 -0
- data/lib/nano/enumerable/filter_map.rb +7 -0
- data/lib/nano/enumerable/find_collisions.rb +15 -0
- data/lib/nano/enumerable/frequency.rb +16 -0
- data/lib/nano/enumerable/graph.rb +28 -0
- data/lib/nano/enumerable/ideal_entropy.rb +24 -0
- data/lib/nano/enumerable/map_with_counter.rb +4 -0
- data/lib/nano/enumerable/map_with_index.rb +4 -0
- data/lib/nano/enumerable/none%3F.rb +28 -0
- data/lib/nano/enumerable/occur.rb +36 -0
- data/lib/nano/enumerable/one%3F.rb +35 -0
- data/lib/nano/enumerable/partition_by.rb +28 -0
- data/lib/nano/enumerable/probability.rb +36 -0
- data/lib/nano/enumerable/to_h.rb +14 -0
- data/lib/nano/enumerable/unique_by.rb +16 -0
- data/lib/nano/file.rb +3 -0
- data/lib/nano/file/%3A%3Acreate.rb +18 -0
- data/lib/nano/file/%3A%3Aopen_as_string.rb +45 -0
- data/lib/nano/file/%3A%3Asplit_all.rb +13 -0
- data/lib/nano/fileutils.rb +7 -0
- data/lib/nano/fileutils/head.rb +28 -0
- data/lib/nano/fileutils/safe_ln.rb +22 -0
- data/lib/nano/fileutils/slice.rb +21 -0
- data/lib/nano/fileutils/tail.rb +23 -0
- data/lib/nano/fileutils/wc.rb +64 -0
- data/lib/nano/fileutils/whereis.rb +66 -0
- data/lib/nano/fileutils/which.rb +60 -0
- data/lib/nano/float.rb +4 -0
- data/lib/nano/float/approx%3F.rb +19 -0
- data/lib/nano/float/round_at.rb +30 -0
- data/lib/nano/float/round_off.rb +12 -0
- data/lib/nano/float/round_to.rb +31 -0
- data/lib/nano/full.rb +353 -0
- data/lib/nano/hash.rb +34 -0
- data/lib/nano/hash/%3A%3Azipnew.rb +15 -0
- data/lib/nano/hash/%3C%3C.rb +5 -0
- data/lib/nano/hash/%5B%5D%3D.rb +22 -0
- data/lib/nano/hash/%5B%5D.rb +21 -0
- data/lib/nano/hash/alias%21.rb +28 -0
- data/lib/nano/hash/assert_has_keys.rb +14 -0
- data/lib/nano/hash/assert_has_only_keys.rb +14 -0
- data/lib/nano/hash/at.rb +3 -0
- data/lib/nano/hash/collate%21.rb +10 -0
- data/lib/nano/hash/collate.rb +19 -0
- data/lib/nano/hash/delete_unless.rb +7 -0
- data/lib/nano/hash/each.rb +30 -0
- data/lib/nano/hash/graph%21.rb +8 -0
- data/lib/nano/hash/has_keys%3F.rb +15 -0
- data/lib/nano/hash/has_only_keys%3F.rb +15 -0
- data/lib/nano/hash/inverse.rb +28 -0
- data/lib/nano/hash/join.rb +7 -0
- data/lib/nano/hash/keys_to_s%21.rb +33 -0
- data/lib/nano/hash/keys_to_s.rb +24 -0
- data/lib/nano/hash/keys_to_sym%21.rb +38 -0
- data/lib/nano/hash/keys_to_sym.rb +29 -0
- data/lib/nano/hash/rand_key.rb +25 -0
- data/lib/nano/hash/rand_pair.rb +26 -0
- data/lib/nano/hash/rand_value.rb +36 -0
- data/lib/nano/hash/replace_each.rb +9 -0
- data/lib/nano/hash/shuffle%21.rb +16 -0
- data/lib/nano/hash/shuffle.rb +15 -0
- data/lib/nano/hash/slice.rb +11 -0
- data/lib/nano/hash/swap%21.rb +14 -0
- data/lib/nano/hash/swapkey%21.rb +20 -0
- data/lib/nano/hash/to_h.rb +12 -0
- data/lib/nano/hash/to_ostruct.rb +14 -0
- data/lib/nano/hash/to_ostruct_recurse.rb +19 -0
- data/lib/nano/hash/traverse%21.rb +16 -0
- data/lib/nano/hash/traverse.rb +21 -0
- data/lib/nano/hash/update_each.rb +19 -0
- data/lib/nano/hash/weave.rb +64 -0
- data/lib/nano/inflect.rb +35 -0
- data/lib/nano/integer.rb +8 -0
- data/lib/nano/integer/even%3F.rb +14 -0
- data/lib/nano/integer/fact.rb +13 -0
- data/lib/nano/integer/factorial.rb +17 -0
- data/lib/nano/integer/multiple%3F.rb +12 -0
- data/lib/nano/integer/odd%3F.rb +14 -0
- data/lib/nano/integer/ordinal.rb +17 -0
- data/lib/nano/integer/times_collect.rb +14 -0
- data/lib/nano/integer/times_map.rb +5 -0
- data/lib/nano/kernel.rb +23 -0
- data/lib/nano/kernel/__require__.rb +5 -0
- data/lib/nano/kernel/autoreload.rb +35 -0
- data/lib/nano/kernel/autoreload_glob.rb +36 -0
- data/lib/nano/kernel/bug%21.rb +17 -0
- data/lib/nano/kernel/call_stack.rb +36 -0
- data/lib/nano/kernel/called.rb +19 -0
- data/lib/nano/kernel/demo.rb +23 -0
- data/lib/nano/kernel/fn.rb +8 -0
- data/lib/nano/kernel/get_by_id.rb +7 -0
- data/lib/nano/kernel/here.rb +9 -0
- data/lib/nano/kernel/maybe.rb +15 -0
- data/lib/nano/kernel/method_name.rb +19 -0
- data/lib/nano/kernel/nack.rb +12 -0
- data/lib/nano/kernel/p.rb +9 -0
- data/lib/nano/kernel/require_all.rb +22 -0
- data/lib/nano/kernel/require_esc.rb +16 -0
- data/lib/nano/kernel/require_local.rb +12 -0
- data/lib/nano/kernel/require_nano.rb +18 -0
- data/lib/nano/kernel/resc.rb +6 -0
- data/lib/nano/kernel/returning.rb +22 -0
- data/lib/nano/kernel/silence_warnings.rb +4 -0
- data/lib/nano/kernel/silently.rb +12 -0
- data/lib/nano/kernel/warn_with_line.rb +17 -0
- data/lib/nano/logger/format.rb +22 -0
- data/lib/nano/logger/format_message.rb +11 -0
- data/lib/nano/matchdata.rb +3 -0
- data/lib/nano/matchdata/match.rb +12 -0
- data/lib/nano/matchdata/matchset.rb +10 -0
- data/lib/nano/matchdata/matchtree.rb +29 -0
- data/lib/nano/module.rb +34 -0
- data/lib/nano/module/abstract.rb +18 -0
- data/lib/nano/module/alias_module_function.rb +28 -0
- data/lib/nano/module/attr_setter.rb +38 -0
- data/lib/nano/module/attr_tester.rb +46 -0
- data/lib/nano/module/basename.rb +17 -0
- data/lib/nano/module/by_name.rb +43 -0
- data/lib/nano/module/cattr_accessor.rb +25 -0
- data/lib/nano/module/cattr_reader.rb +40 -0
- data/lib/nano/module/cattr_writer.rb +44 -0
- data/lib/nano/module/clone_removing.rb +10 -0
- data/lib/nano/module/clone_renaming.rb +14 -0
- data/lib/nano/module/clone_using.rb +14 -0
- data/lib/nano/module/dirname.rb +20 -0
- data/lib/nano/module/equate_on.rb +37 -0
- data/lib/nano/module/generate_instance_method_name.rb +18 -0
- data/lib/nano/module/include_as.rb +72 -0
- data/lib/nano/module/initializer.rb +34 -0
- data/lib/nano/module/instance_methods.rb +131 -0
- data/lib/nano/module/integrate.rb +18 -0
- data/lib/nano/module/memoize.rb +50 -0
- data/lib/nano/module/modspace.rb +22 -0
- data/lib/nano/module/namespace.rb +33 -0
- data/lib/nano/module/redef.rb +6 -0
- data/lib/nano/module/redefine_method.rb +30 -0
- data/lib/nano/module/redirect.rb +5 -0
- data/lib/nano/module/redirect_method.rb +39 -0
- data/lib/nano/module/remove.rb +4 -0
- data/lib/nano/module/rename.rb +5 -0
- data/lib/nano/module/rename_method.rb +12 -0
- data/lib/nano/module/sattr.rb +56 -0
- data/lib/nano/module/sattr_accessor.rb +1 -0
- data/lib/nano/module/sattr_reader.rb +1 -0
- data/lib/nano/module/sattr_setter.rb +1 -0
- data/lib/nano/module/sattr_tester.rb +1 -0
- data/lib/nano/module/sattr_writer.rb +1 -0
- data/lib/nano/module/sort_on.rb +35 -0
- data/lib/nano/module/undef.rb +4 -0
- data/lib/nano/module/wrap.rb +5 -0
- data/lib/nano/module/wrap_method.rb +21 -0
- data/lib/nano/nil_as_emptiness.rb +34 -0
- data/lib/nano/nilclass.rb +2 -0
- data/lib/nano/nilclass/%5B%5D.rb +10 -0
- data/lib/nano/nilclass/empty%3F.rb +8 -0
- data/lib/nano/nilclass/include%3F.rb +8 -0
- data/lib/nano/nilclass/length.rb +10 -0
- data/lib/nano/nilclass/method_missing.rb +10 -0
- data/lib/nano/nilclass/size.rb +10 -0
- data/lib/nano/nilclass/to_f.rb +9 -0
- data/lib/nano/nilclass/to_h.rb +10 -0
- data/lib/nano/numeric.rb +5 -0
- data/lib/nano/numeric/ceil_multiple.rb +8 -0
- data/lib/nano/numeric/distance.rb +13 -0
- data/lib/nano/numeric/pred.rb +14 -0
- data/lib/nano/numeric/succ.rb +20 -0
- data/lib/nano/numeric/to_b.rb +13 -0
- data/lib/nano/object.rb +28 -0
- data/lib/nano/object/__class__.rb +7 -0
- data/lib/nano/object/assign_from.rb +42 -0
- data/lib/nano/object/assign_with.rb +45 -0
- data/lib/nano/object/bool%3F.rb +21 -0
- data/lib/nano/object/constant.rb +23 -0
- data/lib/nano/object/copy.rb +10 -0
- data/lib/nano/object/deep_copy.rb +10 -0
- data/lib/nano/object/false%3F.rb +21 -0
- data/lib/nano/object/generate_method_name.rb +18 -0
- data/lib/nano/object/in%3F.rb +10 -0
- data/lib/nano/object/metaclass.rb +7 -0
- data/lib/nano/object/method%21.rb +48 -0
- data/lib/nano/object/methods.rb +33 -0
- data/lib/nano/object/new.rb +11 -0
- data/lib/nano/object/object_class.rb +7 -0
- data/lib/nano/object/object_hexid.rb +10 -0
- data/lib/nano/object/set_from.rb +13 -0
- data/lib/nano/object/set_with.rb +19 -0
- data/lib/nano/object/singleton_class.rb +7 -0
- data/lib/nano/object/special_class.rb +7 -0
- data/lib/nano/object/super_method.rb +11 -0
- data/lib/nano/object/super_send.rb +11 -0
- data/lib/nano/object/superup.rb +39 -0
- data/lib/nano/object/to_b.rb +14 -0
- data/lib/nano/object/to_bool.rb +24 -0
- data/lib/nano/object/true%3F.rb +21 -0
- data/lib/nano/object/val%3F.rb +14 -0
- data/lib/nano/object/with_accessor.rb +21 -0
- data/lib/nano/object/with_reader.rb +19 -0
- data/lib/nano/object/with_writer.rb +21 -0
- data/lib/nano/ostruct.rb +3 -0
- data/lib/nano/ostruct/%5B%5D%3D.rb +18 -0
- data/lib/nano/ostruct/%5B%5D.rb +18 -0
- data/lib/nano/ostruct/ostruct_update.rb +20 -0
- data/lib/nano/pathname.rb +2 -0
- data/lib/nano/pathname/ascend.rb +21 -0
- data/lib/nano/pathname/descend.rb +20 -0
- data/lib/nano/proc.rb +3 -0
- data/lib/nano/proc/%2A.rb +8 -0
- data/lib/nano/proc/compose.rb +21 -0
- data/lib/nano/proc/to_method.rb +47 -0
- data/lib/nano/random.rb +30 -0
- data/lib/nano/range.rb +4 -0
- data/lib/nano/range/to_r.rb +9 -0
- data/lib/nano/range/to_range.rb +13 -0
- data/lib/nano/range/umbrella.rb +37 -0
- data/lib/nano/range/within%3F.rb +19 -0
- data/lib/nano/regexp.rb +3 -0
- data/lib/nano/regexp/arity.rb +12 -0
- data/lib/nano/regexp/to_re.rb +15 -0
- data/lib/nano/regexp/to_regexp.rb +11 -0
- data/lib/nano/string.rb +88 -0
- data/lib/nano/string/%3A%3Apatterns.rb +28 -0
- data/lib/nano/string/%3A%3Arand_letter.rb +13 -0
- data/lib/nano/string/%3A%3Arandom.rb +27 -0
- data/lib/nano/string/align_center.rb +36 -0
- data/lib/nano/string/align_left.rb +18 -0
- data/lib/nano/string/align_right.rb +18 -0
- data/lib/nano/string/at.rb +5 -0
- data/lib/nano/string/at_rand%21.rb +24 -0
- data/lib/nano/string/at_rand.rb +17 -0
- data/lib/nano/string/basename.rb +12 -0
- data/lib/nano/string/blank%3F.rb +14 -0
- data/lib/nano/string/bracket%21.rb +10 -0
- data/lib/nano/string/bracket.rb +19 -0
- data/lib/nano/string/brief.rb +23 -0
- data/lib/nano/string/bytes.rb +10 -0
- data/lib/nano/string/camelcase.rb +24 -0
- data/lib/nano/string/camelize.rb +14 -0
- data/lib/nano/string/capitalized%3F.rb +17 -0
- data/lib/nano/string/chars.rb +12 -0
- data/lib/nano/string/cmp.rb +18 -0
- data/lib/nano/string/demodulize.rb +7 -0
- data/lib/nano/string/dequote.rb +19 -0
- data/lib/nano/string/downcase%3F.rb +16 -0
- data/lib/nano/string/dresner%21.rb +11 -0
- data/lib/nano/string/dresner.rb +16 -0
- data/lib/nano/string/each_char.rb +11 -0
- data/lib/nano/string/each_word.rb +26 -0
- data/lib/nano/string/first%21.rb +34 -0
- data/lib/nano/string/first%3D.rb +13 -0
- data/lib/nano/string/first.rb +18 -0
- data/lib/nano/string/first_char.rb +11 -0
- data/lib/nano/string/fold.rb +33 -0
- data/lib/nano/string/frequency.rb +15 -0
- data/lib/nano/string/humanize.rb +10 -0
- data/lib/nano/string/indent.rb +17 -0
- data/lib/nano/string/index_all.rb +19 -0
- data/lib/nano/string/last%21.rb +34 -0
- data/lib/nano/string/last%3D.rb +13 -0
- data/lib/nano/string/last.rb +17 -0
- data/lib/nano/string/last_char.rb +13 -0
- data/lib/nano/string/line_wrap.rb +53 -0
- data/lib/nano/string/lines.rb +12 -0
- data/lib/nano/string/lowercase%3F.rb +11 -0
- data/lib/nano/string/margin.rb +26 -0
- data/lib/nano/string/mscan.rb +17 -0
- data/lib/nano/string/natcmp.rb +83 -0
- data/lib/nano/string/nchar.rb +21 -0
- data/lib/nano/string/ordinal.rb +7 -0
- data/lib/nano/string/plural.rb +43 -0
- data/lib/nano/string/pop.rb +7 -0
- data/lib/nano/string/probability.rb +11 -0
- data/lib/nano/string/push.rb +5 -0
- data/lib/nano/string/quote.rb +24 -0
- data/lib/nano/string/rand_byte%21.rb +17 -0
- data/lib/nano/string/rand_byte.rb +12 -0
- data/lib/nano/string/rand_index.rb +9 -0
- data/lib/nano/string/range.rb +15 -0
- data/lib/nano/string/range_all.rb +26 -0
- data/lib/nano/string/range_of_line.rb +19 -0
- data/lib/nano/string/shatter.rb +21 -0
- data/lib/nano/string/shift.rb +7 -0
- data/lib/nano/string/shuffle.rb +20 -0
- data/lib/nano/string/similarity.rb +84 -0
- data/lib/nano/string/singular.rb +51 -0
- data/lib/nano/string/slap.rb +9 -0
- data/lib/nano/string/soundex.rb +71 -0
- data/lib/nano/string/succ.rb +14 -0
- data/lib/nano/string/tab.rb +13 -0
- data/lib/nano/string/tabto.rb +17 -0
- data/lib/nano/string/to_a.rb +13 -0
- data/lib/nano/string/to_arr.rb +34 -0
- data/lib/nano/string/to_b.rb +28 -0
- data/lib/nano/string/to_const.rb +13 -0
- data/lib/nano/string/to_date.rb +10 -0
- data/lib/nano/string/to_proc.rb +26 -0
- data/lib/nano/string/to_re.rb +14 -0
- data/lib/nano/string/to_time.rb +9 -0
- data/lib/nano/string/underscore.rb +9 -0
- data/lib/nano/string/unix_crypt%21.rb +8 -0
- data/lib/nano/string/unix_crypt.rb +8 -0
- data/lib/nano/string/unpack.rb +16 -0
- data/lib/nano/string/unshift.rb +7 -0
- data/lib/nano/string/upcase%3F.rb +17 -0
- data/lib/nano/string/uppercase%3F.rb +11 -0
- data/lib/nano/string/whitespace%3F.rb +5 -0
- data/lib/nano/string/word_filter%21.rb +22 -0
- data/lib/nano/string/word_filter.rb +14 -0
- data/lib/nano/string/word_wrap%21.rb +13 -0
- data/lib/nano/string/word_wrap.rb +21 -0
- data/lib/nano/string/words.rb +12 -0
- data/lib/nano/string_as_array.rb +16 -0
- data/lib/nano/symbol.rb +12 -0
- data/lib/nano/symbol/camelcase.rb +21 -0
- data/lib/nano/symbol/camelize.rb +10 -0
- data/lib/nano/symbol/capitalized%3F.rb +10 -0
- data/lib/nano/symbol/downcase%3F.rb +10 -0
- data/lib/nano/symbol/not.rb +16 -0
- data/lib/nano/symbol/pad.rb +20 -0
- data/lib/nano/symbol/succ.rb +18 -0
- data/lib/nano/symbol/to_const.rb +14 -0
- data/lib/nano/symbol/to_proc.rb +20 -0
- data/lib/nano/symbol/to_str.rb +12 -0
- data/lib/nano/symbol/underscore.rb +10 -0
- data/lib/nano/symbol/upcase%3F.rb +10 -0
- data/lib/nano/time.rb +6 -0
- data/lib/nano/time/%3A%3Adays_extrema.rb +22 -0
- data/lib/nano/time/change.rb +20 -0
- data/lib/nano/time/elapse.rb +18 -0
- data/lib/nano/time/stamp.rb +21 -0
- data/lib/nano/time/to_date.rb +8 -0
- data/lib/nano/time/to_s.rb +6 -0
- data/lib/nano/time/to_time.rb +10 -0
- data/lib/nanoreq.rb +2 -0
- data/lib/nanosys.rb +203 -0
- data/pub/www/doc/classes/Array.html +794 -0
- data/pub/www/doc/classes/Array.src/M000039.html +36 -0
- data/pub/www/doc/classes/Array.src/M000040.html +30 -0
- data/pub/www/doc/classes/Array.src/M000041.html +30 -0
- data/pub/www/doc/classes/Array.src/M000042.html +30 -0
- data/pub/www/doc/classes/Array.src/M000043.html +35 -0
- data/pub/www/doc/classes/Array.src/M000044.html +30 -0
- data/pub/www/doc/classes/Array.src/M000045.html +30 -0
- data/pub/www/doc/classes/Array.src/M000046.html +31 -0
- data/pub/www/doc/classes/Array.src/M000047.html +30 -0
- data/pub/www/doc/classes/Array.src/M000048.html +32 -0
- data/pub/www/doc/classes/Array.src/M000049.html +37 -0
- data/pub/www/doc/classes/Array.src/M000050.html +38 -0
- data/pub/www/doc/classes/Array.src/M000051.html +31 -0
- data/pub/www/doc/classes/Array.src/M000052.html +36 -0
- data/pub/www/doc/classes/Array.src/M000053.html +30 -0
- data/pub/www/doc/classes/Array.src/M000054.html +30 -0
- data/pub/www/doc/classes/Array.src/M000055.html +34 -0
- data/pub/www/doc/classes/Array.src/M000056.html +30 -0
- data/pub/www/doc/classes/Array.src/M000057.html +36 -0
- data/pub/www/doc/classes/Array.src/M000058.html +42 -0
- data/pub/www/doc/classes/Array.src/M000059.html +30 -0
- data/pub/www/doc/classes/Array.src/M000060.html +43 -0
- data/pub/www/doc/classes/Array.src/M000061.html +30 -0
- data/pub/www/doc/classes/Array.src/M000062.html +34 -0
- data/pub/www/doc/classes/Array.src/M000063.html +30 -0
- data/pub/www/doc/classes/Array.src/M000064.html +31 -0
- data/pub/www/doc/classes/Array.src/M000065.html +34 -0
- data/pub/www/doc/classes/Array.src/M000066.html +35 -0
- data/pub/www/doc/classes/Array.src/M000067.html +30 -0
- data/pub/www/doc/classes/Array.src/M000069.html +30 -0
- data/pub/www/doc/classes/Array.src/M000070.html +34 -0
- data/pub/www/doc/classes/Array.src/M000071.html +39 -0
- data/pub/www/doc/classes/Array.src/M000072.html +41 -0
- data/pub/www/doc/classes/Array.src/M000073.html +35 -0
- data/pub/www/doc/classes/Binding.html +389 -0
- data/pub/www/doc/classes/Binding.src/M000216.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000217.html +73 -0
- data/pub/www/doc/classes/Binding.src/M000218.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000219.html +31 -0
- data/pub/www/doc/classes/Binding.src/M000220.html +73 -0
- data/pub/www/doc/classes/Binding.src/M000221.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000222.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000223.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000224.html +34 -0
- data/pub/www/doc/classes/Binding.src/M000225.html +31 -0
- data/pub/www/doc/classes/Binding.src/M000226.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000227.html +31 -0
- data/pub/www/doc/classes/Binding.src/M000228.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000229.html +30 -0
- data/pub/www/doc/classes/Binding.src/M000230.html +30 -0
- data/pub/www/doc/classes/Class.html +130 -0
- data/pub/www/doc/classes/Class.src/M000191.html +36 -0
- data/pub/www/doc/classes/Class.src/M000192.html +33 -0
- data/pub/www/doc/classes/Comparable.html +180 -0
- data/pub/www/doc/classes/Comparable.src/M000413.html +30 -0
- data/pub/www/doc/classes/Comparable.src/M000414.html +30 -0
- data/pub/www/doc/classes/Comparable.src/M000415.html +30 -0
- data/pub/www/doc/classes/Comparable.src/M000416.html +30 -0
- data/pub/www/doc/classes/Comparable.src/M000417.html +33 -0
- data/pub/www/doc/classes/Continuation.html +147 -0
- data/pub/www/doc/classes/Continuation.src/M000366.html +33 -0
- data/pub/www/doc/classes/Date.html +177 -0
- data/pub/www/doc/classes/Date.src/M000203.html +30 -0
- data/pub/www/doc/classes/Date.src/M000204.html +30 -0
- data/pub/www/doc/classes/Date.src/M000205.html +37 -0
- data/pub/www/doc/classes/Date.src/M000207.html +30 -0
- data/pub/www/doc/classes/Date.src/M000208.html +30 -0
- data/pub/www/doc/classes/Dir.html +111 -0
- data/pub/www/doc/classes/Dir.src/M000037.html +41 -0
- data/pub/www/doc/classes/Enumerable.html +630 -0
- data/pub/www/doc/classes/Enumerable.src/M000387.html +34 -0
- data/pub/www/doc/classes/Enumerable.src/M000388.html +34 -0
- data/pub/www/doc/classes/Enumerable.src/M000389.html +43 -0
- data/pub/www/doc/classes/Enumerable.src/M000390.html +38 -0
- data/pub/www/doc/classes/Enumerable.src/M000391.html +37 -0
- data/pub/www/doc/classes/Enumerable.src/M000392.html +41 -0
- data/pub/www/doc/classes/Enumerable.src/M000393.html +32 -0
- data/pub/www/doc/classes/Enumerable.src/M000394.html +30 -0
- data/pub/www/doc/classes/Enumerable.src/M000395.html +35 -0
- data/pub/www/doc/classes/Enumerable.src/M000396.html +37 -0
- data/pub/www/doc/classes/Enumerable.src/M000397.html +34 -0
- data/pub/www/doc/classes/Enumerable.src/M000399.html +32 -0
- data/pub/www/doc/classes/Enumerable.src/M000401.html +34 -0
- data/pub/www/doc/classes/Enumerable.src/M000402.html +34 -0
- data/pub/www/doc/classes/Enumerable.src/M000405.html +45 -0
- data/pub/www/doc/classes/Enumerable.src/M000406.html +33 -0
- data/pub/www/doc/classes/Enumerable.src/M000407.html +60 -0
- data/pub/www/doc/classes/Enumerable.src/M000408.html +41 -0
- data/pub/www/doc/classes/Enumerable.src/M000409.html +46 -0
- data/pub/www/doc/classes/Enumerable.src/M000410.html +30 -0
- data/pub/www/doc/classes/Enumerable.src/M000411.html +36 -0
- data/pub/www/doc/classes/Enumerable.src/M000412.html +30 -0
- data/pub/www/doc/classes/FalseClass.html +105 -0
- data/pub/www/doc/classes/FalseClass.src/M000038.html +30 -0
- data/pub/www/doc/classes/File.html +160 -0
- data/pub/www/doc/classes/File.src/M000418.html +33 -0
- data/pub/www/doc/classes/File.src/M000419.html +51 -0
- data/pub/www/doc/classes/File.src/M000420.html +33 -0
- data/pub/www/doc/classes/FileUtils.html +239 -0
- data/pub/www/doc/classes/FileUtils.src/M000359.html +71 -0
- data/pub/www/doc/classes/FileUtils.src/M000360.html +30 -0
- data/pub/www/doc/classes/FileUtils.src/M000361.html +58 -0
- data/pub/www/doc/classes/FileUtils.src/M000362.html +39 -0
- data/pub/www/doc/classes/FileUtils.src/M000363.html +40 -0
- data/pub/www/doc/classes/FileUtils.src/M000364.html +30 -0
- data/pub/www/doc/classes/FileUtils.src/M000365.html +67 -0
- data/pub/www/doc/classes/Float.html +150 -0
- data/pub/www/doc/classes/Float.src/M000188.html +30 -0
- data/pub/www/doc/classes/Float.src/M000189.html +31 -0
- data/pub/www/doc/classes/Float.src/M000190.html +31 -0
- data/pub/www/doc/classes/Functor.html +128 -0
- data/pub/www/doc/classes/Functor.src/M000209.html +28 -0
- data/pub/www/doc/classes/Functor.src/M000210.html +28 -0
- data/pub/www/doc/classes/Functor.src/M000211.html +28 -0
- data/pub/www/doc/classes/Functor.src/M000212.html +28 -0
- data/pub/www/doc/classes/Hash.html +933 -0
- data/pub/www/doc/classes/Hash.src/M000074.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000075.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000076.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000077.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000078.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000079.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000080.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000081.html +35 -0
- data/pub/www/doc/classes/Hash.src/M000082.html +37 -0
- data/pub/www/doc/classes/Hash.src/M000083.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000084.html +38 -0
- data/pub/www/doc/classes/Hash.src/M000085.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000086.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000090.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000091.html +34 -0
- data/pub/www/doc/classes/Hash.src/M000092.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000093.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000095.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000096.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000097.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000098.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000099.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000100.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000101.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000103.html +28 -0
- data/pub/www/doc/classes/Hash.src/M000104.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000105.html +40 -0
- data/pub/www/doc/classes/Hash.src/M000107.html +34 -0
- data/pub/www/doc/classes/Hash.src/M000108.html +30 -0
- data/pub/www/doc/classes/Hash.src/M000109.html +34 -0
- data/pub/www/doc/classes/Hash.src/M000110.html +33 -0
- data/pub/www/doc/classes/Hash.src/M000111.html +40 -0
- data/pub/www/doc/classes/Hash.src/M000113.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000115.html +67 -0
- data/pub/www/doc/classes/Hash.src/M000116.html +31 -0
- data/pub/www/doc/classes/Hash.src/M000117.html +32 -0
- data/pub/www/doc/classes/Hash.src/M000119.html +31 -0
- data/pub/www/doc/classes/Integer.html +237 -0
- data/pub/www/doc/classes/Integer.src/M000006.html +30 -0
- data/pub/www/doc/classes/Integer.src/M000007.html +30 -0
- data/pub/www/doc/classes/Integer.src/M000008.html +30 -0
- data/pub/www/doc/classes/Integer.src/M000009.html +31 -0
- data/pub/www/doc/classes/Integer.src/M000011.html +33 -0
- data/pub/www/doc/classes/Integer.src/M000012.html +39 -0
- data/pub/www/doc/classes/Integer.src/M000013.html +30 -0
- data/pub/www/doc/classes/Integer.src/M000014.html +30 -0
- data/pub/www/doc/classes/Kernel.html +415 -0
- data/pub/www/doc/classes/Kernel.src/M000367.html +39 -0
- data/pub/www/doc/classes/Kernel.src/M000368.html +31 -0
- data/pub/www/doc/classes/Kernel.src/M000369.html +30 -0
- data/pub/www/doc/classes/Kernel.src/M000370.html +30 -0
- data/pub/www/doc/classes/Kernel.src/M000371.html +30 -0
- data/pub/www/doc/classes/Kernel.src/M000372.html +38 -0
- data/pub/www/doc/classes/Kernel.src/M000373.html +30 -0
- data/pub/www/doc/classes/Kernel.src/M000374.html +31 -0
- data/pub/www/doc/classes/Kernel.src/M000375.html +50 -0
- data/pub/www/doc/classes/Kernel.src/M000376.html +49 -0
- data/pub/www/doc/classes/Kernel.src/M000377.html +30 -0
- data/pub/www/doc/classes/Kernel.src/M000378.html +28 -0
- data/pub/www/doc/classes/Kernel.src/M000379.html +31 -0
- data/pub/www/doc/classes/Kernel.src/M000380.html +34 -0
- data/pub/www/doc/classes/Kernel.src/M000381.html +32 -0
- data/pub/www/doc/classes/Kernel.src/M000382.html +31 -0
- data/pub/www/doc/classes/Kernel.src/M000383.html +31 -0
- data/pub/www/doc/classes/Kernel.src/M000384.html +33 -0
- data/pub/www/doc/classes/Kernel.src/M000385.html +35 -0
- data/pub/www/doc/classes/Kernel/NanoKernel.html +111 -0
- data/pub/www/doc/classes/Kernel/NanoKernel.src/M000386.html +35 -0
- data/pub/www/doc/classes/Logger.html +137 -0
- data/pub/www/doc/classes/Logger.src/M000231.html +31 -0
- data/pub/www/doc/classes/Logger.src/M000232.html +30 -0
- data/pub/www/doc/classes/MatchData.html +146 -0
- data/pub/www/doc/classes/MatchData.src/M000134.html +45 -0
- data/pub/www/doc/classes/MatchData.src/M000135.html +30 -0
- data/pub/www/doc/classes/MatchData.src/M000136.html +30 -0
- data/pub/www/doc/classes/Module.html +996 -0
- data/pub/www/doc/classes/Module.src/M000139.html +30 -0
- data/pub/www/doc/classes/Module.src/M000140.html +44 -0
- data/pub/www/doc/classes/Module.src/M000141.html +32 -0
- data/pub/www/doc/classes/Module.src/M000142.html +36 -0
- data/pub/www/doc/classes/Module.src/M000143.html +37 -0
- data/pub/www/doc/classes/Module.src/M000144.html +33 -0
- data/pub/www/doc/classes/Module.src/M000145.html +30 -0
- data/pub/www/doc/classes/Module.src/M000146.html +89 -0
- data/pub/www/doc/classes/Module.src/M000147.html +32 -0
- data/pub/www/doc/classes/Module.src/M000148.html +32 -0
- data/pub/www/doc/classes/Module.src/M000149.html +32 -0
- data/pub/www/doc/classes/Module.src/M000150.html +32 -0
- data/pub/www/doc/classes/Module.src/M000151.html +32 -0
- data/pub/www/doc/classes/Module.src/M000152.html +32 -0
- data/pub/www/doc/classes/Module.src/M000153.html +46 -0
- data/pub/www/doc/classes/Module.src/M000154.html +33 -0
- data/pub/www/doc/classes/Module.src/M000155.html +30 -0
- data/pub/www/doc/classes/Module.src/M000156.html +34 -0
- data/pub/www/doc/classes/Module.src/M000158.html +31 -0
- data/pub/www/doc/classes/Module.src/M000159.html +37 -0
- data/pub/www/doc/classes/Module.src/M000160.html +32 -0
- data/pub/www/doc/classes/Module.src/M000161.html +35 -0
- data/pub/www/doc/classes/Module.src/M000162.html +33 -0
- data/pub/www/doc/classes/Module.src/M000163.html +35 -0
- data/pub/www/doc/classes/Module.src/M000164.html +41 -0
- data/pub/www/doc/classes/Module.src/M000165.html +32 -0
- data/pub/www/doc/classes/Module.src/M000166.html +41 -0
- data/pub/www/doc/classes/Module.src/M000168.html +30 -0
- data/pub/www/doc/classes/Module.src/M000169.html +36 -0
- data/pub/www/doc/classes/Module.src/M000172.html +33 -0
- data/pub/www/doc/classes/Module.src/M000173.html +35 -0
- data/pub/www/doc/classes/Module.src/M000176.html +34 -0
- data/pub/www/doc/classes/Module.src/M000177.html +32 -0
- data/pub/www/doc/classes/Module.src/M000178.html +41 -0
- data/pub/www/doc/classes/NackClass.html +92 -0
- data/pub/www/doc/classes/NanoSystem.html +340 -0
- data/pub/www/doc/classes/NanoSystem.src/M000120.html +30 -0
- data/pub/www/doc/classes/NanoSystem.src/M000121.html +31 -0
- data/pub/www/doc/classes/NanoSystem.src/M000122.html +32 -0
- data/pub/www/doc/classes/NanoSystem.src/M000123.html +31 -0
- data/pub/www/doc/classes/NanoSystem.src/M000124.html +31 -0
- data/pub/www/doc/classes/NanoSystem.src/M000125.html +44 -0
- data/pub/www/doc/classes/NanoSystem.src/M000126.html +47 -0
- data/pub/www/doc/classes/NanoSystem.src/M000127.html +30 -0
- data/pub/www/doc/classes/NanoSystem.src/M000128.html +30 -0
- data/pub/www/doc/classes/NanoSystem.src/M000129.html +30 -0
- data/pub/www/doc/classes/NanoSystem.src/M000130.html +30 -0
- data/pub/www/doc/classes/NanoSystem.src/M000132.html +42 -0
- data/pub/www/doc/classes/NanoSystem.src/M000133.html +39 -0
- data/pub/www/doc/classes/NilClass.html +240 -0
- data/pub/www/doc/classes/NilClass.src/M000194.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000195.html +30 -0
- data/pub/www/doc/classes/NilClass.src/M000196.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000197.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000198.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000199.html +30 -0
- data/pub/www/doc/classes/NilClass.src/M000200.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000201.html +28 -0
- data/pub/www/doc/classes/NilClass.src/M000202.html +30 -0
- data/pub/www/doc/classes/Numeric.html +223 -0
- data/pub/www/doc/classes/Numeric.src/M000180.html +30 -0
- data/pub/www/doc/classes/Numeric.src/M000181.html +30 -0
- data/pub/www/doc/classes/Numeric.src/M000182.html +30 -0
- data/pub/www/doc/classes/Numeric.src/M000183.html +30 -0
- data/pub/www/doc/classes/Numeric.src/M000184.html +31 -0
- data/pub/www/doc/classes/Numeric.src/M000185.html +30 -0
- data/pub/www/doc/classes/Numeric.src/M000186.html +32 -0
- data/pub/www/doc/classes/Numeric.src/M000187.html +31 -0
- data/pub/www/doc/classes/Object.html +665 -0
- data/pub/www/doc/classes/Object.src/M000235.html +32 -0
- data/pub/www/doc/classes/Object.src/M000236.html +30 -0
- data/pub/www/doc/classes/Object.src/M000237.html +38 -0
- data/pub/www/doc/classes/Object.src/M000238.html +30 -0
- data/pub/www/doc/classes/Object.src/M000239.html +33 -0
- data/pub/www/doc/classes/Object.src/M000241.html +33 -0
- data/pub/www/doc/classes/Object.src/M000242.html +30 -0
- data/pub/www/doc/classes/Object.src/M000243.html +31 -0
- data/pub/www/doc/classes/Object.src/M000244.html +41 -0
- data/pub/www/doc/classes/Object.src/M000245.html +31 -0
- data/pub/www/doc/classes/Object.src/M000246.html +34 -0
- data/pub/www/doc/classes/Object.src/M000247.html +31 -0
- data/pub/www/doc/classes/Object.src/M000248.html +30 -0
- data/pub/www/doc/classes/Object.src/M000249.html +32 -0
- data/pub/www/doc/classes/Object.src/M000250.html +31 -0
- data/pub/www/doc/classes/Object.src/M000251.html +30 -0
- data/pub/www/doc/classes/Object.src/M000252.html +30 -0
- data/pub/www/doc/classes/Object.src/M000253.html +31 -0
- data/pub/www/doc/classes/Object.src/M000254.html +30 -0
- data/pub/www/doc/classes/Object.src/M000255.html +30 -0
- data/pub/www/doc/classes/Object.src/M000256.html +52 -0
- data/pub/www/doc/classes/Object.src/M000257.html +30 -0
- data/pub/www/doc/classes/Object.src/M000258.html +32 -0
- data/pub/www/doc/classes/Object.src/M000259.html +30 -0
- data/pub/www/doc/classes/Object.src/M000260.html +30 -0
- data/pub/www/doc/classes/Object.src/M000261.html +30 -0
- data/pub/www/doc/classes/Object.src/M000262.html +30 -0
- data/pub/www/doc/classes/Object.src/M000263.html +30 -0
- data/pub/www/doc/classes/OpenStruct.html +154 -0
- data/pub/www/doc/classes/OpenStruct.src/M000213.html +34 -0
- data/pub/www/doc/classes/OpenStruct.src/M000214.html +32 -0
- data/pub/www/doc/classes/OpenStruct.src/M000215.html +31 -0
- data/pub/www/doc/classes/Pathname.html +126 -0
- data/pub/www/doc/classes/Pathname.src/M000233.html +33 -0
- data/pub/www/doc/classes/Pathname.src/M000234.html +34 -0
- data/pub/www/doc/classes/Proc.html +143 -0
- data/pub/www/doc/classes/Proc.src/M000137.html +32 -0
- data/pub/www/doc/classes/Range.html +188 -0
- data/pub/www/doc/classes/Range.src/M000002.html +35 -0
- data/pub/www/doc/classes/Range.src/M000003.html +32 -0
- data/pub/www/doc/classes/Range.src/M000004.html +30 -0
- data/pub/www/doc/classes/Range.src/M000005.html +30 -0
- data/pub/www/doc/classes/Regexp.html +155 -0
- data/pub/www/doc/classes/Regexp.src/M000028.html +30 -0
- data/pub/www/doc/classes/Regexp.src/M000029.html +30 -0
- data/pub/www/doc/classes/Regexp.src/M000030.html +30 -0
- data/pub/www/doc/classes/ScriptBug.html +92 -0
- data/pub/www/doc/classes/String.html +1672 -0
- data/pub/www/doc/classes/String.src/M000264.html +30 -0
- data/pub/www/doc/classes/String.src/M000265.html +40 -0
- data/pub/www/doc/classes/String.src/M000266.html +30 -0
- data/pub/www/doc/classes/String.src/M000267.html +32 -0
- data/pub/www/doc/classes/String.src/M000268.html +30 -0
- data/pub/www/doc/classes/String.src/M000269.html +34 -0
- data/pub/www/doc/classes/String.src/M000271.html +31 -0
- data/pub/www/doc/classes/String.src/M000272.html +30 -0
- data/pub/www/doc/classes/String.src/M000273.html +34 -0
- data/pub/www/doc/classes/String.src/M000274.html +40 -0
- data/pub/www/doc/classes/String.src/M000275.html +30 -0
- data/pub/www/doc/classes/String.src/M000276.html +30 -0
- data/pub/www/doc/classes/String.src/M000277.html +37 -0
- data/pub/www/doc/classes/String.src/M000278.html +42 -0
- data/pub/www/doc/classes/String.src/M000279.html +32 -0
- data/pub/www/doc/classes/String.src/M000280.html +31 -0
- data/pub/www/doc/classes/String.src/M000281.html +34 -0
- data/pub/www/doc/classes/String.src/M000282.html +36 -0
- data/pub/www/doc/classes/String.src/M000283.html +30 -0
- data/pub/www/doc/classes/String.src/M000284.html +36 -0
- data/pub/www/doc/classes/String.src/M000285.html +34 -0
- data/pub/www/doc/classes/String.src/M000287.html +39 -0
- data/pub/www/doc/classes/String.src/M000288.html +83 -0
- data/pub/www/doc/classes/String.src/M000290.html +30 -0
- data/pub/www/doc/classes/String.src/M000291.html +36 -0
- data/pub/www/doc/classes/String.src/M000292.html +30 -0
- data/pub/www/doc/classes/String.src/M000293.html +38 -0
- data/pub/www/doc/classes/String.src/M000294.html +32 -0
- data/pub/www/doc/classes/String.src/M000295.html +30 -0
- data/pub/www/doc/classes/String.src/M000296.html +30 -0
- data/pub/www/doc/classes/String.src/M000297.html +30 -0
- data/pub/www/doc/classes/String.src/M000298.html +30 -0
- data/pub/www/doc/classes/String.src/M000299.html +30 -0
- data/pub/www/doc/classes/String.src/M000300.html +30 -0
- data/pub/www/doc/classes/String.src/M000301.html +30 -0
- data/pub/www/doc/classes/String.src/M000302.html +30 -0
- data/pub/www/doc/classes/String.src/M000303.html +30 -0
- data/pub/www/doc/classes/String.src/M000304.html +30 -0
- data/pub/www/doc/classes/String.src/M000305.html +32 -0
- data/pub/www/doc/classes/String.src/M000306.html +30 -0
- data/pub/www/doc/classes/String.src/M000307.html +32 -0
- data/pub/www/doc/classes/String.src/M000308.html +31 -0
- data/pub/www/doc/classes/String.src/M000309.html +30 -0
- data/pub/www/doc/classes/String.src/M000310.html +31 -0
- data/pub/www/doc/classes/String.src/M000312.html +32 -0
- data/pub/www/doc/classes/String.src/M000313.html +40 -0
- data/pub/www/doc/classes/String.src/M000314.html +31 -0
- data/pub/www/doc/classes/String.src/M000316.html +33 -0
- data/pub/www/doc/classes/String.src/M000317.html +37 -0
- data/pub/www/doc/classes/String.src/M000318.html +30 -0
- data/pub/www/doc/classes/String.src/M000319.html +32 -0
- data/pub/www/doc/classes/String.src/M000320.html +33 -0
- data/pub/www/doc/classes/String.src/M000321.html +34 -0
- data/pub/www/doc/classes/String.src/M000322.html +34 -0
- data/pub/www/doc/classes/String.src/M000323.html +30 -0
- data/pub/www/doc/classes/String.src/M000324.html +34 -0
- data/pub/www/doc/classes/String.src/M000325.html +34 -0
- data/pub/www/doc/classes/String.src/M000326.html +30 -0
- data/pub/www/doc/classes/String.src/M000327.html +32 -0
- data/pub/www/doc/classes/String.src/M000328.html +42 -0
- data/pub/www/doc/classes/String.src/M000329.html +34 -0
- data/pub/www/doc/classes/String.src/M000330.html +30 -0
- data/pub/www/doc/classes/String.src/M000331.html +35 -0
- data/pub/www/doc/classes/String.src/M000332.html +30 -0
- data/pub/www/doc/classes/String.src/M000333.html +31 -0
- data/pub/www/doc/classes/String.src/M000334.html +43 -0
- data/pub/www/doc/classes/String.src/M000335.html +30 -0
- data/pub/www/doc/classes/String.src/M000336.html +30 -0
- data/pub/www/doc/classes/String.src/M000337.html +30 -0
- data/pub/www/doc/classes/String.src/M000338.html +32 -0
- data/pub/www/doc/classes/String.src/M000339.html +30 -0
- data/pub/www/doc/classes/String.src/M000340.html +44 -0
- data/pub/www/doc/classes/String.src/M000341.html +31 -0
- data/pub/www/doc/classes/String.src/M000342.html +35 -0
- data/pub/www/doc/classes/String.src/M000343.html +39 -0
- data/pub/www/doc/classes/String.src/M000344.html +51 -0
- data/pub/www/doc/classes/String.src/M000345.html +30 -0
- data/pub/www/doc/classes/String.src/M000346.html +36 -0
- data/pub/www/doc/classes/String.src/M000347.html +30 -0
- data/pub/www/doc/classes/String.src/M000348.html +40 -0
- data/pub/www/doc/classes/String.src/M000349.html +36 -0
- data/pub/www/doc/classes/String.src/M000350.html +30 -0
- data/pub/www/doc/classes/String.src/M000352.html +33 -0
- data/pub/www/doc/classes/String.src/M000353.html +33 -0
- data/pub/www/doc/classes/String.src/M000354.html +30 -0
- data/pub/www/doc/classes/String.src/M000355.html +69 -0
- data/pub/www/doc/classes/String.src/M000356.html +30 -0
- data/pub/www/doc/classes/String.src/M000357.html +30 -0
- data/pub/www/doc/classes/Symbol.html +269 -0
- data/pub/www/doc/classes/Symbol.src/M000015.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000016.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000017.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000018.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000019.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000020.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000021.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000022.html +34 -0
- data/pub/www/doc/classes/Symbol.src/M000023.html +38 -0
- data/pub/www/doc/classes/Symbol.src/M000024.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000025.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000026.html +30 -0
- data/pub/www/doc/classes/Symbol.src/M000027.html +30 -0
- data/pub/www/doc/classes/Time.html +198 -0
- data/pub/www/doc/classes/Time.src/M000031.html +39 -0
- data/pub/www/doc/classes/Time.src/M000032.html +31 -0
- data/pub/www/doc/classes/Time.src/M000033.html +34 -0
- data/pub/www/doc/classes/Time.src/M000034.html +43 -0
- data/pub/www/doc/classes/Time.src/M000035.html +30 -0
- data/pub/www/doc/classes/Time.src/M000036.html +33 -0
- data/pub/www/doc/classes/TrueClass.html +105 -0
- data/pub/www/doc/classes/TrueClass.src/M000358.html +30 -0
- data/pub/www/doc/created.rid +1 -0
- data/pub/www/doc/files/COPYING.html +155 -0
- data/pub/www/doc/files/README.html +311 -0
- data/pub/www/doc/files/lib/nano/array/%5B%5D%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/%5B%5D_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/at_rand%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/at_rand_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/bulk_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/delete_unless_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/delete_values_at_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/delete_values_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/first%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/first%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/foot_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/head_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/last%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/last%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/last_index_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/mid_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/middle_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/pick%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/pick_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/pos_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/rand_index_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/rand_subset_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/range_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/rotate%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/rotate_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/select%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/shuffle%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/shuffle_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/array/slap_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/store_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/tail_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/thru_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/to_b_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array/to_h_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/array_rb.html +127 -0
- data/pub/www/doc/files/lib/nano/base_rb.html +124 -0
- data/pub/www/doc/files/lib/nano/binding/%3A%3Aof_caller_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/%5B%5D%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/%5B%5D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/__DIR___rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/__FILE___rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/__LINE___rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/call_stack_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/binding/called_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/caller_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/defined%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/eval_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/binding/local_variables_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/method_name_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/of_caller_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding/self_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/binding_rb.html +109 -0
- data/pub/www/doc/files/lib/nano/class/by_name_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/class/descendents_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/class/remove_descendents_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/class/remove_subclasses_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/class/subclasses_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/class_rb.html +100 -0
- data/pub/www/doc/files/lib/nano/comparable/at_least_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/comparable/at_most_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/comparable/cap_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/comparable/clip_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/comparable/cmp_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/comparable_rb.html +100 -0
- data/pub/www/doc/files/lib/nano/continuation/%3A%3Acreate_rb.html +146 -0
- data/pub/www/doc/files/lib/nano/continuation_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/days_in_month_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/days_of_month_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/stamp_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/to_date_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/to_s_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date/to_time_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/date_rb.html +101 -0
- data/pub/www/doc/files/lib/nano/dir/%3A%3Als_r_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/dir/%3A%3Arecurse_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/dir_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/enumerable/%25_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/%2A%2A_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/%3A%3Acombinations_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/%3A%3Across_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/collect_with_counter_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/collect_with_index_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/commonality_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/compact_collect_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/compact_map_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/cross_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/eF_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/each_by_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/each_combination_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/each_permutation_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/each_slice_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/each_unique_pair_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/entropy_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/enumerable/filter_collect_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/filter_map_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/find_collisions_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/frequency_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/graph_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/ideal_entropy_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/map_with_counter_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/map_with_index_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/enumerable/none%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/occur_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/one%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/partition_by_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/probability_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/to_h_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable/unique_by_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/enumerable_rb.html +127 -0
- data/pub/www/doc/files/lib/nano/file/%3A%3Acreate_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/file/%3A%3Aopen_as_string_rb.html +120 -0
- data/pub/www/doc/files/lib/nano/file/%3A%3Asplit_all_rb.html +101 -0
- data/pub/www/doc/files/lib/nano/file_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/fileutils/head_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/safe_ln_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/slice_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/tail_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/wc_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/whereis_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils/which_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/fileutils_rb.html +102 -0
- data/pub/www/doc/files/lib/nano/float/approx?_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/float/round_at_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/float/round_off_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/float/round_to_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/float_rb.html +99 -0
- data/pub/www/doc/files/lib/nano/full_rb.html +448 -0
- data/pub/www/doc/files/lib/nano/hash/%3A%3Azipnew_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/%3C%3C_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/%5B%5D%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/%5B%5D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/alias%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/assert_has_keys_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/assert_has_only_keys_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/at_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/collate%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/collate_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/delete_unless_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/each_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/graph%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/has_keys%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/has_only_keys%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/inverse_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/join_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/keys_to_s%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/keys_to_s_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/keys_to_sym%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/keys_to_sym_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/rand_key_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/rand_pair_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/rand_value_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/replace_each_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/shuffle%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/shuffle_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/slice_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/swap%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/swapkey%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/to_h_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/to_ostruct_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/to_ostruct_recurse_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/traverse%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/traverse_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/hash/update_each_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash/weave_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/hash_rb.html +129 -0
- data/pub/www/doc/files/lib/nano/inflect_rb.html +117 -0
- data/pub/www/doc/files/lib/nano/integer/even%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/integer/fact_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/integer/factorial_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/integer/multiple%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/integer/odd%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/integer/ordinal_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/integer/times_collect_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/integer/times_map_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/integer_rb.html +103 -0
- data/pub/www/doc/files/lib/nano/kernel/__require___rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/autoreload_glob_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/autoreload_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/bug%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/call_stack_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/called_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/demo_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/fn_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/get_by_id_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/here_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/maybe_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/method_name_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/nack_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/kernel/p_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/require_all_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/require_esc_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/kernel/require_local_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/require_nano_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/kernel/resc_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/returning_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/silence_warnings_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/kernel/silently_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel/warn_with_line_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/kernel_rb.html +118 -0
- data/pub/www/doc/files/lib/nano/logger/format_message_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/logger/format_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/matchdata/match_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/matchdata/matchset_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/matchdata/matchtree_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/matchdata_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/module/abstract_rb.html +105 -0
- data/pub/www/doc/files/lib/nano/module/alias_module_function_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/attr_setter_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/attr_tester_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/basename_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/by_name_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/cattr_accessor_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/module/cattr_reader_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/module/cattr_writer_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/module/clone_removing_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/clone_renaming_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/clone_using_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/dirname_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/equate_on_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/generate_instance_method_name_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/include_as_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/initializer_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/instance_methods_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/integrate_rb.html +100 -0
- data/pub/www/doc/files/lib/nano/module/memoize_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/modspace_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/module/namespace_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/redef_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/redefine_method_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/redirect_method_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/redirect_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/remove_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/rename_method_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/rename_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sattr_accessor_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sattr_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/module/sattr_reader_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sattr_setter_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sattr_tester_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sattr_writer_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module/sort_on_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/undef_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/wrap_method_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/module/wrap_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/module_rb.html +129 -0
- data/pub/www/doc/files/lib/nano/nil_as_emptiness_rb.html +117 -0
- data/pub/www/doc/files/lib/nano/nilclass/%5B%5D_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass/empty%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass/include%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass/length_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/nilclass/method_missing_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass/size_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/nilclass/to_f_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass/to_h_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/nilclass_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/numeric/ceil_multiple_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/numeric/distance_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/numeric/pred_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/numeric/succ_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/numeric/to_b_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/numeric_rb.html +100 -0
- data/pub/www/doc/files/lib/nano/object/__class___rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/assign_from_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/assign_with_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/bool%3F_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object/constant_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/copy_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/deep_copy_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/false%3F_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object/generate_method_name_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/in%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/metaclass_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/method%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/methods_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/new_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/object_class_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/object_hexid_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/set_from_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/set_with_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/singleton_class_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/special_class_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/super_method_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/super_send_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/superup_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/object/to_b_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/to_bool_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/true%3F_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object/val%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/object/with_accessor_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object/with_reader_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object/with_writer_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/object_rb.html +123 -0
- data/pub/www/doc/files/lib/nano/ostruct/%5B%5D%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/ostruct/%5B%5D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/ostruct/ostruct_update_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/ostruct_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/pathname/ascend_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/pathname/descend_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/pathname_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/proc/%2A_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/proc/compose_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/proc/to_method_rb.html +113 -0
- data/pub/www/doc/files/lib/nano/proc/to_method_rb.src/M000001.html +40 -0
- data/pub/www/doc/files/lib/nano/proc_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/random_rb.html +120 -0
- data/pub/www/doc/files/lib/nano/range/to_r_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/range/to_range_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/range/umbrella_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/range/within%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/range_rb.html +99 -0
- data/pub/www/doc/files/lib/nano/regexp/arity_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/regexp/to_re_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/regexp/to_regexp_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/regexp_rb.html +98 -0
- data/pub/www/doc/files/lib/nano/string/%3A%3Apatterns_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/%3A%3Arand_letter_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/%3A%3Arandom_rb.html +99 -0
- data/pub/www/doc/files/lib/nano/string/align_center_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/align_left_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/align_right_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/at_rand%21_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/at_rand_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/at_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/basename_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/blank%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/bracket%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/bracket_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/brief_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/bytes_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/camelcase_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/camelize_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/capitalized%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/chars_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/cmp_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/demodulize_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/dequote_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/downcase%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/dresner%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/dresner_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/each_char_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/each_word_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/first%21_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/first%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/first_char_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/first_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/fold_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/frequency_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/humanize_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/indent_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/index_all_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/last%21_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/last%3D_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/last_char_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/last_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/line_wrap_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/lines_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/lowercase%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/margin_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/mscan_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/natcmp_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/nchar_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/ordinal_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/plural_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/pop_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/probability_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/push_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/quote_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/rand_byte%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/rand_byte_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/rand_index_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/range_all_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/range_of_line_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/range_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/shatter_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/shift_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/shuffle_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/similarity_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/singular_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/slap_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/soundex_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/succ_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/tab_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/tabto_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/to_a_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/to_arr_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/to_b_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/to_const_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/to_date_rb.html +97 -0
- data/pub/www/doc/files/lib/nano/string/to_proc_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/to_re_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/to_time_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/underscore_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/unix_crypt%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/unix_crypt_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/unpack_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/unshift_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/upcase%3F_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/uppercase%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/whitespace%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/word_filter%21_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string/word_filter_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/word_wrap%21_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/word_wrap_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/string/words_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/string_as_array_rb.html +109 -0
- data/pub/www/doc/files/lib/nano/string_rb.html +183 -0
- data/pub/www/doc/files/lib/nano/symbol/camelcase_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/camelize_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/capitalized%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/downcase%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/not_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/symbol/pad_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/symbol/succ_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/symbol/to_const_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/to_proc_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/symbol/to_str_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/symbol/underscore_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol/upcase%3F_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/symbol_rb.html +107 -0
- data/pub/www/doc/files/lib/nano/time/%3A%3Adays_extrema_rb.html +114 -0
- data/pub/www/doc/files/lib/nano/time/change_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/time/elapse_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/time/stamp_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/time/to_date_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/time/to_s_rb.html +96 -0
- data/pub/www/doc/files/lib/nano/time/to_time_rb.html +92 -0
- data/pub/www/doc/files/lib/nano/time_rb.html +101 -0
- data/pub/www/doc/files/lib/nano_rb.html +96 -0
- data/pub/www/doc/files/lib/nanoreq_rb.html +97 -0
- data/pub/www/doc/files/lib/nanosys_rb.html +97 -0
- data/pub/www/doc/fr_class_index.html +80 -0
- data/pub/www/doc/fr_file_index.html +476 -0
- data/pub/www/doc/fr_method_index.html +465 -0
- data/pub/www/doc/index.html +28 -0
- data/pub/www/doc/rdoc-style.css +175 -0
- data/pub/www/images/atom_logo_sm.jpg +0 -0
- data/pub/www/images/gray.jpg +0 -0
- data/pub/www/images/ruby-lg.png +0 -0
- data/pub/www/images/ruby.gif +0 -0
- data/pub/www/index.html +195 -0
- data/pub/www/methods.html +439 -0
- data/setup.rb +1361 -0
- data/test/array/tc_array.rb +324 -0
- data/test/binding/tc_binding.rb +108 -0
- data/test/binding/tc_binding_call_stack.rb +12 -0
- data/test/binding/tc_binding_of_caller.rb +20 -0
- data/test/class/tc_class.rb +48 -0
- data/test/comparable/tc_comparable.rb +62 -0
- data/test/continuation/tc_continuation.rb +12 -0
- data/test/date/tc_date.rb +54 -0
- data/test/dir/TEST/A.txt +0 -0
- data/test/dir/TEST/A/B.txt +0 -0
- data/test/dir/TEST/A/B/C.txt +0 -0
- data/test/dir/tc_dir.rb +31 -0
- data/test/enumerable/tc_enumerable.rb +370 -0
- data/test/file/TEST1 +1 -0
- data/test/file/TEST2 +1 -0
- data/test/file/tc_file.rb +41 -0
- data/test/fileutils/tc_fileutils.rb +77 -0
- data/test/fileutils/tc_wc.rb +48 -0
- data/test/fileutils/tc_whereis.rb +36 -0
- data/test/fileutils/tc_which.rb +41 -0
- data/test/fileutils/test_file.txt +25 -0
- data/test/fileutils/test_file2.txt +25 -0
- data/test/float/tc_float.rb +64 -0
- data/test/hash/tc_each.rb +25 -0
- data/test/hash/tc_hash.rb +296 -0
- data/test/hash/tc_slice-op.rb +98 -0
- data/test/integer/tc_integer.rb +77 -0
- data/test/kernel/TEST/test.rb +4 -0
- data/test/kernel/tc_kernel.rb +165 -0
- data/test/matchdata/tc_matchdata.rb +62 -0
- data/test/module/tc_abstract.rb +24 -0
- data/test/module/tc_cloning.rb +44 -0
- data/test/module/tc_instance_methods.rb +45 -0
- data/test/module/tc_memoize.rb +38 -0
- data/test/module/tc_module.rb +349 -0
- data/test/nilclass/tc_method_missing.rb +12 -0
- data/test/nilclass/tc_nilclass.rb +59 -0
- data/test/numeric/tc_numeric.rb +61 -0
- data/test/object/tc_methods.rb +39 -0
- data/test/object/tc_object.rb +299 -0
- data/test/object/tc_superup.rb +64 -0
- data/test/object/tc_val%3F.rb +33 -0
- data/test/ostruct/tc_ostruct.rb +35 -0
- data/test/proc/tc_proc.rb +40 -0
- data/test/range/tc_range.rb +49 -0
- data/test/regexp/tc_regexp.rb +38 -0
- data/test/string/tc_at.rb +25 -0
- data/test/string/tc_basename.rb +23 -0
- data/test/string/tc_demodulize.rb +23 -0
- data/test/string/tc_margin.rb +105 -0
- data/test/string/tc_pop.rb +24 -0
- data/test/string/tc_push.rb +24 -0
- data/test/string/tc_quote.rb +33 -0
- data/test/string/tc_shift.rb +24 -0
- data/test/string/tc_slap.rb +24 -0
- data/test/string/tc_soundex.rb +24 -0
- data/test/string/tc_string.rb +705 -0
- data/test/string/tc_to_a.rb +13 -0
- data/test/string/tc_unshift.rb +23 -0
- data/test/symbol/tc_symbol.rb +105 -0
- data/test/tc_fixtures/filelist/testfile.txt +1 -0
- data/test/tc_fixtures/filelist/testfile2.txt +1 -0
- data/test/tc_nil_as_emptiness.rb +20 -0
- data/test/time/tc_time.rb +70 -0
- metadata +1546 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>round_at (Float)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/float/round_at.rb, line 11</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">#d=0</span>
|
27
|
+
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)).<span class="ruby-identifier">round_off</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">10.0</span> <span class="ruby-operator">**</span> <span class="ruby-identifier">d</span>)
|
28
|
+
<span class="ruby-keyword kw">end</span></pre>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>round_to (Float)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/float/round_to.rb, line 11</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>( <span class="ruby-identifier">n</span> ) <span class="ruby-comment cmt">#n=1</span>
|
27
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
28
|
+
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)).<span class="ruby-identifier">round_off</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-value">1.0</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">n</span>)
|
29
|
+
<span class="ruby-keyword kw">end</span></pre>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>approx? (Float)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/float/approx?.rb, line 7</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">approx?</span>( <span class="ruby-identifier">x</span>, <span class="ruby-identifier">n</span>=<span class="ruby-value">0</span><span class="ruby-value">.01</span> )
|
27
|
+
<span class="ruby-keyword kw">return</span>(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">x</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
28
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">round_to</span>(<span class="ruby-identifier">n</span>) <span class="ruby-operator">==</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_f</span>.<span class="ruby-identifier">round_to</span>(<span class="ruby-identifier">n</span>)
|
29
|
+
<span class="ruby-keyword kw">end</span></pre>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,128 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: Functor</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Functor</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing=0 cellpadding=2>
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/nano/object/superup_rb.html">lib/nano/object/superup.rb</a>
|
61
|
+
<a href="../files/lib/nano/enumerable/eF_rb.html">lib/nano/enumerable/eF.rb</a>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Parent:</td>
|
66
|
+
<td>
|
67
|
+
<a href="Object.html">
|
68
|
+
Object
|
69
|
+
</a>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
</table>
|
76
|
+
<!-- banner header -->
|
77
|
+
|
78
|
+
<div id="bodyContent">
|
79
|
+
<div id="content">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
<div class="sectiontitle">Methods</div>
|
85
|
+
<ul>
|
86
|
+
<li><a href="#M000212">method_missing</a></li>
|
87
|
+
<li><a href="#M000210">method_missing</a></li>
|
88
|
+
<li><a href="#M000211">new</a></li>
|
89
|
+
<li><a href="#M000209">new</a></li>
|
90
|
+
</ul>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<div class="sectiontitle">Public Class methods</div>
|
98
|
+
<div class="method">
|
99
|
+
<div class="title">
|
100
|
+
<a name="M000211"></a><b>new</b>(&func)
|
101
|
+
[ <a href="javascript:openCode('Functor.src/M000211.html')">source</a> ]
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<div class="method">
|
105
|
+
<div class="title">
|
106
|
+
<a name="M000209"></a><b>new</b>(&func)
|
107
|
+
[ <a href="javascript:openCode('Functor.src/M000209.html')">source</a> ]
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="sectiontitle">Public Instance methods</div>
|
111
|
+
<div class="method">
|
112
|
+
<div class="title">
|
113
|
+
<a name="M000212"></a><b>method_missing</b>(op, *args)
|
114
|
+
[ <a href="javascript:openCode('Functor.src/M000212.html')">source</a> ]
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
<div class="method">
|
118
|
+
<div class="title">
|
119
|
+
<a name="M000210"></a><b>method_missing</b>(op, *args)
|
120
|
+
[ <a href="javascript:openCode('Functor.src/M000210.html')">source</a> ]
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</body>
|
128
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>new (Functor)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/object/superup.rb, line 6</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">func</span>) ; <span class="ruby-ivar">@func</span> = <span class="ruby-identifier">func</span> ; <span class="ruby-keyword kw">end</span></pre>
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>method_missing (Functor)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/object/superup.rb, line 7</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) ; <span class="ruby-ivar">@func</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) ; <span class="ruby-keyword kw">end</span></pre>
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>new (Functor)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/enumerable/eF.rb, line 7</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">func</span>) ; <span class="ruby-ivar">@func</span> = <span class="ruby-identifier">func</span> ; <span class="ruby-keyword kw">end</span></pre>
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head><title>method_missing (Functor)</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
8
|
+
<style>
|
9
|
+
.ruby-comment { color: green; font-style: italic }
|
10
|
+
.ruby-constant { color: #4433aa; font-weight: bold; }
|
11
|
+
.ruby-identifier { color: #222222; }
|
12
|
+
.ruby-ivar { color: #2233dd; }
|
13
|
+
.ruby-keyword { color: #3333FF; font-weight: bold }
|
14
|
+
.ruby-node { color: #777777; }
|
15
|
+
.ruby-operator { color: #111111; }
|
16
|
+
.ruby-regexp { color: #662222; }
|
17
|
+
.ruby-value { color: #662222; font-style: italic }
|
18
|
+
.kw { color: #3333FF; font-weight: bold }
|
19
|
+
.cmt { color: green; font-style: italic }
|
20
|
+
.str { color: #662222; font-style: italic }
|
21
|
+
.re { color: #662222; }
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body bgcolor="white">
|
25
|
+
<pre><span class="ruby-comment cmt"># File lib/nano/enumerable/eF.rb, line 8</span>
|
26
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) ; <span class="ruby-ivar">@func</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) ; <span class="ruby-keyword kw">end</span></pre>
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,933 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: Hash</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Hash</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing=0 cellpadding=2>
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/nano/hash/collate_rb.html">lib/nano/hash/collate.rb</a>
|
61
|
+
<a href="../files/lib/nano/hash/assert_has_keys_rb.html">lib/nano/hash/assert_has_keys.rb</a>
|
62
|
+
<a href="../files/lib/nano/hash/graph%21_rb.html">lib/nano/hash/graph%21.rb</a>
|
63
|
+
<a href="../files/lib/nano/hash/join_rb.html">lib/nano/hash/join.rb</a>
|
64
|
+
<a href="../files/lib/nano/hash/has_only_keys%3F_rb.html">lib/nano/hash/has_only_keys%3F.rb</a>
|
65
|
+
<a href="../files/lib/nano/hash/swapkey%21_rb.html">lib/nano/hash/swapkey%21.rb</a>
|
66
|
+
<a href="../files/lib/nano/hash/alias%21_rb.html">lib/nano/hash/alias%21.rb</a>
|
67
|
+
<a href="../files/lib/nano/hash/%5B%5D%3D_rb.html">lib/nano/hash/%5B%5D%3D.rb</a>
|
68
|
+
<a href="../files/lib/nano/hash/at_rb.html">lib/nano/hash/at.rb</a>
|
69
|
+
<a href="../files/lib/nano/hash/each_rb.html">lib/nano/hash/each.rb</a>
|
70
|
+
<a href="../files/lib/nano/hash/to_ostruct_rb.html">lib/nano/hash/to_ostruct.rb</a>
|
71
|
+
<a href="../files/lib/nano/hash/inverse_rb.html">lib/nano/hash/inverse.rb</a>
|
72
|
+
<a href="../files/lib/nano/hash/%3C%3C_rb.html">lib/nano/hash/%3C%3C.rb</a>
|
73
|
+
<a href="../files/lib/nano/hash/rand_value_rb.html">lib/nano/hash/rand_value.rb</a>
|
74
|
+
<a href="../files/lib/nano/hash/has_keys%3F_rb.html">lib/nano/hash/has_keys%3F.rb</a>
|
75
|
+
<a href="../files/lib/nano/hash/%5B%5D_rb.html">lib/nano/hash/%5B%5D.rb</a>
|
76
|
+
<a href="../files/lib/nano/hash/assert_has_only_keys_rb.html">lib/nano/hash/assert_has_only_keys.rb</a>
|
77
|
+
<a href="../files/lib/nano/hash/keys_to_sym_rb.html">lib/nano/hash/keys_to_sym.rb</a>
|
78
|
+
<a href="../files/lib/nano/hash/collate%21_rb.html">lib/nano/hash/collate%21.rb</a>
|
79
|
+
<a href="../files/lib/nano/hash/%3A%3Azipnew_rb.html">lib/nano/hash/%3A%3Azipnew.rb</a>
|
80
|
+
<a href="../files/lib/nano/hash/delete_unless_rb.html">lib/nano/hash/delete_unless.rb</a>
|
81
|
+
<a href="../files/lib/nano/hash/replace_each_rb.html">lib/nano/hash/replace_each.rb</a>
|
82
|
+
<a href="../files/lib/nano/hash/shuffle%21_rb.html">lib/nano/hash/shuffle%21.rb</a>
|
83
|
+
<a href="../files/lib/nano/hash/rand_key_rb.html">lib/nano/hash/rand_key.rb</a>
|
84
|
+
<a href="../files/lib/nano/hash/to_h_rb.html">lib/nano/hash/to_h.rb</a>
|
85
|
+
<a href="../files/lib/nano/hash/slice_rb.html">lib/nano/hash/slice.rb</a>
|
86
|
+
<a href="../files/lib/nano/hash/traverse%21_rb.html">lib/nano/hash/traverse%21.rb</a>
|
87
|
+
<a href="../files/lib/nano/hash/keys_to_sym%21_rb.html">lib/nano/hash/keys_to_sym%21.rb</a>
|
88
|
+
<a href="../files/lib/nano/hash/traverse_rb.html">lib/nano/hash/traverse.rb</a>
|
89
|
+
<a href="../files/lib/nano/hash/shuffle_rb.html">lib/nano/hash/shuffle.rb</a>
|
90
|
+
<a href="../files/lib/nano/hash/to_ostruct_recurse_rb.html">lib/nano/hash/to_ostruct_recurse.rb</a>
|
91
|
+
<a href="../files/lib/nano/hash/swap%21_rb.html">lib/nano/hash/swap%21.rb</a>
|
92
|
+
<a href="../files/lib/nano/hash/keys_to_s%21_rb.html">lib/nano/hash/keys_to_s%21.rb</a>
|
93
|
+
<a href="../files/lib/nano/hash/keys_to_s_rb.html">lib/nano/hash/keys_to_s.rb</a>
|
94
|
+
<a href="../files/lib/nano/hash/weave_rb.html">lib/nano/hash/weave.rb</a>
|
95
|
+
<a href="../files/lib/nano/hash/rand_pair_rb.html">lib/nano/hash/rand_pair.rb</a>
|
96
|
+
<a href="../files/lib/nano/hash/update_each_rb.html">lib/nano/hash/update_each.rb</a>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td>Parent:</td>
|
101
|
+
<td>
|
102
|
+
<a href="Object.html">
|
103
|
+
Object
|
104
|
+
</a>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
</table>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
</table>
|
111
|
+
<!-- banner header -->
|
112
|
+
|
113
|
+
<div id="bodyContent">
|
114
|
+
<div id="content">
|
115
|
+
|
116
|
+
<div class="description"><p>
|
117
|
+
Daniel Schierbeck
|
118
|
+
</p>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<div class="sectiontitle">Methods</div>
|
124
|
+
<ul>
|
125
|
+
<li><a href="#M000091">[]</a></li>
|
126
|
+
<li><a href="#M000081">[]=</a></li>
|
127
|
+
<li><a href="#M000080">alias!</a></li>
|
128
|
+
<li><a href="#M000075">assert_has_keys</a></li>
|
129
|
+
<li><a href="#M000092">assert_has_only_keys</a></li>
|
130
|
+
<li><a href="#M000088">at_rand</a></li>
|
131
|
+
<li><a href="#M000089">at_rand!</a></li>
|
132
|
+
<li><a href="#M000074">collate</a></li>
|
133
|
+
<li><a href="#M000095">collate!</a></li>
|
134
|
+
<li><a href="#M000097">delete_unless</a></li>
|
135
|
+
<li><a href="#M000082">each</a></li>
|
136
|
+
<li><a href="#M000076">graph!</a></li>
|
137
|
+
<li><a href="#M000090">has_keys?</a></li>
|
138
|
+
<li><a href="#M000078">has_only_keys?</a></li>
|
139
|
+
<li><a href="#M000084">inverse</a></li>
|
140
|
+
<li><a href="#M000077">join</a></li>
|
141
|
+
<li><a href="#M000113">keys_to_s</a></li>
|
142
|
+
<li><a href="#M000111">keys_to_s!</a></li>
|
143
|
+
<li><a href="#M000093">keys_to_sym</a></li>
|
144
|
+
<li><a href="#M000105">keys_to_sym!</a></li>
|
145
|
+
<li><a href="#M000087">pick</a></li>
|
146
|
+
<li><a href="#M000102">pick_key</a></li>
|
147
|
+
<li><a href="#M000118">pick_pair</a></li>
|
148
|
+
<li><a href="#M000100">rand_key</a></li>
|
149
|
+
<li><a href="#M000101">rand_key!</a></li>
|
150
|
+
<li><a href="#M000116">rand_pair</a></li>
|
151
|
+
<li><a href="#M000117">rand_pair!</a></li>
|
152
|
+
<li><a href="#M000085">rand_value</a></li>
|
153
|
+
<li><a href="#M000086">rand_value!</a></li>
|
154
|
+
<li><a href="#M000098">replace_each</a></li>
|
155
|
+
<li><a href="#M000108">shuffle</a></li>
|
156
|
+
<li><a href="#M000099">shuffle!</a></li>
|
157
|
+
<li><a href="#M000114">stringify_keys</a></li>
|
158
|
+
<li><a href="#M000112">stringify_keys!</a></li>
|
159
|
+
<li><a href="#M000110">swap!</a></li>
|
160
|
+
<li><a href="#M000079">swapkey!</a></li>
|
161
|
+
<li><a href="#M000094">symbolize_keys</a></li>
|
162
|
+
<li><a href="#M000106">symbolize_keys!</a></li>
|
163
|
+
<li><a href="#M000103">to_h</a></li>
|
164
|
+
<li><a href="#M000083">to_ostruct</a></li>
|
165
|
+
<li><a href="#M000109">to_ostruct_recurse</a></li>
|
166
|
+
<li><a href="#M000107">traverse</a></li>
|
167
|
+
<li><a href="#M000104">traverse!</a></li>
|
168
|
+
<li><a href="#M000119">update_each</a></li>
|
169
|
+
<li><a href="#M000115">weave</a></li>
|
170
|
+
<li><a href="#M000096">zipnew</a></li>
|
171
|
+
</ul>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
<div class="sectiontitle">Public Class methods</div>
|
179
|
+
<div class="method">
|
180
|
+
<div class="title">
|
181
|
+
<a name="M000096"></a><b>zipnew</b>(keys,values)
|
182
|
+
[ <a href="javascript:openCode('Hash.src/M000096.html')">source</a> ]
|
183
|
+
</div>
|
184
|
+
<div class="description">
|
185
|
+
<p>
|
186
|
+
Creates a new hash from two arrays —a keys array and a values array.
|
187
|
+
</p>
|
188
|
+
<pre>
|
189
|
+
Hah.zipnew(["a","b","c"], [1,2,3])
|
190
|
+
#=> { "a"=>1, "b"=>2, "c"=>3 }
|
191
|
+
</pre>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
<div class="sectiontitle">Public Instance methods</div>
|
195
|
+
<div class="method">
|
196
|
+
<div class="title">
|
197
|
+
<a name="M000091"></a><b>[]</b>( *sliceKeys )
|
198
|
+
[ <a href="javascript:openCode('Hash.src/M000091.html')">source</a> ]
|
199
|
+
</div>
|
200
|
+
<div class="description">
|
201
|
+
<p>
|
202
|
+
Adds slicing to <a href="Hash.html">Hash</a>#[]. If more than one key
|
203
|
+
arguments is given to <tt><a href="Hash.html">Hash</a>#[]</tt>, the return
|
204
|
+
value will be an array of the corresponding values.
|
205
|
+
</p>
|
206
|
+
<pre>
|
207
|
+
h = { :a => 1, :b => 2, :c => 3 }
|
208
|
+
h[:a] #=> 1
|
209
|
+
h[:a, :b] #=> [1,2]
|
210
|
+
</pre>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
<div class="method">
|
214
|
+
<div class="title">
|
215
|
+
<a name="M000081"></a><b>[]=</b>( *args )
|
216
|
+
[ <a href="javascript:openCode('Hash.src/M000081.html')">source</a> ]
|
217
|
+
</div>
|
218
|
+
<div class="description">
|
219
|
+
<p>
|
220
|
+
Add slicing to element assignment operator.
|
221
|
+
</p>
|
222
|
+
<pre>
|
223
|
+
h = {:a=>1, :b=>2, :c=>3}
|
224
|
+
|
225
|
+
h[:a] = 9 #=> 9
|
226
|
+
h #=> {:a=>9, :b=>2, :c=>3}
|
227
|
+
|
228
|
+
h[:a, :c] = [10,11] #=> [10,11]
|
229
|
+
h #=> {:a=>10, :b=>2, :c=>11}
|
230
|
+
</pre>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<div class="method">
|
234
|
+
<div class="title">
|
235
|
+
<a name="M000080"></a><b>alias!</b>( newkey, oldkey )
|
236
|
+
[ <a href="javascript:openCode('Hash.src/M000080.html')">source</a> ]
|
237
|
+
</div>
|
238
|
+
<div class="description">
|
239
|
+
<p>
|
240
|
+
Modifies the receiving <a href="Hash.html">Hash</a> so that the value
|
241
|
+
previously referred to by <em>oldkey</em> is also referenced by
|
242
|
+
<em>newkey</em>; <em>oldkey</em> is retained in the <a
|
243
|
+
href="Hash.html">Hash</a>. If <em>oldkey</em> does not exist as a key in
|
244
|
+
the <a href="Hash.html">Hash</a>, no change is effected.
|
245
|
+
</p>
|
246
|
+
<p>
|
247
|
+
Returns a reference to the <a href="Hash.html">Hash</a>.
|
248
|
+
</p>
|
249
|
+
<pre>
|
250
|
+
foo = { :name=>'Gavin', 'wife'=>:Lisa }
|
251
|
+
foo.alias!('name',:name) => { :name=>'Gavin', 'name'=>'Gavin', 'wife'=>:Lisa }
|
252
|
+
|
253
|
+
foo = { :name=>'Gavin', 'wife'=>:Lisa }
|
254
|
+
foo.alias!('spouse','wife') => { :name=>'Gavin', 'wife'=>:Lisa, 'spouse'=>:Lisa }
|
255
|
+
|
256
|
+
foo = { :name=>'Gavin', 'wife'=>:Lisa }
|
257
|
+
foo.alias!('bar','foo') => { :name=>'Gavin', 'wife'=>:Lisa }
|
258
|
+
</pre>
|
259
|
+
<p>
|
260
|
+
Note that if the <em>oldkey</em> is reassigned, the reference will no
|
261
|
+
longer exist, and the <em>newkey</em> will remain as it was.
|
262
|
+
</p>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
<div class="method">
|
266
|
+
<div class="title">
|
267
|
+
<a name="M000075"></a><b>assert_has_keys</b>(*check_keys)
|
268
|
+
[ <a href="javascript:openCode('Hash.src/M000075.html')">source</a> ]
|
269
|
+
</div>
|
270
|
+
<div class="description">
|
271
|
+
<p>
|
272
|
+
Returns true is hash has the given keys, otherwise throws an ArgumentError.
|
273
|
+
</p>
|
274
|
+
<pre>
|
275
|
+
h = { :a => 1, :b => 2 }
|
276
|
+
h.assert_has_keys( :a ) #=> true
|
277
|
+
h.assert_has_keys( :c ) #=> ArgumentError
|
278
|
+
</pre>
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
<div class="method">
|
282
|
+
<div class="title">
|
283
|
+
<a name="M000092"></a><b>assert_has_only_keys</b>(*check_keys)
|
284
|
+
[ <a href="javascript:openCode('Hash.src/M000092.html')">source</a> ]
|
285
|
+
</div>
|
286
|
+
<div class="description">
|
287
|
+
<p>
|
288
|
+
Returns true is hash has only then given keys, otherwise throws an
|
289
|
+
ArgumentError.
|
290
|
+
</p>
|
291
|
+
<pre>
|
292
|
+
h = { :a => 1, :b => 2 }
|
293
|
+
h.assert_has_only_keys( :a, :b ) #=> true
|
294
|
+
h.assert_has_only_keys( :a ) #=> ArgumentError
|
295
|
+
</pre>
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
<div class="method">
|
299
|
+
<div class="title">
|
300
|
+
<a name="M000088"></a><b>at_rand</b>()
|
301
|
+
</div>
|
302
|
+
<div class="description">
|
303
|
+
<p>
|
304
|
+
Alias for <a href="Hash.html#M000085">rand_value</a>
|
305
|
+
</p>
|
306
|
+
</div>
|
307
|
+
</div>
|
308
|
+
<div class="method">
|
309
|
+
<div class="title">
|
310
|
+
<a name="M000089"></a><b>at_rand!</b>()
|
311
|
+
</div>
|
312
|
+
<div class="description">
|
313
|
+
<p>
|
314
|
+
Alias for <a href="Hash.html#M000086">rand_value!</a>
|
315
|
+
</p>
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
<div class="method">
|
319
|
+
<div class="title">
|
320
|
+
<a name="M000074"></a><b>collate</b>( {|| ...}
|
321
|
+
[ <a href="javascript:openCode('Hash.src/M000074.html')">source</a> ]
|
322
|
+
</div>
|
323
|
+
<div class="description">
|
324
|
+
<p>
|
325
|
+
Returns a new hash built by iterating through each key,value pair and
|
326
|
+
updating the new hash.
|
327
|
+
</p>
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
<div class="method">
|
331
|
+
<div class="title">
|
332
|
+
<a name="M000095"></a><b>collate!</b>(&yld)
|
333
|
+
[ <a href="javascript:openCode('Hash.src/M000095.html')">source</a> ]
|
334
|
+
</div>
|
335
|
+
<div class="description">
|
336
|
+
<p>
|
337
|
+
In place version of <a href="Hash.html#M000074">collate</a>.
|
338
|
+
</p>
|
339
|
+
</div>
|
340
|
+
</div>
|
341
|
+
<div class="method">
|
342
|
+
<div class="title">
|
343
|
+
<a name="M000097"></a><b>delete_unless</b>(&block)
|
344
|
+
[ <a href="javascript:openCode('Hash.src/M000097.html')">source</a> ]
|
345
|
+
</div>
|
346
|
+
</div>
|
347
|
+
<div class="method">
|
348
|
+
<div class="title">
|
349
|
+
<a name="M000082"></a><b>each</b>() {|v| ...}
|
350
|
+
[ <a href="javascript:openCode('Hash.src/M000082.html')">source</a> ]
|
351
|
+
</div>
|
352
|
+
<div class="description">
|
353
|
+
<p>
|
354
|
+
A "smarter" hash<a href="Hash.html#M000082">each</a> which
|
355
|
+
iterates through each <em>value</em> if only one block parameter is given.
|
356
|
+
</p>
|
357
|
+
<pre>
|
358
|
+
{:a=>"a", 2=>"b", "x"=>"c"}.each{ |v| puts v }
|
359
|
+
</pre>
|
360
|
+
<p>
|
361
|
+
<em>produces</em>
|
362
|
+
</p>
|
363
|
+
<pre>
|
364
|
+
a
|
365
|
+
b
|
366
|
+
c
|
367
|
+
</pre>
|
368
|
+
<p>
|
369
|
+
WARNING! Use with caution. Methods from other libraries may depend on the
|
370
|
+
old behavior, expecting a two element array to be passed into a single
|
371
|
+
block argument.
|
372
|
+
</p>
|
373
|
+
</div>
|
374
|
+
</div>
|
375
|
+
<div class="method">
|
376
|
+
<div class="title">
|
377
|
+
<a name="M000076"></a><b>graph!</b>( &blk )
|
378
|
+
[ <a href="javascript:openCode('Hash.src/M000076.html')">source</a> ]
|
379
|
+
</div>
|
380
|
+
<div class="description">
|
381
|
+
<p>
|
382
|
+
As with <a href="Enumerable.html#M000390">Enumerable#graph</a> but acts in
|
383
|
+
place.
|
384
|
+
</p>
|
385
|
+
</div>
|
386
|
+
</div>
|
387
|
+
<div class="method">
|
388
|
+
<div class="title">
|
389
|
+
<a name="M000090"></a><b>has_keys?</b>(*check_keys)
|
390
|
+
[ <a href="javascript:openCode('Hash.src/M000090.html')">source</a> ]
|
391
|
+
</div>
|
392
|
+
<div class="description">
|
393
|
+
<p>
|
394
|
+
Returns true or false whether the hash contains the given keys.
|
395
|
+
</p>
|
396
|
+
<pre>
|
397
|
+
h = { :a => 1, :b => 2 }
|
398
|
+
h.has_keys?( :a ) #=> true
|
399
|
+
h.has_keys?( :c ) #=> false
|
400
|
+
</pre>
|
401
|
+
</div>
|
402
|
+
</div>
|
403
|
+
<div class="method">
|
404
|
+
<div class="title">
|
405
|
+
<a name="M000078"></a><b>has_only_keys?</b>(*check_keys)
|
406
|
+
[ <a href="javascript:openCode('Hash.src/M000078.html')">source</a> ]
|
407
|
+
</div>
|
408
|
+
<div class="description">
|
409
|
+
<p>
|
410
|
+
Returns true if the hash contains <em>only</em> the given keys, otherwise
|
411
|
+
false.
|
412
|
+
</p>
|
413
|
+
<pre>
|
414
|
+
h = { :a => 1, :b => 2 }
|
415
|
+
h.has_only_keys?( :a, :b ) #=> true
|
416
|
+
h.has_only_keys?( :a ) #=> false
|
417
|
+
</pre>
|
418
|
+
</div>
|
419
|
+
</div>
|
420
|
+
<div class="method">
|
421
|
+
<div class="title">
|
422
|
+
<a name="M000084"></a><b>inverse</b>()
|
423
|
+
[ <a href="javascript:openCode('Hash.src/M000084.html')">source</a> ]
|
424
|
+
</div>
|
425
|
+
<div class="description">
|
426
|
+
<p>
|
427
|
+
Create a "true" inverse hash by storing mutliple values in
|
428
|
+
Arrays.
|
429
|
+
</p>
|
430
|
+
<pre>
|
431
|
+
h = {"a"=>3, "b"=>3, "c"=>3, "d"=>2, "e"=>9, "f"=>3, "g"=>9}
|
432
|
+
|
433
|
+
h.invert #=> {2=>"d", 3=>"f", 9=>"g"}
|
434
|
+
h.inverse #=> {2=>"d", 3=>["f", "c", "b", "a"], 9=>["g", "e"]}
|
435
|
+
h.inverse.inverse #=> {"a"=>3, "b"=>3, "c"=>3, "d"=>2, "e"=>9, "f"=>3, "g"=>9}
|
436
|
+
h.inverse.inverse == h #=> true
|
437
|
+
</pre>
|
438
|
+
</div>
|
439
|
+
</div>
|
440
|
+
<div class="method">
|
441
|
+
<div class="title">
|
442
|
+
<a name="M000077"></a><b>join</b>( pair_divider='', elem_divider='' )
|
443
|
+
[ <a href="javascript:openCode('Hash.src/M000077.html')">source</a> ]
|
444
|
+
</div>
|
445
|
+
</div>
|
446
|
+
<div class="method">
|
447
|
+
<div class="title">
|
448
|
+
<a name="M000113"></a><b>keys_to_s</b>( from_class=nil )
|
449
|
+
[ <a href="javascript:openCode('Hash.src/M000113.html')">source</a> ]
|
450
|
+
</div>
|
451
|
+
<div class="description">
|
452
|
+
<p>
|
453
|
+
Converts all keys in the <a href="Hash.html">Hash</a> to be <a
|
454
|
+
href="String.html">String</a> values, returning a new <a
|
455
|
+
href="Hash.html">Hash</a>. With a from_class parameter, limits conversion
|
456
|
+
to only a certain class of keys. It defaults to nil which convert any key
|
457
|
+
class.
|
458
|
+
</p>
|
459
|
+
<pre>
|
460
|
+
foo = { :name=>'Gavin', :wife=>:Lisa }
|
461
|
+
foo.keys_to_s #=> { "name"=>"Gavin", "wife"=>:Lisa }
|
462
|
+
foo.inspect #=> { :name =>"Gavin", :wife=>:Lisa }
|
463
|
+
</pre>
|
464
|
+
</div>
|
465
|
+
<div class="aka">
|
466
|
+
This method is also aliased as
|
467
|
+
<a href="Hash.html#M000114">stringify_keys</a>
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
<div class="method">
|
471
|
+
<div class="title">
|
472
|
+
<a name="M000111"></a><b>keys_to_s!</b>( from_class=nil )
|
473
|
+
[ <a href="javascript:openCode('Hash.src/M000111.html')">source</a> ]
|
474
|
+
</div>
|
475
|
+
<div class="description">
|
476
|
+
<p>
|
477
|
+
Synonym for Hash#keys_to_string, but modifies the receiver in place (and
|
478
|
+
returns it). With a from_class parameter, limits conversion to only a
|
479
|
+
certain class of keys. It defaults to nil which convert any key class.
|
480
|
+
</p>
|
481
|
+
<pre>
|
482
|
+
foo = { :name=>'Gavin', :wife=>:Lisa }
|
483
|
+
foo.keys_to_s! #=> { "name"=>"Gavin", "wife"=>:Lisa }
|
484
|
+
foo.inspect #=> { "name"=>"Gavin", "wife"=>:Lisa }
|
485
|
+
</pre>
|
486
|
+
</div>
|
487
|
+
<div class="aka">
|
488
|
+
This method is also aliased as
|
489
|
+
<a href="Hash.html#M000112">stringify_keys!</a>
|
490
|
+
</div>
|
491
|
+
</div>
|
492
|
+
<div class="method">
|
493
|
+
<div class="title">
|
494
|
+
<a name="M000093"></a><b>keys_to_sym</b>( from_class=String )
|
495
|
+
[ <a href="javascript:openCode('Hash.src/M000093.html')">source</a> ]
|
496
|
+
</div>
|
497
|
+
<div class="description">
|
498
|
+
<p>
|
499
|
+
Converts all keys in the <a href="Hash.html">Hash</a> to be <a
|
500
|
+
href="Symbol.html">Symbol</a> values, returning a new <a
|
501
|
+
href="Hash.html">Hash</a>. With a from_class parameter, limits conversion
|
502
|
+
to only a certain class of keys. It defaults to <a
|
503
|
+
href="String.html">String</a> —use nil to convert any key class.
|
504
|
+
</p>
|
505
|
+
<pre>
|
506
|
+
foo = { :name=>'Gavin', 'wife'=>:Lisa }
|
507
|
+
foo.keys_to_sym #=> { :name=>"Gavin", :wife=>:Lisa }
|
508
|
+
foo.inspect #=> { "name" =>"Gavin", "wife"=>:Lisa }
|
509
|
+
</pre>
|
510
|
+
</div>
|
511
|
+
<div class="aka">
|
512
|
+
This method is also aliased as
|
513
|
+
<a href="Hash.html#M000094">symbolize_keys</a>
|
514
|
+
</div>
|
515
|
+
</div>
|
516
|
+
<div class="method">
|
517
|
+
<div class="title">
|
518
|
+
<a name="M000105"></a><b>keys_to_sym!</b>( from_class=String )
|
519
|
+
[ <a href="javascript:openCode('Hash.src/M000105.html')">source</a> ]
|
520
|
+
</div>
|
521
|
+
<div class="description">
|
522
|
+
<p>
|
523
|
+
Synonym for Hash#keys_to_symbol, but modifies the receiver in place (and
|
524
|
+
returns it). With a from_class parameter, limits conversion to only a
|
525
|
+
certain class of keys. It defaults to <a href="String.html">String</a>
|
526
|
+
—use nil to convert any key class.
|
527
|
+
</p>
|
528
|
+
<pre>
|
529
|
+
foo = { 'name'=>'Gavin', 'wife'=>:Lisa }
|
530
|
+
foo.keys_to_sym! #=> { :name=>"Gavin", :wife=>:Lisa }
|
531
|
+
foo.inspect #=> { :name=>"Gavin", :wife=>:Lisa }
|
532
|
+
</pre>
|
533
|
+
</div>
|
534
|
+
<div class="aka">
|
535
|
+
This method is also aliased as
|
536
|
+
<a href="Hash.html#M000106">symbolize_keys!</a>
|
537
|
+
</div>
|
538
|
+
</div>
|
539
|
+
<div class="method">
|
540
|
+
<div class="title">
|
541
|
+
<a name="M000087"></a><b>pick</b>()
|
542
|
+
</div>
|
543
|
+
<div class="description">
|
544
|
+
<p>
|
545
|
+
Alias for <a href="Hash.html#M000086">rand_value!</a>
|
546
|
+
</p>
|
547
|
+
</div>
|
548
|
+
</div>
|
549
|
+
<div class="method">
|
550
|
+
<div class="title">
|
551
|
+
<a name="M000102"></a><b>pick_key</b>()
|
552
|
+
</div>
|
553
|
+
<div class="description">
|
554
|
+
<p>
|
555
|
+
Alias for <a href="Hash.html#M000101">rand_key!</a>
|
556
|
+
</p>
|
557
|
+
</div>
|
558
|
+
</div>
|
559
|
+
<div class="method">
|
560
|
+
<div class="title">
|
561
|
+
<a name="M000118"></a><b>pick_pair</b>()
|
562
|
+
</div>
|
563
|
+
<div class="description">
|
564
|
+
<p>
|
565
|
+
Alias for <a href="Hash.html#M000117">rand_pair!</a>
|
566
|
+
</p>
|
567
|
+
</div>
|
568
|
+
</div>
|
569
|
+
<div class="method">
|
570
|
+
<div class="title">
|
571
|
+
<a name="M000100"></a><b>rand_key</b>()
|
572
|
+
[ <a href="javascript:openCode('Hash.src/M000100.html')">source</a> ]
|
573
|
+
</div>
|
574
|
+
<div class="description">
|
575
|
+
<p>
|
576
|
+
Returns a random key.
|
577
|
+
</p>
|
578
|
+
<pre>
|
579
|
+
{:one => 1, :two => 2, :three => 3}.pick_key #=> :three
|
580
|
+
</pre>
|
581
|
+
</div>
|
582
|
+
</div>
|
583
|
+
<div class="method">
|
584
|
+
<div class="title">
|
585
|
+
<a name="M000101"></a><b>rand_key!</b>()
|
586
|
+
[ <a href="javascript:openCode('Hash.src/M000101.html')">source</a> ]
|
587
|
+
</div>
|
588
|
+
<div class="description">
|
589
|
+
<p>
|
590
|
+
Delete a random key-value pair, returning the key.
|
591
|
+
</p>
|
592
|
+
<pre>
|
593
|
+
a = {:one => 1, :two => 2, :three => 3}
|
594
|
+
a.pick_key! #=> :two
|
595
|
+
a #=> {:one => 1, :three => 3}
|
596
|
+
</pre>
|
597
|
+
</div>
|
598
|
+
<div class="aka">
|
599
|
+
This method is also aliased as
|
600
|
+
<a href="Hash.html#M000102">pick_key</a>
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
<div class="method">
|
604
|
+
<div class="title">
|
605
|
+
<a name="M000116"></a><b>rand_pair</b>()
|
606
|
+
[ <a href="javascript:openCode('Hash.src/M000116.html')">source</a> ]
|
607
|
+
</div>
|
608
|
+
<div class="description">
|
609
|
+
<p>
|
610
|
+
Returns a random key-value pair.
|
611
|
+
</p>
|
612
|
+
<pre>
|
613
|
+
{:one => 1, :two => 2, :three => 3}.pick #=> [:one, 1]
|
614
|
+
</pre>
|
615
|
+
</div>
|
616
|
+
</div>
|
617
|
+
<div class="method">
|
618
|
+
<div class="title">
|
619
|
+
<a name="M000117"></a><b>rand_pair!</b>()
|
620
|
+
[ <a href="javascript:openCode('Hash.src/M000117.html')">source</a> ]
|
621
|
+
</div>
|
622
|
+
<div class="description">
|
623
|
+
<p>
|
624
|
+
Deletes a random key-value pair and returns that pair.
|
625
|
+
</p>
|
626
|
+
<pre>
|
627
|
+
a = {:one => 1, :two => 2, :three => 3}
|
628
|
+
a.rand_pair! #=> [:two, 2]
|
629
|
+
a #=> {:one => 1, :three => 3}
|
630
|
+
</pre>
|
631
|
+
</div>
|
632
|
+
<div class="aka">
|
633
|
+
This method is also aliased as
|
634
|
+
<a href="Hash.html#M000118">pick_pair</a>
|
635
|
+
</div>
|
636
|
+
</div>
|
637
|
+
<div class="method">
|
638
|
+
<div class="title">
|
639
|
+
<a name="M000085"></a><b>rand_value</b>()
|
640
|
+
[ <a href="javascript:openCode('Hash.src/M000085.html')">source</a> ]
|
641
|
+
</div>
|
642
|
+
<div class="description">
|
643
|
+
<p>
|
644
|
+
Returns a random hash value.
|
645
|
+
</p>
|
646
|
+
<pre>
|
647
|
+
{:one => 1, :two => 2, :three => 3}.rand_value #=> 2
|
648
|
+
{:one => 1, :two => 2, :three => 3}.rand_value #=> 1
|
649
|
+
</pre>
|
650
|
+
</div>
|
651
|
+
<div class="aka">
|
652
|
+
This method is also aliased as
|
653
|
+
<a href="Hash.html#M000088">at_rand</a>
|
654
|
+
</div>
|
655
|
+
</div>
|
656
|
+
<div class="method">
|
657
|
+
<div class="title">
|
658
|
+
<a name="M000086"></a><b>rand_value!</b>()
|
659
|
+
[ <a href="javascript:openCode('Hash.src/M000086.html')">source</a> ]
|
660
|
+
</div>
|
661
|
+
<div class="description">
|
662
|
+
<p>
|
663
|
+
Deletes a random key-value pair and returns the value.
|
664
|
+
</p>
|
665
|
+
<pre>
|
666
|
+
a = {:one => 1, :two => 2, :three => 3}
|
667
|
+
a.at_rand! #=> 2
|
668
|
+
a #=> {:one => 1, :three => 3}
|
669
|
+
</pre>
|
670
|
+
</div>
|
671
|
+
<div class="aka">
|
672
|
+
This method is also aliased as
|
673
|
+
<a href="Hash.html#M000087">pick</a>
|
674
|
+
<a href="Hash.html#M000089">at_rand!</a>
|
675
|
+
</div>
|
676
|
+
</div>
|
677
|
+
<div class="method">
|
678
|
+
<div class="title">
|
679
|
+
<a name="M000098"></a><b>replace_each</b>( {|| ...}
|
680
|
+
[ <a href="javascript:openCode('Hash.src/M000098.html')">source</a> ]
|
681
|
+
</div>
|
682
|
+
<div class="description">
|
683
|
+
<p>
|
684
|
+
Same as <a href="Hash.html#M000119">update_each</a>, but deletes the key
|
685
|
+
element first.
|
686
|
+
</p>
|
687
|
+
</div>
|
688
|
+
</div>
|
689
|
+
<div class="method">
|
690
|
+
<div class="title">
|
691
|
+
<a name="M000108"></a><b>shuffle</b>()
|
692
|
+
[ <a href="javascript:openCode('Hash.src/M000108.html')">source</a> ]
|
693
|
+
</div>
|
694
|
+
<div class="description">
|
695
|
+
<p>
|
696
|
+
Returns a copy of the hash with <em>values</em> arranged in new random
|
697
|
+
order.
|
698
|
+
</p>
|
699
|
+
<pre>
|
700
|
+
h = {:a=>1, :b=>2, :c=>3}
|
701
|
+
h.shuffle_hash #=> {:b=>2, :c=>1, :a>3}
|
702
|
+
</pre>
|
703
|
+
</div>
|
704
|
+
</div>
|
705
|
+
<div class="method">
|
706
|
+
<div class="title">
|
707
|
+
<a name="M000099"></a><b>shuffle!</b>()
|
708
|
+
[ <a href="javascript:openCode('Hash.src/M000099.html')">source</a> ]
|
709
|
+
</div>
|
710
|
+
<div class="description">
|
711
|
+
<p>
|
712
|
+
Destructive shuffle_hash. Arrange the values in a new random order.
|
713
|
+
</p>
|
714
|
+
<pre>
|
715
|
+
h = {:a => 1, :b => 2, :c => 3}
|
716
|
+
h.shuffle_hash!
|
717
|
+
h #=> {:b=>2, :c=>1, :a=>3}
|
718
|
+
</pre>
|
719
|
+
</div>
|
720
|
+
</div>
|
721
|
+
<div class="method">
|
722
|
+
<div class="title">
|
723
|
+
<a name="M000114"></a><b>stringify_keys</b>( from_class=nil )
|
724
|
+
</div>
|
725
|
+
<div class="description">
|
726
|
+
<p>
|
727
|
+
Alias for <a href="Hash.html#M000113">keys_to_s</a>
|
728
|
+
</p>
|
729
|
+
</div>
|
730
|
+
</div>
|
731
|
+
<div class="method">
|
732
|
+
<div class="title">
|
733
|
+
<a name="M000112"></a><b>stringify_keys!</b>( from_class=nil )
|
734
|
+
</div>
|
735
|
+
<div class="description">
|
736
|
+
<p>
|
737
|
+
Alias for <a href="Hash.html#M000111">keys_to_s!</a>
|
738
|
+
</p>
|
739
|
+
</div>
|
740
|
+
</div>
|
741
|
+
<div class="method">
|
742
|
+
<div class="title">
|
743
|
+
<a name="M000110"></a><b>swap!</b>( key1, key2 )
|
744
|
+
[ <a href="javascript:openCode('Hash.src/M000110.html')">source</a> ]
|
745
|
+
</div>
|
746
|
+
<div class="description">
|
747
|
+
<p>
|
748
|
+
Swap the values of a pair of keys in place.
|
749
|
+
</p>
|
750
|
+
<pre>
|
751
|
+
{:a=>1,:b=>2}.swap! #=> {:a=>2,:b=>1}
|
752
|
+
</pre>
|
753
|
+
</div>
|
754
|
+
</div>
|
755
|
+
<div class="method">
|
756
|
+
<div class="title">
|
757
|
+
<a name="M000079"></a><b>swapkey!</b>( newkey, oldkey )
|
758
|
+
[ <a href="javascript:openCode('Hash.src/M000079.html')">source</a> ]
|
759
|
+
</div>
|
760
|
+
<div class="description">
|
761
|
+
<p>
|
762
|
+
Modifies the receiving <a href="Hash.html">Hash</a> so that the value
|
763
|
+
previously referred to by <em>oldkey</em> is referenced by <em>newkey</em>;
|
764
|
+
<em>oldkey</em> is removed from the <a href="Hash.html">Hash</a>. If
|
765
|
+
<em>oldkey</em> does not exist as a key in the <a
|
766
|
+
href="Hash.html">Hash</a>, no change is effected.
|
767
|
+
</p>
|
768
|
+
<p>
|
769
|
+
Returns a reference to the <a href="Hash.html">Hash</a>.
|
770
|
+
</p>
|
771
|
+
<pre>
|
772
|
+
foo = { :a=>1, :b=>2 }
|
773
|
+
foo.swapkey!('a',:a) #=> { 'a'=>1, :b=>2 }
|
774
|
+
foo.swapkey!('b',:b) #=> { 'a'=>1, 'b'=>2 }
|
775
|
+
foo.swapkey!('foo','bar') #=> { 'a'=>1, 'b'=>2 }
|
776
|
+
</pre>
|
777
|
+
</div>
|
778
|
+
</div>
|
779
|
+
<div class="method">
|
780
|
+
<div class="title">
|
781
|
+
<a name="M000094"></a><b>symbolize_keys</b>( from_class=String )
|
782
|
+
</div>
|
783
|
+
<div class="description">
|
784
|
+
<p>
|
785
|
+
Alias for <a href="Hash.html#M000093">keys_to_sym</a>
|
786
|
+
</p>
|
787
|
+
</div>
|
788
|
+
</div>
|
789
|
+
<div class="method">
|
790
|
+
<div class="title">
|
791
|
+
<a name="M000106"></a><b>symbolize_keys!</b>( from_class=String )
|
792
|
+
</div>
|
793
|
+
<div class="description">
|
794
|
+
<p>
|
795
|
+
Alias for <a href="Hash.html#M000105">keys_to_sym!</a>
|
796
|
+
</p>
|
797
|
+
</div>
|
798
|
+
</div>
|
799
|
+
<div class="method">
|
800
|
+
<div class="title">
|
801
|
+
<a name="M000103"></a><b>to_h</b>()
|
802
|
+
[ <a href="javascript:openCode('Hash.src/M000103.html')">source</a> ]
|
803
|
+
</div>
|
804
|
+
<div class="description">
|
805
|
+
<p>
|
806
|
+
Return a rehashing of <em>self</em>.
|
807
|
+
</p>
|
808
|
+
<pre>
|
809
|
+
{"a"=>1,"b"=>2}.to_h #=> {"b"=>2,"a"=>1}
|
810
|
+
</pre>
|
811
|
+
</div>
|
812
|
+
</div>
|
813
|
+
<div class="method">
|
814
|
+
<div class="title">
|
815
|
+
<a name="M000083"></a><b>to_ostruct</b>()
|
816
|
+
[ <a href="javascript:openCode('Hash.src/M000083.html')">source</a> ]
|
817
|
+
</div>
|
818
|
+
<div class="description">
|
819
|
+
<p>
|
820
|
+
Turns a hash into a generic object using an <a
|
821
|
+
href="OpenStruct.html">OpenStruct</a>.
|
822
|
+
</p>
|
823
|
+
<pre>
|
824
|
+
o = { 'a' => 1 }.to_ostruct
|
825
|
+
o.a #=> 1
|
826
|
+
</pre>
|
827
|
+
</div>
|
828
|
+
</div>
|
829
|
+
<div class="method">
|
830
|
+
<div class="title">
|
831
|
+
<a name="M000109"></a><b>to_ostruct_recurse</b>()
|
832
|
+
[ <a href="javascript:openCode('Hash.src/M000109.html')">source</a> ]
|
833
|
+
</div>
|
834
|
+
<div class="description">
|
835
|
+
<p>
|
836
|
+
Like <a href="Hash.html#M000083">to_ostruct</a> but recusively objectifies
|
837
|
+
all hash elements as well.
|
838
|
+
</p>
|
839
|
+
<pre>
|
840
|
+
o = { 'a' => { 'b' => 1 } }.to_ostruct_recurse
|
841
|
+
o.a.b #=> 1
|
842
|
+
</pre>
|
843
|
+
</div>
|
844
|
+
</div>
|
845
|
+
<div class="method">
|
846
|
+
<div class="title">
|
847
|
+
<a name="M000107"></a><b>traverse</b>(&b)
|
848
|
+
[ <a href="javascript:openCode('Hash.src/M000107.html')">source</a> ]
|
849
|
+
</div>
|
850
|
+
<div class="description">
|
851
|
+
<p>
|
852
|
+
Returns a new hash created by traversing the hash and its subhashes,
|
853
|
+
executing the given block on the key and value. The block should return a
|
854
|
+
2-element array of the form +[key, value]+.
|
855
|
+
</p>
|
856
|
+
<pre>
|
857
|
+
h = { "A"=>"A", "B"=>"B" }
|
858
|
+
h.traverse { |k,v| [k.downcase, v] }
|
859
|
+
h #=> { "a"=>"A", "b"=>"B" }
|
860
|
+
</pre>
|
861
|
+
</div>
|
862
|
+
</div>
|
863
|
+
<div class="method">
|
864
|
+
<div class="title">
|
865
|
+
<a name="M000104"></a><b>traverse!</b>( &yld )
|
866
|
+
[ <a href="javascript:openCode('Hash.src/M000104.html')">source</a> ]
|
867
|
+
</div>
|
868
|
+
<div class="description">
|
869
|
+
<p>
|
870
|
+
In place version of traverse, which traverses the hash and its subhashes,
|
871
|
+
executing the given block on the key and value.
|
872
|
+
</p>
|
873
|
+
<pre>
|
874
|
+
h = { "A"=>"A", "B"=>"B" }
|
875
|
+
h.traverse! { |k,v| [k.downcase, v] }
|
876
|
+
h #=> { "a"=>"A", "b"=>"B" }
|
877
|
+
</pre>
|
878
|
+
</div>
|
879
|
+
</div>
|
880
|
+
<div class="method">
|
881
|
+
<div class="title">
|
882
|
+
<a name="M000119"></a><b>update_each</b>( {|| ...}
|
883
|
+
[ <a href="javascript:openCode('Hash.src/M000119.html')">source</a> ]
|
884
|
+
</div>
|
885
|
+
<div class="description">
|
886
|
+
<p>
|
887
|
+
Iterates through each pair and updates a the hash in place. This is
|
888
|
+
formally equivalent to <a href="Hash.html#M000095">collate!</a> But does
|
889
|
+
not use <a href="Hash.html#M000074">collate</a> to accomplish the task.
|
890
|
+
Hence <a href="Hash.html#M000119">update_each</a> is probably a bit faster.
|
891
|
+
</p>
|
892
|
+
<pre>
|
893
|
+
# TODO
|
894
|
+
</pre>
|
895
|
+
</div>
|
896
|
+
</div>
|
897
|
+
<div class="method">
|
898
|
+
<div class="title">
|
899
|
+
<a name="M000115"></a><b>weave</b>(h)
|
900
|
+
[ <a href="javascript:openCode('Hash.src/M000115.html')">source</a> ]
|
901
|
+
</div>
|
902
|
+
<div class="description">
|
903
|
+
<p>
|
904
|
+
Weaves two hashes producing a new hash. The two hashes need to be
|
905
|
+
compatible according to the following rules for each node:
|
906
|
+
</p>
|
907
|
+
<pre>
|
908
|
+
<tt>
|
909
|
+
hash, hash => hash (recursive +)
|
910
|
+
hash, array => error
|
911
|
+
hash, value => error
|
912
|
+
array, hash => error
|
913
|
+
array, array => array + array
|
914
|
+
array, value => array << value
|
915
|
+
value, hash => error
|
916
|
+
value, array => array.unshift(valueB)
|
917
|
+
valueA, valueB => valueB
|
918
|
+
</tt>
|
919
|
+
</pre>
|
920
|
+
<p>
|
921
|
+
Example:
|
922
|
+
</p>
|
923
|
+
<pre>
|
924
|
+
# to do
|
925
|
+
</pre>
|
926
|
+
</div>
|
927
|
+
</div>
|
928
|
+
</div>
|
929
|
+
|
930
|
+
</div>
|
931
|
+
|
932
|
+
</body>
|
933
|
+
</html>
|