facets 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +3 -0
- data/CHANGES +41 -1569
- data/COPYING +6 -4
- data/MANIFEST +114 -25
- data/README +12 -2
- data/RELEASE +37 -0
- data/Rakefile +4 -0
- data/VERSION +1 -0
- data/demo/bench/general/comment_loading/bench.rb +46 -0
- data/demo/bench/general/comment_loading/comments_begin.rb +109 -0
- data/demo/bench/general/comment_loading/comments_end.rb +127 -0
- data/demo/bench/general/comment_loading/comments_none.rb +1 -0
- data/demo/bench/general/comment_loading/comments_sharp.rb +125 -0
- data/doc/archive/changelog-0.rdoc +239 -0
- data/doc/archive/changelog-1.rdoc +450 -0
- data/doc/news/{news-2.0.5 → RELEASE-2.0.5} +0 -0
- data/doc/news/{news-2.1.0 → RELEASE-2.1.0} +0 -0
- data/doc/news/{news-2.1.1 → RELEASE-2.1.1} +0 -0
- data/doc/news/{news-2.1.2 → RELEASE-2.1.2} +0 -0
- data/doc/news/{news-2.1.3 → RELEASE-2.1.3} +0 -0
- data/doc/news/{news-2.2.0 → RELEASE-2.2.0} +0 -0
- data/doc/news/{news-2.2.1 → RELEASE-2.2.1} +0 -0
- data/doc/news/{news-2.3.0 → RELEASE-2.3.0} +0 -0
- data/doc/news/{news-2.4.0 → RELEASE-2.4.0} +0 -0
- data/doc/news/{news-2.4.1 → RELEASE-2.4.1} +0 -0
- data/doc/news/{news-2.4.2 → RELEASE-2.4.2} +0 -0
- data/doc/news/{news-2.4.3 → RELEASE-2.4.3} +0 -0
- data/{NEWS → doc/news/RELEASE-2.4.4} +0 -2
- data/doc/rdoc/core/classes/Array.html +115 -115
- data/doc/rdoc/core/classes/Binding.html +47 -49
- data/doc/rdoc/core/classes/Class.html +172 -24
- data/doc/rdoc/core/classes/Comparable.html +28 -30
- data/doc/rdoc/core/classes/Dir.html +16 -18
- data/doc/rdoc/core/classes/Enumerable.html +146 -143
- data/doc/rdoc/core/classes/Exception.html +10 -12
- data/doc/rdoc/core/classes/FalseClass.html +10 -12
- data/doc/rdoc/core/classes/File.html +70 -69
- data/doc/rdoc/core/classes/FileTest.html +6 -8
- data/doc/rdoc/core/classes/Float.html +10 -12
- data/doc/rdoc/core/classes/Friend.html +4 -6
- data/doc/rdoc/core/classes/Functor.html +14 -16
- data/doc/rdoc/core/classes/Hash.html +182 -180
- data/doc/rdoc/core/classes/Indexable.html +145 -122
- data/doc/rdoc/core/classes/InstanceVariables.html +24 -26
- data/doc/rdoc/core/classes/Integer.html +43 -43
- data/doc/rdoc/core/classes/Kernel.html +331 -333
- data/doc/rdoc/core/classes/Lazy.html +2 -2
- data/doc/rdoc/core/classes/Lazy/Future.html +2 -2
- data/doc/rdoc/core/classes/Lazy/Promise.html +3 -3
- data/doc/rdoc/core/classes/Lazy/PromiseSafe.html +2 -2
- data/doc/rdoc/core/classes/MatchData.html +17 -19
- data/doc/rdoc/core/classes/Module.html +175 -166
- data/doc/rdoc/core/classes/NilClass.html +24 -26
- data/doc/rdoc/core/classes/Numeric.html +29 -31
- data/doc/rdoc/core/classes/Object.html +10 -12
- data/doc/rdoc/core/classes/Proc.html +24 -26
- data/doc/rdoc/core/classes/Range.html +16 -18
- data/doc/rdoc/core/classes/Regexp.html +9 -11
- data/doc/rdoc/core/classes/Stackable.html +33 -35
- data/doc/rdoc/core/classes/String.html +332 -275
- data/doc/rdoc/core/classes/Symbol.html +72 -45
- data/doc/rdoc/core/classes/Time.html +26 -28
- data/doc/rdoc/core/classes/TrueClass.html +10 -12
- data/doc/rdoc/core/classes/UnboundMethod.html +13 -15
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +25 -10
- data/doc/rdoc/core/files/doc/README_core.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/index_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/not_empty_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/recursively_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/traverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/self_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/blank_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/callstack_rb.html +2 -2
- data/doc/rdoc/{more/files/lib/more/facets/rope_rb.html → core/files/lib/core/facets/cattr_rb.html} +11 -9
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_accessor_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_reader_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_writer_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/descend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/dir/parent_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/append_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/create_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +13 -3
- data/doc/rdoc/core/files/lib/core/facets/file/writelines_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/float_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/functor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/argumentize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/at_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/mash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/op_add_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_or_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_push_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/op_rb.html +12 -3
- data/doc/rdoc/core/files/lib/core/facets/hash/op_sub_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/recursively_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/indexable_rb.html +4 -4
- data/doc/rdoc/core/files/lib/core/facets/integer/even_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/integer/of_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/ordinal_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__class___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__dir___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__get___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__method___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/deep_copy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/here_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/in_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/maybe_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_hexid_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/val_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/lazy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/can_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/class_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass/ergo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/to_r_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/umbrella_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp/to_re_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/stackable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/modulize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/op_sub_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/pathize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/variablize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/plain_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol/query_rb.html +2 -2
- data/doc/rdoc/{more/files/lib/more/facets/string/style_rb.html → core/files/lib/core/facets/symbol/re_s_rb.html} +7 -7
- data/doc/rdoc/core/files/lib/core/facets/symbol/setter_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/variablize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/ago_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +2 -2
- data/doc/rdoc/core/fr_class_index.html +3 -3
- data/doc/rdoc/core/fr_file_index.html +18 -3
- data/doc/rdoc/core/fr_method_index.html +359 -352
- data/doc/rdoc/core/rdoc-style.css +18 -16
- data/doc/rdoc/lore/classes/Array.html +9 -11
- data/doc/rdoc/lore/classes/CGI.html +10 -12
- data/doc/rdoc/lore/classes/Config.html +6 -8
- data/doc/rdoc/lore/classes/Continuation.html +4 -6
- data/doc/rdoc/lore/classes/Date.html +40 -42
- data/doc/rdoc/lore/classes/DateTime.html +39 -41
- data/doc/rdoc/lore/classes/File.html +4 -6
- data/doc/rdoc/lore/classes/FileUtils.html +16 -18
- data/doc/rdoc/lore/classes/GetoptLong.html +4 -6
- data/doc/rdoc/lore/classes/GetoptLong/DSL.html +12 -14
- data/doc/rdoc/lore/classes/Kernel.html +10 -12
- data/doc/rdoc/lore/classes/Logger.html +8 -10
- data/doc/rdoc/lore/classes/Logger/Ansicolor.html +22 -24
- data/doc/rdoc/lore/classes/Logger/LogDevice.html +4 -6
- data/doc/rdoc/lore/classes/NilClass.html +4 -6
- data/doc/rdoc/lore/classes/OpenStruct.html +63 -44
- data/doc/rdoc/lore/classes/Pathname.html +25 -27
- data/doc/rdoc/lore/classes/Set.html +4 -6
- data/doc/rdoc/lore/classes/Shellwords.html +4 -6
- data/doc/rdoc/lore/classes/String.html +6 -8
- data/doc/rdoc/lore/classes/Time.html +6 -8
- data/doc/rdoc/lore/classes/URI.html +24 -26
- data/doc/rdoc/lore/classes/URI/Hash.html +4 -6
- data/doc/rdoc/lore/classes/URI/Kernel.html +6 -8
- data/doc/rdoc/lore/classes/Zlib.html +188 -0
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +25 -10
- data/doc/rdoc/lore/files/doc/README_lore.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/head_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/safe_ln_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/slice_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/tail_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/wc_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/whereis_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/which_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/getoptlong_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/logger_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +3 -3
- data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +3 -3
- data/doc/rdoc/lore/files/lib/lore/facets/rbconfig_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/set_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/shellwords_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/uri_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/zlib_rb.html +97 -0
- data/doc/rdoc/lore/fr_class_index.html +4 -3
- data/doc/rdoc/lore/fr_file_index.html +4 -3
- data/doc/rdoc/lore/fr_method_index.html +19 -15
- data/doc/rdoc/lore/rdoc-style.css +18 -16
- data/doc/rdoc/more/classes/ANSICode.html +68 -70
- data/doc/rdoc/more/classes/Advisable.html +39 -41
- data/doc/rdoc/more/classes/Advisable/Method.html +22 -24
- data/doc/rdoc/more/classes/Archive.html +2 -2
- data/doc/rdoc/more/classes/Archive/Tar.html +2 -2
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +29 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +30 -32
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +21 -23
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +33 -35
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +35 -37
- data/doc/rdoc/more/classes/Argvector.html +78 -80
- data/doc/rdoc/more/classes/Association.html +30 -32
- data/doc/rdoc/more/classes/Association/Kernel.html +10 -12
- data/doc/rdoc/more/classes/Autoarray.html +8 -10
- data/doc/rdoc/more/classes/BBCode.html +36 -38
- data/doc/rdoc/more/classes/BaseX.html +18 -20
- data/doc/rdoc/more/classes/BiCrypt.html +69 -71
- data/doc/rdoc/more/classes/BigDuration.html +32 -34
- data/doc/rdoc/more/classes/BinReadable.html +87 -89
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +27 -29
- data/doc/rdoc/more/classes/Binding.html +10 -12
- data/doc/rdoc/more/classes/BlankSlate.html +4 -6
- data/doc/rdoc/more/classes/Buildable.html +6 -8
- data/doc/rdoc/more/classes/BuildingBlock.html +18 -20
- data/doc/rdoc/more/classes/CLI.html +2 -2
- data/doc/rdoc/more/classes/CLI/Arguments.html +78 -80
- data/doc/rdoc/more/classes/CLI/Command.html +24 -26
- data/doc/rdoc/more/classes/CLI/Command/UniversalOptions.html +2 -2
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +6 -8
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +6 -8
- data/doc/rdoc/more/classes/CacheDecorator.html +23 -25
- data/doc/rdoc/more/classes/Capsule.html +43 -45
- data/doc/rdoc/more/classes/Capsule/MissingFile.html +2 -2
- data/doc/rdoc/more/classes/Chain.html +19 -21
- data/doc/rdoc/more/classes/Cloneable.html +6 -8
- data/doc/rdoc/more/classes/ConsoleUtils.html +20 -22
- data/doc/rdoc/more/classes/Coroutine.html +30 -32
- data/doc/rdoc/more/classes/Crypt.html +18 -20
- data/doc/rdoc/more/classes/CssFilter.html +24 -26
- data/doc/rdoc/more/classes/CssTree.html +10 -12
- data/doc/rdoc/more/classes/Dictionary.html +230 -232
- data/doc/rdoc/more/classes/DictionaryMatcher.html +40 -42
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +6 -8
- data/doc/rdoc/more/classes/Downloader.html +26 -28
- data/doc/rdoc/more/classes/Duration.html +70 -72
- data/doc/rdoc/more/classes/Enumerable.html +46 -48
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +18 -20
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +6 -8
- data/doc/rdoc/more/classes/EnumerablePass.html +17 -19
- data/doc/rdoc/more/classes/Equatable.html +18 -20
- data/doc/rdoc/more/classes/EventHook.html +10 -12
- data/doc/rdoc/more/classes/Expirable.html +19 -21
- data/doc/rdoc/more/classes/FileList.html +54 -56
- data/doc/rdoc/more/classes/FileShell.html +149 -151
- data/doc/rdoc/more/classes/Fileable.html +16 -18
- data/doc/rdoc/more/classes/Fileable/DSL.html +43 -45
- data/doc/rdoc/more/classes/Hash.html +36 -38
- data/doc/rdoc/more/classes/Hash2Xml.html +6 -8
- data/doc/rdoc/more/classes/HtmlFilter.html +11 -13
- data/doc/rdoc/more/classes/IORedirect.html +10 -12
- data/doc/rdoc/more/classes/InfinityClass.html +38 -40
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +25 -27
- data/doc/rdoc/more/classes/Ini.html +39 -41
- data/doc/rdoc/more/classes/Instantiable.html +11 -13
- data/doc/rdoc/more/classes/Instantize.html +10 -12
- data/doc/rdoc/more/classes/Interval.html +189 -191
- data/doc/rdoc/more/classes/It.html +14 -16
- data/doc/rdoc/more/classes/LRUCache.html +40 -42
- data/doc/rdoc/more/classes/LRUCache/Item.html +2 -2
- data/doc/rdoc/more/classes/LRUCache/Sentinel.html +2 -2
- data/doc/rdoc/more/classes/LinkedList.html +70 -72
- data/doc/rdoc/more/classes/LinkedList/Node.html +6 -8
- data/doc/rdoc/more/classes/MissingArgument.html +2 -2
- data/doc/rdoc/more/classes/Module.html +173 -175
- data/doc/rdoc/more/classes/Multiton.html +14 -16
- data/doc/rdoc/more/classes/Multiton/Inclusive.html +2 -2
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +30 -32
- data/doc/rdoc/more/classes/NackClass.html +2 -2
- data/doc/rdoc/more/classes/Net.html +2 -2
- data/doc/rdoc/more/classes/Net/SMTP.html +10 -12
- data/doc/rdoc/more/classes/NullClass.html +26 -28
- data/doc/rdoc/more/classes/ObjectReflection.html +8 -10
- data/doc/rdoc/more/classes/OpEsc.html +7 -9
- data/doc/rdoc/more/classes/OpenCascade.html +48 -13
- data/doc/rdoc/more/classes/OpenCollection.html +10 -12
- data/doc/rdoc/more/classes/OpenHash.html +11 -13
- data/doc/rdoc/more/classes/OpenObject.html +97 -99
- data/doc/rdoc/more/classes/PQueue.html +86 -88
- data/doc/rdoc/more/classes/Paramix.html +13 -15
- data/doc/rdoc/more/classes/Paramix/Delegator.html +18 -20
- data/doc/rdoc/more/classes/PathList.html +10 -12
- data/doc/rdoc/more/classes/PathList/Finder.html +10 -12
- data/doc/rdoc/more/classes/Platform.html +24 -26
- data/doc/rdoc/more/classes/Pool.html +20 -22
- data/doc/rdoc/more/classes/Proc.html +11 -13
- data/doc/rdoc/more/classes/ProgressBar.html +54 -56
- data/doc/rdoc/more/classes/Prototype.html +30 -32
- data/doc/rdoc/more/classes/RWDelegator.html +18 -20
- data/doc/rdoc/more/classes/Random.html +7 -9
- data/doc/rdoc/more/classes/Random/Array.html +39 -41
- data/doc/rdoc/more/classes/Random/Hash.html +54 -56
- data/doc/rdoc/more/classes/Random/Object.html +6 -8
- data/doc/rdoc/more/classes/Random/String.html +36 -38
- data/doc/rdoc/more/classes/Random/String/Self.html +11 -13
- data/doc/rdoc/more/classes/Recorder.html +18 -20
- data/doc/rdoc/more/classes/RecursiveDependency.html +2 -2
- data/doc/rdoc/more/classes/Reference.html +21 -23
- data/doc/rdoc/more/classes/Registerable.html +15 -17
- data/doc/rdoc/more/classes/Semaphore.html +38 -40
- data/doc/rdoc/more/classes/Settings.html +30 -32
- data/doc/rdoc/more/classes/Settings/Setting.html +15 -17
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +6 -8
- data/doc/rdoc/more/classes/SimpleStringIO.html +10 -12
- data/doc/rdoc/more/classes/Snapshot.html +8 -10
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +8 -10
- data/doc/rdoc/more/classes/String/Mask.html +74 -76
- data/doc/rdoc/more/classes/String/Words.html +33 -35
- data/doc/rdoc/more/classes/Struct.html +6 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -6
- data/doc/rdoc/more/classes/SyncHash.html +4 -6
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +16 -18
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +16 -18
- data/doc/rdoc/more/classes/System.html +255 -257
- data/doc/rdoc/more/classes/TagIterator.html +581 -0
- data/doc/rdoc/more/classes/Timer.html +50 -52
- data/doc/rdoc/more/classes/Timer/Dummy.html +11 -13
- data/doc/rdoc/more/classes/TracePoint.html +60 -62
- data/doc/rdoc/more/classes/Tuple.html +172 -174
- data/doc/rdoc/more/classes/TypeCast.html +2 -2
- data/doc/rdoc/more/classes/TypeCast/Class.html +9 -11
- data/doc/rdoc/more/classes/TypeCast/Object.html +7 -9
- data/doc/rdoc/more/classes/TypeCastException.html +2 -2
- data/doc/rdoc/more/classes/Uninheritable.html +8 -10
- data/doc/rdoc/more/classes/UploadUtils.html +51 -53
- data/doc/rdoc/more/classes/VersionNumber.html +59 -61
- data/doc/rdoc/more/classes/Weekdays.html +30 -32
- data/doc/rdoc/more/classes/XOXO.html +11 -13
- data/doc/rdoc/more/classes/ZipUtils.html +60 -62
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +30 -32
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +30 -32
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +30 -32
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +25 -10
- data/doc/rdoc/more/files/doc/README_more.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/1stclassmethod_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/advisable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +3 -3
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/argvector_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/autoarray_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/autoreload_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/basex_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bbcode_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/binreadable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/blankslate_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cachedecorator_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/capsule_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/class_extension_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/classmethods_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cloneable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/crypt_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cssfilter_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/daemonize_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dictionarymatcher_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/downloader_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/duplicable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/elementwise_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/equatable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/expirable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/fileable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/filelist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/heap_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/infinity_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ini_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantiable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantize_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ioredirect_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/linkedlist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/lrucache_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/main_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +4 -6
- data/doc/rdoc/more/files/lib/more/facets/methodspace_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/minitar_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/multiton_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nackclass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/net/smtp_tls_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nullclass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/opencascade_rb.html +4 -46
- data/doc/rdoc/more/files/lib/more/facets/opencollection_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/openhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/orderedhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/overload_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/partial_rb.html +4 -6
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/platform_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/pool_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/pqueue_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/progressbar_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/prototype_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/random_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/rbsystem_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/reference_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/registerable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/semaphore_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/settings_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/mask_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/syncarray_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/synchash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tagiterator_rb.html +111 -0
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/times_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tuple_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +5 -4
- data/doc/rdoc/more/files/lib/more/facets/uninheritable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/version_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +2 -2
- data/doc/rdoc/more/fr_class_index.html +4 -5
- data/doc/rdoc/more/fr_file_index.html +4 -5
- data/doc/rdoc/more/fr_method_index.html +917 -941
- data/doc/rdoc/more/rdoc-style.css +18 -16
- data/lib/core/facets/array/combination.rb +15 -16
- data/lib/core/facets/array/index.rb +31 -6
- data/lib/core/facets/cattr.rb +2 -0
- data/lib/{more/facets → core/facets/class}/cattr.rb +18 -44
- data/lib/core/facets/class/cattr_accessor.rb +1 -0
- data/lib/core/facets/class/cattr_reader.rb +1 -0
- data/lib/core/facets/class/cattr_writer.rb +1 -0
- data/lib/core/facets/enumerable/mode.rb +5 -4
- data/lib/core/facets/enumerable/split.rb +6 -2
- data/lib/core/facets/file/append.rb +14 -0
- data/lib/core/facets/file/create.rb +21 -0
- data/lib/core/facets/file/rewrite.rb +6 -6
- data/lib/core/facets/file/write.rb +5 -47
- data/lib/core/facets/file/writelines.rb +24 -0
- data/lib/core/facets/hash/op.rb +6 -84
- data/lib/core/facets/hash/op_add.rb +12 -0
- data/lib/core/facets/hash/op_and.rb +33 -0
- data/lib/core/facets/hash/op_mul.rb +18 -0
- data/lib/core/facets/hash/op_or.rb +12 -0
- data/lib/core/facets/hash/op_sub.rb +26 -0
- data/lib/core/facets/indexable.rb +34 -26
- data/lib/core/facets/integer/odd.rb +8 -6
- data/lib/core/facets/module/class.rb +1 -3
- data/lib/core/facets/module/conflict.rb +10 -3
- data/lib/core/facets/module/prepend.rb +1 -0
- data/lib/core/facets/string/methodize.rb +6 -1
- data/lib/core/facets/string/modulize.rb +21 -0
- data/lib/core/facets/string/pathize.rb +6 -2
- data/lib/core/facets/string/splice.rb +19 -7
- data/lib/core/facets/string/variablize.rb +2 -1
- data/lib/core/facets/symbol/plain.rb +0 -27
- data/lib/core/facets/symbol/re_s.rb +18 -0
- data/lib/lore/facets/ostruct.rb +26 -10
- data/lib/lore/facets/pathname.rb +1 -1
- data/lib/lore/facets/zlib.rb +38 -0
- data/lib/more/facets/ansicode.rb +0 -5
- data/lib/more/facets/opencascade.rb +34 -32
- data/lib/more/facets/tagiter.rb +366 -0
- data/lib/more/facets/typecast.rb +5 -4
- data/task/conflicts +63 -0
- data/task/coverage.rake +37 -0
- data/task/methods +49 -0
- data/task/rdoc.rake +17 -0
- data/task/setup.rake +30 -0
- data/task/test.rake +47 -0
- data/test/{more → core/class}/test_cattr.rb +1 -1
- data/test/core/class/test_cattr_accessor.rb +2 -0
- data/test/core/class/test_cattr_reader.rb +1 -0
- data/test/core/class/test_cattr_writer.rb +1 -0
- data/test/core/file/test_create.rb +31 -0
- data/test/core/file/test_file.rb +0 -76
- data/test/core/file/test_null.rb +12 -0
- data/test/core/file/test_rewrite.rb +32 -0
- data/test/core/file/test_write.rb +31 -0
- data/test/core/file/test_writelines.rb +22 -0
- data/test/core/hash/test_op.rb +1 -42
- data/test/core/hash/test_op_add.rb +14 -0
- data/test/core/hash/test_op_and.rb +28 -0
- data/test/core/hash/test_op_mul.rb +14 -0
- data/test/core/hash/test_op_or.rb +14 -0
- data/test/core/hash/test_op_push.rb +23 -0
- data/test/core/hash/test_op_sub.rb +21 -0
- data/test/core/integer/test_even.rb +0 -9
- data/test/core/integer/test_odd.rb +16 -0
- data/test/core/module/test_alias_accessor.rb +22 -0
- data/test/core/module/test_alias_method_chain.rb +30 -0
- data/test/core/module/test_alias_module_function.rb +19 -0
- data/test/core/module/test_can.rb +19 -0
- data/test/core/module/test_class.rb +21 -0
- data/test/core/module/test_conflict.rb +19 -0
- data/test/core/module/test_integrate.rb +23 -0
- data/test/core/module/test_is.rb +19 -0
- data/test/core/module/test_methodize.rb +11 -0
- data/test/core/module/test_prepend.rb +29 -0
- data/test/core/module/test_redefine_method.rb +27 -0
- data/test/core/module/test_redirect_method.rb +25 -0
- data/test/core/module/test_rename_method.rb +27 -0
- data/test/core/module/test_revise.rb +2 -125
- data/test/core/module/test_wrap_method.rb +24 -0
- data/test/core/string/test_end_with.rb +12 -0
- data/test/core/string/test_lchomp.rb +18 -0
- data/test/core/string/test_methodize.rb +25 -0
- data/test/core/string/test_modulize.rb +25 -0
- data/test/core/string/test_op_sub.rb +12 -0
- data/test/core/string/test_pathize.rb +25 -0
- data/test/core/string/test_rewrite.rb +14 -0
- data/test/core/string/test_splice.rb +32 -0
- data/test/core/string/test_start_with.rb +12 -0
- data/test/core/string/test_variablize.rb +12 -0
- data/test/core/symbol/test_plain.rb +14 -0
- data/test/core/symbol/test_query.rb +14 -0
- data/test/core/symbol/test_setter.rb +14 -0
- data/test/core/unboundmethod/test_arguments.rb +21 -0
- data/test/core/unboundmethod/test_name.rb +15 -0
- metadata +174 -35
- data/METADATA +0 -28
- data/doc/rdoc/more/classes/Rope.html +0 -434
- data/doc/rdoc/more/classes/String/Style.html +0 -803
- data/lib/more/facets/rope.rb +0 -131
- data/lib/more/facets/string/style.rb +0 -317
- data/test/core/module/test_alias.rb +0 -45
- data/test/more/test_style.rb +0 -50
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -74,14 +74,12 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
<div class="sectiontitle">Methods</div>
|
77
|
-
<
|
78
|
-
<
|
79
|
-
<
|
80
|
-
<
|
81
|
-
<
|
82
|
-
<
|
83
|
-
<li><a href="#M000401">cmp</a></li>
|
84
|
-
</ul>
|
77
|
+
<span style="padding-right: 5px;"><a href="#M000403">at_least</a></span>
|
78
|
+
<span style="padding-right: 5px;"><a href="#M000404">at_most</a></span>
|
79
|
+
<span style="padding-right: 5px;"><a href="#M000406">bound</a></span>
|
80
|
+
<span style="padding-right: 5px;"><a href="#M000405">cap</a></span>
|
81
|
+
<span style="padding-right: 5px;"><a href="#M000407">clip</a></span>
|
82
|
+
<span style="padding-right: 5px;"><a href="#M000408">cmp</a></span>
|
85
83
|
|
86
84
|
|
87
85
|
|
@@ -91,7 +89,7 @@
|
|
91
89
|
<div class="sectiontitle">Public Instance methods</div>
|
92
90
|
<div class="method">
|
93
91
|
<div class="title">
|
94
|
-
<a name="
|
92
|
+
<a name="M000403"></a><b>at_least</b>(x)
|
95
93
|
</div>
|
96
94
|
<div class="description">
|
97
95
|
<p>
|
@@ -105,8 +103,8 @@ Returns the lower of self or x.
|
|
105
103
|
</pre>
|
106
104
|
</div>
|
107
105
|
<div class="sourcecode">
|
108
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
109
|
-
<div id="
|
106
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000403_source')" id="l_M000403_source">+</a> ]</p>
|
107
|
+
<div id="M000403_source" class="dyn-source">
|
110
108
|
<pre>
|
111
109
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 16</span>
|
112
110
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_least</span>(<span class="ruby-identifier">x</span>)
|
@@ -118,7 +116,7 @@ Returns the lower of self or x.
|
|
118
116
|
</div>
|
119
117
|
<div class="method">
|
120
118
|
<div class="title">
|
121
|
-
<a name="
|
119
|
+
<a name="M000404"></a><b>at_most</b>(x)
|
122
120
|
</div>
|
123
121
|
<div class="description">
|
124
122
|
<p>
|
@@ -132,8 +130,8 @@ Returns the greater of self or x.
|
|
132
130
|
</pre>
|
133
131
|
</div>
|
134
132
|
<div class="sourcecode">
|
135
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
136
|
-
<div id="
|
133
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000404_source')" id="l_M000404_source">+</a> ]</p>
|
134
|
+
<div id="M000404_source" class="dyn-source">
|
137
135
|
<pre>
|
138
136
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 27</span>
|
139
137
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_most</span>(<span class="ruby-identifier">x</span>)
|
@@ -145,14 +143,14 @@ Returns the greater of self or x.
|
|
145
143
|
</div>
|
146
144
|
<div class="method">
|
147
145
|
<div class="title">
|
148
|
-
<a name="
|
146
|
+
<a name="M000406"></a><b>bound</b>(lower, upper=nil)
|
149
147
|
</div>
|
150
148
|
<div class="description">
|
151
149
|
<p>
|
152
150
|
Returns self if above the given lower <a
|
153
|
-
href="Comparable.html#
|
151
|
+
href="Comparable.html#M000406">bound</a>, or within the given lower and
|
154
152
|
upper bounds, otherwise returns the the <a
|
155
|
-
href="Comparable.html#
|
153
|
+
href="Comparable.html#M000406">bound</a> of which the value falls outside.
|
156
154
|
</p>
|
157
155
|
<pre>
|
158
156
|
4.clip(3) #=> 4
|
@@ -166,11 +164,11 @@ href="Comparable.html#M000399">bound</a> of which the value falls outside.
|
|
166
164
|
</div>
|
167
165
|
<div class="aka">
|
168
166
|
This method is also aliased as
|
169
|
-
<a href="Comparable.html#
|
167
|
+
<a href="Comparable.html#M000407">clip</a>
|
170
168
|
</div>
|
171
169
|
<div class="sourcecode">
|
172
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
173
|
-
<div id="
|
170
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000406_source')" id="l_M000406_source">+</a> ]</p>
|
171
|
+
<div id="M000406_source" class="dyn-source">
|
174
172
|
<pre>
|
175
173
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 55</span>
|
176
174
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bound</span>(<span class="ruby-identifier">lower</span>, <span class="ruby-identifier">upper</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -185,7 +183,7 @@ href="Comparable.html#M000399">bound</a> of which the value falls outside.
|
|
185
183
|
</div>
|
186
184
|
<div class="method">
|
187
185
|
<div class="title">
|
188
|
-
<a name="
|
186
|
+
<a name="M000405"></a><b>cap</b>(upper)
|
189
187
|
</div>
|
190
188
|
<div class="description">
|
191
189
|
<p>
|
@@ -199,8 +197,8 @@ Returns the greater of self or x.
|
|
199
197
|
</pre>
|
200
198
|
</div>
|
201
199
|
<div class="sourcecode">
|
202
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
203
|
-
<div id="
|
200
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000405_source')" id="l_M000405_source">+</a> ]</p>
|
201
|
+
<div id="M000405_source" class="dyn-source">
|
204
202
|
<pre>
|
205
203
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/bound.rb, line 38</span>
|
206
204
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cap</span>(<span class="ruby-identifier">upper</span>)
|
@@ -212,17 +210,17 @@ Returns the greater of self or x.
|
|
212
210
|
</div>
|
213
211
|
<div class="method">
|
214
212
|
<div class="title">
|
215
|
-
<a name="
|
213
|
+
<a name="M000407"></a><b>clip</b>(lower, upper=nil)
|
216
214
|
</div>
|
217
215
|
<div class="description">
|
218
216
|
<p>
|
219
|
-
Alias for <a href="Comparable.html#
|
217
|
+
Alias for <a href="Comparable.html#M000406">bound</a>
|
220
218
|
</p>
|
221
219
|
</div>
|
222
220
|
</div>
|
223
221
|
<div class="method">
|
224
222
|
<div class="title">
|
225
|
-
<a name="
|
223
|
+
<a name="M000408"></a><b>cmp</b>(o)
|
226
224
|
</div>
|
227
225
|
<div class="description">
|
228
226
|
<p>
|
@@ -242,8 +240,8 @@ This fundamental compare method is used to keep comparison compatible with
|
|
242
240
|
</pre>
|
243
241
|
</div>
|
244
242
|
<div class="sourcecode">
|
245
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
246
|
-
<div id="
|
243
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000408_source')" id="l_M000408_source">+</a> ]</p>
|
244
|
+
<div id="M000408_source" class="dyn-source">
|
247
245
|
<pre>
|
248
246
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 14</span>
|
249
247
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">o</span>)
|
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -84,15 +84,13 @@ Object
|
|
84
84
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
|
-
<
|
88
|
-
<
|
89
|
-
<
|
90
|
-
<
|
91
|
-
<
|
92
|
-
<
|
93
|
-
<
|
94
|
-
<li><a href="#M000035">recurse</a></li>
|
95
|
-
</ul>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000031">ascend</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000032">descend</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000036">ls_r</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000033">multiglob</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000034">multiglob_r</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000037">parent?</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000035">recurse</a></span>
|
96
94
|
|
97
95
|
|
98
96
|
|
@@ -126,7 +124,7 @@ Ascend a directory path.
|
|
126
124
|
</pre>
|
127
125
|
</div>
|
128
126
|
<div class="sourcecode">
|
129
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source"
|
127
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">+</a> ]</p>
|
130
128
|
<div id="M000031_source" class="dyn-source">
|
131
129
|
<pre>
|
132
130
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/ascend.rb, line 20</span>
|
@@ -173,7 +171,7 @@ Descend a directory path.
|
|
173
171
|
</pre>
|
174
172
|
</div>
|
175
173
|
<div class="sourcecode">
|
176
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source"
|
174
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">+</a> ]</p>
|
177
175
|
<div id="M000032_source" class="dyn-source">
|
178
176
|
<pre>
|
179
177
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/ascend.rb, line 49</span>
|
@@ -199,7 +197,7 @@ Same as <a href="Dir.html#M000035">Dir#recurse</a>.
|
|
199
197
|
</p>
|
200
198
|
</div>
|
201
199
|
<div class="sourcecode">
|
202
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source"
|
200
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">+</a> ]</p>
|
203
201
|
<div id="M000036_source" class="dyn-source">
|
204
202
|
<pre>
|
205
203
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/recurse.rb, line 24</span>
|
@@ -252,7 +250,7 @@ would have the same result as
|
|
252
250
|
</pre>
|
253
251
|
</div>
|
254
252
|
<div class="sourcecode">
|
255
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source"
|
253
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">+</a> ]</p>
|
256
254
|
<div id="M000033_source" class="dyn-source">
|
257
255
|
<pre>
|
258
256
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/multiglob.rb, line 41</span>
|
@@ -311,7 +309,7 @@ The effect of which is
|
|
311
309
|
</pre>
|
312
310
|
</div>
|
313
311
|
<div class="sourcecode">
|
314
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source"
|
312
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">+</a> ]</p>
|
315
313
|
<div id="M000034_source" class="dyn-source">
|
316
314
|
<pre>
|
317
315
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/multiglob.rb, line 80</span>
|
@@ -343,7 +341,7 @@ TODO: Needs improvement. TODO: Instance version?
|
|
343
341
|
</p>
|
344
342
|
</div>
|
345
343
|
<div class="sourcecode">
|
346
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source"
|
344
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">+</a> ]</p>
|
347
345
|
<div id="M000037_source" class="dyn-source">
|
348
346
|
<pre>
|
349
347
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/parent.rb, line 8</span>
|
@@ -367,7 +365,7 @@ Recursively scan a directory and pass each file to the given block.
|
|
367
365
|
</pre>
|
368
366
|
</div>
|
369
367
|
<div class="sourcecode">
|
370
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source"
|
368
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">+</a> ]</p>
|
371
369
|
<div id="M000035_source" class="dyn-source">
|
372
370
|
<pre>
|
373
371
|
<span class="ruby-comment cmt"># File lib/core/facets/dir/recurse.rb, line 8</span>
|
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -96,38 +96,36 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
<div class="sectiontitle">Methods</div>
|
99
|
-
<
|
100
|
-
<
|
101
|
-
<
|
102
|
-
<
|
103
|
-
<
|
104
|
-
<
|
105
|
-
<
|
106
|
-
<
|
107
|
-
<
|
108
|
-
<
|
109
|
-
<
|
110
|
-
<
|
111
|
-
<
|
112
|
-
<
|
113
|
-
<
|
114
|
-
<
|
115
|
-
<
|
116
|
-
<
|
117
|
-
<
|
118
|
-
<
|
119
|
-
<
|
120
|
-
<
|
121
|
-
<
|
122
|
-
<
|
123
|
-
<
|
124
|
-
<
|
125
|
-
<
|
126
|
-
<
|
127
|
-
<
|
128
|
-
<
|
129
|
-
<li><a href="#M000420">uniq_by</a></li>
|
130
|
-
</ul>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000428">accumulate</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000411">cluster_by</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000417">collect_with_index</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000415">commonality</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M000420">compact_collect</a></span>
|
104
|
+
<span style="padding-right: 5px;"><a href="#M000419">compact_map</a></span>
|
105
|
+
<span style="padding-right: 5px;"><a href="#M000437">count</a></span>
|
106
|
+
<span style="padding-right: 5px;"><a href="#M000422">divide</a></span>
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000425">duplicates</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000438">each_by</a></span>
|
109
|
+
<span style="padding-right: 5px;"><a href="#M000432">entropy</a></span>
|
110
|
+
<span style="padding-right: 5px;"><a href="#M000421">frequency</a></span>
|
111
|
+
<span style="padding-right: 5px;"><a href="#M000430">graph</a></span>
|
112
|
+
<span style="padding-right: 5px;"><a href="#M000412">group_by</a></span>
|
113
|
+
<span style="padding-right: 5px;"><a href="#M000433">ideal_entropy</a></span>
|
114
|
+
<span style="padding-right: 5px;"><a href="#M000423">inject!</a></span>
|
115
|
+
<span style="padding-right: 5px;"><a href="#M000435">map_send</a></span>
|
116
|
+
<span style="padding-right: 5px;"><a href="#M000418">map_with_index</a></span>
|
117
|
+
<span style="padding-right: 5px;"><a href="#M000429">mash</a></span>
|
118
|
+
<span style="padding-right: 5px;"><a href="#M000414">mode</a></span>
|
119
|
+
<span style="padding-right: 5px;"><a href="#M000431">modulate</a></span>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000426">none?</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000424">nonuniq</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000416">occur</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000410">one?</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000436">probability</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000434">split</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000413">sum</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000409">to_h</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000427">uniq_by</a></span>
|
131
129
|
|
132
130
|
|
133
131
|
|
@@ -137,7 +135,7 @@
|
|
137
135
|
<div class="sectiontitle">Public Instance methods</div>
|
138
136
|
<div class="method">
|
139
137
|
<div class="title">
|
140
|
-
<a name="
|
138
|
+
<a name="M000428"></a><b>accumulate</b>()
|
141
139
|
</div>
|
142
140
|
<div class="description">
|
143
141
|
<p>
|
@@ -154,8 +152,8 @@ will return a list of users from all groups.
|
|
154
152
|
</p>
|
155
153
|
</div>
|
156
154
|
<div class="sourcecode">
|
157
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
158
|
-
<div id="
|
155
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000428_source')" id="l_M000428_source">+</a> ]</p>
|
156
|
+
<div id="M000428_source" class="dyn-source">
|
159
157
|
<pre>
|
160
158
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/accumulate.rb, line 14</span>
|
161
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">accumulate</span>
|
@@ -169,11 +167,11 @@ will return a list of users from all groups.
|
|
169
167
|
</div>
|
170
168
|
<div class="method">
|
171
169
|
<div class="title">
|
172
|
-
<a name="
|
170
|
+
<a name="M000411"></a><b>cluster_by</b>(&b)
|
173
171
|
</div>
|
174
172
|
<div class="description">
|
175
173
|
<p>
|
176
|
-
Similar to <a href="Enumerable.html#
|
174
|
+
Similar to <a href="Enumerable.html#M000412">group_by</a> but returns an
|
177
175
|
array of the groups. Returned elements are sorted by block.
|
178
176
|
</p>
|
179
177
|
<pre>
|
@@ -189,8 +187,8 @@ array of the groups. Returned elements are sorted by block.
|
|
189
187
|
</pre>
|
190
188
|
</div>
|
191
189
|
<div class="sourcecode">
|
192
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
193
|
-
<div id="
|
190
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000411_source')" id="l_M000411_source">+</a> ]</p>
|
191
|
+
<div id="M000411_source" class="dyn-source">
|
194
192
|
<pre>
|
195
193
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/cluster_by.rb, line 16</span>
|
196
194
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cluster_by</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -202,7 +200,7 @@ array of the groups. Returned elements are sorted by block.
|
|
202
200
|
</div>
|
203
201
|
<div class="method">
|
204
202
|
<div class="title">
|
205
|
-
<a name="
|
203
|
+
<a name="M000417"></a><b>collect_with_index</b>() {|self[i], i| ...}
|
206
204
|
</div>
|
207
205
|
<div class="description">
|
208
206
|
<p>
|
@@ -217,11 +215,11 @@ Same as collect but with an iteration counter.
|
|
217
215
|
</div>
|
218
216
|
<div class="aka">
|
219
217
|
This method is also aliased as
|
220
|
-
<a href="Enumerable.html#
|
218
|
+
<a href="Enumerable.html#M000418">map_with_index</a>
|
221
219
|
</div>
|
222
220
|
<div class="sourcecode">
|
223
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
224
|
-
<div id="
|
221
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000417_source')" id="l_M000417_source">+</a> ]</p>
|
222
|
+
<div id="M000417_source" class="dyn-source">
|
225
223
|
<pre>
|
226
224
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 10</span>
|
227
225
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collect_with_index</span>
|
@@ -237,7 +235,7 @@ Same as collect but with an iteration counter.
|
|
237
235
|
</div>
|
238
236
|
<div class="method">
|
239
237
|
<div class="title">
|
240
|
-
<a name="
|
238
|
+
<a name="M000415"></a><b>commonality</b>( &block )
|
241
239
|
</div>
|
242
240
|
<div class="description">
|
243
241
|
<p>
|
@@ -258,8 +256,8 @@ value for Object#hash and if obj1 == obj2.
|
|
258
256
|
</pre>
|
259
257
|
</div>
|
260
258
|
<div class="sourcecode">
|
261
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
262
|
-
<div id="
|
259
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000415_source')" id="l_M000415_source">+</a> ]</p>
|
260
|
+
<div id="M000415_source" class="dyn-source">
|
263
261
|
<pre>
|
264
262
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/commonality.rb, line 17</span>
|
265
263
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commonality</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -282,17 +280,17 @@ value for Object#hash and if obj1 == obj2.
|
|
282
280
|
</div>
|
283
281
|
<div class="method">
|
284
282
|
<div class="title">
|
285
|
-
<a name="
|
283
|
+
<a name="M000420"></a><b>compact_collect</b>(trash=nil, &block)
|
286
284
|
</div>
|
287
285
|
<div class="description">
|
288
286
|
<p>
|
289
|
-
Alias for <a href="Enumerable.html#
|
287
|
+
Alias for <a href="Enumerable.html#M000419">compact_map</a>
|
290
288
|
</p>
|
291
289
|
</div>
|
292
290
|
</div>
|
293
291
|
<div class="method">
|
294
292
|
<div class="title">
|
295
|
-
<a name="
|
293
|
+
<a name="M000419"></a><b>compact_map</b>(trash=nil) {|*a| ...}
|
296
294
|
</div>
|
297
295
|
<div class="description">
|
298
296
|
<p>
|
@@ -319,11 +317,11 @@ NOTE: Perhaps nicer to have as added functionality for compact.
|
|
319
317
|
</div>
|
320
318
|
<div class="aka">
|
321
319
|
This method is also aliased as
|
322
|
-
<a href="Enumerable.html#
|
320
|
+
<a href="Enumerable.html#M000420">compact_collect</a>
|
323
321
|
</div>
|
324
322
|
<div class="sourcecode">
|
325
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
326
|
-
<div id="
|
323
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000419_source')" id="l_M000419_source">+</a> ]</p>
|
324
|
+
<div id="M000419_source" class="dyn-source">
|
327
325
|
<pre>
|
328
326
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 37</span>
|
329
327
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compact_map</span>(<span class="ruby-identifier">trash</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -346,7 +344,7 @@ NOTE: Perhaps nicer to have as added functionality for compact.
|
|
346
344
|
</div>
|
347
345
|
<div class="method">
|
348
346
|
<div class="title">
|
349
|
-
<a name="
|
347
|
+
<a name="M000437"></a><b>count</b>(*c)
|
350
348
|
</div>
|
351
349
|
<div class="description">
|
352
350
|
<p>
|
@@ -368,8 +366,8 @@ Count can also handle multiple-valued blocks.
|
|
368
366
|
</pre>
|
369
367
|
</div>
|
370
368
|
<div class="sourcecode">
|
371
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
372
|
-
<div id="
|
369
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000437_source')" id="l_M000437_source">+</a> ]</p>
|
370
|
+
<div id="M000437_source" class="dyn-source">
|
373
371
|
<pre>
|
374
372
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/count.rb, line 19</span>
|
375
373
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">c</span>)
|
@@ -381,7 +379,7 @@ Count can also handle multiple-valued blocks.
|
|
381
379
|
</div>
|
382
380
|
<div class="method">
|
383
381
|
<div class="title">
|
384
|
-
<a name="
|
382
|
+
<a name="M000422"></a><b>divide</b>(pattern)
|
385
383
|
</div>
|
386
384
|
<div class="description">
|
387
385
|
<p>
|
@@ -395,8 +393,8 @@ Divide on matching pattern.
|
|
395
393
|
</pre>
|
396
394
|
</div>
|
397
395
|
<div class="sourcecode">
|
398
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
399
|
-
<div id="
|
396
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000422_source')" id="l_M000422_source">+</a> ]</p>
|
397
|
+
<div id="M000422_source" class="dyn-source">
|
400
398
|
<pre>
|
401
399
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/divide.rb, line 10</span>
|
402
400
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>(<span class="ruby-identifier">pattern</span>)
|
@@ -413,17 +411,17 @@ Divide on matching pattern.
|
|
413
411
|
</div>
|
414
412
|
<div class="method">
|
415
413
|
<div class="title">
|
416
|
-
<a name="
|
414
|
+
<a name="M000425"></a><b>duplicates</b>()
|
417
415
|
</div>
|
418
416
|
<div class="description">
|
419
417
|
<p>
|
420
|
-
Alias for <a href="Enumerable.html#
|
418
|
+
Alias for <a href="Enumerable.html#M000424">nonuniq</a>
|
421
419
|
</p>
|
422
420
|
</div>
|
423
421
|
</div>
|
424
422
|
<div class="method">
|
425
423
|
<div class="title">
|
426
|
-
<a name="
|
424
|
+
<a name="M000438"></a><b>each_by</b>(steps=nil, &block)
|
427
425
|
</div>
|
428
426
|
<div class="description">
|
429
427
|
<p>
|
@@ -448,8 +446,8 @@ block. If each_slice ever suppots this this method can be deprecated.
|
|
448
446
|
</pre>
|
449
447
|
</div>
|
450
448
|
<div class="sourcecode">
|
451
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
452
|
-
<div id="
|
449
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000438_source')" id="l_M000438_source">+</a> ]</p>
|
450
|
+
<div id="M000438_source" class="dyn-source">
|
453
451
|
<pre>
|
454
452
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/each_by.rb, line 22</span>
|
455
453
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_by</span>(<span class="ruby-identifier">steps</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -467,13 +465,13 @@ block. If each_slice ever suppots this this method can be deprecated.
|
|
467
465
|
</div>
|
468
466
|
<div class="method">
|
469
467
|
<div class="title">
|
470
|
-
<a name="
|
468
|
+
<a name="M000432"></a><b>entropy</b>()
|
471
469
|
</div>
|
472
470
|
<div class="description">
|
473
471
|
<p>
|
474
|
-
Shannon‘s <a href="Enumerable.html#
|
472
|
+
Shannon‘s <a href="Enumerable.html#M000432">entropy</a> for an array
|
475
473
|
- returns the average bits per symbol required to encode the array. Lower
|
476
|
-
values mean less "<a href="Enumerable.html#
|
474
|
+
values mean less "<a href="Enumerable.html#M000432">entropy</a>"
|
477
475
|
- i.e. less unique information in the array.
|
478
476
|
</p>
|
479
477
|
<pre>
|
@@ -483,8 +481,8 @@ values mean less "<a href="Enumerable.html#M000425">entropy</a>"
|
|
483
481
|
</pre>
|
484
482
|
</div>
|
485
483
|
<div class="sourcecode">
|
486
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
487
|
-
<div id="
|
484
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000432_source')" id="l_M000432_source">+</a> ]</p>
|
485
|
+
<div id="M000432_source" class="dyn-source">
|
488
486
|
<pre>
|
489
487
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 14</span>
|
490
488
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entropy</span>
|
@@ -502,20 +500,20 @@ values mean less "<a href="Enumerable.html#M000425">entropy</a>"
|
|
502
500
|
</div>
|
503
501
|
<div class="method">
|
504
502
|
<div class="title">
|
505
|
-
<a name="
|
503
|
+
<a name="M000421"></a><b>frequency</b>()
|
506
504
|
</div>
|
507
505
|
<div class="description">
|
508
506
|
<p>
|
509
507
|
Generates a hash mapping each unique symbol in the array to the absolute <a
|
510
|
-
href="Enumerable.html#
|
508
|
+
href="Enumerable.html#M000421">frequency</a> it appears.
|
511
509
|
</p>
|
512
510
|
<pre>
|
513
511
|
CREDIT: Brian Schröder
|
514
512
|
</pre>
|
515
513
|
</div>
|
516
514
|
<div class="sourcecode">
|
517
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
518
|
-
<div id="
|
515
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000421_source')" id="l_M000421_source">+</a> ]</p>
|
516
|
+
<div id="M000421_source" class="dyn-source">
|
519
517
|
<pre>
|
520
518
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/frequency.rb, line 8</span>
|
521
519
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">frequency</span>
|
@@ -532,21 +530,21 @@ href="Enumerable.html#M000414">frequency</a> it appears.
|
|
532
530
|
</div>
|
533
531
|
<div class="method">
|
534
532
|
<div class="title">
|
535
|
-
<a name="
|
533
|
+
<a name="M000430"></a><b>graph</b>(&yld)
|
536
534
|
</div>
|
537
535
|
<div class="description">
|
538
536
|
<p>
|
539
|
-
Alias for <a href="Enumerable.html#
|
537
|
+
Alias for <a href="Enumerable.html#M000429">mash</a>
|
540
538
|
</p>
|
541
539
|
</div>
|
542
540
|
</div>
|
543
541
|
<div class="method">
|
544
542
|
<div class="title">
|
545
|
-
<a name="
|
543
|
+
<a name="M000412"></a><b>group_by</b>( {|| ...}
|
546
544
|
</div>
|
547
545
|
<div class="description">
|
548
546
|
<p>
|
549
|
-
<a href="Enumerable.html#
|
547
|
+
<a href="Enumerable.html#M000412">group_by</a> is used to group items in a
|
550
548
|
collection by something they have in common. The common factor is the key
|
551
549
|
in the resulting hash, the array of like elements is the value.
|
552
550
|
</p>
|
@@ -561,8 +559,8 @@ in the resulting hash, the array of like elements is the value.
|
|
561
559
|
</pre>
|
562
560
|
</div>
|
563
561
|
<div class="sourcecode">
|
564
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
565
|
-
<div id="
|
562
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">+</a> ]</p>
|
563
|
+
<div id="M000412_source" class="dyn-source">
|
566
564
|
<pre>
|
567
565
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/group_by.rb, line 17</span>
|
568
566
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group_by</span> <span class="ruby-comment cmt">#:yield:</span>
|
@@ -577,12 +575,12 @@ in the resulting hash, the array of like elements is the value.
|
|
577
575
|
</div>
|
578
576
|
<div class="method">
|
579
577
|
<div class="title">
|
580
|
-
<a name="
|
578
|
+
<a name="M000433"></a><b>ideal_entropy</b>()
|
581
579
|
</div>
|
582
580
|
<div class="description">
|
583
581
|
<p>
|
584
582
|
Returns the maximum possible Shannon <a
|
585
|
-
href="Enumerable.html#
|
583
|
+
href="Enumerable.html#M000432">entropy</a> of the array with given size
|
586
584
|
assuming that it is an "order-0" source (each element is selected
|
587
585
|
independently of the next).
|
588
586
|
</p>
|
@@ -591,8 +589,8 @@ independently of the next).
|
|
591
589
|
</pre>
|
592
590
|
</div>
|
593
591
|
<div class="sourcecode">
|
594
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
595
|
-
<div id="
|
592
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000433_source')" id="l_M000433_source">+</a> ]</p>
|
593
|
+
<div id="M000433_source" class="dyn-source">
|
596
594
|
<pre>
|
597
595
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 30</span>
|
598
596
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ideal_entropy</span>
|
@@ -606,7 +604,7 @@ independently of the next).
|
|
606
604
|
</div>
|
607
605
|
<div class="method">
|
608
606
|
<div class="title">
|
609
|
-
<a name="
|
607
|
+
<a name="M000423"></a><b>inject!</b>(s) {|k, i| ...}
|
610
608
|
</div>
|
611
609
|
<div class="description">
|
612
610
|
<p>
|
@@ -614,7 +612,7 @@ A small variation of Inject that save one from having to return the
|
|
614
612
|
aggregating or memo argument.
|
615
613
|
</p>
|
616
614
|
<p>
|
617
|
-
Say you want to <a href="Enumerable.html#
|
615
|
+
Say you want to <a href="Enumerable.html#M000437">count</a> letters.
|
618
616
|
</p>
|
619
617
|
<pre>
|
620
618
|
some_text.inject!(Hash.new(0)) {|h,l| h[l] += 1}
|
@@ -630,8 +628,8 @@ vs
|
|
630
628
|
</pre>
|
631
629
|
</div>
|
632
630
|
<div class="sourcecode">
|
633
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
634
|
-
<div id="
|
631
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000423_source')" id="l_M000423_source">+</a> ]</p>
|
632
|
+
<div id="M000423_source" class="dyn-source">
|
635
633
|
<pre>
|
636
634
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/inject.rb, line 17</span>
|
637
635
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inject!</span>(<span class="ruby-identifier">s</span>)
|
@@ -645,7 +643,7 @@ vs
|
|
645
643
|
</div>
|
646
644
|
<div class="method">
|
647
645
|
<div class="title">
|
648
|
-
<a name="
|
646
|
+
<a name="M000435"></a><b>map_send</b>(meth, *args, &block)
|
649
647
|
</div>
|
650
648
|
<div class="description">
|
651
649
|
<p>
|
@@ -656,8 +654,8 @@ Send a message to each element and collect the result.
|
|
656
654
|
</pre>
|
657
655
|
</div>
|
658
656
|
<div class="sourcecode">
|
659
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
660
|
-
<div id="
|
657
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000435_source')" id="l_M000435_source">+</a> ]</p>
|
658
|
+
<div id="M000435_source" class="dyn-source">
|
661
659
|
<pre>
|
662
660
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/map_send.rb, line 7</span>
|
663
661
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">map_send</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -669,17 +667,17 @@ Send a message to each element and collect the result.
|
|
669
667
|
</div>
|
670
668
|
<div class="method">
|
671
669
|
<div class="title">
|
672
|
-
<a name="
|
670
|
+
<a name="M000418"></a><b>map_with_index</b>()
|
673
671
|
</div>
|
674
672
|
<div class="description">
|
675
673
|
<p>
|
676
|
-
Alias for <a href="Enumerable.html#
|
674
|
+
Alias for <a href="Enumerable.html#M000417">collect_with_index</a>
|
677
675
|
</p>
|
678
676
|
</div>
|
679
677
|
</div>
|
680
678
|
<div class="method">
|
681
679
|
<div class="title">
|
682
|
-
<a name="
|
680
|
+
<a name="M000429"></a><b>mash</b>(&yld)
|
683
681
|
</div>
|
684
682
|
<div class="description">
|
685
683
|
<p>
|
@@ -701,11 +699,11 @@ NOTE: Would correlate would be better?
|
|
701
699
|
</div>
|
702
700
|
<div class="aka">
|
703
701
|
This method is also aliased as
|
704
|
-
<a href="Enumerable.html#
|
702
|
+
<a href="Enumerable.html#M000430">graph</a>
|
705
703
|
</div>
|
706
704
|
<div class="sourcecode">
|
707
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
708
|
-
<div id="
|
705
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000429_source')" id="l_M000429_source">+</a> ]</p>
|
706
|
+
<div id="M000429_source" class="dyn-source">
|
709
707
|
<pre>
|
710
708
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mash.rb, line 15</span>
|
711
709
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mash</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
@@ -726,26 +724,27 @@ NOTE: Would correlate would be better?
|
|
726
724
|
</div>
|
727
725
|
<div class="method">
|
728
726
|
<div class="title">
|
729
|
-
<a name="
|
727
|
+
<a name="M000414"></a><b>mode</b>()
|
730
728
|
</div>
|
731
729
|
<div class="description">
|
732
730
|
<p>
|
733
|
-
In Statistics <a href="Enumerable.html#
|
731
|
+
In Statistics <a href="Enumerable.html#M000414">mode</a> is the value that
|
734
732
|
occurs most frequently in a given set of data.
|
735
733
|
</p>
|
736
734
|
<pre>
|
737
|
-
CREDIT:
|
735
|
+
CREDIT: Robert Klemme
|
738
736
|
</pre>
|
739
737
|
</div>
|
740
738
|
<div class="sourcecode">
|
741
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
742
|
-
<div id="
|
739
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000414_source')" id="l_M000414_source">+</a> ]</p>
|
740
|
+
<div id="M000414_source" class="dyn-source">
|
743
741
|
<pre>
|
744
742
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mode.rb, line 8</span>
|
745
743
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mode</span>
|
746
|
-
<span class="ruby-identifier">
|
747
|
-
<span class="ruby-identifier">
|
748
|
-
<span class="ruby-identifier">
|
744
|
+
<span class="ruby-identifier">max</span> = <span class="ruby-value">0</span>
|
745
|
+
<span class="ruby-identifier">c</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span> <span class="ruby-value">0</span>
|
746
|
+
<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">cc</span> = <span class="ruby-identifier">c</span>[<span class="ruby-identifier">x</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>; <span class="ruby-identifier">max</span> = <span class="ruby-identifier">cc</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cc</span> <span class="ruby-operator">></span> <span class="ruby-identifier">max</span>}
|
747
|
+
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">max</span>}.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>}
|
749
748
|
<span class="ruby-keyword kw">end</span>
|
750
749
|
</pre>
|
751
750
|
</div>
|
@@ -753,14 +752,14 @@ occurs most frequently in a given set of data.
|
|
753
752
|
</div>
|
754
753
|
<div class="method">
|
755
754
|
<div class="title">
|
756
|
-
<a name="
|
755
|
+
<a name="M000431"></a><b>modulate</b>(modulo)
|
757
756
|
</div>
|
758
757
|
<div class="description">
|
759
758
|
<p>
|
760
759
|
Modulate. Divide an array into groups by modulo of the index.
|
761
760
|
</p>
|
762
761
|
<p>
|
763
|
-
[2,4,6,8].<a href="Enumerable.html#
|
762
|
+
[2,4,6,8].<a href="Enumerable.html#M000431">modulate</a>(2) #=>
|
764
763
|
[[2,6],[4,8]]
|
765
764
|
</p>
|
766
765
|
<pre>
|
@@ -771,8 +770,8 @@ NOTE: Would this be better named ‘collate’?
|
|
771
770
|
</p>
|
772
771
|
</div>
|
773
772
|
<div class="sourcecode">
|
774
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
775
|
-
<div id="
|
773
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000431_source')" id="l_M000431_source">+</a> ]</p>
|
774
|
+
<div id="M000431_source" class="dyn-source">
|
776
775
|
<pre>
|
777
776
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/modulate.rb, line 11</span>
|
778
777
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulate</span>(<span class="ruby-identifier">modulo</span>)
|
@@ -790,7 +789,7 @@ NOTE: Would this be better named ‘collate’?
|
|
790
789
|
</div>
|
791
790
|
<div class="method">
|
792
791
|
<div class="title">
|
793
|
-
<a name="
|
792
|
+
<a name="M000426"></a><b>none?</b>( {|e| ...}
|
794
793
|
</div>
|
795
794
|
<div class="description">
|
796
795
|
<p>
|
@@ -814,8 +813,8 @@ only if <em>none</em> of the elements have a true value (i.e. not
|
|
814
813
|
</pre>
|
815
814
|
</div>
|
816
815
|
<div class="sourcecode">
|
817
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
818
|
-
<div id="
|
816
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000426_source')" id="l_M000426_source">+</a> ]</p>
|
817
|
+
<div id="M000426_source" class="dyn-source">
|
819
818
|
<pre>
|
820
819
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/none.rb, line 21</span>
|
821
820
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">none?</span> <span class="ruby-comment cmt"># :yield: e</span>
|
@@ -831,7 +830,7 @@ only if <em>none</em> of the elements have a true value (i.e. not
|
|
831
830
|
</div>
|
832
831
|
<div class="method">
|
833
832
|
<div class="title">
|
834
|
-
<a name="
|
833
|
+
<a name="M000424"></a><b>nonuniq</b>()
|
835
834
|
</div>
|
836
835
|
<div class="description">
|
837
836
|
<p>
|
@@ -845,11 +844,11 @@ Returns a list on non-unique,
|
|
845
844
|
</div>
|
846
845
|
<div class="aka">
|
847
846
|
This method is also aliased as
|
848
|
-
<a href="Enumerable.html#
|
847
|
+
<a href="Enumerable.html#M000425">duplicates</a>
|
849
848
|
</div>
|
850
849
|
<div class="sourcecode">
|
851
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
852
|
-
<div id="
|
850
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">+</a> ]</p>
|
851
|
+
<div id="M000424_source" class="dyn-source">
|
853
852
|
<pre>
|
854
853
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/duplicates.rb, line 9</span>
|
855
854
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nonuniq</span>
|
@@ -867,12 +866,12 @@ Returns a list on non-unique,
|
|
867
866
|
</div>
|
868
867
|
<div class="method">
|
869
868
|
<div class="title">
|
870
|
-
<a name="
|
869
|
+
<a name="M000416"></a><b>occur</b>(n=nil) {|| ...}
|
871
870
|
</div>
|
872
871
|
<div class="description">
|
873
872
|
<p>
|
874
873
|
Returns an array of elements for the elements that <a
|
875
|
-
href="Enumerable.html#
|
874
|
+
href="Enumerable.html#M000416">occur</a> n times. Or according to the
|
876
875
|
results of a given block.
|
877
876
|
</p>
|
878
877
|
<pre>
|
@@ -890,8 +889,8 @@ results of a given block.
|
|
890
889
|
</pre>
|
891
890
|
</div>
|
892
891
|
<div class="sourcecode">
|
893
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
894
|
-
<div id="
|
892
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000416_source')" id="l_M000416_source">+</a> ]</p>
|
893
|
+
<div id="M000416_source" class="dyn-source">
|
895
894
|
<pre>
|
896
895
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/occur.rb, line 18</span>
|
897
896
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">occur</span>(<span class="ruby-identifier">n</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#:yield:</span>
|
@@ -918,7 +917,7 @@ results of a given block.
|
|
918
917
|
</div>
|
919
918
|
<div class="method">
|
920
919
|
<div class="title">
|
921
|
-
<a name="
|
920
|
+
<a name="M000410"></a><b>one?</b>( {|e| ...}
|
922
921
|
</div>
|
923
922
|
<div class="description">
|
924
923
|
<p>
|
@@ -942,8 +941,8 @@ only if <em>exactly one</em> element has a true value (i.e. not
|
|
942
941
|
</pre>
|
943
942
|
</div>
|
944
943
|
<div class="sourcecode">
|
945
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
946
|
-
<div id="
|
944
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">+</a> ]</p>
|
945
|
+
<div id="M000410_source" class="dyn-source">
|
947
946
|
<pre>
|
948
947
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/one.rb, line 21</span>
|
949
948
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">one?</span> <span class="ruby-comment cmt"># :yield: e</span>
|
@@ -966,12 +965,12 @@ only if <em>exactly one</em> element has a true value (i.e. not
|
|
966
965
|
</div>
|
967
966
|
<div class="method">
|
968
967
|
<div class="title">
|
969
|
-
<a name="
|
968
|
+
<a name="M000436"></a><b>probability</b>()
|
970
969
|
</div>
|
971
970
|
<div class="description">
|
972
971
|
<p>
|
973
972
|
Generates a hash mapping each unique element in the array to the relative
|
974
|
-
<a href="Enumerable.html#
|
973
|
+
<a href="Enumerable.html#M000421">frequency</a>, i.e. the probablity, of it
|
975
974
|
appearence.
|
976
975
|
</p>
|
977
976
|
<pre>
|
@@ -979,8 +978,8 @@ appearence.
|
|
979
978
|
</pre>
|
980
979
|
</div>
|
981
980
|
<div class="sourcecode">
|
982
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
983
|
-
<div id="
|
981
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000436_source')" id="l_M000436_source">+</a> ]</p>
|
982
|
+
<div id="M000436_source" class="dyn-source">
|
984
983
|
<pre>
|
985
984
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/probability.rb, line 9</span>
|
986
985
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">probability</span>
|
@@ -999,12 +998,12 @@ appearence.
|
|
999
998
|
</div>
|
1000
999
|
<div class="method">
|
1001
1000
|
<div class="title">
|
1002
|
-
<a name="
|
1001
|
+
<a name="M000434"></a><b>split</b>(pattern)
|
1003
1002
|
</div>
|
1004
1003
|
<div class="description">
|
1005
1004
|
<p>
|
1006
1005
|
Split on matching pattern. Unlike <a
|
1007
|
-
href="Enumerable.html#
|
1006
|
+
href="Enumerable.html#M000422">divide</a> this does not include matching
|
1008
1007
|
elements.
|
1009
1008
|
</p>
|
1010
1009
|
<pre>
|
@@ -1016,19 +1015,23 @@ CREDIT: Trans
|
|
1016
1015
|
</p>
|
1017
1016
|
</div>
|
1018
1017
|
<div class="sourcecode">
|
1019
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1020
|
-
<div id="
|
1018
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000434_source')" id="l_M000434_source">+</a> ]</p>
|
1019
|
+
<div id="M000434_source" class="dyn-source">
|
1021
1020
|
<pre>
|
1022
1021
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/split.rb, line 10</span>
|
1023
1022
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span>(<span class="ruby-identifier">pattern</span>)
|
1023
|
+
<span class="ruby-identifier">sect</span> = []
|
1024
1024
|
<span class="ruby-identifier">memo</span> = []
|
1025
1025
|
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">obj</span><span class="ruby-operator">|</span>
|
1026
1026
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pattern</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">obj</span>
|
1027
|
-
<span class="ruby-identifier">memo</span
|
1027
|
+
<span class="ruby-identifier">memo</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">sect</span>
|
1028
|
+
<span class="ruby-identifier">sect</span> = []
|
1028
1029
|
<span class="ruby-keyword kw">else</span>
|
1029
|
-
<span class="ruby-identifier">
|
1030
|
+
<span class="ruby-identifier">sect</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">obj</span>
|
1030
1031
|
<span class="ruby-keyword kw">end</span>
|
1031
1032
|
<span class="ruby-keyword kw">end</span>
|
1033
|
+
<span class="ruby-identifier">memo</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">sect</span> <span class="ruby-comment cmt">#unless sect.empty?</span>
|
1034
|
+
<span class="ruby-identifier">memo</span>.<span class="ruby-identifier">pop</span> <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">memo</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">empty?</span>
|
1032
1035
|
<span class="ruby-identifier">memo</span>
|
1033
1036
|
<span class="ruby-keyword kw">end</span>
|
1034
1037
|
</pre>
|
@@ -1037,11 +1040,11 @@ CREDIT: Trans
|
|
1037
1040
|
</div>
|
1038
1041
|
<div class="method">
|
1039
1042
|
<div class="title">
|
1040
|
-
<a name="
|
1043
|
+
<a name="M000413"></a><b>sum</b>(identity = 0, &block)
|
1041
1044
|
</div>
|
1042
1045
|
<div class="description">
|
1043
1046
|
<p>
|
1044
|
-
Uses #+ to <a href="Enumerable.html#
|
1047
|
+
Uses #+ to <a href="Enumerable.html#M000413">sum</a> the enumerated
|
1045
1048
|
elements.
|
1046
1049
|
</p>
|
1047
1050
|
<pre>
|
@@ -1050,8 +1053,8 @@ elements.
|
|
1050
1053
|
</pre>
|
1051
1054
|
</div>
|
1052
1055
|
<div class="sourcecode">
|
1053
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1054
|
-
<div id="
|
1056
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000413_source')" id="l_M000413_source">+</a> ]</p>
|
1057
|
+
<div id="M000413_source" class="dyn-source">
|
1055
1058
|
<pre>
|
1056
1059
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/sum.rb, line 8</span>
|
1057
1060
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sum</span>(<span class="ruby-identifier">identity</span> = <span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1067,7 +1070,7 @@ elements.
|
|
1067
1070
|
</div>
|
1068
1071
|
<div class="method">
|
1069
1072
|
<div class="title">
|
1070
|
-
<a name="
|
1073
|
+
<a name="M000409"></a><b>to_h</b>(arrayed=nil)
|
1071
1074
|
</div>
|
1072
1075
|
<div class="description">
|
1073
1076
|
<p>
|
@@ -1079,8 +1082,8 @@ CREDIT: Trans
|
|
1079
1082
|
</p>
|
1080
1083
|
</div>
|
1081
1084
|
<div class="sourcecode">
|
1082
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1083
|
-
<div id="
|
1085
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000409_source')" id="l_M000409_source">+</a> ]</p>
|
1086
|
+
<div id="M000409_source" class="dyn-source">
|
1084
1087
|
<pre>
|
1085
1088
|
<span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 65</span>
|
1086
1089
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>(<span class="ruby-identifier">arrayed</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -1092,7 +1095,7 @@ CREDIT: Trans
|
|
1092
1095
|
</div>
|
1093
1096
|
<div class="method">
|
1094
1097
|
<div class="title">
|
1095
|
-
<a name="
|
1098
|
+
<a name="M000427"></a><b>uniq_by</b>( {|| ...}
|
1096
1099
|
</div>
|
1097
1100
|
<div class="description">
|
1098
1101
|
<p>
|
@@ -1111,8 +1114,8 @@ produces
|
|
1111
1114
|
</pre>
|
1112
1115
|
</div>
|
1113
1116
|
<div class="sourcecode">
|
1114
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1115
|
-
<div id="
|
1117
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000427_source')" id="l_M000427_source">+</a> ]</p>
|
1118
|
+
<div id="M000427_source" class="dyn-source">
|
1116
1119
|
<pre>
|
1117
1120
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/uniq_by.rb, line 13</span>
|
1118
1121
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uniq_by</span> <span class="ruby-comment cmt">#:yield:</span>
|