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
@@ -92,15 +92,15 @@ file is represented by a object which is populated with strings.
|
|
92
92
|
|
93
93
|
|
94
94
|
<div class="sectiontitle">Methods</div>
|
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="#
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000410">[]</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000411">[]=</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000409">new</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000415">read_comment_from_file</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000414">read_from_file</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000412">restore</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000417">to_s</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000413">update</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M000416">write_to_file</a></span>
|
104
104
|
|
105
105
|
|
106
106
|
|
@@ -135,11 +135,11 @@ holds the comments on the top of the file
|
|
135
135
|
<div class="sectiontitle">Public Class methods</div>
|
136
136
|
<div class="method">
|
137
137
|
<div class="title">
|
138
|
-
<a name="
|
138
|
+
<a name="M000409"></a><b>new</b>(path, load=nil)
|
139
139
|
</div>
|
140
140
|
<div class="description">
|
141
141
|
<p>
|
142
|
-
Creating a <a href="Ini.html#
|
142
|
+
Creating a <a href="Ini.html#M000409">new</a> <a href="Ini.html">Ini</a>
|
143
143
|
object
|
144
144
|
</p>
|
145
145
|
<p>
|
@@ -152,8 +152,8 @@ data if possible
|
|
152
152
|
</pre>
|
153
153
|
</div>
|
154
154
|
<div class="sourcecode">
|
155
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
156
|
-
<div id="
|
155
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000409_source')" id="l_M000409_source">+</a> ]</p>
|
156
|
+
<div id="M000409_source" class="dyn-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 105</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">load</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -170,7 +170,7 @@ data if possible
|
|
170
170
|
</div>
|
171
171
|
<div class="method">
|
172
172
|
<div class="title">
|
173
|
-
<a name="
|
173
|
+
<a name="M000415"></a><b>read_comment_from_file</b>(path)
|
174
174
|
</div>
|
175
175
|
<div class="description">
|
176
176
|
<p>
|
@@ -184,8 +184,8 @@ Returns a string with comments from the beginning of the ini file.
|
|
184
184
|
</p>
|
185
185
|
</div>
|
186
186
|
<div class="sourcecode">
|
187
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
188
|
-
<div id="
|
187
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000415_source')" id="l_M000415_source">+</a> ]</p>
|
188
|
+
<div id="M000415_source" class="dyn-source">
|
189
189
|
<pre>
|
190
190
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 198</span>
|
191
191
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">read_comment_from_file</span>(<span class="ruby-identifier">path</span>)
|
@@ -206,7 +206,7 @@ Returns a string with comments from the beginning of the ini file.
|
|
206
206
|
</div>
|
207
207
|
<div class="method">
|
208
208
|
<div class="title">
|
209
|
-
<a name="
|
209
|
+
<a name="M000414"></a><b>read_from_file</b>(path)
|
210
210
|
</div>
|
211
211
|
<div class="description">
|
212
212
|
<p>
|
@@ -220,8 +220,8 @@ returns a hash which represents the data from the file
|
|
220
220
|
</p>
|
221
221
|
</div>
|
222
222
|
<div class="sourcecode">
|
223
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
224
|
-
<div id="
|
223
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000414_source')" id="l_M000414_source">+</a> ]</p>
|
224
|
+
<div id="M000414_source" class="dyn-source">
|
225
225
|
<pre>
|
226
226
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 153</span>
|
227
227
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">read_from_file</span>(<span class="ruby-identifier">path</span>)
|
@@ -266,7 +266,7 @@ returns a hash which represents the data from the file
|
|
266
266
|
</div>
|
267
267
|
<div class="method">
|
268
268
|
<div class="title">
|
269
|
-
<a name="
|
269
|
+
<a name="M000417"></a><b>to_s</b>(inihash={})
|
270
270
|
</div>
|
271
271
|
<div class="description">
|
272
272
|
<p>
|
@@ -281,8 +281,8 @@ Returns a string in the ini file format.
|
|
281
281
|
</p>
|
282
282
|
</div>
|
283
283
|
<div class="sourcecode">
|
284
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
285
|
-
<div id="
|
284
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000417_source')" id="l_M000417_source">+</a> ]</p>
|
285
|
+
<div id="M000417_source" class="dyn-source">
|
286
286
|
<pre>
|
287
287
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 243</span>
|
288
288
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-identifier">inihash</span>={})
|
@@ -310,7 +310,7 @@ Returns a string in the ini file format.
|
|
310
310
|
</div>
|
311
311
|
<div class="method">
|
312
312
|
<div class="title">
|
313
|
-
<a name="
|
313
|
+
<a name="M000416"></a><b>write_to_file</b>(path, inihash={}, comment=nil)
|
314
314
|
</div>
|
315
315
|
<div class="description">
|
316
316
|
<p>
|
@@ -327,8 +327,8 @@ string with comments which appear on the
|
|
327
327
|
</pre>
|
328
328
|
</div>
|
329
329
|
<div class="sourcecode">
|
330
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
331
|
-
<div id="
|
330
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000416_source')" id="l_M000416_source">+</a> ]</p>
|
331
|
+
<div id="M000416_source" class="dyn-source">
|
332
332
|
<pre>
|
333
333
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 220</span>
|
334
334
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Ini</span>.<span class="ruby-identifier">write_to_file</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">inihash</span>={}, <span class="ruby-identifier">comment</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -353,7 +353,7 @@ string with comments which appear on the
|
|
353
353
|
<div class="sectiontitle">Public Instance methods</div>
|
354
354
|
<div class="method">
|
355
355
|
<div class="title">
|
356
|
-
<a name="
|
356
|
+
<a name="M000410"></a><b>[]</b>(key)
|
357
357
|
</div>
|
358
358
|
<div class="description">
|
359
359
|
<p>
|
@@ -361,8 +361,8 @@ Retrive the ini data for the key <tt>key</tt>
|
|
361
361
|
</p>
|
362
362
|
</div>
|
363
363
|
<div class="sourcecode">
|
364
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
365
|
-
<div id="
|
364
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">+</a> ]</p>
|
365
|
+
<div id="M000410_source" class="dyn-source">
|
366
366
|
<pre>
|
367
367
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 117</span>
|
368
368
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">key</span>)
|
@@ -374,7 +374,7 @@ Retrive the ini data for the key <tt>key</tt>
|
|
374
374
|
</div>
|
375
375
|
<div class="method">
|
376
376
|
<div class="title">
|
377
|
-
<a name="
|
377
|
+
<a name="M000411"></a><b>[]=</b>(key, value)
|
378
378
|
</div>
|
379
379
|
<div class="description">
|
380
380
|
<p>
|
@@ -382,8 +382,8 @@ Set the ini data for the key <tt>key</tt>
|
|
382
382
|
</p>
|
383
383
|
</div>
|
384
384
|
<div class="sourcecode">
|
385
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
386
|
-
<div id="
|
385
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000411_source')" id="l_M000411_source">+</a> ]</p>
|
386
|
+
<div id="M000411_source" class="dyn-source">
|
387
387
|
<pre>
|
388
388
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 124</span>
|
389
389
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
|
@@ -398,7 +398,7 @@ Set the ini data for the key <tt>key</tt>
|
|
398
398
|
</div>
|
399
399
|
<div class="method">
|
400
400
|
<div class="title">
|
401
|
-
<a name="
|
401
|
+
<a name="M000412"></a><b>restore</b>()
|
402
402
|
</div>
|
403
403
|
<div class="description">
|
404
404
|
<p>
|
@@ -406,8 +406,8 @@ Restores the data from file into the object
|
|
406
406
|
</p>
|
407
407
|
</div>
|
408
408
|
<div class="sourcecode">
|
409
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
410
|
-
<div id="
|
409
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">+</a> ]</p>
|
410
|
+
<div id="M000412_source" class="dyn-source">
|
411
411
|
<pre>
|
412
412
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 134</span>
|
413
413
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>()
|
@@ -420,7 +420,7 @@ Restores the data from file into the object
|
|
420
420
|
</div>
|
421
421
|
<div class="method">
|
422
422
|
<div class="title">
|
423
|
-
<a name="
|
423
|
+
<a name="M000413"></a><b>update</b>()
|
424
424
|
</div>
|
425
425
|
<div class="description">
|
426
426
|
<p>
|
@@ -428,8 +428,8 @@ Store data from the object in the file
|
|
428
428
|
</p>
|
429
429
|
</div>
|
430
430
|
<div class="sourcecode">
|
431
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
432
|
-
<div id="
|
431
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000413_source')" id="l_M000413_source">+</a> ]</p>
|
432
|
+
<div id="M000413_source" class="dyn-source">
|
433
433
|
<pre>
|
434
434
|
<span class="ruby-comment cmt"># File lib/more/facets/ini.rb, line 142</span>
|
435
435
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>()
|
@@ -75,7 +75,7 @@ Initialize modules, almost as if they were classes.
|
|
75
75
|
</p>
|
76
76
|
<p>
|
77
77
|
Alows a module to be used much like a class, by defining a <a
|
78
|
-
href="Instantiable.html#
|
78
|
+
href="Instantiable.html#M000949">new</a> method that creates a class on
|
79
79
|
demand.
|
80
80
|
</p>
|
81
81
|
</div>
|
@@ -83,8 +83,8 @@ demand.
|
|
83
83
|
|
84
84
|
|
85
85
|
<div class="sectiontitle">Methods</div>
|
86
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000948">append_features</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000949">new</a></span>
|
88
88
|
|
89
89
|
|
90
90
|
|
@@ -94,11 +94,11 @@ demand.
|
|
94
94
|
<div class="sectiontitle">Public Class methods</div>
|
95
95
|
<div class="method">
|
96
96
|
<div class="title">
|
97
|
-
<a name="
|
97
|
+
<a name="M000948"></a><b>append_features</b>(mod)
|
98
98
|
</div>
|
99
99
|
<div class="sourcecode">
|
100
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
101
|
-
<div id="
|
100
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000948_source')" id="l_M000948_source">+</a> ]</p>
|
101
|
+
<div id="M000948_source" class="dyn-source">
|
102
102
|
<pre>
|
103
103
|
<span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 32</span>
|
104
104
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
@@ -111,7 +111,7 @@ demand.
|
|
111
111
|
<div class="sectiontitle">Public Instance methods</div>
|
112
112
|
<div class="method">
|
113
113
|
<div class="title">
|
114
|
-
<a name="
|
114
|
+
<a name="M000949"></a><b>new</b>(*args,&blk)
|
115
115
|
</div>
|
116
116
|
<div class="description">
|
117
117
|
<p>
|
@@ -119,8 +119,8 @@ Never use a class agian! ;)
|
|
119
119
|
</p>
|
120
120
|
</div>
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000949_source')" id="l_M000949_source">+</a> ]</p>
|
123
|
+
<div id="M000949_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/more/facets/instantiable.rb, line 38</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -104,8 +104,8 @@ name is probably still out there.
|
|
104
104
|
|
105
105
|
|
106
106
|
<div class="sectiontitle">Methods</div>
|
107
|
-
<span style="padding-right: 5px;"><a href="#
|
108
|
-
<span style="padding-right: 5px;"><a href="#
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000970">append_features</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000971">singleton_method_added</a></span>
|
109
109
|
|
110
110
|
|
111
111
|
|
@@ -115,11 +115,11 @@ name is probably still out there.
|
|
115
115
|
<div class="sectiontitle">Public Class methods</div>
|
116
116
|
<div class="method">
|
117
117
|
<div class="title">
|
118
|
-
<a name="
|
118
|
+
<a name="M000970"></a><b>append_features</b>(mod)
|
119
119
|
</div>
|
120
120
|
<div class="sourcecode">
|
121
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
122
|
-
<div id="
|
121
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000970_source')" id="l_M000970_source">+</a> ]</p>
|
122
|
+
<div id="M000970_source" class="dyn-source">
|
123
123
|
<pre>
|
124
124
|
<span class="ruby-comment cmt"># File lib/more/facets/instantize.rb, line 77</span>
|
125
125
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
@@ -132,11 +132,11 @@ name is probably still out there.
|
|
132
132
|
<div class="sectiontitle">Public Instance methods</div>
|
133
133
|
<div class="method">
|
134
134
|
<div class="title">
|
135
|
-
<a name="
|
135
|
+
<a name="M000971"></a><b>singleton_method_added</b>( meth )
|
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('M000971_source')" id="l_M000971_source">+</a> ]</p>
|
139
|
+
<div id="M000971_source" class="dyn-source">
|
140
140
|
<pre>
|
141
141
|
<span class="ruby-comment cmt"># File lib/more/facets/instantize.rb, line 81</span>
|
142
142
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_added</span>( <span class="ruby-identifier">meth</span> )
|
@@ -114,42 +114,42 @@ href="Interval.html">Interval</a> depends on #+ and #<=>, as well as
|
|
114
114
|
|
115
115
|
|
116
116
|
<div class="sectiontitle">Methods</div>
|
117
|
-
<span style="padding-right: 5px;"><a href="#
|
118
|
-
<span style="padding-right: 5px;"><a href="#
|
119
|
-
<span style="padding-right: 5px;"><a href="#
|
120
|
-
<span style="padding-right: 5px;"><a href="#
|
121
|
-
<span style="padding-right: 5px;"><a href="#
|
122
|
-
<span style="padding-right: 5px;"><a href="#
|
123
|
-
<span style="padding-right: 5px;"><a href="#
|
124
|
-
<span style="padding-right: 5px;"><a href="#
|
125
|
-
<span style="padding-right: 5px;"><a href="#
|
126
|
-
<span style="padding-right: 5px;"><a href="#
|
127
|
-
<span style="padding-right: 5px;"><a href="#
|
128
|
-
<span style="padding-right: 5px;"><a href="#
|
129
|
-
<span style="padding-right: 5px;"><a href="#
|
130
|
-
<span style="padding-right: 5px;"><a href="#
|
131
|
-
<span style="padding-right: 5px;"><a href="#
|
132
|
-
<span style="padding-right: 5px;"><a href="#
|
133
|
-
<span style="padding-right: 5px;"><a href="#
|
134
|
-
<span style="padding-right: 5px;"><a href="#
|
135
|
-
<span style="padding-right: 5px;"><a href="#
|
136
|
-
<span style="padding-right: 5px;"><a href="#
|
137
|
-
<span style="padding-right: 5px;"><a href="#
|
138
|
-
<span style="padding-right: 5px;"><a href="#
|
139
|
-
<span style="padding-right: 5px;"><a href="#
|
140
|
-
<span style="padding-right: 5px;"><a href="#
|
141
|
-
<span style="padding-right: 5px;"><a href="#
|
142
|
-
<span style="padding-right: 5px;"><a href="#
|
143
|
-
<span style="padding-right: 5px;"><a href="#
|
144
|
-
<span style="padding-right: 5px;"><a href="#
|
145
|
-
<span style="padding-right: 5px;"><a href="#
|
146
|
-
<span style="padding-right: 5px;"><a href="#
|
147
|
-
<span style="padding-right: 5px;"><a href="#
|
148
|
-
<span style="padding-right: 5px;"><a href="#
|
149
|
-
<span style="padding-right: 5px;"><a href="#
|
150
|
-
<span style="padding-right: 5px;"><a href="#
|
151
|
-
<span style="padding-right: 5px;"><a href="#
|
152
|
-
<span style="padding-right: 5px;"><a href="#
|
117
|
+
<span style="padding-right: 5px;"><a href="#M000608">+@</a></span>
|
118
|
+
<span style="padding-right: 5px;"><a href="#M000609">-@</a></span>
|
119
|
+
<span style="padding-right: 5px;"><a href="#M000618">===</a></span>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000587">[]</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000594">begin</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000601">closed</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000598">degenerate?</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000600">direction</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000612">distance</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000620">each</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000595">end</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000622">eql?</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000596">exclude_begin?</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000597">exclude_end?</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000592">exclude_first?</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000593">exclude_last?</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000590">first</a></span>
|
134
|
+
<span style="padding-right: 5px;"><a href="#M000604">first_closed</a></span>
|
135
|
+
<span style="padding-right: 5px;"><a href="#M000606">first_opened</a></span>
|
136
|
+
<span style="padding-right: 5px;"><a href="#M000603">half_closed</a></span>
|
137
|
+
<span style="padding-right: 5px;"><a href="#M000617">include?</a></span>
|
138
|
+
<span style="padding-right: 5px;"><a href="#M000591">last</a></span>
|
139
|
+
<span style="padding-right: 5px;"><a href="#M000605">last_closed</a></span>
|
140
|
+
<span style="padding-right: 5px;"><a href="#M000607">last_opened</a></span>
|
141
|
+
<span style="padding-right: 5px;"><a href="#M000613">length</a></span>
|
142
|
+
<span style="padding-right: 5px;"><a href="#M000616">max</a></span>
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000619">member?</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000615">min</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000588">new</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000599">null?</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000602">opened</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000611">reversed</a></span>
|
149
|
+
<span style="padding-right: 5px;"><a href="#M000589">sentinels</a></span>
|
150
|
+
<span style="padding-right: 5px;"><a href="#M000614">size</a></span>
|
151
|
+
<span style="padding-right: 5px;"><a href="#M000621">step</a></span>
|
152
|
+
<span style="padding-right: 5px;"><a href="#M000610">~</a></span>
|
153
153
|
|
154
154
|
<div class="sectiontitle">Included Modules</div>
|
155
155
|
<ul>
|
@@ -164,11 +164,11 @@ href="Interval.html">Interval</a> depends on #+ and #<=>, as well as
|
|
164
164
|
<div class="sectiontitle">Public Class methods</div>
|
165
165
|
<div class="method">
|
166
166
|
<div class="title">
|
167
|
-
<a name="
|
167
|
+
<a name="M000587"></a><b>[]</b>( *args )
|
168
168
|
</div>
|
169
169
|
<div class="sourcecode">
|
170
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
171
|
-
<div id="
|
170
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000587_source')" id="l_M000587_source">+</a> ]</p>
|
171
|
+
<div id="M000587_source" class="dyn-source">
|
172
172
|
<pre>
|
173
173
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 89</span>
|
174
174
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
@@ -180,11 +180,11 @@ href="Interval.html">Interval</a> depends on #+ and #<=>, as well as
|
|
180
180
|
</div>
|
181
181
|
<div class="method">
|
182
182
|
<div class="title">
|
183
|
-
<a name="
|
183
|
+
<a name="M000588"></a><b>new</b>(first, last, exclude_first=false, exclude_last=false )
|
184
184
|
</div>
|
185
185
|
<div class="sourcecode">
|
186
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
187
|
-
<div id="
|
186
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000588_source')" id="l_M000588_source">+</a> ]</p>
|
187
|
+
<div id="M000588_source" class="dyn-source">
|
188
188
|
<pre>
|
189
189
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 93</span>
|
190
190
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-identifier">exclude_first</span>=<span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">exclude_last</span>=<span class="ruby-keyword kw">false</span> )
|
@@ -202,19 +202,19 @@ href="Interval.html">Interval</a> depends on #+ and #<=>, as well as
|
|
202
202
|
<div class="sectiontitle">Public Instance methods</div>
|
203
203
|
<div class="method">
|
204
204
|
<div class="title">
|
205
|
-
<a name="
|
205
|
+
<a name="M000608"></a><b>+@</b>()
|
206
206
|
</div>
|
207
207
|
<div class="description">
|
208
208
|
<p>
|
209
|
-
Unary shorthands. These return a <a href="Interval.html#
|
210
|
-
interval exclusive of <a href="Interval.html#
|
211
|
-
href="Interval.html#
|
212
|
-
href="Interval.html#
|
209
|
+
Unary shorthands. These return a <a href="Interval.html#M000588">new</a>
|
210
|
+
interval exclusive of <a href="Interval.html#M000590">first</a>, <a
|
211
|
+
href="Interval.html#M000591">last</a> or both <a
|
212
|
+
href="Interval.html#M000589">sentinels</a>, repectively.
|
213
213
|
</p>
|
214
214
|
</div>
|
215
215
|
<div class="sourcecode">
|
216
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
217
|
-
<div id="
|
216
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000608_source')" id="l_M000608_source">+</a> ]</p>
|
217
|
+
<div id="M000608_source" class="dyn-source">
|
218
218
|
<pre>
|
219
219
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 159</span>
|
220
220
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">+@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -224,11 +224,11 @@ href="Interval.html#M000543">sentinels</a>, repectively.
|
|
224
224
|
</div>
|
225
225
|
<div class="method">
|
226
226
|
<div class="title">
|
227
|
-
<a name="
|
227
|
+
<a name="M000609"></a><b>-@</b>()
|
228
228
|
</div>
|
229
229
|
<div class="sourcecode">
|
230
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
231
|
-
<div id="
|
230
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000609_source')" id="l_M000609_source">+</a> ]</p>
|
231
|
+
<div id="M000609_source" class="dyn-source">
|
232
232
|
<pre>
|
233
233
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 160</span>
|
234
234
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">-@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -238,7 +238,7 @@ href="Interval.html#M000543">sentinels</a>, repectively.
|
|
238
238
|
</div>
|
239
239
|
<div class="method">
|
240
240
|
<div class="title">
|
241
|
-
<a name="
|
241
|
+
<a name="M000618"></a><b>===</b>(x)
|
242
242
|
</div>
|
243
243
|
<div class="description">
|
244
244
|
<p>
|
@@ -248,27 +248,27 @@ Alias for include?
|
|
248
248
|
</div>
|
249
249
|
<div class="method">
|
250
250
|
<div class="title">
|
251
|
-
<a name="
|
251
|
+
<a name="M000594"></a><b>begin</b>()
|
252
252
|
</div>
|
253
253
|
<div class="description">
|
254
254
|
<p>
|
255
|
-
Alias for <a href="Interval.html#
|
255
|
+
Alias for <a href="Interval.html#M000590">first</a>
|
256
256
|
</p>
|
257
257
|
</div>
|
258
258
|
</div>
|
259
259
|
<div class="method">
|
260
260
|
<div class="title">
|
261
|
-
<a name="
|
261
|
+
<a name="M000601"></a><b>closed</b>()
|
262
262
|
</div>
|
263
263
|
<div class="description">
|
264
264
|
<p>
|
265
|
-
Returns a <a href="Interval.html#
|
266
|
-
both <a href="Interval.html#
|
265
|
+
Returns a <a href="Interval.html#M000588">new</a> interval inclusive of of
|
266
|
+
both <a href="Interval.html#M000589">sentinels</a>.
|
267
267
|
</p>
|
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('M000601_source')" id="l_M000601_source">+</a> ]</p>
|
271
|
+
<div id="M000601_source" class="dyn-source">
|
272
272
|
<pre>
|
273
273
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 139</span>
|
274
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">closed</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -278,19 +278,19 @@ both <a href="Interval.html#M000543">sentinels</a>.
|
|
278
278
|
</div>
|
279
279
|
<div class="method">
|
280
280
|
<div class="title">
|
281
|
-
<a name="
|
281
|
+
<a name="M000598"></a><b>degenerate?</b>()
|
282
282
|
</div>
|
283
283
|
<div class="description">
|
284
284
|
<p>
|
285
285
|
Returns <tt>true</tt> if the start and <a
|
286
|
-
href="Interval.html#
|
287
|
-
href="Interval.html#
|
288
|
-
href="Interval.html#
|
286
|
+
href="Interval.html#M000595">end</a> <a
|
287
|
+
href="Interval.html#M000589">sentinels</a> are equal and the interval is <a
|
288
|
+
href="Interval.html#M000601">closed</a>; otherwise <tt>false</tt>.
|
289
289
|
</p>
|
290
290
|
</div>
|
291
291
|
<div class="sourcecode">
|
292
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
293
|
-
<div id="
|
292
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000598_source')" id="l_M000598_source">+</a> ]</p>
|
293
|
+
<div id="M000598_source" class="dyn-source">
|
294
294
|
<pre>
|
295
295
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 125</span>
|
296
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">degenerate?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-operator">!</span> (<span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">or</span> <span class="ruby-ivar">@exclusive_last</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -300,11 +300,11 @@ href="Interval.html#M000555">closed</a>; otherwise <tt>false</tt>.
|
|
300
300
|
</div>
|
301
301
|
<div class="method">
|
302
302
|
<div class="title">
|
303
|
-
<a name="
|
303
|
+
<a name="M000600"></a><b>direction</b>()
|
304
304
|
</div>
|
305
305
|
<div class="description">
|
306
306
|
<p>
|
307
|
-
Returns the <a href="Interval.html#
|
307
|
+
Returns the <a href="Interval.html#M000600">direction</a> of the interval
|
308
308
|
indicated by +1, 0 or -1.
|
309
309
|
</p>
|
310
310
|
<pre>
|
@@ -314,8 +314,8 @@ indicated by +1, 0 or -1.
|
|
314
314
|
</pre>
|
315
315
|
</div>
|
316
316
|
<div class="sourcecode">
|
317
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
318
|
-
<div id="
|
317
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000600_source')" id="l_M000600_source">+</a> ]</p>
|
318
|
+
<div id="M000600_source" class="dyn-source">
|
319
319
|
<pre>
|
320
320
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 136</span>
|
321
321
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">direction</span> ; <span class="ruby-ivar">@direction</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -325,28 +325,28 @@ indicated by +1, 0 or -1.
|
|
325
325
|
</div>
|
326
326
|
<div class="method">
|
327
327
|
<div class="title">
|
328
|
-
<a name="
|
328
|
+
<a name="M000612"></a><b>distance</b>()
|
329
329
|
</div>
|
330
330
|
<div class="description">
|
331
331
|
<p>
|
332
|
-
Returns the <a href="Interval.html#
|
333
|
-
the difference between the <a href="Interval.html#
|
334
|
-
href="Interval.html#
|
332
|
+
Returns the <a href="Interval.html#M000613">length</a> of the interval as
|
333
|
+
the difference between the <a href="Interval.html#M000590">first</a> and <a
|
334
|
+
href="Interval.html#M000591">last</a> elements. Returns <tt>nil</tt> if the
|
335
335
|
sentinal objects do not support <a
|
336
|
-
href="Interval.html#
|
337
|
-
href="Interval.html#
|
336
|
+
href="Interval.html#M000612">distance</a> comparison (<a
|
337
|
+
href="Interval.html#M000612">distance</a>). TODO: Add <tt>n</tt> parameter
|
338
338
|
to count segmentations like those produced by <a
|
339
|
-
href="Interval.html#
|
339
|
+
href="Interval.html#M000620">each</a>.
|
340
340
|
</p>
|
341
341
|
</div>
|
342
342
|
<div class="aka">
|
343
343
|
This method is also aliased as
|
344
|
-
<a href="Interval.html#
|
345
|
-
<a href="Interval.html#
|
344
|
+
<a href="Interval.html#M000613">length</a>
|
345
|
+
<a href="Interval.html#M000614">size</a>
|
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('M000612_source')" id="l_M000612_source">+</a> ]</p>
|
349
|
+
<div id="M000612_source" class="dyn-source">
|
350
350
|
<pre>
|
351
351
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 175</span>
|
352
352
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distance</span>
|
@@ -363,20 +363,20 @@ href="Interval.html#M000574">each</a>.
|
|
363
363
|
</div>
|
364
364
|
<div class="method">
|
365
365
|
<div class="title">
|
366
|
-
<a name="
|
366
|
+
<a name="M000620"></a><b>each</b>(n=1, d=nil) {|| ...}
|
367
367
|
</div>
|
368
368
|
<div class="description">
|
369
369
|
<p>
|
370
370
|
Iterates over the interval, passing <a
|
371
|
-
href="Interval.html#
|
371
|
+
href="Interval.html#M000620">each</a> _n_th element to the block. If n is
|
372
372
|
not given then n defaults to 1. Each _n_th <a
|
373
|
-
href="Interval.html#
|
374
|
-
n, depending on the <a href="Interval.html#
|
373
|
+
href="Interval.html#M000621">step</a> is determined by invoking +++ or +\-+
|
374
|
+
n, depending on the <a href="Interval.html#M000600">direction</a> of the
|
375
375
|
interval. If n is negative the iteration is preformed in reverse form <a
|
376
|
-
href="Interval.html#
|
376
|
+
href="Interval.html#M000595">end</a> sentinal to front sentinal. A second
|
377
377
|
parameter, d, can be given in which case the applied <a
|
378
|
-
href="Interval.html#
|
379
|
-
interval‘s <a href="Interval.html#
|
378
|
+
href="Interval.html#M000621">step</a> is calculated as a fraction of the
|
379
|
+
interval‘s <a href="Interval.html#M000613">length</a> times n / d.
|
380
380
|
This allows iteration over the whole interval in equal sized segments.
|
381
381
|
</p>
|
382
382
|
<pre>
|
@@ -387,11 +387,11 @@ This allows iteration over the whole interval in equal sized segments.
|
|
387
387
|
</div>
|
388
388
|
<div class="aka">
|
389
389
|
This method is also aliased as
|
390
|
-
<a href="Interval.html#
|
390
|
+
<a href="Interval.html#M000621">step</a>
|
391
391
|
</div>
|
392
392
|
<div class="sourcecode">
|
393
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
394
|
-
<div id="
|
393
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000620_source')" id="l_M000620_source">+</a> ]</p>
|
394
|
+
<div id="M000620_source" class="dyn-source">
|
395
395
|
<pre>
|
396
396
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 239</span>
|
397
397
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>, <span class="ruby-identifier">d</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt"># :yield:</span>
|
@@ -427,17 +427,17 @@ This allows iteration over the whole interval in equal sized segments.
|
|
427
427
|
</div>
|
428
428
|
<div class="method">
|
429
429
|
<div class="title">
|
430
|
-
<a name="
|
430
|
+
<a name="M000595"></a><b>end</b>()
|
431
431
|
</div>
|
432
432
|
<div class="description">
|
433
433
|
<p>
|
434
|
-
Alias for <a href="Interval.html#
|
434
|
+
Alias for <a href="Interval.html#M000591">last</a>
|
435
435
|
</p>
|
436
436
|
</div>
|
437
437
|
</div>
|
438
438
|
<div class="method">
|
439
439
|
<div class="title">
|
440
|
-
<a name="
|
440
|
+
<a name="M000622"></a><b>eql?</b>(other)
|
441
441
|
</div>
|
442
442
|
<div class="description">
|
443
443
|
<p>
|
@@ -445,8 +445,8 @@ Compares two intervals to see if they are equal
|
|
445
445
|
</p>
|
446
446
|
</div>
|
447
447
|
<div class="sourcecode">
|
448
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
449
|
-
<div id="
|
448
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000622_source')" id="l_M000622_source">+</a> ]</p>
|
449
|
+
<div id="M000622_source" class="dyn-source">
|
450
450
|
<pre>
|
451
451
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 274</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">other</span>)
|
@@ -462,7 +462,7 @@ Compares two intervals to see if they are equal
|
|
462
462
|
</div>
|
463
463
|
<div class="method">
|
464
464
|
<div class="title">
|
465
|
-
<a name="
|
465
|
+
<a name="M000596"></a><b>exclude_begin?</b>()
|
466
466
|
</div>
|
467
467
|
<div class="description">
|
468
468
|
<p>
|
@@ -472,7 +472,7 @@ Alias for exclude_first?
|
|
472
472
|
</div>
|
473
473
|
<div class="method">
|
474
474
|
<div class="title">
|
475
|
-
<a name="
|
475
|
+
<a name="M000597"></a><b>exclude_end?</b>()
|
476
476
|
</div>
|
477
477
|
<div class="description">
|
478
478
|
<p>
|
@@ -482,15 +482,15 @@ Alias for exclude_last?
|
|
482
482
|
</div>
|
483
483
|
<div class="method">
|
484
484
|
<div class="title">
|
485
|
-
<a name="
|
485
|
+
<a name="M000592"></a><b>exclude_first?</b>()
|
486
486
|
</div>
|
487
487
|
<div class="aka">
|
488
488
|
This method is also aliased as
|
489
|
-
<a href="Interval.html#
|
489
|
+
<a href="Interval.html#M000596">exclude_begin?</a>
|
490
490
|
</div>
|
491
491
|
<div class="sourcecode">
|
492
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
493
|
-
<div id="
|
492
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000592_source')" id="l_M000592_source">+</a> ]</p>
|
493
|
+
<div id="M000592_source" class="dyn-source">
|
494
494
|
<pre>
|
495
495
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 115</span>
|
496
496
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_first?</span> ; <span class="ruby-ivar">@exclude_first</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -500,15 +500,15 @@ Alias for exclude_last?
|
|
500
500
|
</div>
|
501
501
|
<div class="method">
|
502
502
|
<div class="title">
|
503
|
-
<a name="
|
503
|
+
<a name="M000593"></a><b>exclude_last?</b>()
|
504
504
|
</div>
|
505
505
|
<div class="aka">
|
506
506
|
This method is also aliased as
|
507
|
-
<a href="Interval.html#
|
507
|
+
<a href="Interval.html#M000597">exclude_end?</a>
|
508
508
|
</div>
|
509
509
|
<div class="sourcecode">
|
510
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
511
|
-
<div id="
|
510
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000593_source')" id="l_M000593_source">+</a> ]</p>
|
511
|
+
<div id="M000593_source" class="dyn-source">
|
512
512
|
<pre>
|
513
513
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 116</span>
|
514
514
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude_last?</span> ; <span class="ruby-ivar">@exclude_last</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -518,21 +518,21 @@ Alias for exclude_last?
|
|
518
518
|
</div>
|
519
519
|
<div class="method">
|
520
520
|
<div class="title">
|
521
|
-
<a name="
|
521
|
+
<a name="M000590"></a><b>first</b>()
|
522
522
|
</div>
|
523
523
|
<div class="description">
|
524
524
|
<p>
|
525
|
-
Returns the <a href="Interval.html#
|
526
|
-
href="Interval.html#
|
525
|
+
Returns the <a href="Interval.html#M000590">first</a> or <a
|
526
|
+
href="Interval.html#M000591">last</a> sentinal of the interval.
|
527
527
|
</p>
|
528
528
|
</div>
|
529
529
|
<div class="aka">
|
530
530
|
This method is also aliased as
|
531
|
-
<a href="Interval.html#
|
531
|
+
<a href="Interval.html#M000594">begin</a>
|
532
532
|
</div>
|
533
533
|
<div class="sourcecode">
|
534
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
535
|
-
<div id="
|
534
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000590_source')" id="l_M000590_source">+</a> ]</p>
|
535
|
+
<div id="M000590_source" class="dyn-source">
|
536
536
|
<pre>
|
537
537
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 111</span>
|
538
538
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span> ; <span class="ruby-ivar">@first</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -542,19 +542,19 @@ href="Interval.html#M000545">last</a> sentinal of the interval.
|
|
542
542
|
</div>
|
543
543
|
<div class="method">
|
544
544
|
<div class="title">
|
545
|
-
<a name="
|
545
|
+
<a name="M000604"></a><b>first_closed</b>()
|
546
546
|
</div>
|
547
547
|
<div class="description">
|
548
548
|
<p>
|
549
|
-
Returns a <a href="Interval.html#
|
550
|
-
two <a href="Interval.html#
|
551
|
-
href="Interval.html#
|
552
|
-
href="Interval.html#
|
549
|
+
Returns a <a href="Interval.html#M000588">new</a> interval with one of the
|
550
|
+
two <a href="Interval.html#M000589">sentinels</a> <a
|
551
|
+
href="Interval.html#M000602">opened</a> or <a
|
552
|
+
href="Interval.html#M000601">closed</a>
|
553
553
|
</p>
|
554
554
|
</div>
|
555
555
|
<div class="sourcecode">
|
556
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
557
|
-
<div id="
|
556
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000604_source')" id="l_M000604_source">+</a> ]</p>
|
557
|
+
<div id="M000604_source" class="dyn-source">
|
558
558
|
<pre>
|
559
559
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 152</span>
|
560
560
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -564,11 +564,11 @@ href="Interval.html#M000555">closed</a>
|
|
564
564
|
</div>
|
565
565
|
<div class="method">
|
566
566
|
<div class="title">
|
567
|
-
<a name="
|
567
|
+
<a name="M000606"></a><b>first_opened</b>()
|
568
568
|
</div>
|
569
569
|
<div class="sourcecode">
|
570
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
571
|
-
<div id="
|
570
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000606_source')" id="l_M000606_source">+</a> ]</p>
|
571
|
+
<div id="M000606_source" class="dyn-source">
|
572
572
|
<pre>
|
573
573
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 154</span>
|
574
574
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -578,21 +578,21 @@ href="Interval.html#M000555">closed</a>
|
|
578
578
|
</div>
|
579
579
|
<div class="method">
|
580
580
|
<div class="title">
|
581
|
-
<a name="
|
581
|
+
<a name="M000603"></a><b>half_closed</b>(e=false)
|
582
582
|
</div>
|
583
583
|
<div class="description">
|
584
584
|
<p>
|
585
|
-
Returns a <a href="Interval.html#
|
586
|
-
<a href="Interval.html#
|
587
|
-
href="Interval.html#
|
588
|
-
is false, the deafult, then the <a href="Interval.html#
|
585
|
+
Returns a <a href="Interval.html#M000588">new</a> interval with either the
|
586
|
+
<a href="Interval.html#M000590">first</a> or the <a
|
587
|
+
href="Interval.html#M000591">last</a> sentinel exclusive. If the parameter
|
588
|
+
is false, the deafult, then the <a href="Interval.html#M000590">first</a>
|
589
589
|
sentinel is excluded; if the parameter is true, the <a
|
590
|
-
href="Interval.html#
|
590
|
+
href="Interval.html#M000591">last</a> sentinel is excluded.
|
591
591
|
</p>
|
592
592
|
</div>
|
593
593
|
<div class="sourcecode">
|
594
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
595
|
-
<div id="
|
594
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000603_source')" id="l_M000603_source">+</a> ]</p>
|
595
|
+
<div id="M000603_source" class="dyn-source">
|
596
596
|
<pre>
|
597
597
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 147</span>
|
598
598
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">half_closed</span>(<span class="ruby-identifier">e</span>=<span class="ruby-keyword kw">false</span>)
|
@@ -604,7 +604,7 @@ href="Interval.html#M000545">last</a> sentinel is excluded.
|
|
604
604
|
</div>
|
605
605
|
<div class="method">
|
606
606
|
<div class="title">
|
607
|
-
<a name="
|
607
|
+
<a name="M000617"></a><b>include?</b>(x)
|
608
608
|
</div>
|
609
609
|
<div class="description">
|
610
610
|
<p>
|
@@ -613,12 +613,12 @@ Returns true or false if the element is part of the interval.
|
|
613
613
|
</div>
|
614
614
|
<div class="aka">
|
615
615
|
This method is also aliased as
|
616
|
-
<a href="Interval.html#
|
617
|
-
<a href="Interval.html#
|
616
|
+
<a href="Interval.html#M000618">===</a>
|
617
|
+
<a href="Interval.html#M000619">member?</a>
|
618
618
|
</div>
|
619
619
|
<div class="sourcecode">
|
620
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
621
|
-
<div id="
|
620
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000617_source')" id="l_M000617_source">+</a> ]</p>
|
621
|
+
<div id="M000617_source" class="dyn-source">
|
622
622
|
<pre>
|
623
623
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 197</span>
|
624
624
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">x</span>)
|
@@ -633,15 +633,15 @@ Returns true or false if the element is part of the interval.
|
|
633
633
|
</div>
|
634
634
|
<div class="method">
|
635
635
|
<div class="title">
|
636
|
-
<a name="
|
636
|
+
<a name="M000591"></a><b>last</b>()
|
637
637
|
</div>
|
638
638
|
<div class="aka">
|
639
639
|
This method is also aliased as
|
640
|
-
<a href="Interval.html#
|
640
|
+
<a href="Interval.html#M000595">end</a>
|
641
641
|
</div>
|
642
642
|
<div class="sourcecode">
|
643
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
644
|
-
<div id="
|
643
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000591_source')" id="l_M000591_source">+</a> ]</p>
|
644
|
+
<div id="M000591_source" class="dyn-source">
|
645
645
|
<pre>
|
646
646
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 112</span>
|
647
647
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span> ; <span class="ruby-ivar">@last</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -651,11 +651,11 @@ Returns true or false if the element is part of the interval.
|
|
651
651
|
</div>
|
652
652
|
<div class="method">
|
653
653
|
<div class="title">
|
654
|
-
<a name="
|
654
|
+
<a name="M000605"></a><b>last_closed</b>()
|
655
655
|
</div>
|
656
656
|
<div class="sourcecode">
|
657
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
658
|
-
<div id="
|
657
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000605_source')" id="l_M000605_source">+</a> ]</p>
|
658
|
+
<div id="M000605_source" class="dyn-source">
|
659
659
|
<pre>
|
660
660
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 153</span>
|
661
661
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_closed</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">false</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -665,11 +665,11 @@ Returns true or false if the element is part of the interval.
|
|
665
665
|
</div>
|
666
666
|
<div class="method">
|
667
667
|
<div class="title">
|
668
|
-
<a name="
|
668
|
+
<a name="M000607"></a><b>last_opened</b>()
|
669
669
|
</div>
|
670
670
|
<div class="sourcecode">
|
671
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
672
|
-
<div id="
|
671
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000607_source')" id="l_M000607_source">+</a> ]</p>
|
672
|
+
<div id="M000607_source" class="dyn-source">
|
673
673
|
<pre>
|
674
674
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 155</span>
|
675
675
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_opened</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -679,27 +679,27 @@ Returns true or false if the element is part of the interval.
|
|
679
679
|
</div>
|
680
680
|
<div class="method">
|
681
681
|
<div class="title">
|
682
|
-
<a name="
|
682
|
+
<a name="M000613"></a><b>length</b>()
|
683
683
|
</div>
|
684
684
|
<div class="description">
|
685
685
|
<p>
|
686
|
-
Alias for <a href="Interval.html#
|
686
|
+
Alias for <a href="Interval.html#M000612">distance</a>
|
687
687
|
</p>
|
688
688
|
</div>
|
689
689
|
</div>
|
690
690
|
<div class="method">
|
691
691
|
<div class="title">
|
692
|
-
<a name="
|
692
|
+
<a name="M000616"></a><b>max</b>()
|
693
693
|
</div>
|
694
694
|
<div class="description">
|
695
695
|
<p>
|
696
|
-
Returns the greater of the <a href="Interval.html#
|
697
|
-
href="Interval.html#
|
696
|
+
Returns the greater of the <a href="Interval.html#M000590">first</a> and <a
|
697
|
+
href="Interval.html#M000591">last</a> sentinals.
|
698
698
|
</p>
|
699
699
|
</div>
|
700
700
|
<div class="sourcecode">
|
701
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
702
|
-
<div id="
|
701
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000616_source')" id="l_M000616_source">+</a> ]</p>
|
702
|
+
<div id="M000616_source" class="dyn-source">
|
703
703
|
<pre>
|
704
704
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 192</span>
|
705
705
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max</span>
|
@@ -711,7 +711,7 @@ href="Interval.html#M000545">last</a> sentinals.
|
|
711
711
|
</div>
|
712
712
|
<div class="method">
|
713
713
|
<div class="title">
|
714
|
-
<a name="
|
714
|
+
<a name="M000619"></a><b>member?</b>(x)
|
715
715
|
</div>
|
716
716
|
<div class="description">
|
717
717
|
<p>
|
@@ -721,17 +721,17 @@ Alias for include?
|
|
721
721
|
</div>
|
722
722
|
<div class="method">
|
723
723
|
<div class="title">
|
724
|
-
<a name="
|
724
|
+
<a name="M000615"></a><b>min</b>()
|
725
725
|
</div>
|
726
726
|
<div class="description">
|
727
727
|
<p>
|
728
|
-
Returns the lesser of the <a href="Interval.html#
|
729
|
-
href="Interval.html#
|
728
|
+
Returns the lesser of the <a href="Interval.html#M000590">first</a> and <a
|
729
|
+
href="Interval.html#M000591">last</a> sentinals.
|
730
730
|
</p>
|
731
731
|
</div>
|
732
732
|
<div class="sourcecode">
|
733
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
734
|
-
<div id="
|
733
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000615_source')" id="l_M000615_source">+</a> ]</p>
|
734
|
+
<div id="M000615_source" class="dyn-source">
|
735
735
|
<pre>
|
736
736
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 187</span>
|
737
737
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">min</span>
|
@@ -743,19 +743,19 @@ href="Interval.html#M000545">last</a> sentinals.
|
|
743
743
|
</div>
|
744
744
|
<div class="method">
|
745
745
|
<div class="title">
|
746
|
-
<a name="
|
746
|
+
<a name="M000599"></a><b>null?</b>()
|
747
747
|
</div>
|
748
748
|
<div class="description">
|
749
749
|
<p>
|
750
750
|
Returns <tt>true</tt> if the start and <a
|
751
|
-
href="Interval.html#
|
752
|
-
href="Interval.html#
|
751
|
+
href="Interval.html#M000595">end</a> <a
|
752
|
+
href="Interval.html#M000589">sentinels</a> are equal and the interval is
|
753
753
|
open; otherwise <tt>false</tt>.
|
754
754
|
</p>
|
755
755
|
</div>
|
756
756
|
<div class="sourcecode">
|
757
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
758
|
-
<div id="
|
757
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000599_source')" id="l_M000599_source">+</a> ]</p>
|
758
|
+
<div id="M000599_source" class="dyn-source">
|
759
759
|
<pre>
|
760
760
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 128</span>
|
761
761
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">null?</span> ; <span class="ruby-ivar">@direction</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_first</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@exclusive_last</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -765,17 +765,17 @@ open; otherwise <tt>false</tt>.
|
|
765
765
|
</div>
|
766
766
|
<div class="method">
|
767
767
|
<div class="title">
|
768
|
-
<a name="
|
768
|
+
<a name="M000602"></a><b>opened</b>()
|
769
769
|
</div>
|
770
770
|
<div class="description">
|
771
771
|
<p>
|
772
|
-
Returns a <a href="Interval.html#
|
773
|
-
both <a href="Interval.html#
|
772
|
+
Returns a <a href="Interval.html#M000588">new</a> interval exclusive of
|
773
|
+
both <a href="Interval.html#M000589">sentinels</a>.
|
774
774
|
</p>
|
775
775
|
</div>
|
776
776
|
<div class="sourcecode">
|
777
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
778
|
-
<div id="
|
777
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000602_source')" id="l_M000602_source">+</a> ]</p>
|
778
|
+
<div id="M000602_source" class="dyn-source">
|
779
779
|
<pre>
|
780
780
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 142</span>
|
781
781
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">opened</span>; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@first</span>, <span class="ruby-ivar">@last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|
@@ -785,21 +785,21 @@ both <a href="Interval.html#M000543">sentinels</a>.
|
|
785
785
|
</div>
|
786
786
|
<div class="method">
|
787
787
|
<div class="title">
|
788
|
-
<a name="
|
788
|
+
<a name="M000611"></a><b>reversed</b>()
|
789
789
|
</div>
|
790
790
|
<div class="description">
|
791
791
|
<p>
|
792
|
-
Returns a <a href="Interval.html#
|
793
|
-
href="Interval.html#
|
794
|
-
href="Interval.html#
|
792
|
+
Returns a <a href="Interval.html#M000588">new</a> interval with the <a
|
793
|
+
href="Interval.html#M000589">sentinels</a> <a
|
794
|
+
href="Interval.html#M000611">reversed</a>.
|
795
795
|
</p>
|
796
796
|
<pre>
|
797
797
|
(0..10).reversed #=> 10..0
|
798
798
|
</pre>
|
799
799
|
</div>
|
800
800
|
<div class="sourcecode">
|
801
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
802
|
-
<div id="
|
801
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000611_source')" id="l_M000611_source">+</a> ]</p>
|
802
|
+
<div id="M000611_source" class="dyn-source">
|
803
803
|
<pre>
|
804
804
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 167</span>
|
805
805
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reversed</span>
|
@@ -811,21 +811,21 @@ href="Interval.html#M000565">reversed</a>.
|
|
811
811
|
</div>
|
812
812
|
<div class="method">
|
813
813
|
<div class="title">
|
814
|
-
<a name="
|
814
|
+
<a name="M000589"></a><b>sentinels</b>()
|
815
815
|
</div>
|
816
816
|
<div class="description">
|
817
817
|
<p>
|
818
|
-
Returns a two element array of <a href="Interval.html#
|
819
|
-
and <a href="Interval.html#
|
820
|
-
href="Interval.html#
|
818
|
+
Returns a two element array of <a href="Interval.html#M000590">first</a>
|
819
|
+
and <a href="Interval.html#M000591">last</a> <a
|
820
|
+
href="Interval.html#M000589">sentinels</a>.
|
821
821
|
</p>
|
822
822
|
<pre>
|
823
823
|
(0..10).sentinels #=> [0,10]
|
824
824
|
</pre>
|
825
825
|
</div>
|
826
826
|
<div class="sourcecode">
|
827
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
828
|
-
<div id="
|
827
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000589_source')" id="l_M000589_source">+</a> ]</p>
|
828
|
+
<div id="M000589_source" class="dyn-source">
|
829
829
|
<pre>
|
830
830
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 106</span>
|
831
831
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sentinels</span>
|
@@ -837,31 +837,31 @@ href="Interval.html#M000543">sentinels</a>.
|
|
837
837
|
</div>
|
838
838
|
<div class="method">
|
839
839
|
<div class="title">
|
840
|
-
<a name="
|
840
|
+
<a name="M000614"></a><b>size</b>()
|
841
841
|
</div>
|
842
842
|
<div class="description">
|
843
843
|
<p>
|
844
|
-
Alias for <a href="Interval.html#
|
844
|
+
Alias for <a href="Interval.html#M000612">distance</a>
|
845
845
|
</p>
|
846
846
|
</div>
|
847
847
|
</div>
|
848
848
|
<div class="method">
|
849
849
|
<div class="title">
|
850
|
-
<a name="
|
850
|
+
<a name="M000621"></a><b>step</b>(n=1, d=nil)
|
851
851
|
</div>
|
852
852
|
<div class="description">
|
853
853
|
<p>
|
854
|
-
Alias for <a href="Interval.html#
|
854
|
+
Alias for <a href="Interval.html#M000620">each</a>
|
855
855
|
</p>
|
856
856
|
</div>
|
857
857
|
</div>
|
858
858
|
<div class="method">
|
859
859
|
<div class="title">
|
860
|
-
<a name="
|
860
|
+
<a name="M000610"></a><b>~</b>()
|
861
861
|
</div>
|
862
862
|
<div class="sourcecode">
|
863
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
864
|
-
<div id="
|
863
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000610_source')" id="l_M000610_source">+</a> ]</p>
|
864
|
+
<div id="M000610_source" class="dyn-source">
|
865
865
|
<pre>
|
866
866
|
<span class="ruby-comment cmt"># File lib/more/facets/interval.rb, line 161</span>
|
867
867
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">~@</span> ; <span class="ruby-constant">Interval</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">first</span>, <span class="ruby-identifier">last</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-keyword kw">true</span>) ; <span class="ruby-keyword kw">end</span>
|