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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -86,7 +86,7 @@ look true to Ruby, even if the actual result object is nil or false.
|
|
86
86
|
</p>
|
87
87
|
<p>
|
88
88
|
If you want to test the result for truth, get the unwrapped result object
|
89
|
-
via <a href="../Kernel.html#
|
89
|
+
via <a href="../Kernel.html#M000344">Kernel.demand</a>.
|
90
90
|
</p>
|
91
91
|
</div>
|
92
92
|
|
@@ -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
|
|
@@ -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
|
|
@@ -82,11 +82,9 @@ Object
|
|
82
82
|
|
83
83
|
|
84
84
|
<div class="sectiontitle">Methods</div>
|
85
|
-
<
|
86
|
-
<
|
87
|
-
<
|
88
|
-
<li><a href="#M000152">matchtree</a></li>
|
89
|
-
</ul>
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000151">match</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000152">matchset</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000153">matchtree</a></span>
|
90
88
|
|
91
89
|
|
92
90
|
|
@@ -96,11 +94,11 @@ Object
|
|
96
94
|
<div class="sectiontitle">Public Instance methods</div>
|
97
95
|
<div class="method">
|
98
96
|
<div class="title">
|
99
|
-
<a name="
|
97
|
+
<a name="M000151"></a><b>match</b>(index=0)
|
100
98
|
</div>
|
101
99
|
<div class="description">
|
102
100
|
<p>
|
103
|
-
Return the primary <a href="MatchData.html#
|
101
|
+
Return the primary <a href="MatchData.html#M000151">match</a> string. This
|
104
102
|
is equivalent to +md[0]+.
|
105
103
|
</p>
|
106
104
|
<pre>
|
@@ -111,8 +109,8 @@ is equivalent to +md[0]+.
|
|
111
109
|
</pre>
|
112
110
|
</div>
|
113
111
|
<div class="sourcecode">
|
114
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
115
|
-
<div id="
|
112
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000151_source')" id="l_M000151_source">+</a> ]</p>
|
113
|
+
<div id="M000151_source" class="dyn-source">
|
116
114
|
<pre>
|
117
115
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/match.rb, line 10</span>
|
118
116
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">match</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
|
@@ -124,12 +122,12 @@ is equivalent to +md[0]+.
|
|
124
122
|
</div>
|
125
123
|
<div class="method">
|
126
124
|
<div class="title">
|
127
|
-
<a name="
|
125
|
+
<a name="M000152"></a><b>matchset</b>()
|
128
126
|
</div>
|
129
127
|
<div class="description">
|
130
128
|
<p>
|
131
|
-
Returns [ pre_match, <a href="MatchData.html#
|
132
|
-
post_match ]. (see <a href="MatchData.html#
|
129
|
+
Returns [ pre_match, <a href="MatchData.html#M000153">matchtree</a>,
|
130
|
+
post_match ]. (see <a href="MatchData.html#M000153">matchtree</a>)
|
133
131
|
</p>
|
134
132
|
<pre>
|
135
133
|
md = /(bb)(cc(dd))(ee)/.match "XXaabbccddeeffXX"
|
@@ -140,8 +138,8 @@ post_match ]. (see <a href="MatchData.html#M000152">matchtree</a>)
|
|
140
138
|
</pre>
|
141
139
|
</div>
|
142
140
|
<div class="sourcecode">
|
143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
144
|
-
<div id="
|
141
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">+</a> ]</p>
|
142
|
+
<div id="M000152_source" class="dyn-source">
|
145
143
|
<pre>
|
146
144
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 11</span>
|
147
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchset</span>
|
@@ -153,7 +151,7 @@ post_match ]. (see <a href="MatchData.html#M000152">matchtree</a>)
|
|
153
151
|
</div>
|
154
152
|
<div class="method">
|
155
153
|
<div class="title">
|
156
|
-
<a name="
|
154
|
+
<a name="M000153"></a><b>matchtree</b>(index=0)
|
157
155
|
</div>
|
158
156
|
<div class="description">
|
159
157
|
<p>
|
@@ -169,8 +167,8 @@ the regular expression.
|
|
169
167
|
</pre>
|
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('M000153_source')" id="l_M000153_source">+</a> ]</p>
|
171
|
+
<div id="M000153_source" class="dyn-source">
|
174
172
|
<pre>
|
175
173
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 24</span>
|
176
174
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchtree</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</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
|
|
@@ -105,7 +105,7 @@ Object
|
|
105
105
|
|
106
106
|
<div class="description"><p>
|
107
107
|
It would nice if we could the following. Then the middle portion of the <a
|
108
|
-
href="Module.html#
|
108
|
+
href="Module.html#M000160">Comparable</a> method would not be needed. But I
|
109
109
|
fear it might break others code.
|
110
110
|
</p>
|
111
111
|
<pre>
|
@@ -124,42 +124,40 @@ fear it might break others code.
|
|
124
124
|
|
125
125
|
|
126
126
|
<div class="sectiontitle">Methods</div>
|
127
|
-
<
|
128
|
-
<
|
129
|
-
<
|
130
|
-
<
|
131
|
-
<
|
132
|
-
<
|
133
|
-
<
|
134
|
-
<
|
135
|
-
<
|
136
|
-
<
|
137
|
-
<
|
138
|
-
<
|
139
|
-
<
|
140
|
-
<
|
141
|
-
<
|
142
|
-
<
|
143
|
-
<
|
144
|
-
<
|
145
|
-
<
|
146
|
-
<
|
147
|
-
<
|
148
|
-
<
|
149
|
-
<
|
150
|
-
<
|
151
|
-
<
|
152
|
-
<
|
153
|
-
<
|
154
|
-
<
|
155
|
-
<
|
156
|
-
<
|
157
|
-
<
|
158
|
-
<
|
159
|
-
<
|
160
|
-
<
|
161
|
-
<li><a href="#M000189">wrap_method</a></li>
|
162
|
-
</ul>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000170">*</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000168">+</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000169">-</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000160">Comparable</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000184">abstract</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000185">alias_method_chain</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000172">all_instance_methods</a></span>
|
134
|
+
<span style="padding-right: 5px;"><a href="#M000162">ancestor?</a></span>
|
135
|
+
<span style="padding-right: 5px;"><a href="#M000192">basename</a></span>
|
136
|
+
<span style="padding-right: 5px;"><a href="#M000159">class_def</a></span>
|
137
|
+
<span style="padding-right: 5px;"><a href="#M000179">class_load</a></span>
|
138
|
+
<span style="padding-right: 5px;"><a href="#M000178">class_require</a></span>
|
139
|
+
<span style="padding-right: 5px;"><a href="#M000164">conflict?</a></span>
|
140
|
+
<span style="padding-right: 5px;"><a href="#M000173">instance_method_defined?</a></span>
|
141
|
+
<span style="padding-right: 5px;"><a href="#M000188">integrate</a></span>
|
142
|
+
<span style="padding-right: 5px;"><a href="#M000181">is</a></span>
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000180">is?</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000163">methodize</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000183">modspace</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000176">module_load</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000175">module_method_defined?</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000177">module_require</a></span>
|
149
|
+
<span style="padding-right: 5px;"><a href="#M000182">nesting</a></span>
|
150
|
+
<span style="padding-right: 5px;"><a href="#M000171">pathize</a></span>
|
151
|
+
<span style="padding-right: 5px;"><a href="#M000161">prepend</a></span>
|
152
|
+
<span style="padding-right: 5px;"><a href="#M000166">private_conflict?</a></span>
|
153
|
+
<span style="padding-right: 5px;"><a href="#M000167">protected_conflict?</a></span>
|
154
|
+
<span style="padding-right: 5px;"><a href="#M000165">public_conflict?</a></span>
|
155
|
+
<span style="padding-right: 5px;"><a href="#M000187">revisal</a></span>
|
156
|
+
<span style="padding-right: 5px;"><a href="#M000186">revise</a></span>
|
157
|
+
<span style="padding-right: 5px;"><a href="#M000174">singleton_method_defined?</a></span>
|
158
|
+
<span style="padding-right: 5px;"><a href="#M000189">spacename</a></span>
|
159
|
+
<span style="padding-right: 5px;"><a href="#M000191">wrap</a></span>
|
160
|
+
<span style="padding-right: 5px;"><a href="#M000190">wrap_method</a></span>
|
163
161
|
|
164
162
|
|
165
163
|
|
@@ -169,7 +167,7 @@ fear it might break others code.
|
|
169
167
|
<div class="sectiontitle">Public Instance methods</div>
|
170
168
|
<div class="method">
|
171
169
|
<div class="title">
|
172
|
-
<a name="
|
170
|
+
<a name="M000170"></a><b>*</b>(rename_map)
|
173
171
|
</div>
|
174
172
|
<div class="description">
|
175
173
|
<p>
|
@@ -191,8 +189,8 @@ Rename methods.
|
|
191
189
|
</pre>
|
192
190
|
</div>
|
193
191
|
<div class="sourcecode">
|
194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
195
|
-
<div id="
|
192
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">+</a> ]</p>
|
193
|
+
<div id="M000170_source" class="dyn-source">
|
196
194
|
<pre>
|
197
195
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 83</span>
|
198
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">rename_map</span>)
|
@@ -211,7 +209,7 @@ Rename methods.
|
|
211
209
|
</div>
|
212
210
|
<div class="method">
|
213
211
|
<div class="title">
|
214
|
-
<a name="
|
212
|
+
<a name="M000168"></a><b>+</b>(other)
|
215
213
|
</div>
|
216
214
|
<div class="description">
|
217
215
|
<p>
|
@@ -254,8 +252,8 @@ concept of modules has over traditional traits, inheritance.
|
|
254
252
|
</pre>
|
255
253
|
</div>
|
256
254
|
<div class="sourcecode">
|
257
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
258
|
-
<div id="
|
255
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000168_source')" id="l_M000168_source">+</a> ]</p>
|
256
|
+
<div id="M000168_source" class="dyn-source">
|
259
257
|
<pre>
|
260
258
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 36</span>
|
261
259
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
|
@@ -271,7 +269,7 @@ concept of modules has over traditional traits, inheritance.
|
|
271
269
|
</div>
|
272
270
|
<div class="method">
|
273
271
|
<div class="title">
|
274
|
-
<a name="
|
272
|
+
<a name="M000169"></a><b>-</b>(other)
|
275
273
|
</div>
|
276
274
|
<div class="description">
|
277
275
|
<p>
|
@@ -285,8 +283,8 @@ Subtract modules.
|
|
285
283
|
</pre>
|
286
284
|
</div>
|
287
285
|
<div class="sourcecode">
|
288
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
289
|
-
<div id="
|
286
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">+</a> ]</p>
|
287
|
+
<div id="M000169_source" class="dyn-source">
|
290
288
|
<pre>
|
291
289
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 51</span>
|
292
290
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
|
@@ -310,7 +308,7 @@ Subtract modules.
|
|
310
308
|
</div>
|
311
309
|
<div class="method">
|
312
310
|
<div class="title">
|
313
|
-
<a name="
|
311
|
+
<a name="M000160"></a><b>Comparable</b>(*accessors)
|
314
312
|
</div>
|
315
313
|
<div class="description">
|
316
314
|
<p>
|
@@ -320,7 +318,7 @@ Automatically generate sorting defintions base on attribute fields.
|
|
320
318
|
include SortOn(:a, :b)
|
321
319
|
</pre>
|
322
320
|
<p>
|
323
|
-
<a href="Module.html#
|
321
|
+
<a href="Module.html#M000181">is</a> equivalent to including a module
|
324
322
|
containing:
|
325
323
|
</p>
|
326
324
|
<pre>
|
@@ -332,8 +330,8 @@ containing:
|
|
332
330
|
</pre>
|
333
331
|
</div>
|
334
332
|
<div class="sourcecode">
|
335
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
336
|
-
<div id="
|
333
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">+</a> ]</p>
|
334
|
+
<div id="M000160_source" class="dyn-source">
|
337
335
|
<pre>
|
338
336
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/comparable.rb, line 28</span>
|
339
337
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Comparable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -354,12 +352,12 @@ containing:
|
|
354
352
|
</div>
|
355
353
|
<div class="method">
|
356
354
|
<div class="title">
|
357
|
-
<a name="
|
355
|
+
<a name="M000184"></a><b>abstract</b>( *sym )
|
358
356
|
</div>
|
359
357
|
<div class="description">
|
360
358
|
<p>
|
361
|
-
Create an <a href="Module.html#
|
362
|
-
href="Module.html#
|
359
|
+
Create an <a href="Module.html#M000184">abstract</a> method. If it <a
|
360
|
+
href="Module.html#M000181">is</a> not overridden, it will raise a TypeError
|
363
361
|
when called.
|
364
362
|
</p>
|
365
363
|
<pre>
|
@@ -374,8 +372,8 @@ when called.
|
|
374
372
|
</pre>
|
375
373
|
</div>
|
376
374
|
<div class="sourcecode">
|
377
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
378
|
-
<div id="
|
375
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">+</a> ]</p>
|
376
|
+
<div id="M000184_source" class="dyn-source">
|
379
377
|
<pre>
|
380
378
|
<span class="ruby-comment cmt"># File lib/core/facets/module/abstract.rb, line 15</span>
|
381
379
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abstract</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sym</span> )
|
@@ -389,7 +387,7 @@ when called.
|
|
389
387
|
</div>
|
390
388
|
<div class="method">
|
391
389
|
<div class="title">
|
392
|
-
<a name="
|
390
|
+
<a name="M000185"></a><b>alias_method_chain</b>(target, feature) {|aliased_target, punctuation| ...}
|
393
391
|
</div>
|
394
392
|
<div class="description">
|
395
393
|
<p>
|
@@ -415,7 +413,7 @@ Query and bang methods (foo?, foo!) keep the same punctuation:
|
|
415
413
|
alias_method_chain :foo?, :feature
|
416
414
|
</pre>
|
417
415
|
<p>
|
418
|
-
<a href="Module.html#
|
416
|
+
<a href="Module.html#M000181">is</a> equivalent to
|
419
417
|
</p>
|
420
418
|
<pre>
|
421
419
|
alias_method :foo_without_feature?, :foo?
|
@@ -430,8 +428,8 @@ so you can safely chain foo, foo?, and foo! with the same feature.
|
|
430
428
|
</pre>
|
431
429
|
</div>
|
432
430
|
<div class="sourcecode">
|
433
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
434
|
-
<div id="
|
431
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">+</a> ]</p>
|
432
|
+
<div id="M000185_source" class="dyn-source">
|
435
433
|
<pre>
|
436
434
|
<span class="ruby-comment cmt"># File lib/core/facets/module/alias_method_chain.rb, line 28</span>
|
437
435
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_method_chain</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">feature</span>)
|
@@ -460,7 +458,7 @@ so you can safely chain foo, foo?, and foo! with the same feature.
|
|
460
458
|
</div>
|
461
459
|
<div class="method">
|
462
460
|
<div class="title">
|
463
|
-
<a name="
|
461
|
+
<a name="M000172"></a><b>all_instance_methods</b>(include_super=true)
|
464
462
|
</div>
|
465
463
|
<div class="description">
|
466
464
|
<p>
|
@@ -473,15 +471,15 @@ List all instance methods, equivalent to
|
|
473
471
|
</pre>
|
474
472
|
<p>
|
475
473
|
TODO: Better name for <a
|
476
|
-
href="Module.html#
|
474
|
+
href="Module.html#M000172">all_instance_methods</a>?
|
477
475
|
</p>
|
478
476
|
<pre>
|
479
477
|
CREDIT: Trans
|
480
478
|
</pre>
|
481
479
|
</div>
|
482
480
|
<div class="sourcecode">
|
483
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
484
|
-
<div id="
|
481
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">+</a> ]</p>
|
482
|
+
<div id="M000172_source" class="dyn-source">
|
485
483
|
<pre>
|
486
484
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 13</span>
|
487
485
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all_instance_methods</span>(<span class="ruby-identifier">include_super</span>=<span class="ruby-keyword kw">true</span>)
|
@@ -495,7 +493,7 @@ href="Module.html#M000171">all_instance_methods</a>?
|
|
495
493
|
</div>
|
496
494
|
<div class="method">
|
497
495
|
<div class="title">
|
498
|
-
<a name="
|
496
|
+
<a name="M000162"></a><b>ancestor?</b>( mod )
|
499
497
|
</div>
|
500
498
|
<div class="description">
|
501
499
|
<p>
|
@@ -509,8 +507,8 @@ Is a given class or module an ancestor of this class or module?
|
|
509
507
|
</pre>
|
510
508
|
</div>
|
511
509
|
<div class="sourcecode">
|
512
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
513
|
-
<div id="
|
510
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">+</a> ]</p>
|
511
|
+
<div id="M000162_source" class="dyn-source">
|
514
512
|
<pre>
|
515
513
|
<span class="ruby-comment cmt"># File lib/core/facets/module/ancestor.rb, line 11</span>
|
516
514
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ancestor?</span>( <span class="ruby-identifier">mod</span> )
|
@@ -522,7 +520,7 @@ Is a given class or module an ancestor of this class or module?
|
|
522
520
|
</div>
|
523
521
|
<div class="method">
|
524
522
|
<div class="title">
|
525
|
-
<a name="
|
523
|
+
<a name="M000192"></a><b>basename</b>()
|
526
524
|
</div>
|
527
525
|
<div class="description">
|
528
526
|
<p>
|
@@ -539,7 +537,7 @@ Returns the root name of the module/class.
|
|
539
537
|
</pre>
|
540
538
|
<p>
|
541
539
|
For anonymous modules this will provide a <a
|
542
|
-
href="Module.html#
|
540
|
+
href="Module.html#M000192">basename</a> based on Module#inspect.
|
543
541
|
</p>
|
544
542
|
<pre>
|
545
543
|
m = Module.new
|
@@ -550,8 +548,8 @@ href="Module.html#M000191">basename</a> based on Module#inspect.
|
|
550
548
|
</pre>
|
551
549
|
</div>
|
552
550
|
<div class="sourcecode">
|
553
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
554
|
-
<div id="
|
551
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000192_source')" id="l_M000192_source">+</a> ]</p>
|
552
|
+
<div id="M000192_source" class="dyn-source">
|
555
553
|
<pre>
|
556
554
|
<span class="ruby-comment cmt"># File lib/core/facets/module/basename.rb, line 22</span>
|
557
555
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">basename</span>
|
@@ -567,7 +565,7 @@ href="Module.html#M000191">basename</a> based on Module#inspect.
|
|
567
565
|
</div>
|
568
566
|
<div class="method">
|
569
567
|
<div class="title">
|
570
|
-
<a name="
|
568
|
+
<a name="M000159"></a><b>class_def</b>(name, &blk)
|
571
569
|
</div>
|
572
570
|
<div class="description">
|
573
571
|
<p>
|
@@ -578,8 +576,8 @@ Defines an instance method within a class.
|
|
578
576
|
</pre>
|
579
577
|
</div>
|
580
578
|
<div class="sourcecode">
|
581
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
582
|
-
<div id="
|
579
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">+</a> ]</p>
|
580
|
+
<div id="M000159_source" class="dyn-source">
|
583
581
|
<pre>
|
584
582
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 82</span>
|
585
583
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_def</span> <span class="ruby-identifier">name</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>
|
@@ -591,27 +589,27 @@ Defines an instance method within a class.
|
|
591
589
|
</div>
|
592
590
|
<div class="method">
|
593
591
|
<div class="title">
|
594
|
-
<a name="
|
592
|
+
<a name="M000179"></a><b>class_load</b>( path )
|
595
593
|
</div>
|
596
594
|
<div class="description">
|
597
595
|
<p>
|
598
|
-
Alias for <a href="Module.html#
|
596
|
+
Alias for <a href="Module.html#M000176">module_load</a>
|
599
597
|
</p>
|
600
598
|
</div>
|
601
599
|
</div>
|
602
600
|
<div class="method">
|
603
601
|
<div class="title">
|
604
|
-
<a name="
|
602
|
+
<a name="M000178"></a><b>class_require</b>( path )
|
605
603
|
</div>
|
606
604
|
<div class="description">
|
607
605
|
<p>
|
608
|
-
Alias for <a href="Module.html#
|
606
|
+
Alias for <a href="Module.html#M000177">module_require</a>
|
609
607
|
</p>
|
610
608
|
</div>
|
611
609
|
</div>
|
612
610
|
<div class="method">
|
613
611
|
<div class="title">
|
614
|
-
<a name="
|
612
|
+
<a name="M000164"></a><b>conflict?</b>(other)
|
615
613
|
</div>
|
616
614
|
<div class="description">
|
617
615
|
<p>
|
@@ -635,15 +633,19 @@ Detect conflicts.
|
|
635
633
|
</pre>
|
636
634
|
</div>
|
637
635
|
<div class="sourcecode">
|
638
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
639
|
-
<div id="
|
636
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">+</a> ]</p>
|
637
|
+
<div id="M000164_source" class="dyn-source">
|
640
638
|
<pre>
|
641
639
|
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 21</span>
|
642
640
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conflict?</span>(<span class="ruby-identifier">other</span>)
|
641
|
+
<span class="ruby-identifier">common_ancestor</span> = (<span class="ruby-identifier">ancestors</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">ancestors</span>).<span class="ruby-identifier">first</span>
|
643
642
|
<span class="ruby-identifier">c</span> = []
|
644
643
|
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
645
644
|
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
646
645
|
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
646
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
647
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
648
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
647
649
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
648
650
|
<span class="ruby-keyword kw">end</span>
|
649
651
|
</pre>
|
@@ -652,11 +654,11 @@ Detect conflicts.
|
|
652
654
|
</div>
|
653
655
|
<div class="method">
|
654
656
|
<div class="title">
|
655
|
-
<a name="
|
657
|
+
<a name="M000173"></a><b>instance_method_defined?</b>(meth)
|
656
658
|
</div>
|
657
659
|
<div class="description">
|
658
660
|
<p>
|
659
|
-
Query whether a public instance method <a href="Module.html#
|
661
|
+
Query whether a public instance method <a href="Module.html#M000181">is</a>
|
660
662
|
defined for the module.
|
661
663
|
</p>
|
662
664
|
<pre>
|
@@ -665,8 +667,8 @@ defined for the module.
|
|
665
667
|
</pre>
|
666
668
|
</div>
|
667
669
|
<div class="sourcecode">
|
668
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
669
|
-
<div id="
|
670
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">+</a> ]</p>
|
671
|
+
<div id="M000173_source" class="dyn-source">
|
670
672
|
<pre>
|
671
673
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 24</span>
|
672
674
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
@@ -678,18 +680,18 @@ defined for the module.
|
|
678
680
|
</div>
|
679
681
|
<div class="method">
|
680
682
|
<div class="title">
|
681
|
-
<a name="
|
683
|
+
<a name="M000188"></a><b>integrate</b>(mod, &block)
|
682
684
|
</div>
|
683
685
|
<div class="description">
|
684
686
|
<p>
|
685
|
-
Using <a href="Module.html#
|
686
|
-
href="Module.html#
|
687
|
-
included <a href="Module.html#
|
687
|
+
Using <a href="Module.html#M000188">integrate</a> <a
|
688
|
+
href="Module.html#M000181">is</a> just like using include except the module
|
689
|
+
included <a href="Module.html#M000181">is</a> a reconstruction of the one
|
688
690
|
given altered by the commands given in the block.
|
689
691
|
</p>
|
690
692
|
<p>
|
691
693
|
Convenient commands available are: rename, redef, remove, nodef and <a
|
692
|
-
href="Module.html#
|
694
|
+
href="Module.html#M000191">wrap</a>. But any module method can be used.
|
693
695
|
</p>
|
694
696
|
<pre>
|
695
697
|
module W
|
@@ -708,9 +710,9 @@ href="Module.html#M000190">wrap</a>. But any module method can be used.
|
|
708
710
|
x.y #=> missing method error
|
709
711
|
</pre>
|
710
712
|
<p>
|
711
|
-
This <a href="Module.html#
|
712
|
-
href="Module.html#
|
713
|
-
href="Module.html#
|
713
|
+
This <a href="Module.html#M000181">is</a> like <a
|
714
|
+
href="Module.html#M000187">revisal</a>, but <a
|
715
|
+
href="Module.html#M000187">revisal</a> only returns the reconstructred
|
714
716
|
module. It does not include it.
|
715
717
|
</p>
|
716
718
|
<pre>
|
@@ -718,8 +720,8 @@ module. It does not include it.
|
|
718
720
|
</pre>
|
719
721
|
</div>
|
720
722
|
<div class="sourcecode">
|
721
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
722
|
-
<div id="
|
723
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">+</a> ]</p>
|
724
|
+
<div id="M000188_source" class="dyn-source">
|
723
725
|
<pre>
|
724
726
|
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 51</span>
|
725
727
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">integrate</span>(<span class="ruby-identifier">mod</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -734,16 +736,16 @@ module. It does not include it.
|
|
734
736
|
</div>
|
735
737
|
<div class="method">
|
736
738
|
<div class="title">
|
737
|
-
<a name="
|
739
|
+
<a name="M000181"></a><b>is</b>(*mods)
|
738
740
|
</div>
|
739
741
|
<div class="description">
|
740
742
|
<p>
|
741
|
-
alias_method :<a href="Module.html#
|
743
|
+
alias_method :<a href="Module.html#M000181">is</a>, :include
|
742
744
|
</p>
|
743
745
|
</div>
|
744
746
|
<div class="sourcecode">
|
745
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
746
|
-
<div id="
|
747
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">+</a> ]</p>
|
748
|
+
<div id="M000181_source" class="dyn-source">
|
747
749
|
<pre>
|
748
750
|
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 27</span>
|
749
751
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">mods</span>)
|
@@ -765,7 +767,7 @@ alias_method :<a href="Module.html#M000180">is</a>, :include
|
|
765
767
|
</div>
|
766
768
|
<div class="method">
|
767
769
|
<div class="title">
|
768
|
-
<a name="
|
770
|
+
<a name="M000180"></a><b>is?</b>(base)
|
769
771
|
</div>
|
770
772
|
<div class="description">
|
771
773
|
<p>
|
@@ -781,8 +783,8 @@ Is a given class or module an ancestor of this class or module?
|
|
781
783
|
</pre>
|
782
784
|
</div>
|
783
785
|
<div class="sourcecode">
|
784
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
785
|
-
<div id="
|
786
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">+</a> ]</p>
|
787
|
+
<div id="M000180_source" class="dyn-source">
|
786
788
|
<pre>
|
787
789
|
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 13</span>
|
788
790
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is?</span>(<span class="ruby-identifier">base</span>)
|
@@ -794,7 +796,7 @@ Is a given class or module an ancestor of this class or module?
|
|
794
796
|
</div>
|
795
797
|
<div class="method">
|
796
798
|
<div class="title">
|
797
|
-
<a name="
|
799
|
+
<a name="M000163"></a><b>methodize</b>()
|
798
800
|
</div>
|
799
801
|
<div class="description">
|
800
802
|
<p>
|
@@ -805,8 +807,8 @@ Translate a module name to a suitable method name.
|
|
805
807
|
</pre>
|
806
808
|
</div>
|
807
809
|
<div class="sourcecode">
|
808
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
809
|
-
<div id="
|
810
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">+</a> ]</p>
|
811
|
+
<div id="M000163_source" class="dyn-source">
|
810
812
|
<pre>
|
811
813
|
<span class="ruby-comment cmt"># File lib/core/facets/module/methodize.rb, line 9</span>
|
812
814
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
|
@@ -818,7 +820,7 @@ Translate a module name to a suitable method name.
|
|
818
820
|
</div>
|
819
821
|
<div class="method">
|
820
822
|
<div class="title">
|
821
|
-
<a name="
|
823
|
+
<a name="M000183"></a><b>modspace</b>()
|
822
824
|
</div>
|
823
825
|
<div class="description">
|
824
826
|
<p>
|
@@ -833,15 +835,15 @@ Returns the module‘s container module.
|
|
833
835
|
Example::Demo.modspace #=> Example
|
834
836
|
</pre>
|
835
837
|
<p>
|
836
|
-
See also <a href="Module.html#
|
838
|
+
See also <a href="Module.html#M000192">Module#basename</a>.
|
837
839
|
</p>
|
838
840
|
<pre>
|
839
841
|
CREDIT: Trans
|
840
842
|
</pre>
|
841
843
|
</div>
|
842
844
|
<div class="sourcecode">
|
843
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
844
|
-
<div id="
|
845
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">+</a> ]</p>
|
846
|
+
<div id="M000183_source" class="dyn-source">
|
845
847
|
<pre>
|
846
848
|
<span class="ruby-comment cmt"># File lib/core/facets/module/modspace.rb, line 16</span>
|
847
849
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modspace</span>
|
@@ -854,7 +856,7 @@ See also <a href="Module.html#M000191">Module#basename</a>.
|
|
854
856
|
</div>
|
855
857
|
<div class="method">
|
856
858
|
<div class="title">
|
857
|
-
<a name="
|
859
|
+
<a name="M000176"></a><b>module_load</b>( path )
|
858
860
|
</div>
|
859
861
|
<div class="description">
|
860
862
|
<p>
|
@@ -866,11 +868,11 @@ Load file into module/class namespace.
|
|
866
868
|
</div>
|
867
869
|
<div class="aka">
|
868
870
|
This method is also aliased as
|
869
|
-
<a href="Module.html#
|
871
|
+
<a href="Module.html#M000179">class_load</a>
|
870
872
|
</div>
|
871
873
|
<div class="sourcecode">
|
872
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
873
|
-
<div id="
|
874
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">+</a> ]</p>
|
875
|
+
<div id="M000176_source" class="dyn-source">
|
874
876
|
<pre>
|
875
877
|
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 9</span>
|
876
878
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_load</span>( <span class="ruby-identifier">path</span> )
|
@@ -892,7 +894,7 @@ Load file into module/class namespace.
|
|
892
894
|
</div>
|
893
895
|
<div class="method">
|
894
896
|
<div class="title">
|
895
|
-
<a name="
|
897
|
+
<a name="M000175"></a><b>module_method_defined?</b>(meth)
|
896
898
|
</div>
|
897
899
|
<div class="description">
|
898
900
|
<p>
|
@@ -902,7 +904,7 @@ Alias for singleton_method_defined?
|
|
902
904
|
</div>
|
903
905
|
<div class="method">
|
904
906
|
<div class="title">
|
905
|
-
<a name="
|
907
|
+
<a name="M000177"></a><b>module_require</b>( path )
|
906
908
|
</div>
|
907
909
|
<div class="description">
|
908
910
|
<p>
|
@@ -914,11 +916,11 @@ Require file into module/class namespace.
|
|
914
916
|
</div>
|
915
917
|
<div class="aka">
|
916
918
|
This method is also aliased as
|
917
|
-
<a href="Module.html#
|
919
|
+
<a href="Module.html#M000178">class_require</a>
|
918
920
|
</div>
|
919
921
|
<div class="sourcecode">
|
920
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
921
|
-
<div id="
|
922
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">+</a> ]</p>
|
923
|
+
<div id="M000177_source" class="dyn-source">
|
922
924
|
<pre>
|
923
925
|
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 27</span>
|
924
926
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_require</span>( <span class="ruby-identifier">path</span> )
|
@@ -950,11 +952,11 @@ Require file into module/class namespace.
|
|
950
952
|
</div>
|
951
953
|
<div class="method">
|
952
954
|
<div class="title">
|
953
|
-
<a name="
|
955
|
+
<a name="M000182"></a><b>nesting</b>()
|
954
956
|
</div>
|
955
957
|
<div class="description">
|
956
958
|
<p>
|
957
|
-
Show a modules <a href="Module.html#
|
959
|
+
Show a modules <a href="Module.html#M000182">nesting</a> in module
|
958
960
|
namespaces.
|
959
961
|
</p>
|
960
962
|
<pre>
|
@@ -964,8 +966,8 @@ namespaces.
|
|
964
966
|
</pre>
|
965
967
|
</div>
|
966
968
|
<div class="sourcecode">
|
967
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
968
|
-
<div id="
|
969
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">+</a> ]</p>
|
970
|
+
<div id="M000182_source" class="dyn-source">
|
969
971
|
<pre>
|
970
972
|
<span class="ruby-comment cmt"># File lib/core/facets/module/nesting.rb, line 9</span>
|
971
973
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nesting</span>
|
@@ -981,7 +983,7 @@ namespaces.
|
|
981
983
|
</div>
|
982
984
|
<div class="method">
|
983
985
|
<div class="title">
|
984
|
-
<a name="
|
986
|
+
<a name="M000171"></a><b>pathize</b>()
|
985
987
|
</div>
|
986
988
|
<div class="description">
|
987
989
|
<p>
|
@@ -996,8 +998,8 @@ Examples
|
|
996
998
|
</pre>
|
997
999
|
</div>
|
998
1000
|
<div class="sourcecode">
|
999
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1000
|
-
<div id="
|
1001
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">+</a> ]</p>
|
1002
|
+
<div id="M000171_source" class="dyn-source">
|
1001
1003
|
<pre>
|
1002
1004
|
<span class="ruby-comment cmt"># File lib/core/facets/module/pathize.rb, line 11</span>
|
1003
1005
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
|
@@ -1015,11 +1017,12 @@ Examples
|
|
1015
1017
|
</div>
|
1016
1018
|
<div class="method">
|
1017
1019
|
<div class="title">
|
1018
|
-
<a name="
|
1020
|
+
<a name="M000161"></a><b>prepend</b>(aspect)
|
1019
1021
|
</div>
|
1020
1022
|
<div class="description">
|
1021
1023
|
<p>
|
1022
|
-
Prepend an <tt>aspect</tt> module to a module.
|
1024
|
+
Prepend an <tt>aspect</tt> module to a module. This only works at the
|
1025
|
+
module level.
|
1023
1026
|
</p>
|
1024
1027
|
<pre>
|
1025
1028
|
module X
|
@@ -1038,10 +1041,10 @@ Prepend an <tt>aspect</tt> module to a module.
|
|
1038
1041
|
</pre>
|
1039
1042
|
</div>
|
1040
1043
|
<div class="sourcecode">
|
1041
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1042
|
-
<div id="
|
1044
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">+</a> ]</p>
|
1045
|
+
<div id="M000161_source" class="dyn-source">
|
1043
1046
|
<pre>
|
1044
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/prepend.rb, line
|
1047
|
+
<span class="ruby-comment cmt"># File lib/core/facets/module/prepend.rb, line 20</span>
|
1045
1048
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>(<span class="ruby-identifier">aspect</span>)
|
1046
1049
|
<span class="ruby-identifier">aspect</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-keyword kw">self</span>)
|
1047
1050
|
<span class="ruby-identifier">extend</span> <span class="ruby-identifier">aspect</span>
|
@@ -1052,7 +1055,7 @@ Prepend an <tt>aspect</tt> module to a module.
|
|
1052
1055
|
</div>
|
1053
1056
|
<div class="method">
|
1054
1057
|
<div class="title">
|
1055
|
-
<a name="
|
1058
|
+
<a name="M000166"></a><b>private_conflict?</b>(other)
|
1056
1059
|
</div>
|
1057
1060
|
<div class="description">
|
1058
1061
|
<p>
|
@@ -1060,12 +1063,14 @@ Like conflict?, but checks only private methods.
|
|
1060
1063
|
</p>
|
1061
1064
|
</div>
|
1062
1065
|
<div class="sourcecode">
|
1063
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1064
|
-
<div id="
|
1066
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">+</a> ]</p>
|
1067
|
+
<div id="M000166_source" class="dyn-source">
|
1065
1068
|
<pre>
|
1066
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line
|
1069
|
+
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 47</span>
|
1067
1070
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">private_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1071
|
+
<span class="ruby-identifier">common_ancestor</span> = (<span class="ruby-identifier">ancestors</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">ancestors</span>).<span class="ruby-identifier">first</span>
|
1068
1072
|
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1073
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1069
1074
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1070
1075
|
<span class="ruby-keyword kw">end</span>
|
1071
1076
|
</pre>
|
@@ -1074,7 +1079,7 @@ Like conflict?, but checks only private methods.
|
|
1074
1079
|
</div>
|
1075
1080
|
<div class="method">
|
1076
1081
|
<div class="title">
|
1077
|
-
<a name="
|
1082
|
+
<a name="M000167"></a><b>protected_conflict?</b>(other)
|
1078
1083
|
</div>
|
1079
1084
|
<div class="description">
|
1080
1085
|
<p>
|
@@ -1082,12 +1087,14 @@ Like conflict?, but checks only protected methods.
|
|
1082
1087
|
</p>
|
1083
1088
|
</div>
|
1084
1089
|
<div class="sourcecode">
|
1085
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1086
|
-
<div id="
|
1090
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">+</a> ]</p>
|
1091
|
+
<div id="M000167_source" class="dyn-source">
|
1087
1092
|
<pre>
|
1088
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line
|
1093
|
+
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 55</span>
|
1089
1094
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protected_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1095
|
+
<span class="ruby-identifier">common_ancestor</span> = (<span class="ruby-identifier">ancestors</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">ancestors</span>).<span class="ruby-identifier">first</span>
|
1090
1096
|
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1097
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1091
1098
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1092
1099
|
<span class="ruby-keyword kw">end</span>
|
1093
1100
|
</pre>
|
@@ -1096,7 +1103,7 @@ Like conflict?, but checks only protected methods.
|
|
1096
1103
|
</div>
|
1097
1104
|
<div class="method">
|
1098
1105
|
<div class="title">
|
1099
|
-
<a name="
|
1106
|
+
<a name="M000165"></a><b>public_conflict?</b>(other)
|
1100
1107
|
</div>
|
1101
1108
|
<div class="description">
|
1102
1109
|
<p>
|
@@ -1104,12 +1111,14 @@ Like conflict?, but checks only public methods.
|
|
1104
1111
|
</p>
|
1105
1112
|
</div>
|
1106
1113
|
<div class="sourcecode">
|
1107
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1108
|
-
<div id="
|
1114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">+</a> ]</p>
|
1115
|
+
<div id="M000165_source" class="dyn-source">
|
1109
1116
|
<pre>
|
1110
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line
|
1117
|
+
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 39</span>
|
1111
1118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">public_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1119
|
+
<span class="ruby-identifier">common_ancestor</span> = (<span class="ruby-identifier">ancestors</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">ancestors</span>).<span class="ruby-identifier">first</span>
|
1112
1120
|
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1121
|
+
<span class="ruby-identifier">c</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">common_ancestor</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1113
1122
|
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1114
1123
|
<span class="ruby-keyword kw">end</span>
|
1115
1124
|
</pre>
|
@@ -1118,17 +1127,17 @@ Like conflict?, but checks only public methods.
|
|
1118
1127
|
</div>
|
1119
1128
|
<div class="method">
|
1120
1129
|
<div class="title">
|
1121
|
-
<a name="
|
1130
|
+
<a name="M000187"></a><b>revisal</b>(&blk)
|
1122
1131
|
</div>
|
1123
1132
|
<div class="description">
|
1124
1133
|
<p>
|
1125
|
-
Alias for <a href="Module.html#
|
1134
|
+
Alias for <a href="Module.html#M000186">revise</a>
|
1126
1135
|
</p>
|
1127
1136
|
</div>
|
1128
1137
|
</div>
|
1129
1138
|
<div class="method">
|
1130
1139
|
<div class="title">
|
1131
|
-
<a name="
|
1140
|
+
<a name="M000186"></a><b>revise</b>(&blk)
|
1132
1141
|
</div>
|
1133
1142
|
<div class="description">
|
1134
1143
|
<p>
|
@@ -1141,11 +1150,11 @@ into the new one.
|
|
1141
1150
|
</div>
|
1142
1151
|
<div class="aka">
|
1143
1152
|
This method is also aliased as
|
1144
|
-
<a href="Module.html#
|
1153
|
+
<a href="Module.html#M000187">revisal</a>
|
1145
1154
|
</div>
|
1146
1155
|
<div class="sourcecode">
|
1147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1148
|
-
<div id="
|
1156
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">+</a> ]</p>
|
1157
|
+
<div id="M000186_source" class="dyn-source">
|
1149
1158
|
<pre>
|
1150
1159
|
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 13</span>
|
1151
1160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revise</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1160,12 +1169,12 @@ into the new one.
|
|
1160
1169
|
</div>
|
1161
1170
|
<div class="method">
|
1162
1171
|
<div class="title">
|
1163
|
-
<a name="
|
1172
|
+
<a name="M000174"></a><b>singleton_method_defined?</b>(meth)
|
1164
1173
|
</div>
|
1165
1174
|
<div class="description">
|
1166
1175
|
<p>
|
1167
1176
|
Query whether a normal (singleton) method <a
|
1168
|
-
href="Module.html#
|
1177
|
+
href="Module.html#M000181">is</a> defined for the module.
|
1169
1178
|
</p>
|
1170
1179
|
<pre>
|
1171
1180
|
CREDIT: Gavin Sinclair
|
@@ -1174,11 +1183,11 @@ href="Module.html#M000180">is</a> defined for the module.
|
|
1174
1183
|
</div>
|
1175
1184
|
<div class="aka">
|
1176
1185
|
This method is also aliased as
|
1177
|
-
<a href="Module.html#
|
1186
|
+
<a href="Module.html#M000175">module_method_defined?</a>
|
1178
1187
|
</div>
|
1179
1188
|
<div class="sourcecode">
|
1180
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1181
|
-
<div id="
|
1189
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">+</a> ]</p>
|
1190
|
+
<div id="M000174_source" class="dyn-source">
|
1182
1191
|
<pre>
|
1183
1192
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 33</span>
|
1184
1193
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
@@ -1190,7 +1199,7 @@ href="Module.html#M000180">is</a> defined for the module.
|
|
1190
1199
|
</div>
|
1191
1200
|
<div class="method">
|
1192
1201
|
<div class="title">
|
1193
|
-
<a name="
|
1202
|
+
<a name="M000189"></a><b>spacename</b>()
|
1194
1203
|
</div>
|
1195
1204
|
<div class="description">
|
1196
1205
|
<p>
|
@@ -1209,15 +1218,15 @@ Returns the name of module‘s container module.
|
|
1209
1218
|
This used to be called <tt>dirname</tt>.
|
1210
1219
|
</p>
|
1211
1220
|
<p>
|
1212
|
-
See also <a href="Module.html#
|
1221
|
+
See also <a href="Module.html#M000192">Module#basename</a>.
|
1213
1222
|
</p>
|
1214
1223
|
<pre>
|
1215
1224
|
CREDIT: Trans
|
1216
1225
|
</pre>
|
1217
1226
|
</div>
|
1218
1227
|
<div class="sourcecode">
|
1219
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1220
|
-
<div id="
|
1228
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">+</a> ]</p>
|
1229
|
+
<div id="M000189_source" class="dyn-source">
|
1221
1230
|
<pre>
|
1222
1231
|
<span class="ruby-comment cmt"># File lib/core/facets/module/spacename.rb, line 19</span>
|
1223
1232
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spacename</span>
|
@@ -1230,22 +1239,22 @@ See also <a href="Module.html#M000191">Module#basename</a>.
|
|
1230
1239
|
</div>
|
1231
1240
|
<div class="method">
|
1232
1241
|
<div class="title">
|
1233
|
-
<a name="
|
1242
|
+
<a name="M000191"></a><b>wrap</b>( sym, &blk )
|
1234
1243
|
</div>
|
1235
1244
|
<div class="description">
|
1236
1245
|
<p>
|
1237
|
-
Alias for <a href="Module.html#
|
1246
|
+
Alias for <a href="Module.html#M000190">wrap_method</a>
|
1238
1247
|
</p>
|
1239
1248
|
</div>
|
1240
1249
|
</div>
|
1241
1250
|
<div class="method">
|
1242
1251
|
<div class="title">
|
1243
|
-
<a name="
|
1252
|
+
<a name="M000190"></a><b>wrap_method</b>( sym, &blk )
|
1244
1253
|
</div>
|
1245
1254
|
<div class="description">
|
1246
1255
|
<p>
|
1247
1256
|
Creates a new method wrapping the previous of the same name. Reference to
|
1248
|
-
the old method <a href="Module.html#
|
1257
|
+
the old method <a href="Module.html#M000181">is</a> passed into the new
|
1249
1258
|
definition block as the first parameter.
|
1250
1259
|
</p>
|
1251
1260
|
<pre>
|
@@ -1256,7 +1265,7 @@ definition block as the first parameter.
|
|
1256
1265
|
</pre>
|
1257
1266
|
<p>
|
1258
1267
|
Keep in mind that this can not be used to <a
|
1259
|
-
href="Module.html#
|
1268
|
+
href="Module.html#M000191">wrap</a> methods that take a block.
|
1260
1269
|
</p>
|
1261
1270
|
<pre>
|
1262
1271
|
CREDIT: Trans
|
@@ -1264,11 +1273,11 @@ href="Module.html#M000190">wrap</a> methods that take a block.
|
|
1264
1273
|
</div>
|
1265
1274
|
<div class="aka">
|
1266
1275
|
This method is also aliased as
|
1267
|
-
<a href="Module.html#
|
1276
|
+
<a href="Module.html#M000191">wrap</a>
|
1268
1277
|
</div>
|
1269
1278
|
<div class="sourcecode">
|
1270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1271
|
-
<div id="
|
1279
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">+</a> ]</p>
|
1280
|
+
<div id="M000190_source" class="dyn-source">
|
1272
1281
|
<pre>
|
1273
1282
|
<span class="ruby-comment cmt"># File lib/core/facets/module/wrap_method.rb, line 20</span>
|
1274
1283
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wrap_method</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> )
|