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
@@ -77,11 +77,11 @@ Object
|
|
77
77
|
|
78
78
|
<div class="description"><h1><a href="Tuple.html">Tuple</a></h1>
|
79
79
|
<p>
|
80
|
-
A tuple can be made using <a href="Tuple.html#
|
81
|
-
as one builds an array, or using the <a href="Tuple.html#
|
80
|
+
A tuple can be made using <a href="Tuple.html#M000627">new</a> or #[] just
|
81
|
+
as one builds an array, or using the <a href="Tuple.html#M000631">to_t</a>
|
82
82
|
method on a string or array. With a string tuple remembers the <a
|
83
|
-
href="Tuple.html#
|
84
|
-
<a href="Tuple.html#
|
83
|
+
href="Tuple.html#M000655">first</a> non-alphanumeric character as the tuple
|
84
|
+
<a href="Tuple.html#M000628">divider</a>.
|
85
85
|
</p>
|
86
86
|
<h2>Usage</h2>
|
87
87
|
<pre>
|
@@ -109,46 +109,46 @@ href="Tuple.html">Tuple</a>[‘1’,’2’,’3’].
|
|
109
109
|
|
110
110
|
|
111
111
|
<div class="sectiontitle">Methods</div>
|
112
|
-
<span style="padding-right: 5px;"><a href="#
|
113
|
-
<span style="padding-right: 5px;"><a href="#
|
114
|
-
<span style="padding-right: 5px;"><a href="#
|
115
|
-
<span style="padding-right: 5px;"><a href="#
|
116
|
-
<span style="padding-right: 5px;"><a href="#
|
117
|
-
<span style="padding-right: 5px;"><a href="#
|
118
|
-
<span style="padding-right: 5px;"><a href="#
|
119
|
-
<span style="padding-right: 5px;"><a href="#
|
120
|
-
<span style="padding-right: 5px;"><a href="#
|
121
|
-
<span style="padding-right: 5px;"><a href="#
|
122
|
-
<span style="padding-right: 5px;"><a href="#
|
123
|
-
<span style="padding-right: 5px;"><a href="#
|
124
|
-
<span style="padding-right: 5px;"><a href="#
|
125
|
-
<span style="padding-right: 5px;"><a href="#
|
126
|
-
<span style="padding-right: 5px;"><a href="#
|
127
|
-
<span style="padding-right: 5px;"><a href="#
|
128
|
-
<span style="padding-right: 5px;"><a href="#
|
129
|
-
<span style="padding-right: 5px;"><a href="#
|
130
|
-
<span style="padding-right: 5px;"><a href="#
|
131
|
-
<span style="padding-right: 5px;"><a href="#
|
132
|
-
<span style="padding-right: 5px;"><a href="#
|
133
|
-
<span style="padding-right: 5px;"><a href="#
|
134
|
-
<span style="padding-right: 5px;"><a href="#
|
135
|
-
<span style="padding-right: 5px;"><a href="#
|
136
|
-
<span style="padding-right: 5px;"><a href="#
|
137
|
-
<span style="padding-right: 5px;"><a href="#
|
138
|
-
<span style="padding-right: 5px;"><a href="#
|
139
|
-
<span style="padding-right: 5px;"><a href="#
|
140
|
-
<span style="padding-right: 5px;"><a href="#
|
141
|
-
<span style="padding-right: 5px;"><a href="#
|
142
|
-
<span style="padding-right: 5px;"><a href="#
|
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="#
|
112
|
+
<span style="padding-right: 5px;"><a href="#M000645"><<</a></span>
|
113
|
+
<span style="padding-right: 5px;"><a href="#M000653"><=></a></span>
|
114
|
+
<span style="padding-right: 5px;"><a href="#M000654">=~</a></span>
|
115
|
+
<span style="padding-right: 5px;"><a href="#M000641">[]</a></span>
|
116
|
+
<span style="padding-right: 5px;"><a href="#M000661">[]</a></span>
|
117
|
+
<span style="padding-right: 5px;"><a href="#M000642">[]=</a></span>
|
118
|
+
<span style="padding-right: 5px;"><a href="#M000663">cast_from_array</a></span>
|
119
|
+
<span style="padding-right: 5px;"><a href="#M000662">cast_from_string</a></span>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000664">constraint_to_lambda</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000628">divider</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000639">each</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000640">each_index</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000638">empty?</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000652">eql?</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000655">first</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000660">hash</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000643">index</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000630">inspect</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000656">last</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000637">length</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000657">major</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000658">minor</a></span>
|
134
|
+
<span style="padding-right: 5px;"><a href="#M000626">multiton_id</a></span>
|
135
|
+
<span style="padding-right: 5px;"><a href="#M000627">new</a></span>
|
136
|
+
<span style="padding-right: 5px;"><a href="#M000665">parse_constraint</a></span>
|
137
|
+
<span style="padding-right: 5px;"><a href="#M000646">pop</a></span>
|
138
|
+
<span style="padding-right: 5px;"><a href="#M000649">pot</a></span>
|
139
|
+
<span style="padding-right: 5px;"><a href="#M000648">pull</a></span>
|
140
|
+
<span style="padding-right: 5px;"><a href="#M000647">push</a></span>
|
141
|
+
<span style="padding-right: 5px;"><a href="#M000644">rindex</a></span>
|
142
|
+
<span style="padding-right: 5px;"><a href="#M000651">shift</a></span>
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000636">size</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000659">teeny</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000633">to_a</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000634">to_ary</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000635">to_s</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000631">to_t</a></span>
|
149
|
+
<span style="padding-right: 5px;"><a href="#M000632">to_tuple</a></span>
|
150
|
+
<span style="padding-right: 5px;"><a href="#M000650">unshift</a></span>
|
151
|
+
<span style="padding-right: 5px;"><a href="#M000629">values</a></span>
|
152
152
|
|
153
153
|
<div class="sectiontitle">Included Modules</div>
|
154
154
|
<ul>
|
@@ -174,11 +174,11 @@ href="Tuple.html">Tuple</a>[‘1’,’2’,’3’].
|
|
174
174
|
<div class="sectiontitle">Public Class methods</div>
|
175
175
|
<div class="method">
|
176
176
|
<div class="title">
|
177
|
-
<a name="
|
177
|
+
<a name="M000661"></a><b>[]</b>( *args )
|
178
178
|
</div>
|
179
179
|
<div class="sourcecode">
|
180
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
181
|
-
<div id="
|
180
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000661_source')" id="l_M000661_source">+</a> ]</p>
|
181
|
+
<div id="M000661_source" class="dyn-source">
|
182
182
|
<pre>
|
183
183
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 226</span>
|
184
184
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
@@ -190,11 +190,11 @@ href="Tuple.html">Tuple</a>[‘1’,’2’,’3’].
|
|
190
190
|
</div>
|
191
191
|
<div class="method">
|
192
192
|
<div class="title">
|
193
|
-
<a name="
|
193
|
+
<a name="M000663"></a><b>cast_from_array</b>( arr )
|
194
194
|
</div>
|
195
195
|
<div class="sourcecode">
|
196
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
197
|
-
<div id="
|
196
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000663_source')" id="l_M000663_source">+</a> ]</p>
|
197
|
+
<div id="M000663_source" class="dyn-source">
|
198
198
|
<pre>
|
199
199
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 257</span>
|
200
200
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from_array</span>( <span class="ruby-identifier">arr</span> )
|
@@ -206,13 +206,13 @@ href="Tuple.html">Tuple</a>[‘1’,’2’,’3’].
|
|
206
206
|
</div>
|
207
207
|
<div class="method">
|
208
208
|
<div class="title">
|
209
|
-
<a name="
|
209
|
+
<a name="M000662"></a><b>cast_from_string</b>( str, &yld )
|
210
210
|
</div>
|
211
211
|
<div class="description">
|
212
212
|
<p>
|
213
213
|
Translates a string in the form on a set of numerical and/or alphanumerical
|
214
214
|
characters separated by non-word characters (eg \W+) into a <a
|
215
|
-
href="Tuple.html">Tuple</a>. The <a href="Tuple.html#
|
215
|
+
href="Tuple.html">Tuple</a>. The <a href="Tuple.html#M000629">values</a> of
|
216
216
|
the tuple will be converted to integers if they are purely numerical.
|
217
217
|
</p>
|
218
218
|
<pre>
|
@@ -220,7 +220,7 @@ the tuple will be converted to integers if they are purely numerical.
|
|
220
220
|
</pre>
|
221
221
|
<p>
|
222
222
|
<a href="It.html">It</a> you would like to control the interpretation of <a
|
223
|
-
href="Tuple.html#
|
223
|
+
href="Tuple.html#M000639">each</a> value as it is added to the tuple you
|
224
224
|
can supply a block.
|
225
225
|
</p>
|
226
226
|
<pre>
|
@@ -231,8 +231,8 @@ This method is called by String#to_t.
|
|
231
231
|
</p>
|
232
232
|
</div>
|
233
233
|
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
235
|
-
<div id="
|
234
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000662_source')" id="l_M000662_source">+</a> ]</p>
|
235
|
+
<div id="M000662_source" class="dyn-source">
|
236
236
|
<pre>
|
237
237
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 244</span>
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from_string</span>( <span class="ruby-identifier">str</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -251,7 +251,7 @@ This method is called by String#to_t.
|
|
251
251
|
</div>
|
252
252
|
<div class="method">
|
253
253
|
<div class="title">
|
254
|
-
<a name="
|
254
|
+
<a name="M000664"></a><b>constraint_to_lambda</b>( constraint, &yld )
|
255
255
|
</div>
|
256
256
|
<div class="description">
|
257
257
|
<p>
|
@@ -259,8 +259,8 @@ Parses a constraint returning the operation as a lambda.
|
|
259
259
|
</p>
|
260
260
|
</div>
|
261
261
|
<div class="sourcecode">
|
262
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
263
|
-
<div id="
|
262
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000664_source')" id="l_M000664_source">+</a> ]</p>
|
263
|
+
<div id="M000664_source" class="dyn-source">
|
264
264
|
<pre>
|
265
265
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 263</span>
|
266
266
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">constraint_to_lambda</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -273,11 +273,11 @@ Parses a constraint returning the operation as a lambda.
|
|
273
273
|
</div>
|
274
274
|
<div class="method">
|
275
275
|
<div class="title">
|
276
|
-
<a name="
|
276
|
+
<a name="M000626"></a><b>multiton_id</b>(arg=0, default=0, &block)
|
277
277
|
</div>
|
278
278
|
<div class="sourcecode">
|
279
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
280
|
-
<div id="
|
279
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000626_source')" id="l_M000626_source">+</a> ]</p>
|
280
|
+
<div id="M000626_source" class="dyn-source">
|
281
281
|
<pre>
|
282
282
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 83</span>
|
283
283
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">multiton_id</span>(<span class="ruby-identifier">arg</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">default</span>=<span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -297,11 +297,11 @@ Parses a constraint returning the operation as a lambda.
|
|
297
297
|
</div>
|
298
298
|
<div class="method">
|
299
299
|
<div class="title">
|
300
|
-
<a name="
|
300
|
+
<a name="M000627"></a><b>new</b>(arg=0, default=0, &blk)
|
301
301
|
</div>
|
302
302
|
<div class="sourcecode">
|
303
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
304
|
-
<div id="
|
303
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000627_source')" id="l_M000627_source">+</a> ]</p>
|
304
|
+
<div id="M000627_source" class="dyn-source">
|
305
305
|
<pre>
|
306
306
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 95</span>
|
307
307
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">arg</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">default</span>=<span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -322,11 +322,11 @@ Parses a constraint returning the operation as a lambda.
|
|
322
322
|
</div>
|
323
323
|
<div class="method">
|
324
324
|
<div class="title">
|
325
|
-
<a name="
|
325
|
+
<a name="M000665"></a><b>parse_constraint</b>( constraint, &yld )
|
326
326
|
</div>
|
327
327
|
<div class="sourcecode">
|
328
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
329
|
-
<div id="
|
328
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000665_source')" id="l_M000665_source">+</a> ]</p>
|
329
|
+
<div id="M000665_source" class="dyn-source">
|
330
330
|
<pre>
|
331
331
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 268</span>
|
332
332
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_constraint</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -353,7 +353,7 @@ Parses a constraint returning the operation as a lambda.
|
|
353
353
|
<div class="sectiontitle">Public Instance methods</div>
|
354
354
|
<div class="method">
|
355
355
|
<div class="title">
|
356
|
-
<a name="
|
356
|
+
<a name="M000645"></a><b><<</b>( obj )
|
357
357
|
</div>
|
358
358
|
<div class="description">
|
359
359
|
<p>
|
@@ -362,8 +362,8 @@ becuase <a href="Tuple.html">Tuple</a>‘s are immutable.
|
|
362
362
|
</p>
|
363
363
|
</div>
|
364
364
|
<div class="sourcecode">
|
365
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
366
|
-
<div id="
|
365
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000645_source')" id="l_M000645_source">+</a> ]</p>
|
366
|
+
<div id="M000645_source" class="dyn-source">
|
367
367
|
<pre>
|
368
368
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 164</span>
|
369
369
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>( <span class="ruby-identifier">obj</span> )
|
@@ -375,11 +375,11 @@ becuase <a href="Tuple.html">Tuple</a>‘s are immutable.
|
|
375
375
|
</div>
|
376
376
|
<div class="method">
|
377
377
|
<div class="title">
|
378
|
-
<a name="
|
378
|
+
<a name="M000653"></a><b><=></b>( other )
|
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('M000653_source')" id="l_M000653_source">+</a> ]</p>
|
382
|
+
<div id="M000653_source" class="dyn-source">
|
383
383
|
<pre>
|
384
384
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 190</span>
|
385
385
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><=></span>( <span class="ruby-identifier">other</span> )
|
@@ -396,7 +396,7 @@ becuase <a href="Tuple.html">Tuple</a>‘s are immutable.
|
|
396
396
|
</div>
|
397
397
|
<div class="method">
|
398
398
|
<div class="title">
|
399
|
-
<a name="
|
399
|
+
<a name="M000654"></a><b>=~</b>( other )
|
400
400
|
</div>
|
401
401
|
<div class="description">
|
402
402
|
<p>
|
@@ -404,8 +404,8 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
404
404
|
</p>
|
405
405
|
</div>
|
406
406
|
<div class="sourcecode">
|
407
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
408
|
-
<div id="
|
407
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000654_source')" id="l_M000654_source">+</a> ]</p>
|
408
|
+
<div id="M000654_source" class="dyn-source">
|
409
409
|
<pre>
|
410
410
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 200</span>
|
411
411
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">=~</span>( <span class="ruby-identifier">other</span> )
|
@@ -420,11 +420,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
420
420
|
</div>
|
421
421
|
<div class="method">
|
422
422
|
<div class="title">
|
423
|
-
<a name="
|
423
|
+
<a name="M000641"></a><b>[]</b>(i)
|
424
424
|
</div>
|
425
425
|
<div class="sourcecode">
|
426
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
427
|
-
<div id="
|
426
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000641_source')" id="l_M000641_source">+</a> ]</p>
|
427
|
+
<div id="M000641_source" class="dyn-source">
|
428
428
|
<pre>
|
429
429
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 151</span>
|
430
430
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">i</span>)
|
@@ -436,11 +436,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
436
436
|
</div>
|
437
437
|
<div class="method">
|
438
438
|
<div class="title">
|
439
|
-
<a name="
|
439
|
+
<a name="M000642"></a><b>[]=</b>(i,v)
|
440
440
|
</div>
|
441
441
|
<div class="sourcecode">
|
442
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
443
|
-
<div id="
|
442
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000642_source')" id="l_M000642_source">+</a> ]</p>
|
443
|
+
<div id="M000642_source" class="dyn-source">
|
444
444
|
<pre>
|
445
445
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 155</span>
|
446
446
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">i</span>,<span class="ruby-identifier">v</span>)
|
@@ -452,11 +452,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
452
452
|
</div>
|
453
453
|
<div class="method">
|
454
454
|
<div class="title">
|
455
|
-
<a name="
|
455
|
+
<a name="M000628"></a><b>divider</b>( set=nil )
|
456
456
|
</div>
|
457
457
|
<div class="sourcecode">
|
458
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
459
|
-
<div id="
|
458
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000628_source')" id="l_M000628_source">+</a> ]</p>
|
459
|
+
<div id="M000628_source" class="dyn-source">
|
460
460
|
<pre>
|
461
461
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 110</span>
|
462
462
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divider</span>( <span class="ruby-identifier">set</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -470,11 +470,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
470
470
|
</div>
|
471
471
|
<div class="method">
|
472
472
|
<div class="title">
|
473
|
-
<a name="
|
473
|
+
<a name="M000639"></a><b>each</b>( &block )
|
474
474
|
</div>
|
475
475
|
<div class="sourcecode">
|
476
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
477
|
-
<div id="
|
476
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000639_source')" id="l_M000639_source">+</a> ]</p>
|
477
|
+
<div id="M000639_source" class="dyn-source">
|
478
478
|
<pre>
|
479
479
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 143</span>
|
480
480
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -486,11 +486,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
486
486
|
</div>
|
487
487
|
<div class="method">
|
488
488
|
<div class="title">
|
489
|
-
<a name="
|
489
|
+
<a name="M000640"></a><b>each_index</b>( &block )
|
490
490
|
</div>
|
491
491
|
<div class="sourcecode">
|
492
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
493
|
-
<div id="
|
492
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000640_source')" id="l_M000640_source">+</a> ]</p>
|
493
|
+
<div id="M000640_source" class="dyn-source">
|
494
494
|
<pre>
|
495
495
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 147</span>
|
496
496
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_index</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -502,11 +502,11 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
502
502
|
</div>
|
503
503
|
<div class="method">
|
504
504
|
<div class="title">
|
505
|
-
<a name="
|
505
|
+
<a name="M000638"></a><b>empty?</b>()
|
506
506
|
</div>
|
507
507
|
<div class="sourcecode">
|
508
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
509
|
-
<div id="
|
508
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000638_source')" id="l_M000638_source">+</a> ]</p>
|
509
|
+
<div id="M000638_source" class="dyn-source">
|
510
510
|
<pre>
|
511
511
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 137</span>
|
512
512
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>()
|
@@ -520,7 +520,7 @@ For pessimistic constraint (like ’~>’ in gems)
|
|
520
520
|
</div>
|
521
521
|
<div class="method">
|
522
522
|
<div class="title">
|
523
|
-
<a name="
|
523
|
+
<a name="M000652"></a><b>eql?</b>( other )
|
524
524
|
</div>
|
525
525
|
<div class="description">
|
526
526
|
<p>
|
@@ -528,8 +528,8 @@ Returns true if two tuple references are for the very same tuple.
|
|
528
528
|
</p>
|
529
529
|
</div>
|
530
530
|
<div class="sourcecode">
|
531
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
532
|
-
<div id="
|
531
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000652_source')" id="l_M000652_source">+</a> ]</p>
|
532
|
+
<div id="M000652_source" class="dyn-source">
|
533
533
|
<pre>
|
534
534
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 185</span>
|
535
535
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>( <span class="ruby-identifier">other</span> )
|
@@ -542,11 +542,11 @@ Returns true if two tuple references are for the very same tuple.
|
|
542
542
|
</div>
|
543
543
|
<div class="method">
|
544
544
|
<div class="title">
|
545
|
-
<a name="
|
545
|
+
<a name="M000655"></a><b>first</b>()
|
546
546
|
</div>
|
547
547
|
<div class="sourcecode">
|
548
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
549
|
-
<div id="
|
548
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000655_source')" id="l_M000655_source">+</a> ]</p>
|
549
|
+
<div id="M000655_source" class="dyn-source">
|
550
550
|
<pre>
|
551
551
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 207</span>
|
552
552
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">first</span> <span class="ruby-keyword kw">end</span>
|
@@ -556,16 +556,16 @@ Returns true if two tuple references are for the very same tuple.
|
|
556
556
|
</div>
|
557
557
|
<div class="method">
|
558
558
|
<div class="title">
|
559
|
-
<a name="
|
559
|
+
<a name="M000660"></a><b>hash</b>()
|
560
560
|
</div>
|
561
561
|
<div class="description">
|
562
562
|
<p>
|
563
|
-
Unique <a href="Tuple.html#
|
563
|
+
Unique <a href="Tuple.html#M000660">hash</a> value.
|
564
564
|
</p>
|
565
565
|
</div>
|
566
566
|
<div class="sourcecode">
|
567
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
568
|
-
<div id="
|
567
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000660_source')" id="l_M000660_source">+</a> ]</p>
|
568
|
+
<div id="M000660_source" class="dyn-source">
|
569
569
|
<pre>
|
570
570
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 216</span>
|
571
571
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash</span>
|
@@ -579,11 +579,11 @@ Unique <a href="Tuple.html#M000614">hash</a> value.
|
|
579
579
|
</div>
|
580
580
|
<div class="method">
|
581
581
|
<div class="title">
|
582
|
-
<a name="
|
582
|
+
<a name="M000643"></a><b>index</b>()
|
583
583
|
</div>
|
584
584
|
<div class="sourcecode">
|
585
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
586
|
-
<div id="
|
585
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000643_source')" id="l_M000643_source">+</a> ]</p>
|
586
|
+
<div id="M000643_source" class="dyn-source">
|
587
587
|
<pre>
|
588
588
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 159</span>
|
589
589
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">index</span> <span class="ruby-keyword kw">end</span>
|
@@ -593,11 +593,11 @@ Unique <a href="Tuple.html#M000614">hash</a> value.
|
|
593
593
|
</div>
|
594
594
|
<div class="method">
|
595
595
|
<div class="title">
|
596
|
-
<a name="
|
596
|
+
<a name="M000630"></a><b>inspect</b>()
|
597
597
|
</div>
|
598
598
|
<div class="sourcecode">
|
599
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
600
|
-
<div id="
|
599
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000630_source')" id="l_M000630_source">+</a> ]</p>
|
600
|
+
<div id="M000630_source" class="dyn-source">
|
601
601
|
<pre>
|
602
602
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 122</span>
|
603
603
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>() <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">inspect</span> <span class="ruby-keyword kw">end</span>
|
@@ -607,11 +607,11 @@ Unique <a href="Tuple.html#M000614">hash</a> value.
|
|
607
607
|
</div>
|
608
608
|
<div class="method">
|
609
609
|
<div class="title">
|
610
|
-
<a name="
|
610
|
+
<a name="M000656"></a><b>last</b>()
|
611
611
|
</div>
|
612
612
|
<div class="sourcecode">
|
613
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
614
|
-
<div id="
|
613
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000656_source')" id="l_M000656_source">+</a> ]</p>
|
614
|
+
<div id="M000656_source" class="dyn-source">
|
615
615
|
<pre>
|
616
616
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 208</span>
|
617
617
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">last</span> <span class="ruby-keyword kw">end</span>
|
@@ -621,11 +621,11 @@ Unique <a href="Tuple.html#M000614">hash</a> value.
|
|
621
621
|
</div>
|
622
622
|
<div class="method">
|
623
623
|
<div class="title">
|
624
|
-
<a name="
|
624
|
+
<a name="M000637"></a><b>length</b>()
|
625
625
|
</div>
|
626
626
|
<div class="sourcecode">
|
627
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
628
|
-
<div id="
|
627
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000637_source')" id="l_M000637_source">+</a> ]</p>
|
628
|
+
<div id="M000637_source" class="dyn-source">
|
629
629
|
<pre>
|
630
630
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 135</span>
|
631
631
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">size</span> <span class="ruby-keyword kw">end</span>
|
@@ -635,7 +635,7 @@ Unique <a href="Tuple.html#M000614">hash</a> value.
|
|
635
635
|
</div>
|
636
636
|
<div class="method">
|
637
637
|
<div class="title">
|
638
|
-
<a name="
|
638
|
+
<a name="M000657"></a><b>major</b>()
|
639
639
|
</div>
|
640
640
|
<div class="description">
|
641
641
|
<p>
|
@@ -643,8 +643,8 @@ These are useful for using a <a href="Tuple.html">Tuple</a> as a version.
|
|
643
643
|
</p>
|
644
644
|
</div>
|
645
645
|
<div class="sourcecode">
|
646
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
647
|
-
<div id="
|
646
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000657_source')" id="l_M000657_source">+</a> ]</p>
|
647
|
+
<div id="M000657_source" class="dyn-source">
|
648
648
|
<pre>
|
649
649
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 211</span>
|
650
650
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">major</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">first</span> <span class="ruby-keyword kw">end</span>
|
@@ -654,11 +654,11 @@ These are useful for using a <a href="Tuple.html">Tuple</a> as a version.
|
|
654
654
|
</div>
|
655
655
|
<div class="method">
|
656
656
|
<div class="title">
|
657
|
-
<a name="
|
657
|
+
<a name="M000658"></a><b>minor</b>()
|
658
658
|
</div>
|
659
659
|
<div class="sourcecode">
|
660
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
661
|
-
<div id="
|
660
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000658_source')" id="l_M000658_source">+</a> ]</p>
|
661
|
+
<div id="M000658_source" class="dyn-source">
|
662
662
|
<pre>
|
663
663
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 212</span>
|
664
664
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minor</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">1</span>) <span class="ruby-keyword kw">end</span>
|
@@ -668,11 +668,11 @@ These are useful for using a <a href="Tuple.html">Tuple</a> as a version.
|
|
668
668
|
</div>
|
669
669
|
<div class="method">
|
670
670
|
<div class="title">
|
671
|
-
<a name="
|
671
|
+
<a name="M000646"></a><b>pop</b>()
|
672
672
|
</div>
|
673
673
|
<div class="sourcecode">
|
674
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
675
|
-
<div id="
|
674
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000646_source')" id="l_M000646_source">+</a> ]</p>
|
675
|
+
<div id="M000646_source" class="dyn-source">
|
676
676
|
<pre>
|
677
677
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 168</span>
|
678
678
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>() <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">pop</span> ) <span class="ruby-keyword kw">end</span>
|
@@ -682,22 +682,22 @@ These are useful for using a <a href="Tuple.html">Tuple</a> as a version.
|
|
682
682
|
</div>
|
683
683
|
<div class="method">
|
684
684
|
<div class="title">
|
685
|
-
<a name="
|
685
|
+
<a name="M000649"></a><b>pot</b>( obj )
|
686
686
|
</div>
|
687
687
|
<div class="description">
|
688
688
|
<p>
|
689
689
|
Stands for "Put On Top". This method is the opposite of <a
|
690
|
-
href="Tuple.html#
|
691
|
-
href="Tuple.html#
|
690
|
+
href="Tuple.html#M000648">pull</a> and is otherwise known as <a
|
691
|
+
href="Tuple.html#M000650">unshift</a>.
|
692
692
|
</p>
|
693
693
|
</div>
|
694
694
|
<div class="aka">
|
695
695
|
This method is also aliased as
|
696
|
-
<a href="Tuple.html#
|
696
|
+
<a href="Tuple.html#M000650">unshift</a>
|
697
697
|
</div>
|
698
698
|
<div class="sourcecode">
|
699
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
700
|
-
<div id="
|
699
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000649_source')" id="l_M000649_source">+</a> ]</p>
|
700
|
+
<div id="M000649_source" class="dyn-source">
|
701
701
|
<pre>
|
702
702
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 178</span>
|
703
703
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pot</span>( <span class="ruby-identifier">obj</span> ) <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-identifier">obj</span>) ) <span class="ruby-keyword kw">end</span>
|
@@ -707,21 +707,21 @@ href="Tuple.html#M000604">unshift</a>.
|
|
707
707
|
</div>
|
708
708
|
<div class="method">
|
709
709
|
<div class="title">
|
710
|
-
<a name="
|
710
|
+
<a name="M000648"></a><b>pull</b>()
|
711
711
|
</div>
|
712
712
|
<div class="description">
|
713
713
|
<p>
|
714
714
|
Pulls a value off the beginning of a tuple. This method is otherwsie known
|
715
|
-
as <a href="Tuple.html#
|
715
|
+
as <a href="Tuple.html#M000651">shift</a>.
|
716
716
|
</p>
|
717
717
|
</div>
|
718
718
|
<div class="aka">
|
719
719
|
This method is also aliased as
|
720
|
-
<a href="Tuple.html#
|
720
|
+
<a href="Tuple.html#M000651">shift</a>
|
721
721
|
</div>
|
722
722
|
<div class="sourcecode">
|
723
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
724
|
-
<div id="
|
723
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000648_source')" id="l_M000648_source">+</a> ]</p>
|
724
|
+
<div id="M000648_source" class="dyn-source">
|
725
725
|
<pre>
|
726
726
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 174</span>
|
727
727
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>() <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">shift</span> ) <span class="ruby-keyword kw">end</span>
|
@@ -731,11 +731,11 @@ as <a href="Tuple.html#M000605">shift</a>.
|
|
731
731
|
</div>
|
732
732
|
<div class="method">
|
733
733
|
<div class="title">
|
734
|
-
<a name="
|
734
|
+
<a name="M000647"></a><b>push</b>( obj )
|
735
735
|
</div>
|
736
736
|
<div class="sourcecode">
|
737
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
738
|
-
<div id="
|
737
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000647_source')" id="l_M000647_source">+</a> ]</p>
|
738
|
+
<div id="M000647_source" class="dyn-source">
|
739
739
|
<pre>
|
740
740
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 170</span>
|
741
741
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>( <span class="ruby-identifier">obj</span> ) <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">obj</span>) ) <span class="ruby-keyword kw">end</span>
|
@@ -745,11 +745,11 @@ as <a href="Tuple.html#M000605">shift</a>.
|
|
745
745
|
</div>
|
746
746
|
<div class="method">
|
747
747
|
<div class="title">
|
748
|
-
<a name="
|
748
|
+
<a name="M000644"></a><b>rindex</b>()
|
749
749
|
</div>
|
750
750
|
<div class="sourcecode">
|
751
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
752
|
-
<div id="
|
751
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000644_source')" id="l_M000644_source">+</a> ]</p>
|
752
|
+
<div id="M000644_source" class="dyn-source">
|
753
753
|
<pre>
|
754
754
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 160</span>
|
755
755
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rindex</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">rindex</span> <span class="ruby-keyword kw">end</span>
|
@@ -759,21 +759,21 @@ as <a href="Tuple.html#M000605">shift</a>.
|
|
759
759
|
</div>
|
760
760
|
<div class="method">
|
761
761
|
<div class="title">
|
762
|
-
<a name="
|
762
|
+
<a name="M000651"></a><b>shift</b>()
|
763
763
|
</div>
|
764
764
|
<div class="description">
|
765
765
|
<p>
|
766
|
-
Alias for <a href="Tuple.html#
|
766
|
+
Alias for <a href="Tuple.html#M000648">pull</a>
|
767
767
|
</p>
|
768
768
|
</div>
|
769
769
|
</div>
|
770
770
|
<div class="method">
|
771
771
|
<div class="title">
|
772
|
-
<a name="
|
772
|
+
<a name="M000636"></a><b>size</b>()
|
773
773
|
</div>
|
774
774
|
<div class="sourcecode">
|
775
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
776
|
-
<div id="
|
775
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000636_source')" id="l_M000636_source">+</a> ]</p>
|
776
|
+
<div id="M000636_source" class="dyn-source">
|
777
777
|
<pre>
|
778
778
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 134</span>
|
779
779
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">size</span> <span class="ruby-keyword kw">end</span>
|
@@ -783,11 +783,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
783
783
|
</div>
|
784
784
|
<div class="method">
|
785
785
|
<div class="title">
|
786
|
-
<a name="
|
786
|
+
<a name="M000659"></a><b>teeny</b>()
|
787
787
|
</div>
|
788
788
|
<div class="sourcecode">
|
789
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
790
|
-
<div id="
|
789
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000659_source')" id="l_M000659_source">+</a> ]</p>
|
790
|
+
<div id="M000659_source" class="dyn-source">
|
791
791
|
<pre>
|
792
792
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 213</span>
|
793
793
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teeny</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">2</span>) <span class="ruby-keyword kw">end</span>
|
@@ -797,11 +797,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
797
797
|
</div>
|
798
798
|
<div class="method">
|
799
799
|
<div class="title">
|
800
|
-
<a name="
|
800
|
+
<a name="M000633"></a><b>to_a</b>()
|
801
801
|
</div>
|
802
802
|
<div class="sourcecode">
|
803
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
804
|
-
<div id="
|
803
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000633_source')" id="l_M000633_source">+</a> ]</p>
|
804
|
+
<div id="M000633_source" class="dyn-source">
|
805
805
|
<pre>
|
806
806
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 127</span>
|
807
807
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>() <span class="ruby-constant">Array</span>(<span class="ruby-ivar">@values</span>) <span class="ruby-keyword kw">end</span>
|
@@ -811,11 +811,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
811
811
|
</div>
|
812
812
|
<div class="method">
|
813
813
|
<div class="title">
|
814
|
-
<a name="
|
814
|
+
<a name="M000634"></a><b>to_ary</b>()
|
815
815
|
</div>
|
816
816
|
<div class="sourcecode">
|
817
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
818
|
-
<div id="
|
817
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000634_source')" id="l_M000634_source">+</a> ]</p>
|
818
|
+
<div id="M000634_source" class="dyn-source">
|
819
819
|
<pre>
|
820
820
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 128</span>
|
821
821
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ary</span>() <span class="ruby-constant">Array</span>(<span class="ruby-ivar">@values</span>) <span class="ruby-keyword kw">end</span>
|
@@ -825,11 +825,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
825
825
|
</div>
|
826
826
|
<div class="method">
|
827
827
|
<div class="title">
|
828
|
-
<a name="
|
828
|
+
<a name="M000635"></a><b>to_s</b>( divider=nil )
|
829
829
|
</div>
|
830
830
|
<div class="sourcecode">
|
831
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
832
|
-
<div id="
|
831
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000635_source')" id="l_M000635_source">+</a> ]</p>
|
832
|
+
<div id="M000635_source" class="dyn-source">
|
833
833
|
<pre>
|
834
834
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 130</span>
|
835
835
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>( <span class="ruby-identifier">divider</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -841,11 +841,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
841
841
|
</div>
|
842
842
|
<div class="method">
|
843
843
|
<div class="title">
|
844
|
-
<a name="
|
844
|
+
<a name="M000631"></a><b>to_t</b>()
|
845
845
|
</div>
|
846
846
|
<div class="sourcecode">
|
847
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
848
|
-
<div id="
|
847
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000631_source')" id="l_M000631_source">+</a> ]</p>
|
848
|
+
<div id="M000631_source" class="dyn-source">
|
849
849
|
<pre>
|
850
850
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 124</span>
|
851
851
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_t</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
@@ -855,11 +855,11 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
855
855
|
</div>
|
856
856
|
<div class="method">
|
857
857
|
<div class="title">
|
858
|
-
<a name="
|
858
|
+
<a name="M000632"></a><b>to_tuple</b>()
|
859
859
|
</div>
|
860
860
|
<div class="sourcecode">
|
861
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
862
|
-
<div id="
|
861
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000632_source')" id="l_M000632_source">+</a> ]</p>
|
862
|
+
<div id="M000632_source" class="dyn-source">
|
863
863
|
<pre>
|
864
864
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 125</span>
|
865
865
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_tuple</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
@@ -869,22 +869,22 @@ Alias for <a href="Tuple.html#M000602">pull</a>
|
|
869
869
|
</div>
|
870
870
|
<div class="method">
|
871
871
|
<div class="title">
|
872
|
-
<a name="
|
872
|
+
<a name="M000650"></a><b>unshift</b>( obj )
|
873
873
|
</div>
|
874
874
|
<div class="description">
|
875
875
|
<p>
|
876
|
-
Alias for <a href="Tuple.html#
|
876
|
+
Alias for <a href="Tuple.html#M000649">pot</a>
|
877
877
|
</p>
|
878
878
|
</div>
|
879
879
|
</div>
|
880
880
|
<div class="sectiontitle">Protected Instance methods</div>
|
881
881
|
<div class="method">
|
882
882
|
<div class="title">
|
883
|
-
<a name="
|
883
|
+
<a name="M000629"></a><b>values</b>()
|
884
884
|
</div>
|
885
885
|
<div class="sourcecode">
|
886
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
887
|
-
<div id="
|
886
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000629_source')" id="l_M000629_source">+</a> ]</p>
|
887
|
+
<div id="M000629_source" class="dyn-source">
|
888
888
|
<pre>
|
889
889
|
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 118</span>
|
890
890
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>() <span class="ruby-ivar">@values</span> <span class="ruby-keyword kw">end</span>
|