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
@@ -74,16 +74,16 @@
|
|
74
74
|
This is a simple reimplementation of the core <a
|
75
75
|
href="Enumerable.html">Enumerable</a> module to allow the methods to take
|
76
76
|
and pass-on arbitrary arguments to the underlying each call. This library
|
77
|
-
uses
|
78
|
-
can alwasy stay in sync.
|
77
|
+
uses <a href="Enumerator.html">Enumerator</a> and scans <a
|
78
|
+
href="Enumerable.html">Enumerable</a> so it can alwasy stay in sync.
|
79
79
|
</p>
|
80
80
|
<p>
|
81
81
|
NOTE Any <a href="Enumerable.html">Enumerable</a> method with a negative
|
82
82
|
arity cannot do pass arguments due to ambiguity in the argument count. So
|
83
83
|
the methods inject and zip do NOT work this way, but simply work as they do
|
84
84
|
in <a href="Enumerable.html">Enumerable</a>. The method <a
|
85
|
-
href="EnumerablePass.html#
|
86
|
-
href="EnumerablePass.html#
|
85
|
+
href="EnumerablePass.html#M000825">find</a> (and <a
|
86
|
+
href="EnumerablePass.html#M000826">detect</a>) though has been made to work
|
87
87
|
by removing its rarely used optional parameter and providing instead an
|
88
88
|
optional keyword parameter (:ifnone => …). Please keep these
|
89
89
|
difference in mind.
|
@@ -108,9 +108,9 @@ difference in mind.
|
|
108
108
|
|
109
109
|
|
110
110
|
<div class="sectiontitle">Methods</div>
|
111
|
-
<span style="padding-right: 5px;"><a href="#
|
112
|
-
<span style="padding-right: 5px;"><a href="#
|
113
|
-
<span style="padding-right: 5px;"><a href="#
|
111
|
+
<span style="padding-right: 5px;"><a href="#M000826">detect</a></span>
|
112
|
+
<span style="padding-right: 5px;"><a href="#M000825">find</a></span>
|
113
|
+
<span style="padding-right: 5px;"><a href="#M000824">wrap_enumerable_method</a></span>
|
114
114
|
|
115
115
|
|
116
116
|
|
@@ -120,11 +120,11 @@ difference in mind.
|
|
120
120
|
<div class="sectiontitle">Public Class methods</div>
|
121
121
|
<div class="method">
|
122
122
|
<div class="title">
|
123
|
-
<a name="
|
123
|
+
<a name="M000824"></a><b>wrap_enumerable_method</b>( methodname )
|
124
124
|
</div>
|
125
125
|
<div class="sourcecode">
|
126
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
127
|
-
<div id="
|
126
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000824_source')" id="l_M000824_source">+</a> ]</p>
|
127
|
+
<div id="M000824_source" class="dyn-source">
|
128
128
|
<pre>
|
129
129
|
<span class="ruby-comment cmt"># File lib/more/facets/enumerablepass.rb, line 78</span>
|
130
130
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wrap_enumerable_method</span>( <span class="ruby-identifier">methodname</span> )
|
@@ -162,21 +162,21 @@ difference in mind.
|
|
162
162
|
<div class="sectiontitle">Public Instance methods</div>
|
163
163
|
<div class="method">
|
164
164
|
<div class="title">
|
165
|
-
<a name="
|
165
|
+
<a name="M000826"></a><b>detect</b>(*args, &yld)
|
166
166
|
</div>
|
167
167
|
<div class="description">
|
168
168
|
<p>
|
169
|
-
Alias for <a href="EnumerablePass.html#
|
169
|
+
Alias for <a href="EnumerablePass.html#M000825">find</a>
|
170
170
|
</p>
|
171
171
|
</div>
|
172
172
|
</div>
|
173
173
|
<div class="method">
|
174
174
|
<div class="title">
|
175
|
-
<a name="
|
175
|
+
<a name="M000825"></a><b>find</b>(*args, &yld)
|
176
176
|
</div>
|
177
177
|
<div class="description">
|
178
178
|
<p>
|
179
|
-
Make exception for <a href="EnumerablePass.html#
|
179
|
+
Make exception for <a href="EnumerablePass.html#M000825">find</a> (a
|
180
180
|
negative arity method) to accept keyword argument.
|
181
181
|
</p>
|
182
182
|
<pre>
|
@@ -186,11 +186,11 @@ negative arity method) to accept keyword argument.
|
|
186
186
|
</div>
|
187
187
|
<div class="aka">
|
188
188
|
This method is also aliased as
|
189
|
-
<a href="EnumerablePass.html#
|
189
|
+
<a href="EnumerablePass.html#M000826">detect</a>
|
190
190
|
</div>
|
191
191
|
<div class="sourcecode">
|
192
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
193
|
-
<div id="
|
192
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000825_source')" id="l_M000825_source">+</a> ]</p>
|
193
|
+
<div id="M000825_source" class="dyn-source">
|
194
194
|
<pre>
|
195
195
|
<span class="ruby-comment cmt"># File lib/more/facets/enumerablepass.rb, line 117</span>
|
196
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-comment cmt"># future use **keys ?</span>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
5
|
<html>
|
6
6
|
<head>
|
7
|
-
<title>Class:
|
7
|
+
<title>Class: Enumerator</title>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
9
|
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
10
|
|
@@ -51,19 +51,19 @@
|
|
51
51
|
|
52
52
|
<body>
|
53
53
|
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Enumerator</td>
|
55
55
|
<td align="right">
|
56
56
|
<table cellspacing="0" cellpadding="2">
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
-
<a href="../files/lib/more/facets/
|
60
|
+
<a href="../files/lib/more/facets/filter_rb.html">lib/more/facets/filter.rb</a>
|
61
61
|
</td>
|
62
62
|
</tr>
|
63
63
|
<tr>
|
64
64
|
<td>Parent:</td>
|
65
65
|
<td>
|
66
|
-
|
66
|
+
Object
|
67
67
|
</td>
|
68
68
|
</tr>
|
69
69
|
</table>
|
@@ -81,6 +81,9 @@ StandardError
|
|
81
81
|
|
82
82
|
|
83
83
|
|
84
|
+
<div class="sectiontitle">Classes and Modules</div>
|
85
|
+
Class <a href="Enumerator/Filter.html" class="link">Enumerator::Filter</a><br />
|
86
|
+
|
84
87
|
|
85
88
|
|
86
89
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
5
|
<html>
|
6
6
|
<head>
|
7
|
-
<title>
|
7
|
+
<title>Class: Enumerator::Filter</title>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href="
|
9
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
10
10
|
|
11
11
|
<script language="JavaScript" type="text/javascript">
|
12
12
|
// <![CDATA[
|
@@ -51,16 +51,23 @@
|
|
51
51
|
|
52
52
|
<body>
|
53
53
|
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Enumerator::Filter</td>
|
55
55
|
<td align="right">
|
56
56
|
<table cellspacing="0" cellpadding="2">
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
-
<a href="
|
61
|
-
<a href="../files/lib/more/facets/arguments_rb.html">lib/more/facets/arguments.rb</a>
|
60
|
+
<a href="../../files/lib/more/facets/filter_rb.html">lib/more/facets/filter.rb</a>
|
62
61
|
</td>
|
63
62
|
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
<a href="../Enumerator.html">
|
67
|
+
Enumerator
|
68
|
+
</a>
|
69
|
+
</td>
|
70
|
+
</tr>
|
64
71
|
</table>
|
65
72
|
</td>
|
66
73
|
</tr>
|
@@ -70,34 +77,23 @@
|
|
70
77
|
<div id="bodyContent">
|
71
78
|
<div id="content">
|
72
79
|
|
80
|
+
<div class="description"><h1><a href="Filter.html">Enumerator::Filter</a></h1>
|
81
|
+
<p>
|
82
|
+
A class like <a href="../Enumerator.html">Enumerator</a>, but which has
|
83
|
+
‘lazy’ versions of map, select etc.
|
84
|
+
</p>
|
85
|
+
</div>
|
73
86
|
|
74
87
|
|
75
88
|
|
76
89
|
|
90
|
+
<div class="sectiontitle">Included Modules</div>
|
91
|
+
<ul>
|
92
|
+
<li><a href="../Enumerable/Filterable.html">Enumerable::Filterable</a></li>
|
93
|
+
</ul>
|
77
94
|
|
78
95
|
|
79
|
-
<div class="sectiontitle">Classes and Modules</div>
|
80
|
-
Class <a href="CLI/Arguments.html" class="link">CLI::Arguments</a><br />
|
81
|
-
Class <a href="CLI/Command.html" class="link">CLI::Command</a><br />
|
82
|
-
Class <a href="CLI/NoCommandError.html" class="link">CLI::NoCommandError</a><br />
|
83
|
-
Class <a href="CLI/NoOptionError.html" class="link">CLI::NoOptionError</a><br />
|
84
|
-
|
85
|
-
|
86
|
-
<div class="sectiontitle">Constants</div>
|
87
|
-
<table border='0' cellpadding='5'>
|
88
|
-
<tr valign='top'>
|
89
|
-
<td class="attr-name">MasterCommand</td>
|
90
|
-
<td>=</td>
|
91
|
-
<td class="attr-value">Command</td>
|
92
|
-
</tr>
|
93
|
-
<tr valign='top'>
|
94
|
-
<td> </td>
|
95
|
-
<td colspan="2" class="attr-desc">
|
96
|
-
Temporary backward compatability.
|
97
96
|
|
98
|
-
</td>
|
99
|
-
</tr>
|
100
|
-
</table>
|
101
97
|
|
102
98
|
|
103
99
|
</div>
|
@@ -103,10 +103,10 @@ is equivalent to including a module containing:
|
|
103
103
|
|
104
104
|
|
105
105
|
<div class="sectiontitle">Methods</div>
|
106
|
-
<span style="padding-right: 5px;"><a href="#
|
107
|
-
<span style="padding-right: 5px;"><a href="#
|
108
|
-
<span style="padding-right: 5px;"><a href="#
|
109
|
-
<span style="padding-right: 5px;"><a href="#
|
106
|
+
<span style="padding-right: 5px;"><a href="#M000830">==</a></span>
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000831">eql?</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000832">hash</a></span>
|
109
|
+
<span style="padding-right: 5px;"><a href="#M000829">identify</a></span>
|
110
110
|
|
111
111
|
|
112
112
|
|
@@ -116,11 +116,11 @@ is equivalent to including a module containing:
|
|
116
116
|
<div class="sectiontitle">Public Class methods</div>
|
117
117
|
<div class="method">
|
118
118
|
<div class="title">
|
119
|
-
<a name="
|
119
|
+
<a name="M000829"></a><b>identify</b>(base, *accessors)
|
120
120
|
</div>
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000829_source')" id="l_M000829_source">+</a> ]</p>
|
123
|
+
<div id="M000829_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 73</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">identify</span>(<span class="ruby-identifier">base</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -134,11 +134,11 @@ is equivalent to including a module containing:
|
|
134
134
|
<div class="sectiontitle">Public Instance methods</div>
|
135
135
|
<div class="method">
|
136
136
|
<div class="title">
|
137
|
-
<a name="
|
137
|
+
<a name="M000830"></a><b>==</b>(o)
|
138
138
|
</div>
|
139
139
|
<div class="sourcecode">
|
140
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
141
|
-
<div id="
|
140
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000830_source')" id="l_M000830_source">+</a> ]</p>
|
141
|
+
<div id="M000830_source" class="dyn-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 78</span>
|
144
144
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">o</span>)
|
@@ -150,11 +150,11 @@ is equivalent to including a module containing:
|
|
150
150
|
</div>
|
151
151
|
<div class="method">
|
152
152
|
<div class="title">
|
153
|
-
<a name="
|
153
|
+
<a name="M000831"></a><b>eql?</b>(o)
|
154
154
|
</div>
|
155
155
|
<div class="sourcecode">
|
156
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
157
|
-
<div id="
|
156
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000831_source')" id="l_M000831_source">+</a> ]</p>
|
157
|
+
<div id="M000831_source" class="dyn-source">
|
158
158
|
<pre>
|
159
159
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 82</span>
|
160
160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">o</span>)
|
@@ -166,11 +166,11 @@ is equivalent to including a module containing:
|
|
166
166
|
</div>
|
167
167
|
<div class="method">
|
168
168
|
<div class="title">
|
169
|
-
<a name="
|
169
|
+
<a name="M000832"></a><b>hash</b>()
|
170
170
|
</div>
|
171
171
|
<div class="sourcecode">
|
172
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
173
|
-
<div id="
|
172
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000832_source')" id="l_M000832_source">+</a> ]</p>
|
173
|
+
<div id="M000832_source" class="dyn-source">
|
174
174
|
<pre>
|
175
175
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 86</span>
|
176
176
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash</span>
|
@@ -78,10 +78,10 @@ Generic expirability mixin.
|
|
78
78
|
|
79
79
|
|
80
80
|
<div class="sectiontitle">Methods</div>
|
81
|
-
<span style="padding-right: 5px;"><a href="#
|
82
|
-
<span style="padding-right: 5px;"><a href="#
|
83
|
-
<span style="padding-right: 5px;"><a href="#
|
84
|
-
<span style="padding-right: 5px;"><a href="#
|
81
|
+
<span style="padding-right: 5px;"><a href="#M000742">expired?</a></span>
|
82
|
+
<span style="padding-right: 5px;"><a href="#M000740">expires_after</a></span>
|
83
|
+
<span style="padding-right: 5px;"><a href="#M000741">expires_spread</a></span>
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000743">touch!</a></span>
|
85
85
|
|
86
86
|
|
87
87
|
|
@@ -101,16 +101,16 @@ Generic expirability mixin.
|
|
101
101
|
<div class="sectiontitle">Public Instance methods</div>
|
102
102
|
<div class="method">
|
103
103
|
<div class="title">
|
104
|
-
<a name="
|
104
|
+
<a name="M000742"></a><b>expired?</b>()
|
105
105
|
</div>
|
106
106
|
<div class="description">
|
107
107
|
<p>
|
108
|
-
Is this entry <a href="Expirable.html#
|
108
|
+
Is this entry <a href="Expirable.html#M000742">expired?</a>
|
109
109
|
</p>
|
110
110
|
</div>
|
111
111
|
<div class="sourcecode">
|
112
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
113
|
-
<div id="
|
112
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000742_source')" id="l_M000742_source">+</a> ]</p>
|
113
|
+
<div id="M000742_source" class="dyn-source">
|
114
114
|
<pre>
|
115
115
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 45</span>
|
116
116
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expired?</span>
|
@@ -126,7 +126,7 @@ Is this entry <a href="Expirable.html#M000710">expired?</a>
|
|
126
126
|
</div>
|
127
127
|
<div class="method">
|
128
128
|
<div class="title">
|
129
|
-
<a name="
|
129
|
+
<a name="M000740"></a><b>expires_after</b>(timeout = (60*60*24))
|
130
130
|
</div>
|
131
131
|
<div class="description">
|
132
132
|
<p>
|
@@ -134,8 +134,8 @@ Set the expires timeout for this entry.
|
|
134
134
|
</p>
|
135
135
|
</div>
|
136
136
|
<div class="sourcecode">
|
137
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
138
|
-
<div id="
|
137
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000740_source')" id="l_M000740_source">+</a> ]</p>
|
138
|
+
<div id="M000740_source" class="dyn-source">
|
139
139
|
<pre>
|
140
140
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 32</span>
|
141
141
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expires_after</span>(<span class="ruby-identifier">timeout</span> = (<span class="ruby-value">60</span><span class="ruby-operator">*</span><span class="ruby-value">60</span><span class="ruby-operator">*</span><span class="ruby-value">24</span>))
|
@@ -147,7 +147,7 @@ Set the expires timeout for this entry.
|
|
147
147
|
</div>
|
148
148
|
<div class="method">
|
149
149
|
<div class="title">
|
150
|
-
<a name="
|
150
|
+
<a name="M000741"></a><b>expires_spread</b>(base, spread)
|
151
151
|
</div>
|
152
152
|
<div class="description">
|
153
153
|
<p>
|
@@ -156,8 +156,8 @@ rand(spread)) seconds.
|
|
156
156
|
</p>
|
157
157
|
</div>
|
158
158
|
<div class="sourcecode">
|
159
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
160
|
-
<div id="
|
159
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000741_source')" id="l_M000741_source">+</a> ]</p>
|
160
|
+
<div id="M000741_source" class="dyn-source">
|
161
161
|
<pre>
|
162
162
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 39</span>
|
163
163
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expires_spread</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">spread</span>)
|
@@ -169,7 +169,7 @@ rand(spread)) seconds.
|
|
169
169
|
</div>
|
170
170
|
<div class="method">
|
171
171
|
<div class="title">
|
172
|
-
<a name="
|
172
|
+
<a name="M000743"></a><b>touch!</b>()
|
173
173
|
</div>
|
174
174
|
<div class="description">
|
175
175
|
<p>
|
@@ -177,8 +177,8 @@ Update the expiration period. Override in your application.
|
|
177
177
|
</p>
|
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('M000743_source')" id="l_M000743_source">+</a> ]</p>
|
181
|
+
<div id="M000743_source" class="dyn-source">
|
182
182
|
<pre>
|
183
183
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 55</span>
|
184
184
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch!</span>
|
@@ -104,33 +104,33 @@ are resolved into a real list of file names.
|
|
104
104
|
|
105
105
|
|
106
106
|
<div class="sectiontitle">Methods</div>
|
107
|
-
<span style="padding-right: 5px;"><a href="#
|
108
|
-
<span style="padding-right: 5px;"><a href="#
|
109
|
-
<span style="padding-right: 5px;"><a href="#
|
110
|
-
<span style="padding-right: 5px;"><a href="#
|
111
|
-
<span style="padding-right: 5px;"><a href="#
|
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="#
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000078">*</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000075">==</a></span>
|
109
|
+
<span style="padding-right: 5px;"><a href="#M000092">[]</a></span>
|
110
|
+
<span style="padding-right: 5px;"><a href="#M000072">add</a></span>
|
111
|
+
<span style="padding-right: 5px;"><a href="#M000080">calculate_exclude_regexp</a></span>
|
112
|
+
<span style="padding-right: 5px;"><a href="#M000074">clear_exclude</a></span>
|
113
|
+
<span style="padding-right: 5px;"><a href="#M000094">clear_ignore_patterns</a></span>
|
114
|
+
<span style="padding-right: 5px;"><a href="#M000068">clone</a></span>
|
115
|
+
<span style="padding-right: 5px;"><a href="#M000069">dup</a></span>
|
116
|
+
<span style="padding-right: 5px;"><a href="#M000088">egrep</a></span>
|
117
|
+
<span style="padding-right: 5px;"><a href="#M000073">exclude</a></span>
|
118
|
+
<span style="padding-right: 5px;"><a href="#M000090">exclude?</a></span>
|
119
|
+
<span style="padding-right: 5px;"><a href="#M000087">ext</a></span>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000084">gsub</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000086">gsub!</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000091">import</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000071">include</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000070">new</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000079">resolve</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000081">resolve_add</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000082">resolve_exclude</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000093">select_default_ignore_patterns</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000083">sub</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000085">sub!</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000076">to_a</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000077">to_ary</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000089">to_s</a></span>
|
134
134
|
|
135
135
|
|
136
136
|
|
@@ -184,7 +184,7 @@ versions of them explicitly below).
|
|
184
184
|
<td> </td>
|
185
185
|
<td colspan="2" class="attr-desc">
|
186
186
|
List of delegated methods that return <a
|
187
|
-
href="FileList.html#
|
187
|
+
href="FileList.html#M000070">new</a> array values which need wrapping.
|
188
188
|
|
189
189
|
</td>
|
190
190
|
</tr>
|
@@ -204,11 +204,11 @@ href="FileList.html#M000066">new</a> array values which need wrapping.
|
|
204
204
|
<div class="sectiontitle">Public Class methods</div>
|
205
205
|
<div class="method">
|
206
206
|
<div class="title">
|
207
|
-
<a name="
|
207
|
+
<a name="M000092"></a><b>[]</b>(*args)
|
208
208
|
</div>
|
209
209
|
<div class="description">
|
210
210
|
<p>
|
211
|
-
Create a <a href="FileList.html#
|
211
|
+
Create a <a href="FileList.html#M000070">new</a> file list including the
|
212
212
|
files listed. Similar to:
|
213
213
|
</p>
|
214
214
|
<pre>
|
@@ -216,8 +216,8 @@ files listed. Similar to:
|
|
216
216
|
</pre>
|
217
217
|
</div>
|
218
218
|
<div class="sourcecode">
|
219
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
220
|
-
<div id="
|
219
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">+</a> ]</p>
|
220
|
+
<div id="M000092_source" class="dyn-source">
|
221
221
|
<pre>
|
222
222
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 439</span>
|
223
223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -229,7 +229,7 @@ files listed. Similar to:
|
|
229
229
|
</div>
|
230
230
|
<div class="method">
|
231
231
|
<div class="title">
|
232
|
-
<a name="
|
232
|
+
<a name="M000094"></a><b>clear_ignore_patterns</b>()
|
233
233
|
</div>
|
234
234
|
<div class="description">
|
235
235
|
<p>
|
@@ -237,8 +237,8 @@ Clear the ignore patterns.
|
|
237
237
|
</p>
|
238
238
|
</div>
|
239
239
|
<div class="sourcecode">
|
240
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
241
|
-
<div id="
|
240
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">+</a> ]</p>
|
241
|
+
<div id="M000094_source" class="dyn-source">
|
242
242
|
<pre>
|
243
243
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 460</span>
|
244
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_ignore_patterns</span>
|
@@ -250,7 +250,7 @@ Clear the ignore patterns.
|
|
250
250
|
</div>
|
251
251
|
<div class="method">
|
252
252
|
<div class="title">
|
253
|
-
<a name="
|
253
|
+
<a name="M000070"></a><b>new</b>(*patterns) {|self if block_given?| ...}
|
254
254
|
</div>
|
255
255
|
<div class="description">
|
256
256
|
<p>
|
@@ -270,8 +270,8 @@ Example:
|
|
270
270
|
</pre>
|
271
271
|
</div>
|
272
272
|
<div class="sourcecode">
|
273
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
274
|
-
<div id="
|
273
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">+</a> ]</p>
|
274
|
+
<div id="M000070_source" class="dyn-source">
|
275
275
|
<pre>
|
276
276
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 169</span>
|
277
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">patterns</span>)
|
@@ -289,7 +289,7 @@ Example:
|
|
289
289
|
</div>
|
290
290
|
<div class="method">
|
291
291
|
<div class="title">
|
292
|
-
<a name="
|
292
|
+
<a name="M000093"></a><b>select_default_ignore_patterns</b>()
|
293
293
|
</div>
|
294
294
|
<div class="description">
|
295
295
|
<p>
|
@@ -323,8 +323,8 @@ patterns.
|
|
323
323
|
</p>
|
324
324
|
</div>
|
325
325
|
<div class="sourcecode">
|
326
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
327
|
-
<div id="
|
326
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">+</a> ]</p>
|
327
|
+
<div id="M000093_source" class="dyn-source">
|
328
328
|
<pre>
|
329
329
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 455</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select_default_ignore_patterns</span>
|
@@ -337,17 +337,17 @@ patterns.
|
|
337
337
|
<div class="sectiontitle">Public Instance methods</div>
|
338
338
|
<div class="method">
|
339
339
|
<div class="title">
|
340
|
-
<a name="
|
340
|
+
<a name="M000078"></a><b>*</b>(other)
|
341
341
|
</div>
|
342
342
|
<div class="description">
|
343
343
|
<p>
|
344
344
|
Redefine * to return either a string or a <a
|
345
|
-
href="FileList.html#
|
345
|
+
href="FileList.html#M000070">new</a> file list.
|
346
346
|
</p>
|
347
347
|
</div>
|
348
348
|
<div class="sourcecode">
|
349
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
350
|
-
<div id="
|
349
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">+</a> ]</p>
|
350
|
+
<div id="M000078_source" class="dyn-source">
|
351
351
|
<pre>
|
352
352
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 252</span>
|
353
353
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
|
@@ -365,7 +365,7 @@ href="FileList.html#M000066">new</a> file list.
|
|
365
365
|
</div>
|
366
366
|
<div class="method">
|
367
367
|
<div class="title">
|
368
|
-
<a name="
|
368
|
+
<a name="M000075"></a><b>==</b>(array)
|
369
369
|
</div>
|
370
370
|
<div class="description">
|
371
371
|
<p>
|
@@ -373,8 +373,8 @@ Define equality.
|
|
373
373
|
</p>
|
374
374
|
</div>
|
375
375
|
<div class="sourcecode">
|
376
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
377
|
-
<div id="
|
376
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">+</a> ]</p>
|
377
|
+
<div id="M000075_source" class="dyn-source">
|
378
378
|
<pre>
|
379
379
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 235</span>
|
380
380
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">array</span>)
|
@@ -386,21 +386,21 @@ Define equality.
|
|
386
386
|
</div>
|
387
387
|
<div class="method">
|
388
388
|
<div class="title">
|
389
|
-
<a name="
|
389
|
+
<a name="M000072"></a><b>add</b>(*filenames)
|
390
390
|
</div>
|
391
391
|
<div class="description">
|
392
392
|
<p>
|
393
|
-
Alias for <a href="FileList.html#
|
393
|
+
Alias for <a href="FileList.html#M000071">include</a>
|
394
394
|
</p>
|
395
395
|
</div>
|
396
396
|
</div>
|
397
397
|
<div class="method">
|
398
398
|
<div class="title">
|
399
|
-
<a name="
|
399
|
+
<a name="M000080"></a><b>calculate_exclude_regexp</b>()
|
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('M000080_source')" id="l_M000080_source">+</a> ]</p>
|
403
|
+
<div id="M000080_source" class="dyn-source">
|
404
404
|
<pre>
|
405
405
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 273</span>
|
406
406
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">calculate_exclude_regexp</span>
|
@@ -428,17 +428,17 @@ Alias for <a href="FileList.html#M000067">include</a>
|
|
428
428
|
</div>
|
429
429
|
<div class="method">
|
430
430
|
<div class="title">
|
431
|
-
<a name="
|
431
|
+
<a name="M000074"></a><b>clear_exclude</b>()
|
432
432
|
</div>
|
433
433
|
<div class="description">
|
434
434
|
<p>
|
435
|
-
Clear all the <a href="FileList.html#
|
436
|
-
we <a href="FileList.html#
|
435
|
+
Clear all the <a href="FileList.html#M000073">exclude</a> patterns so that
|
436
|
+
we <a href="FileList.html#M000073">exclude</a> nothing.
|
437
437
|
</p>
|
438
438
|
</div>
|
439
439
|
<div class="sourcecode">
|
440
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
441
|
-
<div id="
|
440
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">+</a> ]</p>
|
441
|
+
<div id="M000074_source" class="dyn-source">
|
442
442
|
<pre>
|
443
443
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 229</span>
|
444
444
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_exclude</span>
|
@@ -451,21 +451,21 @@ we <a href="FileList.html#M000069">exclude</a> nothing.
|
|
451
451
|
</div>
|
452
452
|
<div class="method">
|
453
453
|
<div class="title">
|
454
|
-
<a name="
|
454
|
+
<a name="M000068"></a><b>clone</b>()
|
455
455
|
</div>
|
456
456
|
<div class="description">
|
457
457
|
<p>
|
458
|
-
<a href="FileList.html#
|
458
|
+
<a href="FileList.html#M000071">include</a> <a
|
459
459
|
href="Cloneable.html">Cloneable</a>
|
460
460
|
</p>
|
461
461
|
</div>
|
462
462
|
<div class="aka">
|
463
463
|
This method is also aliased as
|
464
|
-
<a href="FileList.html#
|
464
|
+
<a href="FileList.html#M000069">dup</a>
|
465
465
|
</div>
|
466
466
|
<div class="sourcecode">
|
467
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
468
|
-
<div id="
|
467
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">+</a> ]</p>
|
468
|
+
<div id="M000068_source" class="dyn-source">
|
469
469
|
<pre>
|
470
470
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 85</span>
|
471
471
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>
|
@@ -482,17 +482,17 @@ href="Cloneable.html">Cloneable</a>
|
|
482
482
|
</div>
|
483
483
|
<div class="method">
|
484
484
|
<div class="title">
|
485
|
-
<a name="
|
485
|
+
<a name="M000069"></a><b>dup</b>()
|
486
486
|
</div>
|
487
487
|
<div class="description">
|
488
488
|
<p>
|
489
|
-
Alias for <a href="FileList.html#
|
489
|
+
Alias for <a href="FileList.html#M000068">clone</a>
|
490
490
|
</p>
|
491
491
|
</div>
|
492
492
|
</div>
|
493
493
|
<div class="method">
|
494
494
|
<div class="title">
|
495
|
-
<a name="
|
495
|
+
<a name="M000088"></a><b>egrep</b>(pattern) {|fn, count, line| ...}
|
496
496
|
</div>
|
497
497
|
<div class="description">
|
498
498
|
<p>
|
@@ -503,8 +503,8 @@ emac style file:linenumber:line message will be printed to standard out.
|
|
503
503
|
</p>
|
504
504
|
</div>
|
505
505
|
<div class="sourcecode">
|
506
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
507
|
-
<div id="
|
506
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">+</a> ]</p>
|
507
|
+
<div id="M000088_source" class="dyn-source">
|
508
508
|
<pre>
|
509
509
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 369</span>
|
510
510
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">egrep</span>(<span class="ruby-identifier">pattern</span>)
|
@@ -532,7 +532,7 @@ emac style file:linenumber:line message will be printed to standard out.
|
|
532
532
|
</div>
|
533
533
|
<div class="method">
|
534
534
|
<div class="title">
|
535
|
-
<a name="
|
535
|
+
<a name="M000073"></a><b>exclude</b>(*patterns)
|
536
536
|
</div>
|
537
537
|
<div class="description">
|
538
538
|
<p>
|
@@ -543,8 +543,8 @@ strings.
|
|
543
543
|
<p>
|
544
544
|
Note that glob patterns are expanded against the file system. If a file is
|
545
545
|
explicitly added to a file list, but does not exist in the file system,
|
546
|
-
then an glob pattern in the <a href="FileList.html#
|
547
|
-
list will not <a href="FileList.html#
|
546
|
+
then an glob pattern in the <a href="FileList.html#M000073">exclude</a>
|
547
|
+
list will not <a href="FileList.html#M000073">exclude</a> the file.
|
548
548
|
</p>
|
549
549
|
<p>
|
550
550
|
Examples:
|
@@ -567,8 +567,8 @@ If "a.c" is not a file, then …
|
|
567
567
|
</pre>
|
568
568
|
</div>
|
569
569
|
<div class="sourcecode">
|
570
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
571
|
-
<div id="
|
570
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">+</a> ]</p>
|
571
|
+
<div id="M000073_source" class="dyn-source">
|
572
572
|
<pre>
|
573
573
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 219</span>
|
574
574
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">patterns</span>)
|
@@ -585,7 +585,7 @@ If "a.c" is not a file, then …
|
|
585
585
|
</div>
|
586
586
|
<div class="method">
|
587
587
|
<div class="title">
|
588
|
-
<a name="
|
588
|
+
<a name="M000090"></a><b>exclude?</b>(fn)
|
589
589
|
</div>
|
590
590
|
<div class="description">
|
591
591
|
<p>
|
@@ -593,8 +593,8 @@ Should the given file name be excluded?
|
|
593
593
|
</p>
|
594
594
|
</div>
|
595
595
|
<div class="sourcecode">
|
596
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
597
|
-
<div id="
|
596
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">+</a> ]</p>
|
597
|
+
<div id="M000090_source" class="dyn-source">
|
598
598
|
<pre>
|
599
599
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 415</span>
|
600
600
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude?</span>(<span class="ruby-identifier">fn</span>)
|
@@ -607,11 +607,11 @@ Should the given file name be excluded?
|
|
607
607
|
</div>
|
608
608
|
<div class="method">
|
609
609
|
<div class="title">
|
610
|
-
<a name="
|
610
|
+
<a name="M000087"></a><b>ext</b>(newext='')
|
611
611
|
</div>
|
612
612
|
<div class="description">
|
613
613
|
<p>
|
614
|
-
Return a <a href="FileList.html#
|
614
|
+
Return a <a href="FileList.html#M000070">new</a> array with
|
615
615
|
<tt>String#ext</tt> method applied to each member of the array.
|
616
616
|
</p>
|
617
617
|
<p>
|
@@ -621,13 +621,13 @@ This method is a shortcut for:
|
|
621
621
|
array.collect { |item| item.ext(newext) }
|
622
622
|
</pre>
|
623
623
|
<p>
|
624
|
-
<tt><a href="FileList.html#
|
624
|
+
<tt><a href="FileList.html#M000087">ext</a></tt> is a user added method for
|
625
625
|
the Array class.
|
626
626
|
</p>
|
627
627
|
</div>
|
628
628
|
<div class="sourcecode">
|
629
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
630
|
-
<div id="
|
629
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">+</a> ]</p>
|
630
|
+
<div id="M000087_source" class="dyn-source">
|
631
631
|
<pre>
|
632
632
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 360</span>
|
633
633
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ext</span>(<span class="ruby-identifier">newext</span>=<span class="ruby-value str">''</span>)
|
@@ -639,13 +639,13 @@ the Array class.
|
|
639
639
|
</div>
|
640
640
|
<div class="method">
|
641
641
|
<div class="title">
|
642
|
-
<a name="
|
642
|
+
<a name="M000084"></a><b>gsub</b>(pat, rep)
|
643
643
|
</div>
|
644
644
|
<div class="description">
|
645
645
|
<p>
|
646
|
-
Return a <a href="FileList.html#
|
646
|
+
Return a <a href="FileList.html#M000070">new</a> <a
|
647
647
|
href="FileList.html">FileList</a> with the results of running <tt><a
|
648
|
-
href="FileList.html#
|
648
|
+
href="FileList.html#M000084">gsub</a></tt> against each element of the
|
649
649
|
original list.
|
650
650
|
</p>
|
651
651
|
<p>
|
@@ -657,8 +657,8 @@ Example:
|
|
657
657
|
</pre>
|
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('M000084_source')" id="l_M000084_source">+</a> ]</p>
|
661
|
+
<div id="M000084_source" class="dyn-source">
|
662
662
|
<pre>
|
663
663
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 336</span>
|
664
664
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gsub</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -670,17 +670,17 @@ Example:
|
|
670
670
|
</div>
|
671
671
|
<div class="method">
|
672
672
|
<div class="title">
|
673
|
-
<a name="
|
673
|
+
<a name="M000086"></a><b>gsub!</b>(pat, rep)
|
674
674
|
</div>
|
675
675
|
<div class="description">
|
676
676
|
<p>
|
677
|
-
Same as <tt><a href="FileList.html#
|
677
|
+
Same as <tt><a href="FileList.html#M000084">gsub</a></tt> except that the
|
678
678
|
original file list is modified.
|
679
679
|
</p>
|
680
680
|
</div>
|
681
681
|
<div class="sourcecode">
|
682
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
683
|
-
<div id="
|
682
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">+</a> ]</p>
|
683
|
+
<div id="M000086_source" class="dyn-source">
|
684
684
|
<pre>
|
685
685
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 347</span>
|
686
686
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gsub!</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -693,11 +693,11 @@ original file list is modified.
|
|
693
693
|
</div>
|
694
694
|
<div class="method">
|
695
695
|
<div class="title">
|
696
|
-
<a name="
|
696
|
+
<a name="M000091"></a><b>import</b>(array)
|
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('M000091_source')" id="l_M000091_source">+</a> ]</p>
|
700
|
+
<div id="M000091_source" class="dyn-source">
|
701
701
|
<pre>
|
702
702
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 430</span>
|
703
703
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">import</span>(<span class="ruby-identifier">array</span>)
|
@@ -710,12 +710,12 @@ original file list is modified.
|
|
710
710
|
</div>
|
711
711
|
<div class="method">
|
712
712
|
<div class="title">
|
713
|
-
<a name="
|
713
|
+
<a name="M000071"></a><b>include</b>(*filenames)
|
714
714
|
</div>
|
715
715
|
<div class="description">
|
716
716
|
<p>
|
717
717
|
Add file names defined by glob patterns to the file list. If an array is
|
718
|
-
given, <a href="FileList.html#
|
718
|
+
given, <a href="FileList.html#M000072">add</a> each element of the array.
|
719
719
|
</p>
|
720
720
|
<p>
|
721
721
|
Example:
|
@@ -727,11 +727,11 @@ Example:
|
|
727
727
|
</div>
|
728
728
|
<div class="aka">
|
729
729
|
This method is also aliased as
|
730
|
-
<a href="FileList.html#
|
730
|
+
<a href="FileList.html#M000072">add</a>
|
731
731
|
</div>
|
732
732
|
<div class="sourcecode">
|
733
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
734
|
-
<div id="
|
733
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">+</a> ]</p>
|
734
|
+
<div id="M000071_source" class="dyn-source">
|
735
735
|
<pre>
|
736
736
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 186</span>
|
737
737
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">filenames</span>)
|
@@ -752,7 +752,7 @@ Example:
|
|
752
752
|
</div>
|
753
753
|
<div class="method">
|
754
754
|
<div class="title">
|
755
|
-
<a name="
|
755
|
+
<a name="M000079"></a><b>resolve</b>()
|
756
756
|
</div>
|
757
757
|
<div class="description">
|
758
758
|
<p>
|
@@ -760,8 +760,8 @@ Resolve all the pending adds now.
|
|
760
760
|
</p>
|
761
761
|
</div>
|
762
762
|
<div class="sourcecode">
|
763
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
764
|
-
<div id="
|
763
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">+</a> ]</p>
|
764
|
+
<div id="M000079_source" class="dyn-source">
|
765
765
|
<pre>
|
766
766
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 263</span>
|
767
767
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve</span>
|
@@ -779,11 +779,11 @@ Resolve all the pending adds now.
|
|
779
779
|
</div>
|
780
780
|
<div class="method">
|
781
781
|
<div class="title">
|
782
|
-
<a name="
|
782
|
+
<a name="M000081"></a><b>resolve_add</b>(fn)
|
783
783
|
</div>
|
784
784
|
<div class="sourcecode">
|
785
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
786
|
-
<div id="
|
785
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">+</a> ]</p>
|
786
|
+
<div id="M000081_source" class="dyn-source">
|
787
787
|
<pre>
|
788
788
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 293</span>
|
789
789
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_add</span>(<span class="ruby-identifier">fn</span>)
|
@@ -802,11 +802,11 @@ Resolve all the pending adds now.
|
|
802
802
|
</div>
|
803
803
|
<div class="method">
|
804
804
|
<div class="title">
|
805
|
-
<a name="
|
805
|
+
<a name="M000082"></a><b>resolve_exclude</b>()
|
806
806
|
</div>
|
807
807
|
<div class="sourcecode">
|
808
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
809
|
-
<div id="
|
808
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">+</a> ]</p>
|
809
|
+
<div id="M000082_source" class="dyn-source">
|
810
810
|
<pre>
|
811
811
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 304</span>
|
812
812
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_exclude</span>
|
@@ -829,13 +829,13 @@ Resolve all the pending adds now.
|
|
829
829
|
</div>
|
830
830
|
<div class="method">
|
831
831
|
<div class="title">
|
832
|
-
<a name="
|
832
|
+
<a name="M000083"></a><b>sub</b>(pat, rep)
|
833
833
|
</div>
|
834
834
|
<div class="description">
|
835
835
|
<p>
|
836
|
-
Return a <a href="FileList.html#
|
836
|
+
Return a <a href="FileList.html#M000070">new</a> <a
|
837
837
|
href="FileList.html">FileList</a> with the results of running <tt><a
|
838
|
-
href="FileList.html#
|
838
|
+
href="FileList.html#M000083">sub</a></tt> against each element of the
|
839
839
|
oringal list.
|
840
840
|
</p>
|
841
841
|
<p>
|
@@ -846,8 +846,8 @@ Example:
|
|
846
846
|
</pre>
|
847
847
|
</div>
|
848
848
|
<div class="sourcecode">
|
849
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
850
|
-
<div id="
|
849
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">+</a> ]</p>
|
850
|
+
<div id="M000083_source" class="dyn-source">
|
851
851
|
<pre>
|
852
852
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 325</span>
|
853
853
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sub</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -859,17 +859,17 @@ Example:
|
|
859
859
|
</div>
|
860
860
|
<div class="method">
|
861
861
|
<div class="title">
|
862
|
-
<a name="
|
862
|
+
<a name="M000085"></a><b>sub!</b>(pat, rep)
|
863
863
|
</div>
|
864
864
|
<div class="description">
|
865
865
|
<p>
|
866
|
-
Same as <tt><a href="FileList.html#
|
866
|
+
Same as <tt><a href="FileList.html#M000083">sub</a></tt> except that the
|
867
867
|
oringal file list is modified.
|
868
868
|
</p>
|
869
869
|
</div>
|
870
870
|
<div class="sourcecode">
|
871
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
872
|
-
<div id="
|
871
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">+</a> ]</p>
|
872
|
+
<div id="M000085_source" class="dyn-source">
|
873
873
|
<pre>
|
874
874
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 341</span>
|
875
875
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sub!</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -882,7 +882,7 @@ oringal file list is modified.
|
|
882
882
|
</div>
|
883
883
|
<div class="method">
|
884
884
|
<div class="title">
|
885
|
-
<a name="
|
885
|
+
<a name="M000076"></a><b>to_a</b>()
|
886
886
|
</div>
|
887
887
|
<div class="description">
|
888
888
|
<p>
|
@@ -890,8 +890,8 @@ Return the internal array object.
|
|
890
890
|
</p>
|
891
891
|
</div>
|
892
892
|
<div class="sourcecode">
|
893
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
894
|
-
<div id="
|
893
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">+</a> ]</p>
|
894
|
+
<div id="M000076_source" class="dyn-source">
|
895
895
|
<pre>
|
896
896
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 240</span>
|
897
897
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -904,7 +904,7 @@ Return the internal array object.
|
|
904
904
|
</div>
|
905
905
|
<div class="method">
|
906
906
|
<div class="title">
|
907
|
-
<a name="
|
907
|
+
<a name="M000077"></a><b>to_ary</b>()
|
908
908
|
</div>
|
909
909
|
<div class="description">
|
910
910
|
<p>
|
@@ -912,8 +912,8 @@ Return the internal array object.
|
|
912
912
|
</p>
|
913
913
|
</div>
|
914
914
|
<div class="sourcecode">
|
915
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
916
|
-
<div id="
|
915
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">+</a> ]</p>
|
916
|
+
<div id="M000077_source" class="dyn-source">
|
917
917
|
<pre>
|
918
918
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 246</span>
|
919
919
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ary</span>
|
@@ -926,7 +926,7 @@ Return the internal array object.
|
|
926
926
|
</div>
|
927
927
|
<div class="method">
|
928
928
|
<div class="title">
|
929
|
-
<a name="
|
929
|
+
<a name="M000089"></a><b>to_s</b>()
|
930
930
|
</div>
|
931
931
|
<div class="description">
|
932
932
|
<p>
|
@@ -935,8 +935,8 @@ elements with a space.
|
|
935
935
|
</p>
|
936
936
|
</div>
|
937
937
|
<div class="sourcecode">
|
938
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
939
|
-
<div id="
|
938
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">+</a> ]</p>
|
939
|
+
<div id="M000089_source" class="dyn-source">
|
940
940
|
<pre>
|
941
941
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 401</span>
|
942
942
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|