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
@@ -62,7 +62,7 @@
|
|
62
62
|
<a href="../files/lib/core/facets/binding/self_rb.html">lib/core/facets/binding/self.rb</a>
|
63
63
|
<a href="../files/lib/core/facets/binding/local_variables_rb.html">lib/core/facets/binding/local_variables.rb</a>
|
64
64
|
<a href="../files/lib/core/facets/binding/defined_rb.html">lib/core/facets/binding/defined.rb</a>
|
65
|
-
<a href="../files/lib/core/facets/callstack_rb.html">lib/core/facets/callstack.rb</a>
|
65
|
+
<a href="../files/lib/core/facets/kernel/callstack_rb.html">lib/core/facets/kernel/callstack.rb</a>
|
66
66
|
</td>
|
67
67
|
</tr>
|
68
68
|
<tr>
|
@@ -86,17 +86,17 @@ Object
|
|
86
86
|
|
87
87
|
|
88
88
|
<div class="sectiontitle">Methods</div>
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
98
|
-
<span style="padding-right: 5px;"><a href="#
|
99
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000229">__DIR__</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000228">__FILE__</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000227">__LINE__</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000230">__callee__</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000231">__method__</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000226">caller</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000236">callstack</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000235">defined?</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000232">eval</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000234">local_variables</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000233">self</a></span>
|
100
100
|
|
101
101
|
|
102
102
|
|
@@ -106,7 +106,7 @@ Object
|
|
106
106
|
<div class="sectiontitle">Public Instance methods</div>
|
107
107
|
<div class="method">
|
108
108
|
<div class="title">
|
109
|
-
<a name="
|
109
|
+
<a name="M000229"></a><b>__DIR__</b>()
|
110
110
|
</div>
|
111
111
|
<div class="description">
|
112
112
|
<p>
|
@@ -114,10 +114,10 @@ Return the directory of the file.
|
|
114
114
|
</p>
|
115
115
|
</div>
|
116
116
|
<div class="sourcecode">
|
117
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
118
|
-
<div id="
|
117
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">+</a> ]</p>
|
118
|
+
<div id="M000229_source" class="dyn-source">
|
119
119
|
<pre>
|
120
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
120
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 22</span>
|
121
121
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__DIR__</span>
|
122
122
|
<span class="ruby-identifier">eval</span>(<span class="ruby-value str">"File.dirname(__FILE__)"</span>)
|
123
123
|
<span class="ruby-keyword kw">end</span>
|
@@ -127,7 +127,7 @@ Return the directory of the file.
|
|
127
127
|
</div>
|
128
128
|
<div class="method">
|
129
129
|
<div class="title">
|
130
|
-
<a name="
|
130
|
+
<a name="M000228"></a><b>__FILE__</b>()
|
131
131
|
</div>
|
132
132
|
<div class="description">
|
133
133
|
<p>
|
@@ -135,10 +135,10 @@ Returns file name.
|
|
135
135
|
</p>
|
136
136
|
</div>
|
137
137
|
<div class="sourcecode">
|
138
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
139
|
-
<div id="
|
138
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">+</a> ]</p>
|
139
|
+
<div id="M000228_source" class="dyn-source">
|
140
140
|
<pre>
|
141
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
141
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 17</span>
|
142
142
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">__FILE__</span>
|
143
143
|
<span class="ruby-identifier">eval</span>(<span class="ruby-value str">"__FILE__"</span>)
|
144
144
|
<span class="ruby-keyword kw">end</span>
|
@@ -148,7 +148,7 @@ Returns file name.
|
|
148
148
|
</div>
|
149
149
|
<div class="method">
|
150
150
|
<div class="title">
|
151
|
-
<a name="
|
151
|
+
<a name="M000227"></a><b>__LINE__</b>()
|
152
152
|
</div>
|
153
153
|
<div class="description">
|
154
154
|
<p>
|
@@ -156,10 +156,10 @@ Returns line number.
|
|
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('M000227_source')" id="l_M000227_source">+</a> ]</p>
|
160
|
+
<div id="M000227_source" class="dyn-source">
|
161
161
|
<pre>
|
162
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
162
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 12</span>
|
163
163
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">__LINE__</span>
|
164
164
|
<span class="ruby-identifier">eval</span>(<span class="ruby-value str">"__LINE__"</span>)
|
165
165
|
<span class="ruby-keyword kw">end</span>
|
@@ -169,7 +169,7 @@ Returns line number.
|
|
169
169
|
</div>
|
170
170
|
<div class="method">
|
171
171
|
<div class="title">
|
172
|
-
<a name="
|
172
|
+
<a name="M000230"></a><b>__callee__</b>()
|
173
173
|
</div>
|
174
174
|
<div class="description">
|
175
175
|
<p>
|
@@ -181,10 +181,10 @@ Retreive the current running method.
|
|
181
181
|
</pre>
|
182
182
|
</div>
|
183
183
|
<div class="sourcecode">
|
184
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
185
|
-
<div id="
|
184
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000230_source')" id="l_M000230_source">+</a> ]</p>
|
185
|
+
<div id="M000230_source" class="dyn-source">
|
186
186
|
<pre>
|
187
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
187
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 31</span>
|
188
188
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callee__</span>
|
189
189
|
<span class="ruby-identifier">name</span> = <span class="ruby-regexp re">/\`([^\']+)\'/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">caller</span>(<span class="ruby-value">1</span>).<span class="ruby-identifier">first</span>)[<span class="ruby-value">1</span>]
|
190
190
|
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
|
@@ -195,7 +195,7 @@ Retreive the current running method.
|
|
195
195
|
</div>
|
196
196
|
<div class="method">
|
197
197
|
<div class="title">
|
198
|
-
<a name="
|
198
|
+
<a name="M000231"></a><b>__method__</b>()
|
199
199
|
</div>
|
200
200
|
<div class="description">
|
201
201
|
<p>
|
@@ -209,10 +209,10 @@ symbol.
|
|
209
209
|
</pre>
|
210
210
|
</div>
|
211
211
|
<div class="sourcecode">
|
212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
213
|
-
<div id="
|
212
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000231_source')" id="l_M000231_source">+</a> ]</p>
|
213
|
+
<div id="M000231_source" class="dyn-source">
|
214
214
|
<pre>
|
215
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
215
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 43</span>
|
216
216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__method__</span>
|
217
217
|
<span class="ruby-identifier">name</span> = <span class="ruby-regexp re">/\`([^\']+)\'/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">caller</span>(<span class="ruby-value">1</span>).<span class="ruby-identifier">first</span>)[<span class="ruby-value">1</span>]
|
218
218
|
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">name</span>
|
@@ -223,7 +223,7 @@ symbol.
|
|
223
223
|
</div>
|
224
224
|
<div class="method">
|
225
225
|
<div class="title">
|
226
|
-
<a name="
|
226
|
+
<a name="M000226"></a><b>caller</b>( skip=0 )
|
227
227
|
</div>
|
228
228
|
<div class="description">
|
229
229
|
<p>
|
@@ -231,10 +231,10 @@ Returns the call stack, same format as Kernel#caller()
|
|
231
231
|
</p>
|
232
232
|
</div>
|
233
233
|
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
235
|
-
<div id="
|
234
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">+</a> ]</p>
|
235
|
+
<div id="M000226_source" class="dyn-source">
|
236
236
|
<pre>
|
237
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line
|
237
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/caller.rb, line 7</span>
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">caller</span>( <span class="ruby-identifier">skip</span>=<span class="ruby-value">0</span> )
|
239
239
|
<span class="ruby-identifier">eval</span>(<span class="ruby-node">"caller(#{skip})"</span>)
|
240
240
|
<span class="ruby-keyword kw">end</span>
|
@@ -244,7 +244,7 @@ Returns the call stack, same format as Kernel#caller()
|
|
244
244
|
</div>
|
245
245
|
<div class="method">
|
246
246
|
<div class="title">
|
247
|
-
<a name="
|
247
|
+
<a name="M000236"></a><b>callstack</b>(level=1)
|
248
248
|
</div>
|
249
249
|
<div class="description">
|
250
250
|
<p>
|
@@ -252,10 +252,10 @@ Returns the call stack, in array format.
|
|
252
252
|
</p>
|
253
253
|
</div>
|
254
254
|
<div class="sourcecode">
|
255
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
256
|
-
<div id="
|
255
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">+</a> ]</p>
|
256
|
+
<div id="M000236_source" class="dyn-source">
|
257
257
|
<pre>
|
258
|
-
<span class="ruby-comment cmt"># File lib/core/facets/callstack.rb, line 47</span>
|
258
|
+
<span class="ruby-comment cmt"># File lib/core/facets/kernel/callstack.rb, line 47</span>
|
259
259
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callstack</span>(<span class="ruby-identifier">level</span>=<span class="ruby-value">1</span>)
|
260
260
|
<span class="ruby-identifier">eval</span>( <span class="ruby-node">"callstack( #{level} )"</span> )
|
261
261
|
<span class="ruby-keyword kw">end</span>
|
@@ -265,7 +265,7 @@ Returns the call stack, in array format.
|
|
265
265
|
</div>
|
266
266
|
<div class="method">
|
267
267
|
<div class="title">
|
268
|
-
<a name="
|
268
|
+
<a name="M000235"></a><b>defined?</b>(x)
|
269
269
|
</div>
|
270
270
|
<div class="description">
|
271
271
|
<p>
|
@@ -274,10 +274,10 @@ nil if that thing is not defined.
|
|
274
274
|
</p>
|
275
275
|
</div>
|
276
276
|
<div class="sourcecode">
|
277
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
278
|
-
<div id="
|
277
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000235_source')" id="l_M000235_source">+</a> ]</p>
|
278
|
+
<div id="M000235_source" class="dyn-source">
|
279
279
|
<pre>
|
280
|
-
<span class="ruby-comment cmt"># File lib/core/facets/binding/defined.rb, line
|
280
|
+
<span class="ruby-comment cmt"># File lib/core/facets/binding/defined.rb, line 7</span>
|
281
281
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-identifier">x</span>)
|
282
282
|
<span class="ruby-identifier">eval</span>(<span class="ruby-node">"defined? #{x}"</span>)
|
283
283
|
<span class="ruby-keyword kw">end</span>
|
@@ -287,7 +287,7 @@ nil if that thing is not defined.
|
|
287
287
|
</div>
|
288
288
|
<div class="method">
|
289
289
|
<div class="title">
|
290
|
-
<a name="
|
290
|
+
<a name="M000232"></a><b>eval</b>(str)
|
291
291
|
</div>
|
292
292
|
<div class="description">
|
293
293
|
<p>
|
@@ -295,8 +295,8 @@ Evaluate a Ruby source code string (or block) in the binding context.
|
|
295
295
|
</p>
|
296
296
|
</div>
|
297
297
|
<div class="sourcecode">
|
298
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
299
|
-
<div id="
|
298
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000232_source')" id="l_M000232_source">+</a> ]</p>
|
299
|
+
<div id="M000232_source" class="dyn-source">
|
300
300
|
<pre>
|
301
301
|
<span class="ruby-comment cmt"># File lib/core/facets/binding/eval.rb, line 7</span>
|
302
302
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eval</span>(<span class="ruby-identifier">str</span>) <span class="ruby-comment cmt">#='', &blk )</span>
|
@@ -312,7 +312,7 @@ Evaluate a Ruby source code string (or block) in the binding context.
|
|
312
312
|
</div>
|
313
313
|
<div class="method">
|
314
314
|
<div class="title">
|
315
|
-
<a name="
|
315
|
+
<a name="M000234"></a><b>local_variables</b>()
|
316
316
|
</div>
|
317
317
|
<div class="description">
|
318
318
|
<p>
|
@@ -324,8 +324,8 @@ Returns the local variables defined in the binding context
|
|
324
324
|
</pre>
|
325
325
|
</div>
|
326
326
|
<div class="sourcecode">
|
327
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
328
|
-
<div id="
|
327
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000234_source')" id="l_M000234_source">+</a> ]</p>
|
328
|
+
<div id="M000234_source" class="dyn-source">
|
329
329
|
<pre>
|
330
330
|
<span class="ruby-comment cmt"># File lib/core/facets/binding/local_variables.rb, line 10</span>
|
331
331
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">local_variables</span>()
|
@@ -337,16 +337,16 @@ Returns the local variables defined in the binding context
|
|
337
337
|
</div>
|
338
338
|
<div class="method">
|
339
339
|
<div class="title">
|
340
|
-
<a name="
|
340
|
+
<a name="M000233"></a><b>self</b>()
|
341
341
|
</div>
|
342
342
|
<div class="description">
|
343
343
|
<p>
|
344
|
-
Returns <a href="Binding.html#
|
344
|
+
Returns <a href="Binding.html#M000233">self</a> of the binding context.
|
345
345
|
</p>
|
346
346
|
</div>
|
347
347
|
<div class="sourcecode">
|
348
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
349
|
-
<div id="
|
348
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000233_source')" id="l_M000233_source">+</a> ]</p>
|
349
|
+
<div id="M000233_source" class="dyn-source">
|
350
350
|
<pre>
|
351
351
|
<span class="ruby-comment cmt"># File lib/core/facets/binding/self.rb, line 7</span>
|
352
352
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>()
|
@@ -86,15 +86,15 @@ Object
|
|
86
86
|
|
87
87
|
|
88
88
|
<div class="sectiontitle">Methods</div>
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000198">cattr</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000201">cattr_accessor</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000199">cattr_reader</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000200">cattr_writer</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000204">descendents</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000202">methodize</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000203">pathize</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000197">prepend</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000205">to_proc</a></span>
|
98
98
|
|
99
99
|
|
100
100
|
|
@@ -104,7 +104,7 @@ Object
|
|
104
104
|
<div class="sectiontitle">Public Instance methods</div>
|
105
105
|
<div class="method">
|
106
106
|
<div class="title">
|
107
|
-
<a name="
|
107
|
+
<a name="M000198"></a><b>cattr</b>( *syms )
|
108
108
|
</div>
|
109
109
|
<div class="description">
|
110
110
|
<p>
|
@@ -117,16 +117,15 @@ out it does not work as expected when included. The class-level method is
|
|
117
117
|
not carried along. So it is now just a <a href="Class.html">Class</a>
|
118
118
|
method. Accordingly, mattr has been deprecated.
|
119
119
|
</p>
|
120
|
-
<
|
121
|
-
|
122
|
-
|
123
|
-
</pre>
|
120
|
+
<p>
|
121
|
+
CREDIT: David Heinemeier Hansson
|
122
|
+
</p>
|
124
123
|
</div>
|
125
124
|
<div class="sourcecode">
|
126
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
127
|
-
<div id="
|
125
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">+</a> ]</p>
|
126
|
+
<div id="M000198_source" class="dyn-source">
|
128
127
|
<pre>
|
129
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line
|
128
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 12</span>
|
130
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span> )
|
131
130
|
<span class="ruby-identifier">writers</span>, <span class="ruby-identifier">readers</span> = <span class="ruby-identifier">syms</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">partition</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/=$/</span> }
|
132
131
|
<span class="ruby-identifier">writers</span> = <span class="ruby-identifier">writers</span>.<span class="ruby-identifier">collect</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">chomp</span>(<span class="ruby-value str">'='</span>).<span class="ruby-identifier">to_sym</span> }
|
@@ -141,7 +140,7 @@ method. Accordingly, mattr has been deprecated.
|
|
141
140
|
</div>
|
142
141
|
<div class="method">
|
143
142
|
<div class="title">
|
144
|
-
<a name="
|
143
|
+
<a name="M000201"></a><b>cattr_accessor</b>(*syms)
|
145
144
|
</div>
|
146
145
|
<div class="description">
|
147
146
|
<p>
|
@@ -158,12 +157,15 @@ instance and class level.
|
|
158
157
|
mc = MyClass.new
|
159
158
|
mc.a #=> 10
|
160
159
|
</pre>
|
160
|
+
<p>
|
161
|
+
CREDIT: David Heinemeier Hansson
|
162
|
+
</p>
|
161
163
|
</div>
|
162
164
|
<div class="sourcecode">
|
163
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
164
|
-
<div id="
|
165
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">+</a> ]</p>
|
166
|
+
<div id="M000201_source" class="dyn-source">
|
165
167
|
<pre>
|
166
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line
|
168
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 102</span>
|
167
169
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_accessor</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
|
168
170
|
<span class="ruby-identifier">cattr_reader</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">cattr_writer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
|
169
171
|
<span class="ruby-keyword kw">end</span>
|
@@ -173,7 +175,7 @@ instance and class level.
|
|
173
175
|
</div>
|
174
176
|
<div class="method">
|
175
177
|
<div class="title">
|
176
|
-
<a name="
|
178
|
+
<a name="M000199"></a><b>cattr_reader</b>( *syms )
|
177
179
|
</div>
|
178
180
|
<div class="description">
|
179
181
|
<p>
|
@@ -188,15 +190,16 @@ instance and class level.
|
|
188
190
|
|
189
191
|
MyClass.a #=> 10
|
190
192
|
MyClass.new.a #=> 10
|
191
|
-
|
192
|
-
CREDIT: David Heinemeier Hansson
|
193
193
|
</pre>
|
194
|
+
<p>
|
195
|
+
CREDIT: David Heinemeier Hansson
|
196
|
+
</p>
|
194
197
|
</div>
|
195
198
|
<div class="sourcecode">
|
196
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
197
|
-
<div id="
|
199
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">+</a> ]</p>
|
200
|
+
<div id="M000199_source" class="dyn-source">
|
198
201
|
<pre>
|
199
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line
|
202
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 33</span>
|
200
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_reader</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span> )
|
201
204
|
<span class="ruby-identifier">syms</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sym</span><span class="ruby-operator">|</span>
|
202
205
|
<span class="ruby-identifier">class_eval</span>(<span class="ruby-value str">"unless defined? @@\#{sym}\n@@\#{sym} = nil\nend\n\ndef self.\#{sym}\n@@\#{sym}\nend\n\ndef \#{sym}\n@@\#{sym}\nend\n"</span>, <span class="ruby-keyword kw">__FILE__</span>, <span class="ruby-keyword kw">__LINE__</span>)
|
@@ -209,7 +212,7 @@ instance and class level.
|
|
209
212
|
</div>
|
210
213
|
<div class="method">
|
211
214
|
<div class="title">
|
212
|
-
<a name="
|
215
|
+
<a name="M000200"></a><b>cattr_writer</b>(*syms)
|
213
216
|
</div>
|
214
217
|
<div class="description">
|
215
218
|
<p>
|
@@ -228,15 +231,16 @@ instance and class level.
|
|
228
231
|
MyClass.a #=> 10
|
229
232
|
MyClass.new.a = 29
|
230
233
|
MyClass.a #=> 29
|
231
|
-
|
232
|
-
CREDIT: David Heinemeier Hansson
|
233
234
|
</pre>
|
235
|
+
<p>
|
236
|
+
CREDIT: David Heinemeier Hansson
|
237
|
+
</p>
|
234
238
|
</div>
|
235
239
|
<div class="sourcecode">
|
236
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
237
|
-
<div id="
|
240
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">+</a> ]</p>
|
241
|
+
<div id="M000200_source" class="dyn-source">
|
238
242
|
<pre>
|
239
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line
|
243
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/cattr.rb, line 69</span>
|
240
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cattr_writer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
|
241
245
|
<span class="ruby-identifier">syms</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sym</span><span class="ruby-operator">|</span>
|
242
246
|
<span class="ruby-identifier">class_eval</span>(<span class="ruby-value str">"unless defined? @@\#{sym}\n@@\#{sym} = nil\nend\n\ndef self.\#{sym}=(obj)\n@@\#{sym} = obj\nend\n\ndef \#{sym}=(obj)\n@@\#{sym}=(obj)\nend\n"</span>, <span class="ruby-keyword kw">__FILE__</span>, <span class="ruby-keyword kw">__LINE__</span>)
|
@@ -249,7 +253,7 @@ instance and class level.
|
|
249
253
|
</div>
|
250
254
|
<div class="method">
|
251
255
|
<div class="title">
|
252
|
-
<a name="
|
256
|
+
<a name="M000204"></a><b>descendents</b>()
|
253
257
|
</div>
|
254
258
|
<div class="description">
|
255
259
|
<p>
|
@@ -266,10 +270,10 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
|
|
266
270
|
</p>
|
267
271
|
</div>
|
268
272
|
<div class="sourcecode">
|
269
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
270
|
-
<div id="
|
273
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">+</a> ]</p>
|
274
|
+
<div id="M000204_source" class="dyn-source">
|
271
275
|
<pre>
|
272
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/descendents.rb, line
|
276
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/descendents.rb, line 12</span>
|
273
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">descendents</span>
|
274
278
|
<span class="ruby-identifier">subclass</span> = []
|
275
279
|
<span class="ruby-constant">ObjectSpace</span>.<span class="ruby-identifier">each_object</span>( <span class="ruby-constant">Class</span> ) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
@@ -285,7 +289,7 @@ NOTE: This is a intesive operation. Do not expect it to be super fast.
|
|
285
289
|
</div>
|
286
290
|
<div class="method">
|
287
291
|
<div class="title">
|
288
|
-
<a name="
|
292
|
+
<a name="M000202"></a><b>methodize</b>()
|
289
293
|
</div>
|
290
294
|
<div class="description">
|
291
295
|
<p>
|
@@ -296,8 +300,8 @@ Translate a class name to a suitable method name.
|
|
296
300
|
</pre>
|
297
301
|
</div>
|
298
302
|
<div class="sourcecode">
|
299
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
300
|
-
<div id="
|
303
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">+</a> ]</p>
|
304
|
+
<div id="M000202_source" class="dyn-source">
|
301
305
|
<pre>
|
302
306
|
<span class="ruby-comment cmt"># File lib/core/facets/class/methodize.rb, line 9</span>
|
303
307
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
|
@@ -309,7 +313,7 @@ Translate a class name to a suitable method name.
|
|
309
313
|
</div>
|
310
314
|
<div class="method">
|
311
315
|
<div class="title">
|
312
|
-
<a name="
|
316
|
+
<a name="M000203"></a><b>pathize</b>()
|
313
317
|
</div>
|
314
318
|
<div class="description">
|
315
319
|
<p>
|
@@ -320,8 +324,8 @@ Converts a class name to a unix path.
|
|
320
324
|
</pre>
|
321
325
|
</div>
|
322
326
|
<div class="sourcecode">
|
323
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
324
|
-
<div id="
|
327
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">+</a> ]</p>
|
328
|
+
<div id="M000203_source" class="dyn-source">
|
325
329
|
<pre>
|
326
330
|
<span class="ruby-comment cmt"># File lib/core/facets/class/pathize.rb, line 9</span>
|
327
331
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
|
@@ -333,7 +337,7 @@ Converts a class name to a unix path.
|
|
333
337
|
</div>
|
334
338
|
<div class="method">
|
335
339
|
<div class="title">
|
336
|
-
<a name="
|
340
|
+
<a name="M000197"></a><b>prepend</b>( aspect )
|
337
341
|
</div>
|
338
342
|
<div class="description">
|
339
343
|
<p>
|
@@ -362,21 +366,19 @@ Implementation of this method has some limitations, in that it works by
|
|
362
366
|
overriding new and allocate.
|
363
367
|
</p>
|
364
368
|
<p>
|
365
|
-
CREDIT Trans
|
369
|
+
CREDIT: Trans
|
366
370
|
</p>
|
367
371
|
<p>
|
368
|
-
TODO: Perhaps rename this to preallocate, b/c of
|
372
|
+
TODO: Perhaps rename this to preallocate, b/c of the way it works. It is
|
373
|
+
not really a clean <a href="Class.html#M000197">prepend</a>, like that of
|
374
|
+
<a href="Module.html#M000165">Module#prepend</a>.
|
369
375
|
</p>
|
370
|
-
<pre>
|
371
|
-
the way it works. It is not really a clean
|
372
|
-
prepend, like that of Module#prepend.
|
373
|
-
</pre>
|
374
376
|
</div>
|
375
377
|
<div class="sourcecode">
|
376
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
377
|
-
<div id="
|
378
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">+</a> ]</p>
|
379
|
+
<div id="M000197_source" class="dyn-source">
|
378
380
|
<pre>
|
379
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/prepend.rb, line
|
381
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/prepend.rb, line 30</span>
|
380
382
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>( <span class="ruby-identifier">aspect</span> )
|
381
383
|
<span class="ruby-identifier">_new</span> = <span class="ruby-identifier">method</span>(<span class="ruby-identifier">:new</span>)
|
382
384
|
<span class="ruby-identifier">_allocate</span> = <span class="ruby-identifier">method</span>(<span class="ruby-identifier">:allocate</span>)
|
@@ -399,7 +401,7 @@ TODO: Perhaps rename this to preallocate, b/c of
|
|
399
401
|
</div>
|
400
402
|
<div class="method">
|
401
403
|
<div class="title">
|
402
|
-
<a name="
|
404
|
+
<a name="M000205"></a><b>to_proc</b>()
|
403
405
|
</div>
|
404
406
|
<div class="description">
|
405
407
|
<p>
|
@@ -423,10 +425,10 @@ CREDIT: Daniel Schierbeck
|
|
423
425
|
</p>
|
424
426
|
</div>
|
425
427
|
<div class="sourcecode">
|
426
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
427
|
-
<div id="
|
428
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">+</a> ]</p>
|
429
|
+
<div id="M000205_source" class="dyn-source">
|
428
430
|
<pre>
|
429
|
-
<span class="ruby-comment cmt"># File lib/core/facets/class/to_proc.rb, line
|
431
|
+
<span class="ruby-comment cmt"># File lib/core/facets/class/to_proc.rb, line 18</span>
|
430
432
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>
|
431
433
|
<span class="ruby-identifier">proc</span>{<span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">args</span><span class="ruby-operator">|</span> <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)}
|
432
434
|
<span class="ruby-keyword kw">end</span>
|