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
@@ -81,17 +81,17 @@ Object
|
|
81
81
|
|
82
82
|
|
83
83
|
<div class="sectiontitle">Methods</div>
|
84
|
-
<span style="padding-right: 5px;"><a href="#
|
85
|
-
<span style="padding-right: 5px;"><a href="#
|
86
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
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="#
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000055"><<</a></span>
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000053">[]</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000054">[]=</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000051">each</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000050">instance_delegate</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000057">keys</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000058">names</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000049">new</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000052">to_hash</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000056">update</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000059">values</a></span>
|
95
95
|
|
96
96
|
<div class="sectiontitle">Included Modules</div>
|
97
97
|
<ul>
|
@@ -105,11 +105,11 @@ Object
|
|
105
105
|
<div class="sectiontitle">Public Class methods</div>
|
106
106
|
<div class="method">
|
107
107
|
<div class="title">
|
108
|
-
<a name="
|
108
|
+
<a name="M000049"></a><b>new</b>(delegate)
|
109
109
|
</div>
|
110
110
|
<div class="sourcecode">
|
111
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
112
|
-
<div id="
|
111
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">+</a> ]</p>
|
112
|
+
<div id="M000049_source" class="dyn-source">
|
113
113
|
<pre>
|
114
114
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 14</span>
|
115
115
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">delegate</span>)
|
@@ -122,11 +122,11 @@ Object
|
|
122
122
|
<div class="sectiontitle">Public Instance methods</div>
|
123
123
|
<div class="method">
|
124
124
|
<div class="title">
|
125
|
-
<a name="
|
125
|
+
<a name="M000055"></a><b><<</b>(pair)
|
126
126
|
</div>
|
127
127
|
<div class="sourcecode">
|
128
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
129
|
-
<div id="
|
128
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">+</a> ]</p>
|
129
|
+
<div id="M000055_source" class="dyn-source">
|
130
130
|
<pre>
|
131
131
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 46</span>
|
132
132
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">pair</span>)
|
@@ -140,11 +140,11 @@ Object
|
|
140
140
|
</div>
|
141
141
|
<div class="method">
|
142
142
|
<div class="title">
|
143
|
-
<a name="
|
143
|
+
<a name="M000053"></a><b>[]</b>(name)
|
144
144
|
</div>
|
145
145
|
<div class="sourcecode">
|
146
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
147
|
-
<div id="
|
146
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">+</a> ]</p>
|
147
|
+
<div id="M000053_source" class="dyn-source">
|
148
148
|
<pre>
|
149
149
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 36</span>
|
150
150
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">name</span>)
|
@@ -157,11 +157,11 @@ Object
|
|
157
157
|
</div>
|
158
158
|
<div class="method">
|
159
159
|
<div class="title">
|
160
|
-
<a name="
|
160
|
+
<a name="M000054"></a><b>[]=</b>(name, value)
|
161
161
|
</div>
|
162
162
|
<div class="sourcecode">
|
163
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
164
|
-
<div id="
|
163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">+</a> ]</p>
|
164
|
+
<div id="M000054_source" class="dyn-source">
|
165
165
|
<pre>
|
166
166
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 41</span>
|
167
167
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
|
@@ -174,11 +174,11 @@ Object
|
|
174
174
|
</div>
|
175
175
|
<div class="method">
|
176
176
|
<div class="title">
|
177
|
-
<a name="
|
177
|
+
<a name="M000051"></a><b>each</b>() {|name[1..-1].to_sym, @delegate.instance_variable_get(name)| ...}
|
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('M000051_source')" id="l_M000051_source">+</a> ]</p>
|
181
|
+
<div id="M000051_source" class="dyn-source">
|
182
182
|
<pre>
|
183
183
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 22</span>
|
184
184
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
@@ -192,11 +192,11 @@ Object
|
|
192
192
|
</div>
|
193
193
|
<div class="method">
|
194
194
|
<div class="title">
|
195
|
-
<a name="
|
195
|
+
<a name="M000050"></a><b>instance_delegate</b>()
|
196
196
|
</div>
|
197
197
|
<div class="sourcecode">
|
198
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
199
|
-
<div id="
|
198
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">+</a> ]</p>
|
199
|
+
<div id="M000050_source" class="dyn-source">
|
200
200
|
<pre>
|
201
201
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 18</span>
|
202
202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_delegate</span>
|
@@ -208,11 +208,11 @@ Object
|
|
208
208
|
</div>
|
209
209
|
<div class="method">
|
210
210
|
<div class="title">
|
211
|
-
<a name="
|
211
|
+
<a name="M000057"></a><b>keys</b>()
|
212
212
|
</div>
|
213
213
|
<div class="sourcecode">
|
214
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
215
|
-
<div id="
|
214
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">+</a> ]</p>
|
215
|
+
<div id="M000057_source" class="dyn-source">
|
216
216
|
<pre>
|
217
217
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 58</span>
|
218
218
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">keys</span>
|
@@ -226,11 +226,11 @@ Object
|
|
226
226
|
</div>
|
227
227
|
<div class="method">
|
228
228
|
<div class="title">
|
229
|
-
<a name="
|
229
|
+
<a name="M000058"></a><b>names</b>()
|
230
230
|
</div>
|
231
231
|
<div class="sourcecode">
|
232
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
233
|
-
<div id="
|
232
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">+</a> ]</p>
|
233
|
+
<div id="M000058_source" class="dyn-source">
|
234
234
|
<pre>
|
235
235
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 64</span>
|
236
236
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">names</span>
|
@@ -244,11 +244,11 @@ Object
|
|
244
244
|
</div>
|
245
245
|
<div class="method">
|
246
246
|
<div class="title">
|
247
|
-
<a name="
|
247
|
+
<a name="M000052"></a><b>to_hash</b>()
|
248
248
|
</div>
|
249
249
|
<div class="sourcecode">
|
250
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
251
|
-
<div id="
|
250
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">+</a> ]</p>
|
251
|
+
<div id="M000052_source" class="dyn-source">
|
252
252
|
<pre>
|
253
253
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 28</span>
|
254
254
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>
|
@@ -264,11 +264,11 @@ Object
|
|
264
264
|
</div>
|
265
265
|
<div class="method">
|
266
266
|
<div class="title">
|
267
|
-
<a name="
|
267
|
+
<a name="M000056"></a><b>update</b>(hash)
|
268
268
|
</div>
|
269
269
|
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
271
|
-
<div id="
|
270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">+</a> ]</p>
|
271
|
+
<div id="M000056_source" class="dyn-source">
|
272
272
|
<pre>
|
273
273
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 52</span>
|
274
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">hash</span>)
|
@@ -282,11 +282,11 @@ Object
|
|
282
282
|
</div>
|
283
283
|
<div class="method">
|
284
284
|
<div class="title">
|
285
|
-
<a name="
|
285
|
+
<a name="M000059"></a><b>values</b>()
|
286
286
|
</div>
|
287
287
|
<div class="sourcecode">
|
288
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
289
|
-
<div id="
|
288
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">+</a> ]</p>
|
289
|
+
<div id="M000059_source" class="dyn-source">
|
290
290
|
<pre>
|
291
291
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 70</span>
|
292
292
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>
|
@@ -87,25 +87,25 @@ Object
|
|
87
87
|
|
88
88
|
|
89
89
|
<div class="sectiontitle">Methods</div>
|
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="#
|
100
|
-
<span style="padding-right: 5px;"><a href="#
|
101
|
-
<span style="padding-right: 5px;"><a href="#
|
102
|
-
<span style="padding-right: 5px;"><a href="#
|
103
|
-
<span style="padding-right: 5px;"><a href="#
|
104
|
-
<span style="padding-right: 5px;"><a href="#
|
105
|
-
<span style="padding-right: 5px;"><a href="#
|
106
|
-
<span style="padding-right: 5px;"><a href="#
|
107
|
-
<span style="padding-right: 5px;"><a href="#
|
108
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000020">bit</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000021">bit!</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000023">bit?</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000024">bitmask</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000025">bitmask!</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000026">bitmask?</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000022">clear_bit</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000012">even?</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000014">fac</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000013">factorial</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000008">multiple?</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000011">odd?</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000015">of</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M000009">ordinal</a></span>
|
104
|
+
<span style="padding-right: 5px;"><a href="#M000010">ordinalize</a></span>
|
105
|
+
<span style="padding-right: 5px;"><a href="#M000018">round_at</a></span>
|
106
|
+
<span style="padding-right: 5px;"><a href="#M000019">round_to</a></span>
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000016">times_collect</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000017">times_map</a></span>
|
109
109
|
|
110
110
|
|
111
111
|
|
@@ -115,36 +115,36 @@ Object
|
|
115
115
|
<div class="sectiontitle">Public Instance methods</div>
|
116
116
|
<div class="method">
|
117
117
|
<div class="title">
|
118
|
-
<a name="
|
118
|
+
<a name="M000020"></a><b>bit</b>(bit)
|
119
119
|
</div>
|
120
120
|
<div class="description">
|
121
121
|
<p>
|
122
|
-
Set a <a href="Integer.html#
|
122
|
+
Set a <a href="Integer.html#M000020">bit</a>.
|
123
123
|
</p>
|
124
124
|
<pre>
|
125
125
|
0.bit!(4) #=> 8
|
126
126
|
</pre>
|
127
127
|
<p>
|
128
|
-
Using an inverted <a href="Integer.html#
|
129
|
-
href="Integer.html#
|
128
|
+
Using an inverted <a href="Integer.html#M000020">bit</a> will clear a <a
|
129
|
+
href="Integer.html#M000020">bit</a>.
|
130
130
|
</p>
|
131
131
|
<pre>
|
132
132
|
10.bit!(~3) #=> 2
|
133
133
|
0xb0100.bit(~3) #=> 0
|
134
|
-
|
135
|
-
CREDIT: Thomas Sawyer
|
136
|
-
CREDIT: George Moschovitis
|
137
134
|
</pre>
|
135
|
+
<p>
|
136
|
+
CREDIT: Thomas Sawyer, George Moschovitis
|
137
|
+
</p>
|
138
138
|
</div>
|
139
139
|
<div class="aka">
|
140
140
|
This method is also aliased as
|
141
|
-
<a href="Integer.html#
|
141
|
+
<a href="Integer.html#M000021">bit!</a>
|
142
142
|
</div>
|
143
143
|
<div class="sourcecode">
|
144
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
145
|
-
<div id="
|
144
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">+</a> ]</p>
|
145
|
+
<div id="M000020_source" class="dyn-source">
|
146
146
|
<pre>
|
147
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line
|
147
|
+
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 14</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit</span>(<span class="ruby-identifier">bit</span>)
|
149
149
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bit</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
150
150
|
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-operator">~</span><span class="ruby-identifier">bit</span>)
|
@@ -160,35 +160,35 @@ href="Integer.html#M000021">bit</a>.
|
|
160
160
|
</div>
|
161
161
|
<div class="method">
|
162
162
|
<div class="title">
|
163
|
-
<a name="
|
163
|
+
<a name="M000021"></a><b>bit!</b>(bit)
|
164
164
|
</div>
|
165
165
|
<div class="description">
|
166
166
|
<p>
|
167
|
-
Alias for <a href="Integer.html#
|
167
|
+
Alias for <a href="Integer.html#M000020">bit</a>
|
168
168
|
</p>
|
169
169
|
</div>
|
170
170
|
</div>
|
171
171
|
<div class="method">
|
172
172
|
<div class="title">
|
173
|
-
<a name="
|
173
|
+
<a name="M000023"></a><b>bit?</b>(bit)
|
174
174
|
</div>
|
175
175
|
<div class="description">
|
176
176
|
<p>
|
177
|
-
Is a <a href="Integer.html#
|
177
|
+
Is a <a href="Integer.html#M000020">bit</a> set?
|
178
178
|
</p>
|
179
179
|
<pre>
|
180
180
|
8.bit?(3) #=> true
|
181
181
|
8.bit?(2) #=> false
|
182
|
-
|
183
|
-
CREDIT: Thomas Sawyer
|
184
|
-
CREDIT: George Moschovitis
|
185
182
|
</pre>
|
183
|
+
<p>
|
184
|
+
CREDIT: Thomas Sawyer, George Moschovitis
|
185
|
+
</p>
|
186
186
|
</div>
|
187
187
|
<div class="sourcecode">
|
188
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
189
|
-
<div id="
|
188
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">+</a> ]</p>
|
189
|
+
<div id="M000023_source" class="dyn-source">
|
190
190
|
<pre>
|
191
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line
|
191
|
+
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 43</span>
|
192
192
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit?</span>(<span class="ruby-identifier">bit</span>)
|
193
193
|
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">bit</span>)
|
194
194
|
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>) <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
@@ -199,34 +199,35 @@ Is a <a href="Integer.html#M000021">bit</a> set?
|
|
199
199
|
</div>
|
200
200
|
<div class="method">
|
201
201
|
<div class="title">
|
202
|
-
<a name="
|
202
|
+
<a name="M000024"></a><b>bitmask</b>(mask)
|
203
203
|
</div>
|
204
204
|
<div class="description">
|
205
205
|
<p>
|
206
|
-
Apply a <a href="Integer.html#
|
206
|
+
Apply a <a href="Integer.html#M000024">bitmask</a>.
|
207
207
|
</p>
|
208
208
|
<pre>
|
209
209
|
1.bitmask(6) #=> 7
|
210
210
|
</pre>
|
211
211
|
<p>
|
212
|
-
Using a inverted <a href="Integer.html#
|
212
|
+
Using a inverted <a href="Integer.html#M000024">bitmask</a> clears bits.
|
213
213
|
</p>
|
214
214
|
<pre>
|
215
215
|
7.bitmask(~2) #=> 5
|
216
216
|
5.bitmask(~2) #=> 5
|
217
|
-
|
218
|
-
CREDIT: George Moschovitis
|
219
217
|
</pre>
|
218
|
+
<p>
|
219
|
+
CREDIT: George Moschovitis
|
220
|
+
</p>
|
220
221
|
</div>
|
221
222
|
<div class="aka">
|
222
223
|
This method is also aliased as
|
223
|
-
<a href="Integer.html#
|
224
|
+
<a href="Integer.html#M000025">bitmask!</a>
|
224
225
|
</div>
|
225
226
|
<div class="sourcecode">
|
226
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
227
|
-
<div id="
|
227
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">+</a> ]</p>
|
228
|
+
<div id="M000024_source" class="dyn-source">
|
228
229
|
<pre>
|
229
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line
|
230
|
+
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 59</span>
|
230
231
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bitmask</span>(<span class="ruby-identifier">mask</span>)
|
231
232
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mask</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
232
233
|
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>
|
@@ -240,35 +241,36 @@ Using a inverted <a href="Integer.html#M000025">bitmask</a> clears bits.
|
|
240
241
|
</div>
|
241
242
|
<div class="method">
|
242
243
|
<div class="title">
|
243
|
-
<a name="
|
244
|
+
<a name="M000025"></a><b>bitmask!</b>(mask)
|
244
245
|
</div>
|
245
246
|
<div class="description">
|
246
247
|
<p>
|
247
|
-
Alias for <a href="Integer.html#
|
248
|
+
Alias for <a href="Integer.html#M000024">bitmask</a>
|
248
249
|
</p>
|
249
250
|
</div>
|
250
251
|
</div>
|
251
252
|
<div class="method">
|
252
253
|
<div class="title">
|
253
|
-
<a name="
|
254
|
+
<a name="M000026"></a><b>bitmask?</b>(mask)
|
254
255
|
</div>
|
255
256
|
<div class="description">
|
256
257
|
<p>
|
257
|
-
Is <a href="Integer.html#
|
258
|
+
Is <a href="Integer.html#M000024">bitmask</a> set?
|
258
259
|
</p>
|
259
260
|
<pre>
|
260
261
|
7.bitmask?(7) #=> true
|
261
262
|
7.bitmask?(5) #=> true
|
262
263
|
8.bitmask?(3) #=> false
|
263
|
-
|
264
|
-
CREDIT: George Moschovitis
|
265
264
|
</pre>
|
265
|
+
<p>
|
266
|
+
CREDIT: George Moschovitis
|
267
|
+
</p>
|
266
268
|
</div>
|
267
269
|
<div class="sourcecode">
|
268
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
269
|
-
<div id="
|
270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">+</a> ]</p>
|
271
|
+
<div id="M000026_source" class="dyn-source">
|
270
272
|
<pre>
|
271
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line
|
273
|
+
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 78</span>
|
272
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bitmask?</span>(<span class="ruby-identifier">mask</span>)
|
273
275
|
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>) <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
274
276
|
<span class="ruby-keyword kw">end</span>
|
@@ -278,21 +280,21 @@ Is <a href="Integer.html#M000025">bitmask</a> set?
|
|
278
280
|
</div>
|
279
281
|
<div class="method">
|
280
282
|
<div class="title">
|
281
|
-
<a name="
|
283
|
+
<a name="M000022"></a><b>clear_bit</b>(bit)
|
282
284
|
</div>
|
283
285
|
<div class="description">
|
284
286
|
<p>
|
285
|
-
Clear <a href="Integer.html#
|
287
|
+
Clear <a href="Integer.html#M000020">bit</a>.
|
288
|
+
</p>
|
289
|
+
<p>
|
290
|
+
CREDIT: George Moschovitis
|
286
291
|
</p>
|
287
|
-
<pre>
|
288
|
-
CREDIT: George Moschovitis
|
289
|
-
</pre>
|
290
292
|
</div>
|
291
293
|
<div class="sourcecode">
|
292
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
293
|
-
<div id="
|
294
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">+</a> ]</p>
|
295
|
+
<div id="M000022_source" class="dyn-source">
|
294
296
|
<pre>
|
295
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line
|
297
|
+
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 31</span>
|
296
298
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_bit</span>(<span class="ruby-identifier">bit</span>)
|
297
299
|
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">bit</span>)
|
298
300
|
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-operator">~</span><span class="ruby-identifier">mask</span>
|
@@ -303,7 +305,7 @@ Clear <a href="Integer.html#M000021">bit</a>.
|
|
303
305
|
</div>
|
304
306
|
<div class="method">
|
305
307
|
<div class="title">
|
306
|
-
<a name="
|
308
|
+
<a name="M000012"></a><b>even?</b>()
|
307
309
|
</div>
|
308
310
|
<div class="description">
|
309
311
|
<p>
|
@@ -312,13 +314,14 @@ Returns true if this integer is even, false otherwise.
|
|
312
314
|
<pre>
|
313
315
|
2.even? #=> true
|
314
316
|
3.even? #=> false
|
315
|
-
|
316
|
-
CREDIT: Daniel Schierbeck
|
317
317
|
</pre>
|
318
|
+
<p>
|
319
|
+
CREDIT: Daniel Schierbeck
|
320
|
+
</p>
|
318
321
|
</div>
|
319
322
|
<div class="sourcecode">
|
320
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
321
|
-
<div id="
|
323
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">+</a> ]</p>
|
324
|
+
<div id="M000012_source" class="dyn-source">
|
322
325
|
<pre>
|
323
326
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 27</span>
|
324
327
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">even?</span>
|
@@ -331,38 +334,39 @@ Returns true if this integer is even, false otherwise.
|
|
331
334
|
</div>
|
332
335
|
<div class="method">
|
333
336
|
<div class="title">
|
334
|
-
<a name="
|
337
|
+
<a name="M000014"></a><b>fac</b>()
|
335
338
|
</div>
|
336
339
|
<div class="description">
|
337
340
|
<p>
|
338
|
-
Alias for <a href="Integer.html#
|
341
|
+
Alias for <a href="Integer.html#M000013">factorial</a>
|
339
342
|
</p>
|
340
343
|
</div>
|
341
344
|
</div>
|
342
345
|
<div class="method">
|
343
346
|
<div class="title">
|
344
|
-
<a name="
|
347
|
+
<a name="M000013"></a><b>factorial</b>()
|
345
348
|
</div>
|
346
349
|
<div class="description">
|
347
350
|
<p>
|
348
|
-
Calculate the <a href="Integer.html#
|
349
|
-
href="Integer.html#
|
351
|
+
Calculate the <a href="Integer.html#M000013">factorial</a> <a
|
352
|
+
href="Integer.html#M000015">of</a> an integer.
|
350
353
|
</p>
|
351
354
|
<pre>
|
352
355
|
2.factorial #=> 2
|
353
356
|
3.factorial #=> 6
|
354
357
|
3.factorial #=> 24
|
355
|
-
|
356
|
-
CREDIT: Malte Milatz
|
357
358
|
</pre>
|
359
|
+
<p>
|
360
|
+
CREDIT: Malte Milatz
|
361
|
+
</p>
|
358
362
|
</div>
|
359
363
|
<div class="aka">
|
360
364
|
This method is also aliased as
|
361
|
-
<a href="Integer.html#
|
365
|
+
<a href="Integer.html#M000014">fac</a>
|
362
366
|
</div>
|
363
367
|
<div class="sourcecode">
|
364
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
365
|
-
<div id="
|
368
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">+</a> ]</p>
|
369
|
+
<div id="M000013_source" class="dyn-source">
|
366
370
|
<pre>
|
367
371
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/factorial.rb, line 11</span>
|
368
372
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">factorial</span>
|
@@ -377,22 +381,23 @@ href="Integer.html#M000016">of</a> an integer.
|
|
377
381
|
</div>
|
378
382
|
<div class="method">
|
379
383
|
<div class="title">
|
380
|
-
<a name="
|
384
|
+
<a name="M000008"></a><b>multiple?</b>(number)
|
381
385
|
</div>
|
382
386
|
<div class="description">
|
383
387
|
<p>
|
384
|
-
Is is a multiple <a href="Integer.html#
|
388
|
+
Is is a multiple <a href="Integer.html#M000015">of</a> a given number?
|
385
389
|
</p>
|
386
390
|
<pre>
|
387
391
|
7.multiple?(2) #=> false
|
388
392
|
8.multiple?(2) #=> true
|
389
|
-
|
390
|
-
CREDIT: Trans
|
391
393
|
</pre>
|
394
|
+
<p>
|
395
|
+
CREDIT: Trans
|
396
|
+
</p>
|
392
397
|
</div>
|
393
398
|
<div class="sourcecode">
|
394
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
395
|
-
<div id="
|
399
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">+</a> ]</p>
|
400
|
+
<div id="M000008_source" class="dyn-source">
|
396
401
|
<pre>
|
397
402
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/multiple.rb, line 10</span>
|
398
403
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiple?</span>(<span class="ruby-identifier">number</span>)
|
@@ -404,7 +409,7 @@ Is is a multiple <a href="Integer.html#M000016">of</a> a given number?
|
|
404
409
|
</div>
|
405
410
|
<div class="method">
|
406
411
|
<div class="title">
|
407
|
-
<a name="
|
412
|
+
<a name="M000011"></a><b>odd?</b>()
|
408
413
|
</div>
|
409
414
|
<div class="description">
|
410
415
|
<p>
|
@@ -416,13 +421,14 @@ Returns true if this integer is odd, false otherwise.
|
|
416
421
|
|
417
422
|
-99.odd? # -> true
|
418
423
|
-98.odd? # -> false
|
419
|
-
|
420
|
-
CREDIT: Daniel Schierbeck
|
421
424
|
</pre>
|
425
|
+
<p>
|
426
|
+
CREDIT: Daniel Schierbeck
|
427
|
+
</p>
|
422
428
|
</div>
|
423
429
|
<div class="sourcecode">
|
424
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
425
|
-
<div id="
|
430
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">+</a> ]</p>
|
431
|
+
<div id="M000011_source" class="dyn-source">
|
426
432
|
<pre>
|
427
433
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 15</span>
|
428
434
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">odd?</span>
|
@@ -435,11 +441,11 @@ Returns true if this integer is odd, false otherwise.
|
|
435
441
|
</div>
|
436
442
|
<div class="method">
|
437
443
|
<div class="title">
|
438
|
-
<a name="
|
444
|
+
<a name="M000015"></a><b>of</b>(&block)
|
439
445
|
</div>
|
440
446
|
<div class="description">
|
441
447
|
<p>
|
442
|
-
Like times but returns a collection <a href="Integer.html#
|
448
|
+
Like times but returns a collection <a href="Integer.html#M000015">of</a>
|
443
449
|
the yield results.
|
444
450
|
</p>
|
445
451
|
<pre>
|
@@ -449,12 +455,12 @@ the yield results.
|
|
449
455
|
</div>
|
450
456
|
<div class="aka">
|
451
457
|
This method is also aliased as
|
452
|
-
<a href="Integer.html#
|
453
|
-
<a href="Integer.html#
|
458
|
+
<a href="Integer.html#M000016">times_collect</a>
|
459
|
+
<a href="Integer.html#M000017">times_map</a>
|
454
460
|
</div>
|
455
461
|
<div class="sourcecode">
|
456
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
457
|
-
<div id="
|
462
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">+</a> ]</p>
|
463
|
+
<div id="M000015_source" class="dyn-source">
|
458
464
|
<pre>
|
459
465
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/of.rb, line 9</span>
|
460
466
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">of</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -466,15 +472,15 @@ the yield results.
|
|
466
472
|
</div>
|
467
473
|
<div class="method">
|
468
474
|
<div class="title">
|
469
|
-
<a name="
|
475
|
+
<a name="M000009"></a><b>ordinal</b>()
|
470
476
|
</div>
|
471
477
|
<div class="aka">
|
472
478
|
This method is also aliased as
|
473
|
-
<a href="Integer.html#
|
479
|
+
<a href="Integer.html#M000010">ordinalize</a>
|
474
480
|
</div>
|
475
481
|
<div class="sourcecode">
|
476
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
477
|
-
<div id="
|
482
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">+</a> ]</p>
|
483
|
+
<div id="M000009_source" class="dyn-source">
|
478
484
|
<pre>
|
479
485
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/ordinal.rb, line 3</span>
|
480
486
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ordinal</span>
|
@@ -499,26 +505,26 @@ the yield results.
|
|
499
505
|
</div>
|
500
506
|
<div class="method">
|
501
507
|
<div class="title">
|
502
|
-
<a name="
|
508
|
+
<a name="M000010"></a><b>ordinalize</b>()
|
503
509
|
</div>
|
504
510
|
<div class="description">
|
505
511
|
<p>
|
506
|
-
Alias for <a href="Integer.html#
|
512
|
+
Alias for <a href="Integer.html#M000009">ordinal</a>
|
507
513
|
</p>
|
508
514
|
</div>
|
509
515
|
</div>
|
510
516
|
<div class="method">
|
511
517
|
<div class="title">
|
512
|
-
<a name="
|
518
|
+
<a name="M000018"></a><b>round_at</b>(*args)
|
513
519
|
</div>
|
514
520
|
<div class="description">
|
515
521
|
<p>
|
516
|
-
See <a href="Float.html#
|
522
|
+
See <a href="Float.html#M000206">Float#round_at</a>.
|
517
523
|
</p>
|
518
524
|
</div>
|
519
525
|
<div class="sourcecode">
|
520
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
521
|
-
<div id="
|
526
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">+</a> ]</p>
|
527
|
+
<div id="M000018_source" class="dyn-source">
|
522
528
|
<pre>
|
523
529
|
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 27</span>
|
524
530
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -530,16 +536,16 @@ See <a href="Float.html#M000202">Float#round_at</a>.
|
|
530
536
|
</div>
|
531
537
|
<div class="method">
|
532
538
|
<div class="title">
|
533
|
-
<a name="
|
539
|
+
<a name="M000019"></a><b>round_to</b>(*args)
|
534
540
|
</div>
|
535
541
|
<div class="description">
|
536
542
|
<p>
|
537
|
-
See <a href="Float.html#
|
543
|
+
See <a href="Float.html#M000207">Float#round_to</a>.
|
538
544
|
</p>
|
539
545
|
</div>
|
540
546
|
<div class="sourcecode">
|
541
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
542
|
-
<div id="
|
547
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">+</a> ]</p>
|
548
|
+
<div id="M000019_source" class="dyn-source">
|
543
549
|
<pre>
|
544
550
|
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 33</span>
|
545
551
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -551,21 +557,21 @@ See <a href="Float.html#M000203">Float#round_to</a>.
|
|
551
557
|
</div>
|
552
558
|
<div class="method">
|
553
559
|
<div class="title">
|
554
|
-
<a name="
|
560
|
+
<a name="M000016"></a><b>times_collect</b>(&block)
|
555
561
|
</div>
|
556
562
|
<div class="description">
|
557
563
|
<p>
|
558
|
-
Alias for <a href="Integer.html#
|
564
|
+
Alias for <a href="Integer.html#M000015">of</a>
|
559
565
|
</p>
|
560
566
|
</div>
|
561
567
|
</div>
|
562
568
|
<div class="method">
|
563
569
|
<div class="title">
|
564
|
-
<a name="
|
570
|
+
<a name="M000017"></a><b>times_map</b>(&block)
|
565
571
|
</div>
|
566
572
|
<div class="description">
|
567
573
|
<p>
|
568
|
-
Alias for <a href="Integer.html#
|
574
|
+
Alias for <a href="Integer.html#M000015">of</a>
|
569
575
|
</p>
|
570
576
|
</div>
|
571
577
|
</div>
|