facets 2.4.5 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +6 -2
- data/CHANGES +46 -52
- data/MANIFEST +680 -642
- data/README +3 -10
- data/RELEASE +82 -36
- data/VERSION +1 -1
- data/doc/archive/{changelog-0.rdoc → CHANGELOG-0.10.30} +0 -0
- data/doc/archive/{changelog-1.rdoc → CHANGELOG-1.8.54} +0 -0
- data/doc/archive/CHANGELOG-2.4.5 +1654 -0
- data/doc/{news → archive}/RELEASE-2.0.5 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.2 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.3 +0 -0
- data/doc/{news → archive}/RELEASE-2.2.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.2.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.3.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.2 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.3 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.4 +0 -0
- data/doc/archive/RELEASE-2.4.5 +37 -0
- data/doc/{book/history.rdoc → guide/notes.rd} +62 -4
- data/doc/log/basic_stats/index.html +39 -0
- data/doc/log/bstats/stats.html +39 -0
- data/doc/log/changelog.html +141 -0
- data/doc/log/changelog.txt +1609 -0
- data/doc/log/stats.html +25 -0
- data/doc/log/testlog.txt +278 -0
- data/doc/rdoc/core/classes/Array.html +158 -147
- data/doc/rdoc/core/classes/Binding.html +54 -54
- data/doc/rdoc/core/classes/Class.html +59 -57
- data/doc/rdoc/core/classes/Comparable.html +67 -76
- data/doc/rdoc/core/classes/Dir.html +47 -47
- data/doc/rdoc/core/classes/Enumerable.html +232 -192
- data/doc/rdoc/core/classes/Exception.html +15 -16
- data/doc/rdoc/core/classes/File.html +128 -85
- data/doc/rdoc/core/classes/FileTest.html +7 -7
- data/doc/rdoc/core/classes/Float.html +16 -14
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +490 -319
- data/doc/rdoc/core/classes/Indexable.html +110 -110
- data/doc/rdoc/core/classes/InstanceVariables.html +44 -44
- data/doc/rdoc/core/classes/Integer.html +122 -116
- data/doc/rdoc/core/classes/Kernel.html +415 -401
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +24 -21
- data/doc/rdoc/core/classes/Module.html +230 -229
- data/doc/rdoc/core/classes/NilClass.html +28 -26
- data/doc/rdoc/core/classes/Numeric.html +30 -30
- data/doc/rdoc/core/classes/Object.html +8 -8
- data/doc/rdoc/core/classes/{Friend.html → ObjectSpace.html} +25 -48
- data/doc/rdoc/core/classes/Proc.html +29 -27
- data/doc/rdoc/core/classes/Range.html +17 -15
- data/doc/rdoc/core/classes/Regexp.html +17 -17
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +445 -401
- data/doc/rdoc/{more/classes/CLI/NoOptionError.html → core/classes/Struct.html} +24 -21
- data/doc/rdoc/core/classes/Symbol.html +73 -65
- data/doc/rdoc/core/classes/Time.html +87 -86
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +17 -16
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +10 -16
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +10 -1
- data/doc/rdoc/core/files/lib/core/facets/array/delete_unless_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/delete_values_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/index_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/callstack_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_least_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_most_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/cap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/clip_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/graph_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/take_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/append_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/create_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/split_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/writelines_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_add_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_or_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_push_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_sub_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/replace_each_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +1 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/hash/stringify_keys_rb.html +1 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_options_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/update_each_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/update_keys_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/update_values_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/__here___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/callstack_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/objectspace/classes_rb.html +92 -0
- data/doc/rdoc/{more/files/lib/more/facets/dictionarymatcher_rb.html → core/files/lib/core/facets/objectspace_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/compress_lines_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/contains_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/expand_tab_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/indent_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/margin_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/op_sub_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/outdent_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/string/tabto_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/struct/attributes_rb.html +92 -0
- data/doc/rdoc/{more/files/lib/more/facets/bytes_rb.html → core/files/lib/core/facets/struct_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
- data/doc/rdoc/core/fr_class_index.html +2 -1
- data/doc/rdoc/core/fr_file_index.html +30 -1
- data/doc/rdoc/core/fr_method_index.html +430 -423
- data/doc/rdoc/lore/classes/Date.html +6 -5
- data/doc/rdoc/{more/classes/CLI/Command/UniversalOptions.html → lore/classes/Enumerable.html} +7 -9
- data/doc/rdoc/lore/classes/Enumerable/Enumerator.html +147 -0
- data/doc/rdoc/lore/classes/OpenStruct.html +13 -15
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +10 -16
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +1 -1
- data/doc/rdoc/lore/files/lib/lore/facets/enumerator_rb.html +111 -0
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/lore/fr_class_index.html +2 -0
- data/doc/rdoc/lore/fr_file_index.html +1 -0
- data/doc/rdoc/lore/fr_method_index.html +13 -12
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Argvector.html +76 -76
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +8 -8
- data/doc/rdoc/more/classes/BlankSlate.html +5 -5
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +22 -22
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +369 -445
- data/doc/rdoc/more/classes/Duration/Numeric.html +389 -0
- data/doc/rdoc/more/classes/{CLI/NoCommandError.html → Duration/Time.html} +30 -17
- data/doc/rdoc/more/classes/Enumerable.html +114 -51
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +246 -0
- data/doc/rdoc/more/classes/EnumerablePass.html +17 -17
- data/doc/rdoc/more/classes/{RecursiveDependency.html → Enumerator.html} +7 -4
- data/doc/rdoc/more/classes/{CLI.html → Enumerator/Filter.html} +22 -26
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +16 -162
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantize.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/more/classes/{DictionaryMatcher.html → Matcher.html} +66 -68
- data/doc/rdoc/more/classes/{DictionaryMatcher → Matcher}/MatchData.html +8 -8
- data/doc/rdoc/more/classes/{CacheDecorator.html → Memoizer.html} +64 -46
- data/doc/rdoc/more/classes/Module.html +182 -361
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/Numeric/Multipliers.html +456 -0
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +8 -7
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/{EventHook.html → OpenModule.html} +24 -63
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/OpenStructable.html +326 -0
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +9 -9
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +5 -5
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/SparseArray.html +1397 -0
- data/doc/rdoc/more/classes/Stash.html +232 -0
- data/doc/rdoc/more/classes/String/Mask.html +72 -72
- data/doc/rdoc/more/classes/String/Words.html +49 -49
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +58 -58
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/VersionNumber.html +57 -57
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +251 -118
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +203 -35
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +203 -35
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +173 -35
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +10 -16
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +1 -18
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +1 -41
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +2 -1
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +2 -1
- data/doc/rdoc/more/files/lib/more/facets/{fileshell_rb.html → filter_rb.html} +6 -5
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +3 -28
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/matcher_rb.html +97 -0
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +7 -4
- data/doc/rdoc/more/files/lib/more/facets/{cachedecorator_rb.html → memoizer_rb.html} +23 -49
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +2 -18
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core/facets/callstack_rb.html → more/files/lib/more/facets/openmodule_rb.html} +4 -4
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ostructable_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/sparse_array_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/stash_rb.html +166 -0
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +6 -34
- data/doc/rdoc/more/fr_class_index.html +13 -17
- data/doc/rdoc/more/fr_file_index.html +7 -15
- data/doc/rdoc/more/fr_method_index.html +1079 -1003
- data/doc/rdoc/more/index.html +1 -1
- data/lib/core/facets/array/conjoin.rb +1 -1
- data/lib/core/facets/array/delete.rb +3 -60
- data/lib/core/facets/array/delete_unless.rb +15 -0
- data/lib/core/facets/array/delete_values.rb +50 -0
- data/lib/core/facets/array/index.rb +0 -26
- data/lib/core/facets/array/indexable.rb +2 -2
- data/lib/core/facets/array/merge.rb +1 -1
- data/lib/core/facets/array/only.rb +1 -2
- data/lib/core/facets/array/pad.rb +2 -2
- data/lib/core/facets/array/permutation.rb +1 -1
- data/lib/core/facets/array/product.rb +2 -2
- data/lib/core/facets/array/rotate.rb +2 -4
- data/lib/core/facets/array/select.rb +1 -1
- data/lib/core/facets/array/splice.rb +1 -1
- data/lib/core/facets/array/stackable.rb +2 -2
- data/lib/core/facets/binding/caller.rb +2 -7
- data/lib/core/facets/binding/callstack.rb +1 -0
- data/lib/core/facets/binding/defined.rb +0 -1
- data/lib/core/facets/bitmask.rb +6 -9
- data/lib/core/facets/class/cattr.rb +6 -9
- data/lib/core/facets/class/descendents.rb +0 -2
- data/lib/core/facets/class/prepend.rb +3 -4
- data/lib/core/facets/class/to_proc.rb +0 -20
- data/lib/core/facets/comparable/at_least.rb +1 -0
- data/lib/core/facets/comparable/at_most.rb +1 -0
- data/lib/core/facets/comparable/bound.rb +1 -65
- data/lib/core/facets/comparable/cap.rb +34 -0
- data/lib/core/facets/comparable/clip.rb +38 -0
- data/lib/core/facets/comparable/cmp.rb +3 -3
- data/lib/core/facets/comparable/comparable.rb +1 -1
- data/lib/core/facets/dir/ascend.rb +2 -5
- data/lib/core/facets/dir/multiglob.rb +0 -2
- data/lib/core/facets/dir/recurse.rb +1 -2
- data/lib/core/facets/enumerable/accumulate.rb +2 -0
- data/lib/core/facets/enumerable/cluster_by.rb +1 -1
- data/lib/core/facets/enumerable/collect.rb +2 -2
- data/lib/core/facets/enumerable/commonality.rb +1 -1
- data/lib/core/facets/enumerable/count.rb +1 -1
- data/lib/core/facets/enumerable/divide.rb +1 -1
- data/lib/core/facets/enumerable/duplicates.rb +2 -2
- data/lib/core/facets/enumerable/each_by.rb +1 -1
- data/lib/core/facets/enumerable/entropy.rb +2 -2
- data/lib/core/facets/enumerable/frequency.rb +1 -1
- data/lib/core/facets/enumerable/graph.rb +1 -0
- data/lib/core/facets/enumerable/group_by.rb +1 -1
- data/lib/core/facets/enumerable/inject.rb +2 -3
- data/lib/core/facets/enumerable/map_send.rb +15 -3
- data/lib/core/facets/enumerable/mash.rb +4 -5
- data/lib/core/facets/enumerable/mode.rb +1 -1
- data/lib/core/facets/enumerable/modulate.rb +2 -2
- data/lib/core/facets/enumerable/none.rb +1 -1
- data/lib/core/facets/enumerable/occur.rb +0 -2
- data/lib/core/facets/enumerable/one.rb +1 -1
- data/lib/core/facets/enumerable/probability.rb +1 -1
- data/lib/core/facets/enumerable/sum.rb +1 -1
- data/lib/core/facets/enumerable/take.rb +20 -0
- data/lib/core/facets/enumerable/uniq_by.rb +0 -2
- data/lib/core/facets/exception/detail.rb +1 -1
- data/lib/core/facets/exception/suppress.rb +1 -2
- data/lib/core/facets/file/append.rb +1 -1
- data/lib/core/facets/file/create.rb +1 -1
- data/lib/core/facets/file/null.rb +1 -1
- data/lib/core/facets/file/read.rb +3 -3
- data/lib/core/facets/file/rewrite.rb +1 -1
- data/lib/core/facets/file/rootname.rb +1 -1
- data/lib/core/facets/file/split_all.rb +19 -0
- data/lib/core/facets/file/split_root.rb +3 -0
- data/lib/core/facets/file/write.rb +1 -1
- data/lib/core/facets/file/writelines.rb +1 -2
- data/lib/core/facets/filetest/root.rb +1 -1
- data/lib/core/facets/hash/alias.rb +1 -1
- data/lib/core/facets/hash/autonew.rb +1 -17
- data/lib/core/facets/hash/collate.rb +1 -1
- data/lib/core/facets/hash/delete.rb +3 -3
- data/lib/core/facets/hash/insert.rb +1 -1
- data/lib/core/facets/hash/inverse.rb +1 -1
- data/lib/core/facets/hash/join.rb +1 -1
- data/lib/core/facets/hash/keys.rb +3 -3
- data/lib/core/facets/hash/op_add.rb +1 -1
- data/lib/core/facets/hash/op_and.rb +1 -1
- data/lib/core/facets/hash/op_mul.rb +1 -1
- data/lib/core/facets/hash/op_or.rb +1 -1
- data/lib/core/facets/hash/op_push.rb +1 -1
- data/lib/core/facets/hash/op_sub.rb +1 -1
- data/lib/core/facets/hash/rekey.rb +11 -7
- data/lib/core/facets/hash/replace_each.rb +16 -0
- data/lib/core/facets/hash/select.rb +1 -2
- data/lib/{more → core}/facets/hash/stringify_keys.rb +0 -0
- data/lib/core/facets/hash/symbolize_keys.rb +94 -0
- data/lib/core/facets/hash/to_options.rb +1 -0
- data/lib/core/facets/hash/to_struct.rb +1 -1
- data/lib/core/facets/hash/traverse.rb +2 -2
- data/lib/core/facets/hash/update.rb +5 -80
- data/lib/core/facets/hash/update_each.rb +18 -0
- data/lib/core/facets/hash/update_keys.rb +20 -0
- data/lib/core/facets/hash/update_values.rb +20 -0
- data/lib/core/facets/hash/weave.rb +1 -1
- data/lib/core/facets/hash/zipnew.rb +17 -1
- data/lib/core/facets/integer/factorial.rb +1 -1
- data/lib/core/facets/integer/multiple.rb +1 -1
- data/lib/core/facets/integer/odd.rb +2 -2
- data/lib/core/facets/kernel/__here__.rb +8 -0
- data/lib/core/facets/kernel/as.rb +2 -2
- data/lib/core/facets/kernel/attr_singleton.rb +5 -5
- data/lib/core/facets/{callstack.rb → kernel/callstack.rb} +1 -1
- data/lib/core/facets/kernel/complete.rb +1 -1
- data/lib/core/facets/kernel/constant.rb +1 -1
- data/lib/core/facets/kernel/d.rb +1 -5
- data/lib/core/facets/kernel/demo.rb +2 -2
- data/lib/core/facets/kernel/ergo.rb +2 -2
- data/lib/core/facets/kernel/instance_class.rb +1 -1
- data/lib/core/facets/kernel/instance_variables.rb +2 -4
- data/lib/core/facets/kernel/not_nil.rb +1 -1
- data/lib/core/facets/kernel/object_send.rb +1 -1
- data/lib/core/facets/kernel/p.rb +1 -1
- data/lib/core/facets/kernel/populate.rb +2 -2
- data/lib/core/facets/kernel/qua_class.rb +2 -2
- data/lib/core/facets/kernel/resc.rb +1 -1
- data/lib/core/facets/kernel/respond.rb +1 -1
- data/lib/core/facets/kernel/returning.rb +1 -1
- data/lib/core/facets/kernel/silence.rb +4 -4
- data/lib/core/facets/kernel/try.rb +5 -3
- data/lib/core/facets/matchdata/match.rb +1 -1
- data/lib/core/facets/matchdata/matchset.rb +2 -2
- data/lib/core/facets/metaid.rb +5 -5
- data/lib/core/facets/module/abstract.rb +1 -1
- data/lib/core/facets/module/alias_accessor.rb +3 -3
- data/lib/core/facets/module/alias_method_chain.rb +1 -2
- data/lib/core/facets/module/alias_module_function.rb +1 -1
- data/lib/core/facets/module/ancestor.rb +1 -1
- data/lib/core/facets/module/basename.rb +1 -1
- data/lib/core/facets/module/conflict.rb +1 -2
- data/lib/core/facets/module/include_function_module.rb +1 -1
- data/lib/core/facets/module/instance_methods.rb +4 -6
- data/lib/core/facets/module/is.rb +2 -2
- data/lib/core/facets/module/modspace.rb +1 -1
- data/lib/core/facets/module/module_load.rb +2 -2
- data/lib/core/facets/module/nesting.rb +1 -1
- data/lib/core/facets/module/op.rb +3 -6
- data/lib/core/facets/module/prepend.rb +1 -1
- data/lib/core/facets/module/redefine_method.rb +1 -1
- data/lib/core/facets/module/rename_method.rb +1 -1
- data/lib/core/facets/module/revise.rb +2 -2
- data/lib/core/facets/module/spacename.rb +1 -1
- data/lib/core/facets/module/wrap_method.rb +1 -1
- data/lib/core/facets/nilclass/to_f.rb +1 -1
- data/lib/core/facets/numeric/approx.rb +1 -1
- data/lib/core/facets/numeric/distance.rb +1 -1
- data/lib/core/facets/numeric/round.rb +3 -6
- data/lib/core/facets/objectspace.rb +6 -0
- data/lib/core/facets/objectspace/classes.rb +11 -0
- data/lib/core/facets/proc/bind.rb +1 -1
- data/lib/core/facets/proc/compose.rb +2 -2
- data/lib/core/facets/proc/to_method.rb +1 -1
- data/lib/core/facets/proc/update.rb +1 -1
- data/lib/core/facets/range/combine.rb +2 -2
- data/lib/core/facets/range/overlap.rb +1 -2
- data/lib/core/facets/range/within.rb +2 -4
- data/lib/core/facets/regexp/arity.rb +1 -1
- data/lib/core/facets/string/align.rb +3 -3
- data/lib/core/facets/string/bracket.rb +6 -6
- data/lib/core/facets/string/camelcase.rb +1 -1
- data/lib/core/facets/string/capitalized.rb +3 -3
- data/lib/core/facets/string/chars.rb +1 -1
- data/lib/core/facets/string/chomp.rb +2 -2
- data/lib/core/facets/string/cleave.rb +1 -1
- data/lib/core/facets/string/compress_lines.rb +17 -0
- data/lib/core/facets/string/contains.rb +7 -0
- data/lib/core/facets/string/divide.rb +1 -1
- data/lib/core/facets/string/expand_tab.rb +35 -0
- data/lib/core/facets/string/fold.rb +1 -1
- data/lib/core/facets/string/indent.rb +25 -0
- data/lib/core/facets/string/interpolate.rb +1 -1
- data/lib/core/facets/string/line_wrap.rb +1 -1
- data/lib/core/facets/string/lines.rb +1 -2
- data/lib/core/facets/string/margin.rb +30 -0
- data/lib/core/facets/string/methodize.rb +1 -1
- data/lib/core/facets/string/mscan.rb +1 -1
- data/lib/core/facets/string/natcmp.rb +1 -2
- data/lib/core/facets/string/nchar.rb +0 -2
- data/lib/core/facets/string/op_sub.rb +1 -1
- data/lib/core/facets/string/outdent.rb +1 -0
- data/lib/core/facets/string/range.rb +4 -5
- data/lib/core/facets/string/rewrite.rb +1 -1
- data/lib/core/facets/string/shatter.rb +1 -1
- data/lib/core/facets/string/snakecase.rb +1 -1
- data/lib/core/facets/string/splice.rb +2 -2
- data/lib/core/facets/string/start_with.rb +2 -4
- data/lib/core/facets/string/tab.rb +9 -92
- data/lib/core/facets/string/tabto.rb +19 -0
- data/lib/core/facets/string/titlecase.rb +1 -1
- data/lib/core/facets/string/to_re.rb +2 -2
- data/lib/core/facets/string/word_wrap.rb +2 -4
- data/lib/core/facets/struct.rb +6 -0
- data/lib/core/facets/struct/attributes.rb +11 -0
- data/lib/core/facets/symbol/chomp.rb +2 -2
- data/lib/core/facets/symbol/generate.rb +1 -1
- data/lib/core/facets/symbol/not.rb +2 -2
- data/lib/core/facets/symbol/succ.rb +1 -1
- data/lib/core/facets/symbol/to_proc.rb +2 -3
- data/lib/core/facets/time/advance.rb +2 -1
- data/lib/core/facets/time/elapse.rb +1 -1
- data/lib/core/facets/time/hence.rb +16 -13
- data/lib/core/facets/time/stamp.rb +2 -2
- data/lib/core/facets/to_hash.rb +1 -1
- data/lib/core/facets/unboundmethod/arguments.rb +1 -1
- data/lib/core/facets/unboundmethod/name.rb +1 -1
- data/lib/lore/facets/date.rb +2 -2
- data/lib/lore/facets/enumerator.rb +67 -0
- data/lib/lore/facets/ostruct.rb +3 -7
- data/lib/more/facets/attr.rb +10 -9
- data/lib/more/facets/consoleutils.rb +1 -15
- data/lib/more/facets/dependency.rb +1 -1
- data/lib/more/facets/duration.rb +271 -525
- data/lib/more/facets/filter.rb +121 -0
- data/lib/more/facets/inheritor.rb +37 -58
- data/lib/more/facets/iteration.rb +1 -1
- data/lib/more/facets/kernel/meta.rb +1 -1
- data/lib/more/facets/{dictionarymatcher.rb → matcher.rb} +15 -11
- data/lib/more/facets/memoize.rb +9 -12
- data/lib/more/facets/memoizer.rb +74 -0
- data/lib/more/facets/multipliers.rb +54 -66
- data/lib/more/facets/nilstatus.rb +3 -2
- data/lib/more/facets/openmodule.rb +15 -0
- data/lib/more/facets/opesc.rb +1 -1
- data/lib/more/facets/ostructable.rb +212 -0
- data/lib/more/facets/pathlist.rb +1 -0
- data/lib/more/facets/sparse_array.rb +809 -0
- data/lib/more/facets/stash.rb +66 -0
- data/lib/more/facets/string/words.rb +8 -11
- data/lib/more/facets/succ.rb +3 -3
- data/lib/more/facets/thread.rb +2 -2
- data/lib/more/facets/ziputils.rb +238 -97
- data/test/core/array/test_index.rb +17 -0
- data/test/core/class/test_cattr.rb +1 -1
- data/test/core/class/test_to_proc.rb +13 -0
- data/test/core/comparable/test_cap.rb +25 -0
- data/test/core/comparable/{test_bound.rb → test_clip.rb} +1 -20
- data/test/core/file/test_split_all.rb +32 -0
- data/test/core/hash/test_op_mul.rb +1 -1
- data/test/core/hash/test_op_push.rb +7 -0
- data/test/core/hash/test_replace_each.rb +14 -0
- data/test/core/hash/test_update_each.rb +13 -0
- data/test/core/hash/test_update_keys.rb +18 -0
- data/test/core/hash/test_update_values.rb +12 -0
- data/test/core/kernel/test_callstack.rb +1 -1
- data/test/core/string/test_indent.rb +13 -0
- data/test/core/string/test_margin.rb +100 -0
- data/test/core/string/test_outdent.rb +65 -0
- data/test/core/string/test_tab.rb +1 -162
- data/test/core/string/test_tabto.rb +13 -0
- data/test/{more → core}/test_metaid.rb +8 -8
- data/test/core/time/test_hence.rb +118 -4
- data/test/core/unboundmethod/test_name.rb +1 -1
- data/test/more/{test_arguments.rb → test_argvector.rb} +8 -12
- data/test/more/test_filter.rb +87 -0
- data/test/more/test_memoize.rb +11 -9
- data/test/more/test_sparsearray.rb +279 -0
- metadata +741 -725
- data/demo/bench/bench_load.rb +0 -56
- data/demo/bench/enumerable/bench_collect.rb +0 -84
- data/demo/bench/enumerable/bench_count.rb +0 -58
- data/demo/bench/general/bench_calls.rb +0 -74
- data/demo/bench/general/bench_includes.rb +0 -25
- data/demo/bench/general/bench_methods.rb +0 -17
- data/demo/bench/general/bench_pathname.rb +0 -24
- data/demo/bench/general/bench_range.rb +0 -64
- data/demo/bench/general/bench_return.rb +0 -56
- data/demo/bench/general/bench_yeild.rb +0 -75
- data/demo/bench/general/comment_loading/bench.rb +0 -46
- data/demo/bench/general/comment_loading/comments_begin.rb +0 -109
- data/demo/bench/general/comment_loading/comments_end.rb +0 -127
- data/demo/bench/general/comment_loading/comments_none.rb +0 -1
- data/demo/bench/general/comment_loading/comments_sharp.rb +0 -125
- data/demo/bench/integer/bench_factorial.rb +0 -31
- data/demo/sample/annotations/annotations1.rb +0 -22
- data/demo/sample/ansicolor/cdiff.rb +0 -20
- data/demo/sample/ansicolor/example.rb +0 -82
- data/doc/book/notes.rdoc +0 -9
- data/doc/rdoc/more/classes/BigDuration.html +0 -323
- data/doc/rdoc/more/classes/CLI/Arguments.html +0 -488
- data/doc/rdoc/more/classes/CLI/Command.html +0 -316
- data/doc/rdoc/more/classes/Chain.html +0 -206
- data/doc/rdoc/more/classes/FileShell.html +0 -743
- data/doc/rdoc/more/classes/TagIterator.html +0 -581
- data/doc/rdoc/more/classes/UploadUtils.html +0 -497
- data/doc/rdoc/more/classes/Weekdays.html +0 -218
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +0 -180
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +0 -142
- data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +0 -125
- data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +0 -114
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +0 -170
- data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/tagiterator_rb.html +0 -111
- data/doc/rdoc/more/files/lib/more/facets/times_rb.html +0 -163
- data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +0 -176
- data/lib/more/facets/annotations.rb +0 -302
- data/lib/more/facets/arguments.rb +0 -365
- data/lib/more/facets/bytes.rb +0 -175
- data/lib/more/facets/cachedecorator.rb +0 -117
- data/lib/more/facets/chain.rb +0 -58
- data/lib/more/facets/command.rb +0 -439
- data/lib/more/facets/eventhook.rb +0 -132
- data/lib/more/facets/fileshell.rb +0 -202
- data/lib/more/facets/hash/symbolize_keys.rb +0 -94
- data/lib/more/facets/tagiter.rb +0 -366
- data/lib/more/facets/times.rb +0 -431
- data/lib/more/facets/uploadutils.rb +0 -464
- data/test/core/hash/test_update.rb +0 -46
- data/test/more/test_annotations.rb +0 -120
- data/test/more/test_bytes.rb +0 -71
- data/test/more/test_command.rb +0 -69
- data/test/more/test_times.rb +0 -89
@@ -85,8 +85,8 @@ CSS parse tree. This is for a "deep filtering".
|
|
85
85
|
|
86
86
|
|
87
87
|
<div class="sectiontitle">Methods</div>
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000562">new</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000563">to_css</a></span>
|
90
90
|
|
91
91
|
|
92
92
|
|
@@ -96,11 +96,11 @@ CSS parse tree. This is for a "deep filtering".
|
|
96
96
|
<div class="sectiontitle">Public Class methods</div>
|
97
97
|
<div class="method">
|
98
98
|
<div class="title">
|
99
|
-
<a name="
|
99
|
+
<a name="M000562"></a><b>new</b>(options=nil)
|
100
100
|
</div>
|
101
101
|
<div class="sourcecode">
|
102
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
103
|
-
<div id="
|
102
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000562_source')" id="l_M000562_source">+</a> ]</p>
|
103
|
+
<div id="M000562_source" class="dyn-source">
|
104
104
|
<pre>
|
105
105
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 204</span>
|
106
106
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -114,7 +114,7 @@ CSS parse tree. This is for a "deep filtering".
|
|
114
114
|
<div class="sectiontitle">Public Instance methods</div>
|
115
115
|
<div class="method">
|
116
116
|
<div class="title">
|
117
|
-
<a name="
|
117
|
+
<a name="M000563"></a><b>to_css</b>()
|
118
118
|
</div>
|
119
119
|
<div class="description">
|
120
120
|
<p>
|
@@ -122,8 +122,8 @@ Re-output the CSS, all tidy ;)
|
|
122
122
|
</p>
|
123
123
|
</div>
|
124
124
|
<div class="sourcecode">
|
125
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
126
|
-
<div id="
|
125
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000563_source')" id="l_M000563_source">+</a> ]</p>
|
126
|
+
<div id="M000563_source" class="dyn-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 211</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_css</span>
|
@@ -79,11 +79,11 @@ Object
|
|
79
79
|
<p>
|
80
80
|
The <a href="Dictionary.html">Dictionary</a> class is a <a
|
81
81
|
href="Hash.html">Hash</a> that preserves <a
|
82
|
-
href="Dictionary.html#
|
82
|
+
href="Dictionary.html#M000116">order</a>. So it has some array-like
|
83
83
|
extensions also. By defualt a <a href="Dictionary.html">Dictionary</a>
|
84
|
-
object preserves insertion <a href="Dictionary.html#
|
85
|
-
any <a href="Dictionary.html#
|
86
|
-
alphabetical key <a href="Dictionary.html#
|
84
|
+
object preserves insertion <a href="Dictionary.html#M000116">order</a>, but
|
85
|
+
any <a href="Dictionary.html#M000116">order</a> can be specified including
|
86
|
+
alphabetical key <a href="Dictionary.html#M000116">order</a>.
|
87
87
|
</p>
|
88
88
|
<h2>Usage</h2>
|
89
89
|
<p>
|
@@ -118,19 +118,19 @@ instead of <a href="Hash.html">Hash</a>.
|
|
118
118
|
</pre>
|
119
119
|
<h2>Usage Notes</h2>
|
120
120
|
<ul>
|
121
|
-
<li>You can use <a href="Dictionary.html#
|
122
|
-
sort <a href="Dictionary.html#
|
121
|
+
<li>You can use <a href="Dictionary.html#M000117">order_by</a> to set internal
|
122
|
+
sort <a href="Dictionary.html#M000116">order</a>.
|
123
123
|
|
124
124
|
</li>
|
125
125
|
<li>#<< takes a two element [k,v] array and inserts.
|
126
126
|
|
127
127
|
</li>
|
128
|
-
<li>Use ::<a href="Dictionary.html#
|
128
|
+
<li>Use ::<a href="Dictionary.html#M000114">auto</a> which creates Dictionay
|
129
129
|
sub-entries as needed.
|
130
130
|
|
131
131
|
</li>
|
132
|
-
<li>And ::<a href="Dictionary.html#
|
133
|
-
href="Dictionary.html#
|
132
|
+
<li>And ::<a href="Dictionary.html#M000113">alpha</a> which creates a <a
|
133
|
+
href="Dictionary.html#M000115">new</a> <a
|
134
134
|
href="Dictionary.html">Dictionary</a> sorted by key.
|
135
135
|
|
136
136
|
</li>
|
@@ -140,59 +140,59 @@ href="Dictionary.html">Dictionary</a> sorted by key.
|
|
140
140
|
|
141
141
|
|
142
142
|
<div class="sectiontitle">Methods</div>
|
143
|
-
<span style="padding-right: 5px;"><a href="#
|
144
|
-
<span style="padding-right: 5px;"><a href="#
|
145
|
-
<span style="padding-right: 5px;"><a href="#
|
146
|
-
<span style="padding-right: 5px;"><a href="#
|
147
|
-
<span style="padding-right: 5px;"><a href="#
|
148
|
-
<span style="padding-right: 5px;"><a href="#
|
149
|
-
<span style="padding-right: 5px;"><a href="#
|
150
|
-
<span style="padding-right: 5px;"><a href="#
|
151
|
-
<span style="padding-right: 5px;"><a href="#
|
152
|
-
<span style="padding-right: 5px;"><a href="#
|
153
|
-
<span style="padding-right: 5px;"><a href="#
|
154
|
-
<span style="padding-right: 5px;"><a href="#
|
155
|
-
<span style="padding-right: 5px;"><a href="#
|
156
|
-
<span style="padding-right: 5px;"><a href="#
|
157
|
-
<span style="padding-right: 5px;"><a href="#
|
158
|
-
<span style="padding-right: 5px;"><a href="#
|
159
|
-
<span style="padding-right: 5px;"><a href="#
|
160
|
-
<span style="padding-right: 5px;"><a href="#
|
161
|
-
<span style="padding-right: 5px;"><a href="#
|
162
|
-
<span style="padding-right: 5px;"><a href="#
|
163
|
-
<span style="padding-right: 5px;"><a href="#
|
164
|
-
<span style="padding-right: 5px;"><a href="#
|
165
|
-
<span style="padding-right: 5px;"><a href="#
|
166
|
-
<span style="padding-right: 5px;"><a href="#
|
167
|
-
<span style="padding-right: 5px;"><a href="#
|
168
|
-
<span style="padding-right: 5px;"><a href="#
|
169
|
-
<span style="padding-right: 5px;"><a href="#
|
170
|
-
<span style="padding-right: 5px;"><a href="#
|
171
|
-
<span style="padding-right: 5px;"><a href="#
|
172
|
-
<span style="padding-right: 5px;"><a href="#
|
173
|
-
<span style="padding-right: 5px;"><a href="#
|
174
|
-
<span style="padding-right: 5px;"><a href="#
|
175
|
-
<span style="padding-right: 5px;"><a href="#
|
176
|
-
<span style="padding-right: 5px;"><a href="#
|
177
|
-
<span style="padding-right: 5px;"><a href="#
|
178
|
-
<span style="padding-right: 5px;"><a href="#
|
179
|
-
<span style="padding-right: 5px;"><a href="#
|
180
|
-
<span style="padding-right: 5px;"><a href="#
|
181
|
-
<span style="padding-right: 5px;"><a href="#
|
182
|
-
<span style="padding-right: 5px;"><a href="#
|
183
|
-
<span style="padding-right: 5px;"><a href="#
|
184
|
-
<span style="padding-right: 5px;"><a href="#
|
185
|
-
<span style="padding-right: 5px;"><a href="#
|
186
|
-
<span style="padding-right: 5px;"><a href="#
|
187
|
-
<span style="padding-right: 5px;"><a href="#
|
188
|
-
<span style="padding-right: 5px;"><a href="#
|
189
|
-
<span style="padding-right: 5px;"><a href="#
|
190
|
-
<span style="padding-right: 5px;"><a href="#
|
191
|
-
<span style="padding-right: 5px;"><a href="#
|
192
|
-
<span style="padding-right: 5px;"><a href="#
|
193
|
-
<span style="padding-right: 5px;"><a href="#
|
194
|
-
<span style="padding-right: 5px;"><a href="#
|
195
|
-
<span style="padding-right: 5px;"><a href="#
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000142"><<</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000121">==</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000111">[]</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000122">[]</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000124">[]=</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000113">alpha</a></span>
|
149
|
+
<span style="padding-right: 5px;"><a href="#M000114">auto</a></span>
|
150
|
+
<span style="padding-right: 5px;"><a href="#M000127">clear</a></span>
|
151
|
+
<span style="padding-right: 5px;"><a href="#M000128">delete</a></span>
|
152
|
+
<span style="padding-right: 5px;"><a href="#M000133">delete_if</a></span>
|
153
|
+
<span style="padding-right: 5px;"><a href="#M000146">dup</a></span>
|
154
|
+
<span style="padding-right: 5px;"><a href="#M000131">each</a></span>
|
155
|
+
<span style="padding-right: 5px;"><a href="#M000129">each_key</a></span>
|
156
|
+
<span style="padding-right: 5px;"><a href="#M000132">each_pair</a></span>
|
157
|
+
<span style="padding-right: 5px;"><a href="#M000130">each_value</a></span>
|
158
|
+
<span style="padding-right: 5px;"><a href="#M000157">empty?</a></span>
|
159
|
+
<span style="padding-right: 5px;"><a href="#M000123">fetch</a></span>
|
160
|
+
<span style="padding-right: 5px;"><a href="#M000153">first</a></span>
|
161
|
+
<span style="padding-right: 5px;"><a href="#M000158">has_key?</a></span>
|
162
|
+
<span style="padding-right: 5px;"><a href="#M000125">insert</a></span>
|
163
|
+
<span style="padding-right: 5px;"><a href="#M000145">inspect</a></span>
|
164
|
+
<span style="padding-right: 5px;"><a href="#M000136">invert</a></span>
|
165
|
+
<span style="padding-right: 5px;"><a href="#M000159">key?</a></span>
|
166
|
+
<span style="padding-right: 5px;"><a href="#M000135">keys</a></span>
|
167
|
+
<span style="padding-right: 5px;"><a href="#M000154">last</a></span>
|
168
|
+
<span style="padding-right: 5px;"><a href="#M000155">length</a></span>
|
169
|
+
<span style="padding-right: 5px;"><a href="#M000149">merge</a></span>
|
170
|
+
<span style="padding-right: 5px;"><a href="#M000148">merge!</a></span>
|
171
|
+
<span style="padding-right: 5px;"><a href="#M000115">new</a></span>
|
172
|
+
<span style="padding-right: 5px;"><a href="#M000112">new_by</a></span>
|
173
|
+
<span style="padding-right: 5px;"><a href="#M000116">order</a></span>
|
174
|
+
<span style="padding-right: 5px;"><a href="#M000117">order_by</a></span>
|
175
|
+
<span style="padding-right: 5px;"><a href="#M000118">order_by_key</a></span>
|
176
|
+
<span style="padding-right: 5px;"><a href="#M000119">order_by_value</a></span>
|
177
|
+
<span style="padding-right: 5px;"><a href="#M000144">pop</a></span>
|
178
|
+
<span style="padding-right: 5px;"><a href="#M000143">push</a></span>
|
179
|
+
<span style="padding-right: 5px;"><a href="#M000137">reject</a></span>
|
180
|
+
<span style="padding-right: 5px;"><a href="#M000138">reject!</a></span>
|
181
|
+
<span style="padding-right: 5px;"><a href="#M000120">reorder</a></span>
|
182
|
+
<span style="padding-right: 5px;"><a href="#M000139">replace</a></span>
|
183
|
+
<span style="padding-right: 5px;"><a href="#M000152">reverse</a></span>
|
184
|
+
<span style="padding-right: 5px;"><a href="#M000151">reverse!</a></span>
|
185
|
+
<span style="padding-right: 5px;"><a href="#M000150">select</a></span>
|
186
|
+
<span style="padding-right: 5px;"><a href="#M000140">shift</a></span>
|
187
|
+
<span style="padding-right: 5px;"><a href="#M000156">size</a></span>
|
188
|
+
<span style="padding-right: 5px;"><a href="#M000126">store</a></span>
|
189
|
+
<span style="padding-right: 5px;"><a href="#M000160">to_a</a></span>
|
190
|
+
<span style="padding-right: 5px;"><a href="#M000163">to_h</a></span>
|
191
|
+
<span style="padding-right: 5px;"><a href="#M000162">to_hash</a></span>
|
192
|
+
<span style="padding-right: 5px;"><a href="#M000161">to_s</a></span>
|
193
|
+
<span style="padding-right: 5px;"><a href="#M000141">unshift</a></span>
|
194
|
+
<span style="padding-right: 5px;"><a href="#M000147">update</a></span>
|
195
|
+
<span style="padding-right: 5px;"><a href="#M000134">values</a></span>
|
196
196
|
|
197
197
|
<div class="sectiontitle">Included Modules</div>
|
198
198
|
<ul>
|
@@ -206,11 +206,11 @@ href="Dictionary.html">Dictionary</a> sorted by key.
|
|
206
206
|
<div class="sectiontitle">Public Class methods</div>
|
207
207
|
<div class="method">
|
208
208
|
<div class="title">
|
209
|
-
<a name="
|
209
|
+
<a name="M000111"></a><b>[]</b>(*args)
|
210
210
|
</div>
|
211
211
|
<div class="sourcecode">
|
212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
213
|
-
<div id="
|
212
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000111_source')" id="l_M000111_source">+</a> ]</p>
|
213
|
+
<div id="M000111_source" class="dyn-source">
|
214
214
|
<pre>
|
215
215
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 128</span>
|
216
216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -232,11 +232,11 @@ href="Dictionary.html">Dictionary</a> sorted by key.
|
|
232
232
|
</div>
|
233
233
|
<div class="method">
|
234
234
|
<div class="title">
|
235
|
-
<a name="
|
235
|
+
<a name="M000113"></a><b>alpha</b>(*args, &block)
|
236
236
|
</div>
|
237
237
|
<div class="description">
|
238
238
|
<p>
|
239
|
-
Alternate to <a href="Dictionary.html#
|
239
|
+
Alternate to <a href="Dictionary.html#M000115">new</a> which creates a
|
240
240
|
dictionary sorted by key.
|
241
241
|
</p>
|
242
242
|
<pre>
|
@@ -254,8 +254,8 @@ This is equivalent to:
|
|
254
254
|
</pre>
|
255
255
|
</div>
|
256
256
|
<div class="sourcecode">
|
257
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
258
|
-
<div id="
|
257
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000113_source')" id="l_M000113_source">+</a> ]</p>
|
258
|
+
<div id="M000113_source" class="dyn-source">
|
259
259
|
<pre>
|
260
260
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 160</span>
|
261
261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alpha</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -267,12 +267,12 @@ This is equivalent to:
|
|
267
267
|
</div>
|
268
268
|
<div class="method">
|
269
269
|
<div class="title">
|
270
|
-
<a name="
|
270
|
+
<a name="M000114"></a><b>auto</b>(*args)
|
271
271
|
</div>
|
272
272
|
<div class="description">
|
273
273
|
<p>
|
274
|
-
Alternate to <a href="Dictionary.html#
|
275
|
-
href="Dictionary.html#
|
274
|
+
Alternate to <a href="Dictionary.html#M000115">new</a> which <a
|
275
|
+
href="Dictionary.html#M000114">auto</a>-creates sub-dictionaries as needed.
|
276
276
|
</p>
|
277
277
|
<pre>
|
278
278
|
d = Dictionary.auto
|
@@ -280,8 +280,8 @@ href="Dictionary.html#M000110">auto</a>-creates sub-dictionaries as needed.
|
|
280
280
|
</pre>
|
281
281
|
</div>
|
282
282
|
<div class="sourcecode">
|
283
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
284
|
-
<div id="
|
283
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000114_source')" id="l_M000114_source">+</a> ]</p>
|
284
|
+
<div id="M000114_source" class="dyn-source">
|
285
285
|
<pre>
|
286
286
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 169</span>
|
287
287
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">auto</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -295,7 +295,7 @@ href="Dictionary.html#M000110">auto</a>-creates sub-dictionaries as needed.
|
|
295
295
|
</div>
|
296
296
|
<div class="method">
|
297
297
|
<div class="title">
|
298
|
-
<a name="
|
298
|
+
<a name="M000115"></a><b>new</b>(*args, &blk)
|
299
299
|
</div>
|
300
300
|
<div class="description">
|
301
301
|
<p>
|
@@ -303,8 +303,8 @@ New Dictiionary.
|
|
303
303
|
</p>
|
304
304
|
</div>
|
305
305
|
<div class="sourcecode">
|
306
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
307
|
-
<div id="
|
306
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">+</a> ]</p>
|
307
|
+
<div id="M000115_source" class="dyn-source">
|
308
308
|
<pre>
|
309
309
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 178</span>
|
310
310
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -324,17 +324,17 @@ New Dictiionary.
|
|
324
324
|
</div>
|
325
325
|
<div class="method">
|
326
326
|
<div class="title">
|
327
|
-
<a name="
|
327
|
+
<a name="M000112"></a><b>new_by</b>(*args, &blk)
|
328
328
|
</div>
|
329
329
|
<div class="description">
|
330
330
|
<p>
|
331
|
-
Like <a href="Dictionary.html#
|
332
|
-
href="Dictionary.html#
|
331
|
+
Like <a href="Dictionary.html#M000115">new</a> but the block sets the <a
|
332
|
+
href="Dictionary.html#M000116">order</a>.
|
333
333
|
</p>
|
334
334
|
</div>
|
335
335
|
<div class="sourcecode">
|
336
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
337
|
-
<div id="
|
336
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000112_source')" id="l_M000112_source">+</a> ]</p>
|
337
|
+
<div id="M000112_source" class="dyn-source">
|
338
338
|
<pre>
|
339
339
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 144</span>
|
340
340
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_by</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -347,11 +347,11 @@ href="Dictionary.html#M000112">order</a>.
|
|
347
347
|
<div class="sectiontitle">Public Instance methods</div>
|
348
348
|
<div class="method">
|
349
349
|
<div class="title">
|
350
|
-
<a name="
|
350
|
+
<a name="M000142"></a><b><<</b>(kv)
|
351
351
|
</div>
|
352
352
|
<div class="sourcecode">
|
353
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
354
|
-
<div id="
|
353
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">+</a> ]</p>
|
354
|
+
<div id="M000142_source" class="dyn-source">
|
355
355
|
<pre>
|
356
356
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 375</span>
|
357
357
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">kv</span>)
|
@@ -363,7 +363,7 @@ href="Dictionary.html#M000112">order</a>.
|
|
363
363
|
</div>
|
364
364
|
<div class="method">
|
365
365
|
<div class="title">
|
366
|
-
<a name="
|
366
|
+
<a name="M000121"></a><b>==</b>(hsh2)
|
367
367
|
</div>
|
368
368
|
<div class="description">
|
369
369
|
<p>
|
@@ -378,8 +378,8 @@ end
|
|
378
378
|
</p>
|
379
379
|
</div>
|
380
380
|
<div class="sourcecode">
|
381
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
382
|
-
<div id="
|
381
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">+</a> ]</p>
|
382
|
+
<div id="M000121_source" class="dyn-source">
|
383
383
|
<pre>
|
384
384
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 256</span>
|
385
385
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">hsh2</span>)
|
@@ -396,11 +396,11 @@ end
|
|
396
396
|
</div>
|
397
397
|
<div class="method">
|
398
398
|
<div class="title">
|
399
|
-
<a name="
|
399
|
+
<a name="M000122"></a><b>[]</b>(k)
|
400
400
|
</div>
|
401
401
|
<div class="sourcecode">
|
402
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
403
|
-
<div id="
|
402
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">+</a> ]</p>
|
403
|
+
<div id="M000122_source" class="dyn-source">
|
404
404
|
<pre>
|
405
405
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 265</span>
|
406
406
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">k</span>
|
@@ -412,7 +412,7 @@ end
|
|
412
412
|
</div>
|
413
413
|
<div class="method">
|
414
414
|
<div class="title">
|
415
|
-
<a name="
|
415
|
+
<a name="M000124"></a><b>[]=</b>(k, i=nil, v=nil)
|
416
416
|
</div>
|
417
417
|
<div class="description">
|
418
418
|
<p>
|
@@ -429,8 +429,8 @@ Or with additional index.
|
|
429
429
|
</pre>
|
430
430
|
</div>
|
431
431
|
<div class="sourcecode">
|
432
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
433
|
-
<div id="
|
432
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">+</a> ]</p>
|
433
|
+
<div id="M000124_source" class="dyn-source">
|
434
434
|
<pre>
|
435
435
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 281</span>
|
436
436
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">k</span>, <span class="ruby-identifier">i</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">v</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -446,11 +446,11 @@ Or with additional index.
|
|
446
446
|
</div>
|
447
447
|
<div class="method">
|
448
448
|
<div class="title">
|
449
|
-
<a name="
|
449
|
+
<a name="M000127"></a><b>clear</b>()
|
450
450
|
</div>
|
451
451
|
<div class="sourcecode">
|
452
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
453
|
-
<div id="
|
452
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">+</a> ]</p>
|
453
|
+
<div id="M000127_source" class="dyn-source">
|
454
454
|
<pre>
|
455
455
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 299</span>
|
456
456
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
|
@@ -463,11 +463,11 @@ Or with additional index.
|
|
463
463
|
</div>
|
464
464
|
<div class="method">
|
465
465
|
<div class="title">
|
466
|
-
<a name="
|
466
|
+
<a name="M000128"></a><b>delete</b>( key )
|
467
467
|
</div>
|
468
468
|
<div class="sourcecode">
|
469
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
470
|
-
<div id="
|
469
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">+</a> ]</p>
|
470
|
+
<div id="M000128_source" class="dyn-source">
|
471
471
|
<pre>
|
472
472
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 304</span>
|
473
473
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>( <span class="ruby-identifier">key</span> )
|
@@ -480,11 +480,11 @@ Or with additional index.
|
|
480
480
|
</div>
|
481
481
|
<div class="method">
|
482
482
|
<div class="title">
|
483
|
-
<a name="
|
483
|
+
<a name="M000133"></a><b>delete_if</b>() {|k,@hash[k]| ...}
|
484
484
|
</div>
|
485
485
|
<div class="sourcecode">
|
486
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
487
|
-
<div id="
|
486
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">+</a> ]</p>
|
487
|
+
<div id="M000133_source" class="dyn-source">
|
488
488
|
<pre>
|
489
489
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 325</span>
|
490
490
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_if</span>
|
@@ -497,11 +497,11 @@ Or with additional index.
|
|
497
497
|
</div>
|
498
498
|
<div class="method">
|
499
499
|
<div class="title">
|
500
|
-
<a name="
|
500
|
+
<a name="M000146"></a><b>dup</b>()
|
501
501
|
</div>
|
502
502
|
<div class="sourcecode">
|
503
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
504
|
-
<div id="
|
503
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">+</a> ]</p>
|
504
|
+
<div id="M000146_source" class="dyn-source">
|
505
505
|
<pre>
|
506
506
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 400</span>
|
507
507
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dup</span>
|
@@ -515,15 +515,15 @@ Or with additional index.
|
|
515
515
|
</div>
|
516
516
|
<div class="method">
|
517
517
|
<div class="title">
|
518
|
-
<a name="
|
518
|
+
<a name="M000131"></a><b>each</b>() {|k,@hash[k]| ...}
|
519
519
|
</div>
|
520
520
|
<div class="aka">
|
521
521
|
This method is also aliased as
|
522
|
-
<a href="Dictionary.html#
|
522
|
+
<a href="Dictionary.html#M000132">each_pair</a>
|
523
523
|
</div>
|
524
524
|
<div class="sourcecode">
|
525
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
526
|
-
<div id="
|
525
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">+</a> ]</p>
|
526
|
+
<div id="M000131_source" class="dyn-source">
|
527
527
|
<pre>
|
528
528
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 319</span>
|
529
529
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
@@ -536,11 +536,11 @@ Or with additional index.
|
|
536
536
|
</div>
|
537
537
|
<div class="method">
|
538
538
|
<div class="title">
|
539
|
-
<a name="
|
539
|
+
<a name="M000129"></a><b>each_key</b>() {|k| ...}
|
540
540
|
</div>
|
541
541
|
<div class="sourcecode">
|
542
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
543
|
-
<div id="
|
542
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000129_source')" id="l_M000129_source">+</a> ]</p>
|
543
|
+
<div id="M000129_source" class="dyn-source">
|
544
544
|
<pre>
|
545
545
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 309</span>
|
546
546
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_key</span>
|
@@ -553,21 +553,21 @@ Or with additional index.
|
|
553
553
|
</div>
|
554
554
|
<div class="method">
|
555
555
|
<div class="title">
|
556
|
-
<a name="
|
556
|
+
<a name="M000132"></a><b>each_pair</b>()
|
557
557
|
</div>
|
558
558
|
<div class="description">
|
559
559
|
<p>
|
560
|
-
Alias for <a href="Dictionary.html#
|
560
|
+
Alias for <a href="Dictionary.html#M000131">each</a>
|
561
561
|
</p>
|
562
562
|
</div>
|
563
563
|
</div>
|
564
564
|
<div class="method">
|
565
565
|
<div class="title">
|
566
|
-
<a name="
|
566
|
+
<a name="M000130"></a><b>each_value</b>() {|@hash[k]| ...}
|
567
567
|
</div>
|
568
568
|
<div class="sourcecode">
|
569
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
570
|
-
<div id="
|
569
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">+</a> ]</p>
|
570
|
+
<div id="M000130_source" class="dyn-source">
|
571
571
|
<pre>
|
572
572
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 314</span>
|
573
573
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_value</span>
|
@@ -580,11 +580,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
580
580
|
</div>
|
581
581
|
<div class="method">
|
582
582
|
<div class="title">
|
583
|
-
<a name="
|
583
|
+
<a name="M000157"></a><b>empty?</b>()
|
584
584
|
</div>
|
585
585
|
<div class="sourcecode">
|
586
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
587
|
-
<div id="
|
586
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">+</a> ]</p>
|
587
|
+
<div id="M000157_source" class="dyn-source">
|
588
588
|
<pre>
|
589
589
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 449</span>
|
590
590
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>
|
@@ -596,11 +596,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
596
596
|
</div>
|
597
597
|
<div class="method">
|
598
598
|
<div class="title">
|
599
|
-
<a name="
|
599
|
+
<a name="M000123"></a><b>fetch</b>(k, *a, &b)
|
600
600
|
</div>
|
601
601
|
<div class="sourcecode">
|
602
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
603
|
-
<div id="
|
602
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">+</a> ]</p>
|
603
|
+
<div id="M000123_source" class="dyn-source">
|
604
604
|
<pre>
|
605
605
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 269</span>
|
606
606
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">k</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -612,11 +612,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
612
612
|
</div>
|
613
613
|
<div class="method">
|
614
614
|
<div class="title">
|
615
|
-
<a name="
|
615
|
+
<a name="M000153"></a><b>first</b>(x=nil)
|
616
616
|
</div>
|
617
617
|
<div class="sourcecode">
|
618
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
619
|
-
<div id="
|
618
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000153_source')" id="l_M000153_source">+</a> ]</p>
|
619
|
+
<div id="M000153_source" class="dyn-source">
|
620
620
|
<pre>
|
621
621
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 433</span>
|
622
622
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span>(<span class="ruby-identifier">x</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -629,11 +629,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
629
629
|
</div>
|
630
630
|
<div class="method">
|
631
631
|
<div class="title">
|
632
|
-
<a name="
|
632
|
+
<a name="M000158"></a><b>has_key?</b>(key)
|
633
633
|
</div>
|
634
634
|
<div class="sourcecode">
|
635
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
636
|
-
<div id="
|
635
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">+</a> ]</p>
|
636
|
+
<div id="M000158_source" class="dyn-source">
|
637
637
|
<pre>
|
638
638
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 453</span>
|
639
639
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">key</span>)
|
@@ -645,11 +645,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
645
645
|
</div>
|
646
646
|
<div class="method">
|
647
647
|
<div class="title">
|
648
|
-
<a name="
|
648
|
+
<a name="M000125"></a><b>insert</b>( i,k,v )
|
649
649
|
</div>
|
650
650
|
<div class="sourcecode">
|
651
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
652
|
-
<div id="
|
651
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">+</a> ]</p>
|
652
|
+
<div id="M000125_source" class="dyn-source">
|
653
653
|
<pre>
|
654
654
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 289</span>
|
655
655
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span>( <span class="ruby-identifier">i</span>,<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
|
@@ -662,11 +662,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
662
662
|
</div>
|
663
663
|
<div class="method">
|
664
664
|
<div class="title">
|
665
|
-
<a name="
|
665
|
+
<a name="M000145"></a><b>inspect</b>()
|
666
666
|
</div>
|
667
667
|
<div class="sourcecode">
|
668
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
669
|
-
<div id="
|
668
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">+</a> ]</p>
|
669
|
+
<div id="M000145_source" class="dyn-source">
|
670
670
|
<pre>
|
671
671
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 394</span>
|
672
672
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -680,11 +680,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
680
680
|
</div>
|
681
681
|
<div class="method">
|
682
682
|
<div class="title">
|
683
|
-
<a name="
|
683
|
+
<a name="M000136"></a><b>invert</b>()
|
684
684
|
</div>
|
685
685
|
<div class="sourcecode">
|
686
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
687
|
-
<div id="
|
686
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">+</a> ]</p>
|
687
|
+
<div id="M000136_source" class="dyn-source">
|
688
688
|
<pre>
|
689
689
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 340</span>
|
690
690
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invert</span>
|
@@ -698,11 +698,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
698
698
|
</div>
|
699
699
|
<div class="method">
|
700
700
|
<div class="title">
|
701
|
-
<a name="
|
701
|
+
<a name="M000159"></a><b>key?</b>(key)
|
702
702
|
</div>
|
703
703
|
<div class="sourcecode">
|
704
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
705
|
-
<div id="
|
704
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">+</a> ]</p>
|
705
|
+
<div id="M000159_source" class="dyn-source">
|
706
706
|
<pre>
|
707
707
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 457</span>
|
708
708
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">key</span>)
|
@@ -714,11 +714,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
714
714
|
</div>
|
715
715
|
<div class="method">
|
716
716
|
<div class="title">
|
717
|
-
<a name="
|
717
|
+
<a name="M000135"></a><b>keys</b>()
|
718
718
|
</div>
|
719
719
|
<div class="sourcecode">
|
720
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
721
|
-
<div id="
|
720
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">+</a> ]</p>
|
721
|
+
<div id="M000135_source" class="dyn-source">
|
722
722
|
<pre>
|
723
723
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 336</span>
|
724
724
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">keys</span>
|
@@ -730,11 +730,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
730
730
|
</div>
|
731
731
|
<div class="method">
|
732
732
|
<div class="title">
|
733
|
-
<a name="
|
733
|
+
<a name="M000154"></a><b>last</b>(x=nil)
|
734
734
|
</div>
|
735
735
|
<div class="sourcecode">
|
736
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
737
|
-
<div id="
|
736
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">+</a> ]</p>
|
737
|
+
<div id="M000154_source" class="dyn-source">
|
738
738
|
<pre>
|
739
739
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 439</span>
|
740
740
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>(<span class="ruby-identifier">x</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -747,15 +747,15 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
747
747
|
</div>
|
748
748
|
<div class="method">
|
749
749
|
<div class="title">
|
750
|
-
<a name="
|
750
|
+
<a name="M000155"></a><b>length</b>()
|
751
751
|
</div>
|
752
752
|
<div class="aka">
|
753
753
|
This method is also aliased as
|
754
|
-
<a href="Dictionary.html#
|
754
|
+
<a href="Dictionary.html#M000156">size</a>
|
755
755
|
</div>
|
756
756
|
<div class="sourcecode">
|
757
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
758
|
-
<div id="
|
757
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">+</a> ]</p>
|
758
|
+
<div id="M000155_source" class="dyn-source">
|
759
759
|
<pre>
|
760
760
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 444</span>
|
761
761
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
|
@@ -767,11 +767,11 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
767
767
|
</div>
|
768
768
|
<div class="method">
|
769
769
|
<div class="title">
|
770
|
-
<a name="
|
770
|
+
<a name="M000149"></a><b>merge</b>( hsh2 )
|
771
771
|
</div>
|
772
772
|
<div class="sourcecode">
|
773
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
774
|
-
<div id="
|
773
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">+</a> ]</p>
|
774
|
+
<div id="M000149_source" class="dyn-source">
|
775
775
|
<pre>
|
776
776
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 413</span>
|
777
777
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>( <span class="ruby-identifier">hsh2</span> )
|
@@ -783,21 +783,21 @@ Alias for <a href="Dictionary.html#M000127">each</a>
|
|
783
783
|
</div>
|
784
784
|
<div class="method">
|
785
785
|
<div class="title">
|
786
|
-
<a name="
|
786
|
+
<a name="M000148"></a><b>merge!</b>( hsh2 )
|
787
787
|
</div>
|
788
788
|
<div class="description">
|
789
789
|
<p>
|
790
|
-
Alias for <a href="Dictionary.html#
|
790
|
+
Alias for <a href="Dictionary.html#M000147">update</a>
|
791
791
|
</p>
|
792
792
|
</div>
|
793
793
|
</div>
|
794
794
|
<div class="method">
|
795
795
|
<div class="title">
|
796
|
-
<a name="
|
796
|
+
<a name="M000116"></a><b>order</b>()
|
797
797
|
</div>
|
798
798
|
<div class="sourcecode">
|
799
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
800
|
-
<div id="
|
799
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000116_source')" id="l_M000116_source">+</a> ]</p>
|
800
|
+
<div id="M000116_source" class="dyn-source">
|
801
801
|
<pre>
|
802
802
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 190</span>
|
803
803
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">order</span>
|
@@ -810,17 +810,17 @@ Alias for <a href="Dictionary.html#M000143">update</a>
|
|
810
810
|
</div>
|
811
811
|
<div class="method">
|
812
812
|
<div class="title">
|
813
|
-
<a name="
|
813
|
+
<a name="M000117"></a><b>order_by</b>( &block )
|
814
814
|
</div>
|
815
815
|
<div class="description">
|
816
816
|
<p>
|
817
817
|
Keep dictionary sorted by a specific sort <a
|
818
|
-
href="Dictionary.html#
|
818
|
+
href="Dictionary.html#M000116">order</a>.
|
819
819
|
</p>
|
820
820
|
</div>
|
821
821
|
<div class="sourcecode">
|
822
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
823
|
-
<div id="
|
822
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">+</a> ]</p>
|
823
|
+
<div id="M000117_source" class="dyn-source">
|
824
824
|
<pre>
|
825
825
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 197</span>
|
826
826
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">order_by</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -834,7 +834,7 @@ href="Dictionary.html#M000112">order</a>.
|
|
834
834
|
</div>
|
835
835
|
<div class="method">
|
836
836
|
<div class="title">
|
837
|
-
<a name="
|
837
|
+
<a name="M000118"></a><b>order_by_key</b>()
|
838
838
|
</div>
|
839
839
|
<div class="description">
|
840
840
|
<p>
|
@@ -854,13 +854,13 @@ This is equivalent to:
|
|
854
854
|
Dictionary.new.order_by { |key,value| key }
|
855
855
|
</pre>
|
856
856
|
<p>
|
857
|
-
The initializer <a href="Dictionary.html#
|
857
|
+
The initializer <a href="Dictionary.html#M000113">Dictionary#alpha</a> also
|
858
858
|
provides this.
|
859
859
|
</p>
|
860
860
|
</div>
|
861
861
|
<div class="sourcecode">
|
862
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
863
|
-
<div id="
|
862
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">+</a> ]</p>
|
863
|
+
<div id="M000118_source" class="dyn-source">
|
864
864
|
<pre>
|
865
865
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 217</span>
|
866
866
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">order_by_key</span>
|
@@ -874,7 +874,7 @@ provides this.
|
|
874
874
|
</div>
|
875
875
|
<div class="method">
|
876
876
|
<div class="title">
|
877
|
-
<a name="
|
877
|
+
<a name="M000119"></a><b>order_by_value</b>()
|
878
878
|
</div>
|
879
879
|
<div class="description">
|
880
880
|
<p>
|
@@ -895,8 +895,8 @@ This is equivalent to:
|
|
895
895
|
</pre>
|
896
896
|
</div>
|
897
897
|
<div class="sourcecode">
|
898
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
899
|
-
<div id="
|
898
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">+</a> ]</p>
|
899
|
+
<div id="M000119_source" class="dyn-source">
|
900
900
|
<pre>
|
901
901
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 235</span>
|
902
902
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">order_by_value</span>
|
@@ -910,11 +910,11 @@ This is equivalent to:
|
|
910
910
|
</div>
|
911
911
|
<div class="method">
|
912
912
|
<div class="title">
|
913
|
-
<a name="
|
913
|
+
<a name="M000144"></a><b>pop</b>()
|
914
914
|
</div>
|
915
915
|
<div class="sourcecode">
|
916
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
917
|
-
<div id="
|
916
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">+</a> ]</p>
|
917
|
+
<div id="M000144_source" class="dyn-source">
|
918
918
|
<pre>
|
919
919
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 389</span>
|
920
920
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
|
@@ -927,11 +927,11 @@ This is equivalent to:
|
|
927
927
|
</div>
|
928
928
|
<div class="method">
|
929
929
|
<div class="title">
|
930
|
-
<a name="
|
930
|
+
<a name="M000143"></a><b>push</b>( k,v )
|
931
931
|
</div>
|
932
932
|
<div class="sourcecode">
|
933
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
934
|
-
<div id="
|
933
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">+</a> ]</p>
|
934
|
+
<div id="M000143_source" class="dyn-source">
|
935
935
|
<pre>
|
936
936
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 379</span>
|
937
937
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>( <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
|
@@ -949,11 +949,11 @@ This is equivalent to:
|
|
949
949
|
</div>
|
950
950
|
<div class="method">
|
951
951
|
<div class="title">
|
952
|
-
<a name="
|
952
|
+
<a name="M000137"></a><b>reject</b>(&block)
|
953
953
|
</div>
|
954
954
|
<div class="sourcecode">
|
955
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
956
|
-
<div id="
|
955
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">+</a> ]</p>
|
956
|
+
<div id="M000137_source" class="dyn-source">
|
957
957
|
<pre>
|
958
958
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 346</span>
|
959
959
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reject</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -965,11 +965,11 @@ This is equivalent to:
|
|
965
965
|
</div>
|
966
966
|
<div class="method">
|
967
967
|
<div class="title">
|
968
|
-
<a name="
|
968
|
+
<a name="M000138"></a><b>reject!</b>( &block )
|
969
969
|
</div>
|
970
970
|
<div class="sourcecode">
|
971
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
972
|
-
<div id="
|
971
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">+</a> ]</p>
|
972
|
+
<div id="M000138_source" class="dyn-source">
|
973
973
|
<pre>
|
974
974
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 350</span>
|
975
975
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reject!</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -982,11 +982,11 @@ This is equivalent to:
|
|
982
982
|
</div>
|
983
983
|
<div class="method">
|
984
984
|
<div class="title">
|
985
|
-
<a name="
|
985
|
+
<a name="M000120"></a><b>reorder</b>()
|
986
986
|
</div>
|
987
987
|
<div class="sourcecode">
|
988
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
989
|
-
<div id="
|
988
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">+</a> ]</p>
|
989
|
+
<div id="M000120_source" class="dyn-source">
|
990
990
|
<pre>
|
991
991
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 243</span>
|
992
992
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reorder</span>
|
@@ -1002,11 +1002,11 @@ This is equivalent to:
|
|
1002
1002
|
</div>
|
1003
1003
|
<div class="method">
|
1004
1004
|
<div class="title">
|
1005
|
-
<a name="
|
1005
|
+
<a name="M000139"></a><b>replace</b>( hsh2 )
|
1006
1006
|
</div>
|
1007
1007
|
<div class="sourcecode">
|
1008
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1009
|
-
<div id="
|
1008
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">+</a> ]</p>
|
1009
|
+
<div id="M000139_source" class="dyn-source">
|
1010
1010
|
<pre>
|
1011
1011
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 355</span>
|
1012
1012
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace</span>( <span class="ruby-identifier">hsh2</span> )
|
@@ -1019,11 +1019,11 @@ This is equivalent to:
|
|
1019
1019
|
</div>
|
1020
1020
|
<div class="method">
|
1021
1021
|
<div class="title">
|
1022
|
-
<a name="
|
1022
|
+
<a name="M000152"></a><b>reverse</b>()
|
1023
1023
|
</div>
|
1024
1024
|
<div class="sourcecode">
|
1025
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1026
|
-
<div id="
|
1025
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">+</a> ]</p>
|
1026
|
+
<div id="M000152_source" class="dyn-source">
|
1027
1027
|
<pre>
|
1028
1028
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 428</span>
|
1029
1029
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse</span>
|
@@ -1035,11 +1035,11 @@ This is equivalent to:
|
|
1035
1035
|
</div>
|
1036
1036
|
<div class="method">
|
1037
1037
|
<div class="title">
|
1038
|
-
<a name="
|
1038
|
+
<a name="M000151"></a><b>reverse!</b>()
|
1039
1039
|
</div>
|
1040
1040
|
<div class="sourcecode">
|
1041
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1042
|
-
<div id="
|
1041
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000151_source')" id="l_M000151_source">+</a> ]</p>
|
1042
|
+
<div id="M000151_source" class="dyn-source">
|
1043
1043
|
<pre>
|
1044
1044
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 423</span>
|
1045
1045
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reverse!</span>
|
@@ -1052,11 +1052,11 @@ This is equivalent to:
|
|
1052
1052
|
</div>
|
1053
1053
|
<div class="method">
|
1054
1054
|
<div class="title">
|
1055
|
-
<a name="
|
1055
|
+
<a name="M000150"></a><b>select</b>() {|k,v| ...}
|
1056
1056
|
</div>
|
1057
1057
|
<div class="sourcecode">
|
1058
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1059
|
-
<div id="
|
1058
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">+</a> ]</p>
|
1059
|
+
<div id="M000150_source" class="dyn-source">
|
1060
1060
|
<pre>
|
1061
1061
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 417</span>
|
1062
1062
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select</span>
|
@@ -1070,11 +1070,11 @@ This is equivalent to:
|
|
1070
1070
|
</div>
|
1071
1071
|
<div class="method">
|
1072
1072
|
<div class="title">
|
1073
|
-
<a name="
|
1073
|
+
<a name="M000140"></a><b>shift</b>()
|
1074
1074
|
</div>
|
1075
1075
|
<div class="sourcecode">
|
1076
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1077
|
-
<div id="
|
1076
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">+</a> ]</p>
|
1077
|
+
<div id="M000140_source" class="dyn-source">
|
1078
1078
|
<pre>
|
1079
1079
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 360</span>
|
1080
1080
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shift</span>
|
@@ -1087,21 +1087,21 @@ This is equivalent to:
|
|
1087
1087
|
</div>
|
1088
1088
|
<div class="method">
|
1089
1089
|
<div class="title">
|
1090
|
-
<a name="
|
1090
|
+
<a name="M000156"></a><b>size</b>()
|
1091
1091
|
</div>
|
1092
1092
|
<div class="description">
|
1093
1093
|
<p>
|
1094
|
-
Alias for <a href="Dictionary.html#
|
1094
|
+
Alias for <a href="Dictionary.html#M000155">length</a>
|
1095
1095
|
</p>
|
1096
1096
|
</div>
|
1097
1097
|
</div>
|
1098
1098
|
<div class="method">
|
1099
1099
|
<div class="title">
|
1100
|
-
<a name="
|
1100
|
+
<a name="M000126"></a><b>store</b>( a,b )
|
1101
1101
|
</div>
|
1102
1102
|
<div class="sourcecode">
|
1103
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1104
|
-
<div id="
|
1103
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">+</a> ]</p>
|
1104
|
+
<div id="M000126_source" class="dyn-source">
|
1105
1105
|
<pre>
|
1106
1106
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 294</span>
|
1107
1107
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>( <span class="ruby-identifier">a</span>,<span class="ruby-identifier">b</span> )
|
@@ -1114,11 +1114,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1114
1114
|
</div>
|
1115
1115
|
<div class="method">
|
1116
1116
|
<div class="title">
|
1117
|
-
<a name="
|
1117
|
+
<a name="M000160"></a><b>to_a</b>()
|
1118
1118
|
</div>
|
1119
1119
|
<div class="sourcecode">
|
1120
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1121
|
-
<div id="
|
1120
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">+</a> ]</p>
|
1121
|
+
<div id="M000160_source" class="dyn-source">
|
1122
1122
|
<pre>
|
1123
1123
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 461</span>
|
1124
1124
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -1132,11 +1132,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1132
1132
|
</div>
|
1133
1133
|
<div class="method">
|
1134
1134
|
<div class="title">
|
1135
|
-
<a name="
|
1135
|
+
<a name="M000163"></a><b>to_h</b>()
|
1136
1136
|
</div>
|
1137
1137
|
<div class="sourcecode">
|
1138
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1139
|
-
<div id="
|
1138
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">+</a> ]</p>
|
1139
|
+
<div id="M000163_source" class="dyn-source">
|
1140
1140
|
<pre>
|
1141
1141
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 475</span>
|
1142
1142
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
|
@@ -1148,11 +1148,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1148
1148
|
</div>
|
1149
1149
|
<div class="method">
|
1150
1150
|
<div class="title">
|
1151
|
-
<a name="
|
1151
|
+
<a name="M000162"></a><b>to_hash</b>()
|
1152
1152
|
</div>
|
1153
1153
|
<div class="sourcecode">
|
1154
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1155
|
-
<div id="
|
1154
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">+</a> ]</p>
|
1155
|
+
<div id="M000162_source" class="dyn-source">
|
1156
1156
|
<pre>
|
1157
1157
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 471</span>
|
1158
1158
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>
|
@@ -1164,11 +1164,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1164
1164
|
</div>
|
1165
1165
|
<div class="method">
|
1166
1166
|
<div class="title">
|
1167
|
-
<a name="
|
1167
|
+
<a name="M000161"></a><b>to_s</b>()
|
1168
1168
|
</div>
|
1169
1169
|
<div class="sourcecode">
|
1170
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1171
|
-
<div id="
|
1170
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">+</a> ]</p>
|
1171
|
+
<div id="M000161_source" class="dyn-source">
|
1172
1172
|
<pre>
|
1173
1173
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 467</span>
|
1174
1174
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
@@ -1180,11 +1180,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1180
1180
|
</div>
|
1181
1181
|
<div class="method">
|
1182
1182
|
<div class="title">
|
1183
|
-
<a name="
|
1183
|
+
<a name="M000141"></a><b>unshift</b>( k,v )
|
1184
1184
|
</div>
|
1185
1185
|
<div class="sourcecode">
|
1186
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1187
|
-
<div id="
|
1186
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">+</a> ]</p>
|
1187
|
+
<div id="M000141_source" class="dyn-source">
|
1188
1188
|
<pre>
|
1189
1189
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 365</span>
|
1190
1190
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span>( <span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span> )
|
@@ -1202,15 +1202,15 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1202
1202
|
</div>
|
1203
1203
|
<div class="method">
|
1204
1204
|
<div class="title">
|
1205
|
-
<a name="
|
1205
|
+
<a name="M000147"></a><b>update</b>( hsh2 )
|
1206
1206
|
</div>
|
1207
1207
|
<div class="aka">
|
1208
1208
|
This method is also aliased as
|
1209
|
-
<a href="Dictionary.html#
|
1209
|
+
<a href="Dictionary.html#M000148">merge!</a>
|
1210
1210
|
</div>
|
1211
1211
|
<div class="sourcecode">
|
1212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1213
|
-
<div id="
|
1212
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">+</a> ]</p>
|
1213
|
+
<div id="M000147_source" class="dyn-source">
|
1214
1214
|
<pre>
|
1215
1215
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 406</span>
|
1216
1216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>( <span class="ruby-identifier">hsh2</span> )
|
@@ -1224,11 +1224,11 @@ Alias for <a href="Dictionary.html#M000151">length</a>
|
|
1224
1224
|
</div>
|
1225
1225
|
<div class="method">
|
1226
1226
|
<div class="title">
|
1227
|
-
<a name="
|
1227
|
+
<a name="M000134"></a><b>values</b>()
|
1228
1228
|
</div>
|
1229
1229
|
<div class="sourcecode">
|
1230
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1231
|
-
<div id="
|
1230
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">+</a> ]</p>
|
1231
|
+
<div id="M000134_source" class="dyn-source">
|
1232
1232
|
<pre>
|
1233
1233
|
<span class="ruby-comment cmt"># File lib/more/facets/dictionary.rb, line 330</span>
|
1234
1234
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>
|