facets 2.4.5 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +6 -2
- data/CHANGES +46 -52
- data/MANIFEST +680 -642
- data/README +3 -10
- data/RELEASE +82 -36
- data/VERSION +1 -1
- data/doc/archive/{changelog-0.rdoc → CHANGELOG-0.10.30} +0 -0
- data/doc/archive/{changelog-1.rdoc → CHANGELOG-1.8.54} +0 -0
- data/doc/archive/CHANGELOG-2.4.5 +1654 -0
- data/doc/{news → archive}/RELEASE-2.0.5 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.2 +0 -0
- data/doc/{news → archive}/RELEASE-2.1.3 +0 -0
- data/doc/{news → archive}/RELEASE-2.2.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.2.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.3.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.0 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.1 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.2 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.3 +0 -0
- data/doc/{news → archive}/RELEASE-2.4.4 +0 -0
- data/doc/archive/RELEASE-2.4.5 +37 -0
- data/doc/{book/history.rdoc → guide/notes.rd} +62 -4
- data/doc/log/basic_stats/index.html +39 -0
- data/doc/log/bstats/stats.html +39 -0
- data/doc/log/changelog.html +141 -0
- data/doc/log/changelog.txt +1609 -0
- data/doc/log/stats.html +25 -0
- data/doc/log/testlog.txt +278 -0
- data/doc/rdoc/core/classes/Array.html +158 -147
- data/doc/rdoc/core/classes/Binding.html +54 -54
- data/doc/rdoc/core/classes/Class.html +59 -57
- data/doc/rdoc/core/classes/Comparable.html +67 -76
- data/doc/rdoc/core/classes/Dir.html +47 -47
- data/doc/rdoc/core/classes/Enumerable.html +232 -192
- data/doc/rdoc/core/classes/Exception.html +15 -16
- data/doc/rdoc/core/classes/File.html +128 -85
- data/doc/rdoc/core/classes/FileTest.html +7 -7
- data/doc/rdoc/core/classes/Float.html +16 -14
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +490 -319
- data/doc/rdoc/core/classes/Indexable.html +110 -110
- data/doc/rdoc/core/classes/InstanceVariables.html +44 -44
- data/doc/rdoc/core/classes/Integer.html +122 -116
- data/doc/rdoc/core/classes/Kernel.html +415 -401
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +24 -21
- data/doc/rdoc/core/classes/Module.html +230 -229
- data/doc/rdoc/core/classes/NilClass.html +28 -26
- data/doc/rdoc/core/classes/Numeric.html +30 -30
- data/doc/rdoc/core/classes/Object.html +8 -8
- data/doc/rdoc/core/classes/{Friend.html → ObjectSpace.html} +25 -48
- data/doc/rdoc/core/classes/Proc.html +29 -27
- data/doc/rdoc/core/classes/Range.html +17 -15
- data/doc/rdoc/core/classes/Regexp.html +17 -17
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +445 -401
- data/doc/rdoc/{more/classes/CLI/NoOptionError.html → core/classes/Struct.html} +24 -21
- data/doc/rdoc/core/classes/Symbol.html +73 -65
- data/doc/rdoc/core/classes/Time.html +87 -86
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +17 -16
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +10 -16
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +10 -1
- data/doc/rdoc/core/files/lib/core/facets/array/delete_unless_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/delete_values_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/index_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/callstack_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_least_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_most_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/cap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/clip_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/graph_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/take_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/append_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/create_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/split_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/file/writelines_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_add_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_or_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_push_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/op_sub_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/replace_each_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +1 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/hash/stringify_keys_rb.html +1 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_options_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/update_each_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/update_keys_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/update_values_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/__here___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/callstack_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/objectspace/classes_rb.html +92 -0
- data/doc/rdoc/{more/files/lib/more/facets/dictionarymatcher_rb.html → core/files/lib/core/facets/objectspace_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/compress_lines_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/contains_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/expand_tab_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/indent_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/margin_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/op_sub_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/outdent_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/string/tabto_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/struct/attributes_rb.html +92 -0
- data/doc/rdoc/{more/files/lib/more/facets/bytes_rb.html → core/files/lib/core/facets/struct_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
- data/doc/rdoc/core/fr_class_index.html +2 -1
- data/doc/rdoc/core/fr_file_index.html +30 -1
- data/doc/rdoc/core/fr_method_index.html +430 -423
- data/doc/rdoc/lore/classes/Date.html +6 -5
- data/doc/rdoc/{more/classes/CLI/Command/UniversalOptions.html → lore/classes/Enumerable.html} +7 -9
- data/doc/rdoc/lore/classes/Enumerable/Enumerator.html +147 -0
- data/doc/rdoc/lore/classes/OpenStruct.html +13 -15
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +10 -16
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +1 -1
- data/doc/rdoc/lore/files/lib/lore/facets/enumerator_rb.html +111 -0
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/lore/fr_class_index.html +2 -0
- data/doc/rdoc/lore/fr_file_index.html +1 -0
- data/doc/rdoc/lore/fr_method_index.html +13 -12
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Argvector.html +76 -76
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +8 -8
- data/doc/rdoc/more/classes/BlankSlate.html +5 -5
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +22 -22
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +369 -445
- data/doc/rdoc/more/classes/Duration/Numeric.html +389 -0
- data/doc/rdoc/more/classes/{CLI/NoCommandError.html → Duration/Time.html} +30 -17
- data/doc/rdoc/more/classes/Enumerable.html +114 -51
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +246 -0
- data/doc/rdoc/more/classes/EnumerablePass.html +17 -17
- data/doc/rdoc/more/classes/{RecursiveDependency.html → Enumerator.html} +7 -4
- data/doc/rdoc/more/classes/{CLI.html → Enumerator/Filter.html} +22 -26
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +16 -162
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantize.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/more/classes/{DictionaryMatcher.html → Matcher.html} +66 -68
- data/doc/rdoc/more/classes/{DictionaryMatcher → Matcher}/MatchData.html +8 -8
- data/doc/rdoc/more/classes/{CacheDecorator.html → Memoizer.html} +64 -46
- data/doc/rdoc/more/classes/Module.html +182 -361
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/Numeric/Multipliers.html +456 -0
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +8 -7
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/{EventHook.html → OpenModule.html} +24 -63
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/OpenStructable.html +326 -0
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +9 -9
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +5 -5
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/SparseArray.html +1397 -0
- data/doc/rdoc/more/classes/Stash.html +232 -0
- data/doc/rdoc/more/classes/String/Mask.html +72 -72
- data/doc/rdoc/more/classes/String/Words.html +49 -49
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +58 -58
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/VersionNumber.html +57 -57
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +251 -118
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +203 -35
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +203 -35
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +173 -35
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +10 -16
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +1 -18
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +1 -41
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +2 -1
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +2 -1
- data/doc/rdoc/more/files/lib/more/facets/{fileshell_rb.html → filter_rb.html} +6 -5
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +3 -28
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/matcher_rb.html +97 -0
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +7 -4
- data/doc/rdoc/more/files/lib/more/facets/{cachedecorator_rb.html → memoizer_rb.html} +23 -49
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +2 -18
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core/facets/callstack_rb.html → more/files/lib/more/facets/openmodule_rb.html} +4 -4
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ostructable_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/sparse_array_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/stash_rb.html +166 -0
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +6 -34
- data/doc/rdoc/more/fr_class_index.html +13 -17
- data/doc/rdoc/more/fr_file_index.html +7 -15
- data/doc/rdoc/more/fr_method_index.html +1079 -1003
- data/doc/rdoc/more/index.html +1 -1
- data/lib/core/facets/array/conjoin.rb +1 -1
- data/lib/core/facets/array/delete.rb +3 -60
- data/lib/core/facets/array/delete_unless.rb +15 -0
- data/lib/core/facets/array/delete_values.rb +50 -0
- data/lib/core/facets/array/index.rb +0 -26
- data/lib/core/facets/array/indexable.rb +2 -2
- data/lib/core/facets/array/merge.rb +1 -1
- data/lib/core/facets/array/only.rb +1 -2
- data/lib/core/facets/array/pad.rb +2 -2
- data/lib/core/facets/array/permutation.rb +1 -1
- data/lib/core/facets/array/product.rb +2 -2
- data/lib/core/facets/array/rotate.rb +2 -4
- data/lib/core/facets/array/select.rb +1 -1
- data/lib/core/facets/array/splice.rb +1 -1
- data/lib/core/facets/array/stackable.rb +2 -2
- data/lib/core/facets/binding/caller.rb +2 -7
- data/lib/core/facets/binding/callstack.rb +1 -0
- data/lib/core/facets/binding/defined.rb +0 -1
- data/lib/core/facets/bitmask.rb +6 -9
- data/lib/core/facets/class/cattr.rb +6 -9
- data/lib/core/facets/class/descendents.rb +0 -2
- data/lib/core/facets/class/prepend.rb +3 -4
- data/lib/core/facets/class/to_proc.rb +0 -20
- data/lib/core/facets/comparable/at_least.rb +1 -0
- data/lib/core/facets/comparable/at_most.rb +1 -0
- data/lib/core/facets/comparable/bound.rb +1 -65
- data/lib/core/facets/comparable/cap.rb +34 -0
- data/lib/core/facets/comparable/clip.rb +38 -0
- data/lib/core/facets/comparable/cmp.rb +3 -3
- data/lib/core/facets/comparable/comparable.rb +1 -1
- data/lib/core/facets/dir/ascend.rb +2 -5
- data/lib/core/facets/dir/multiglob.rb +0 -2
- data/lib/core/facets/dir/recurse.rb +1 -2
- data/lib/core/facets/enumerable/accumulate.rb +2 -0
- data/lib/core/facets/enumerable/cluster_by.rb +1 -1
- data/lib/core/facets/enumerable/collect.rb +2 -2
- data/lib/core/facets/enumerable/commonality.rb +1 -1
- data/lib/core/facets/enumerable/count.rb +1 -1
- data/lib/core/facets/enumerable/divide.rb +1 -1
- data/lib/core/facets/enumerable/duplicates.rb +2 -2
- data/lib/core/facets/enumerable/each_by.rb +1 -1
- data/lib/core/facets/enumerable/entropy.rb +2 -2
- data/lib/core/facets/enumerable/frequency.rb +1 -1
- data/lib/core/facets/enumerable/graph.rb +1 -0
- data/lib/core/facets/enumerable/group_by.rb +1 -1
- data/lib/core/facets/enumerable/inject.rb +2 -3
- data/lib/core/facets/enumerable/map_send.rb +15 -3
- data/lib/core/facets/enumerable/mash.rb +4 -5
- data/lib/core/facets/enumerable/mode.rb +1 -1
- data/lib/core/facets/enumerable/modulate.rb +2 -2
- data/lib/core/facets/enumerable/none.rb +1 -1
- data/lib/core/facets/enumerable/occur.rb +0 -2
- data/lib/core/facets/enumerable/one.rb +1 -1
- data/lib/core/facets/enumerable/probability.rb +1 -1
- data/lib/core/facets/enumerable/sum.rb +1 -1
- data/lib/core/facets/enumerable/take.rb +20 -0
- data/lib/core/facets/enumerable/uniq_by.rb +0 -2
- data/lib/core/facets/exception/detail.rb +1 -1
- data/lib/core/facets/exception/suppress.rb +1 -2
- data/lib/core/facets/file/append.rb +1 -1
- data/lib/core/facets/file/create.rb +1 -1
- data/lib/core/facets/file/null.rb +1 -1
- data/lib/core/facets/file/read.rb +3 -3
- data/lib/core/facets/file/rewrite.rb +1 -1
- data/lib/core/facets/file/rootname.rb +1 -1
- data/lib/core/facets/file/split_all.rb +19 -0
- data/lib/core/facets/file/split_root.rb +3 -0
- data/lib/core/facets/file/write.rb +1 -1
- data/lib/core/facets/file/writelines.rb +1 -2
- data/lib/core/facets/filetest/root.rb +1 -1
- data/lib/core/facets/hash/alias.rb +1 -1
- data/lib/core/facets/hash/autonew.rb +1 -17
- data/lib/core/facets/hash/collate.rb +1 -1
- data/lib/core/facets/hash/delete.rb +3 -3
- data/lib/core/facets/hash/insert.rb +1 -1
- data/lib/core/facets/hash/inverse.rb +1 -1
- data/lib/core/facets/hash/join.rb +1 -1
- data/lib/core/facets/hash/keys.rb +3 -3
- data/lib/core/facets/hash/op_add.rb +1 -1
- data/lib/core/facets/hash/op_and.rb +1 -1
- data/lib/core/facets/hash/op_mul.rb +1 -1
- data/lib/core/facets/hash/op_or.rb +1 -1
- data/lib/core/facets/hash/op_push.rb +1 -1
- data/lib/core/facets/hash/op_sub.rb +1 -1
- data/lib/core/facets/hash/rekey.rb +11 -7
- data/lib/core/facets/hash/replace_each.rb +16 -0
- data/lib/core/facets/hash/select.rb +1 -2
- data/lib/{more → core}/facets/hash/stringify_keys.rb +0 -0
- data/lib/core/facets/hash/symbolize_keys.rb +94 -0
- data/lib/core/facets/hash/to_options.rb +1 -0
- data/lib/core/facets/hash/to_struct.rb +1 -1
- data/lib/core/facets/hash/traverse.rb +2 -2
- data/lib/core/facets/hash/update.rb +5 -80
- data/lib/core/facets/hash/update_each.rb +18 -0
- data/lib/core/facets/hash/update_keys.rb +20 -0
- data/lib/core/facets/hash/update_values.rb +20 -0
- data/lib/core/facets/hash/weave.rb +1 -1
- data/lib/core/facets/hash/zipnew.rb +17 -1
- data/lib/core/facets/integer/factorial.rb +1 -1
- data/lib/core/facets/integer/multiple.rb +1 -1
- data/lib/core/facets/integer/odd.rb +2 -2
- data/lib/core/facets/kernel/__here__.rb +8 -0
- data/lib/core/facets/kernel/as.rb +2 -2
- data/lib/core/facets/kernel/attr_singleton.rb +5 -5
- data/lib/core/facets/{callstack.rb → kernel/callstack.rb} +1 -1
- data/lib/core/facets/kernel/complete.rb +1 -1
- data/lib/core/facets/kernel/constant.rb +1 -1
- data/lib/core/facets/kernel/d.rb +1 -5
- data/lib/core/facets/kernel/demo.rb +2 -2
- data/lib/core/facets/kernel/ergo.rb +2 -2
- data/lib/core/facets/kernel/instance_class.rb +1 -1
- data/lib/core/facets/kernel/instance_variables.rb +2 -4
- data/lib/core/facets/kernel/not_nil.rb +1 -1
- data/lib/core/facets/kernel/object_send.rb +1 -1
- data/lib/core/facets/kernel/p.rb +1 -1
- data/lib/core/facets/kernel/populate.rb +2 -2
- data/lib/core/facets/kernel/qua_class.rb +2 -2
- data/lib/core/facets/kernel/resc.rb +1 -1
- data/lib/core/facets/kernel/respond.rb +1 -1
- data/lib/core/facets/kernel/returning.rb +1 -1
- data/lib/core/facets/kernel/silence.rb +4 -4
- data/lib/core/facets/kernel/try.rb +5 -3
- data/lib/core/facets/matchdata/match.rb +1 -1
- data/lib/core/facets/matchdata/matchset.rb +2 -2
- data/lib/core/facets/metaid.rb +5 -5
- data/lib/core/facets/module/abstract.rb +1 -1
- data/lib/core/facets/module/alias_accessor.rb +3 -3
- data/lib/core/facets/module/alias_method_chain.rb +1 -2
- data/lib/core/facets/module/alias_module_function.rb +1 -1
- data/lib/core/facets/module/ancestor.rb +1 -1
- data/lib/core/facets/module/basename.rb +1 -1
- data/lib/core/facets/module/conflict.rb +1 -2
- data/lib/core/facets/module/include_function_module.rb +1 -1
- data/lib/core/facets/module/instance_methods.rb +4 -6
- data/lib/core/facets/module/is.rb +2 -2
- data/lib/core/facets/module/modspace.rb +1 -1
- data/lib/core/facets/module/module_load.rb +2 -2
- data/lib/core/facets/module/nesting.rb +1 -1
- data/lib/core/facets/module/op.rb +3 -6
- data/lib/core/facets/module/prepend.rb +1 -1
- data/lib/core/facets/module/redefine_method.rb +1 -1
- data/lib/core/facets/module/rename_method.rb +1 -1
- data/lib/core/facets/module/revise.rb +2 -2
- data/lib/core/facets/module/spacename.rb +1 -1
- data/lib/core/facets/module/wrap_method.rb +1 -1
- data/lib/core/facets/nilclass/to_f.rb +1 -1
- data/lib/core/facets/numeric/approx.rb +1 -1
- data/lib/core/facets/numeric/distance.rb +1 -1
- data/lib/core/facets/numeric/round.rb +3 -6
- data/lib/core/facets/objectspace.rb +6 -0
- data/lib/core/facets/objectspace/classes.rb +11 -0
- data/lib/core/facets/proc/bind.rb +1 -1
- data/lib/core/facets/proc/compose.rb +2 -2
- data/lib/core/facets/proc/to_method.rb +1 -1
- data/lib/core/facets/proc/update.rb +1 -1
- data/lib/core/facets/range/combine.rb +2 -2
- data/lib/core/facets/range/overlap.rb +1 -2
- data/lib/core/facets/range/within.rb +2 -4
- data/lib/core/facets/regexp/arity.rb +1 -1
- data/lib/core/facets/string/align.rb +3 -3
- data/lib/core/facets/string/bracket.rb +6 -6
- data/lib/core/facets/string/camelcase.rb +1 -1
- data/lib/core/facets/string/capitalized.rb +3 -3
- data/lib/core/facets/string/chars.rb +1 -1
- data/lib/core/facets/string/chomp.rb +2 -2
- data/lib/core/facets/string/cleave.rb +1 -1
- data/lib/core/facets/string/compress_lines.rb +17 -0
- data/lib/core/facets/string/contains.rb +7 -0
- data/lib/core/facets/string/divide.rb +1 -1
- data/lib/core/facets/string/expand_tab.rb +35 -0
- data/lib/core/facets/string/fold.rb +1 -1
- data/lib/core/facets/string/indent.rb +25 -0
- data/lib/core/facets/string/interpolate.rb +1 -1
- data/lib/core/facets/string/line_wrap.rb +1 -1
- data/lib/core/facets/string/lines.rb +1 -2
- data/lib/core/facets/string/margin.rb +30 -0
- data/lib/core/facets/string/methodize.rb +1 -1
- data/lib/core/facets/string/mscan.rb +1 -1
- data/lib/core/facets/string/natcmp.rb +1 -2
- data/lib/core/facets/string/nchar.rb +0 -2
- data/lib/core/facets/string/op_sub.rb +1 -1
- data/lib/core/facets/string/outdent.rb +1 -0
- data/lib/core/facets/string/range.rb +4 -5
- data/lib/core/facets/string/rewrite.rb +1 -1
- data/lib/core/facets/string/shatter.rb +1 -1
- data/lib/core/facets/string/snakecase.rb +1 -1
- data/lib/core/facets/string/splice.rb +2 -2
- data/lib/core/facets/string/start_with.rb +2 -4
- data/lib/core/facets/string/tab.rb +9 -92
- data/lib/core/facets/string/tabto.rb +19 -0
- data/lib/core/facets/string/titlecase.rb +1 -1
- data/lib/core/facets/string/to_re.rb +2 -2
- data/lib/core/facets/string/word_wrap.rb +2 -4
- data/lib/core/facets/struct.rb +6 -0
- data/lib/core/facets/struct/attributes.rb +11 -0
- data/lib/core/facets/symbol/chomp.rb +2 -2
- data/lib/core/facets/symbol/generate.rb +1 -1
- data/lib/core/facets/symbol/not.rb +2 -2
- data/lib/core/facets/symbol/succ.rb +1 -1
- data/lib/core/facets/symbol/to_proc.rb +2 -3
- data/lib/core/facets/time/advance.rb +2 -1
- data/lib/core/facets/time/elapse.rb +1 -1
- data/lib/core/facets/time/hence.rb +16 -13
- data/lib/core/facets/time/stamp.rb +2 -2
- data/lib/core/facets/to_hash.rb +1 -1
- data/lib/core/facets/unboundmethod/arguments.rb +1 -1
- data/lib/core/facets/unboundmethod/name.rb +1 -1
- data/lib/lore/facets/date.rb +2 -2
- data/lib/lore/facets/enumerator.rb +67 -0
- data/lib/lore/facets/ostruct.rb +3 -7
- data/lib/more/facets/attr.rb +10 -9
- data/lib/more/facets/consoleutils.rb +1 -15
- data/lib/more/facets/dependency.rb +1 -1
- data/lib/more/facets/duration.rb +271 -525
- data/lib/more/facets/filter.rb +121 -0
- data/lib/more/facets/inheritor.rb +37 -58
- data/lib/more/facets/iteration.rb +1 -1
- data/lib/more/facets/kernel/meta.rb +1 -1
- data/lib/more/facets/{dictionarymatcher.rb → matcher.rb} +15 -11
- data/lib/more/facets/memoize.rb +9 -12
- data/lib/more/facets/memoizer.rb +74 -0
- data/lib/more/facets/multipliers.rb +54 -66
- data/lib/more/facets/nilstatus.rb +3 -2
- data/lib/more/facets/openmodule.rb +15 -0
- data/lib/more/facets/opesc.rb +1 -1
- data/lib/more/facets/ostructable.rb +212 -0
- data/lib/more/facets/pathlist.rb +1 -0
- data/lib/more/facets/sparse_array.rb +809 -0
- data/lib/more/facets/stash.rb +66 -0
- data/lib/more/facets/string/words.rb +8 -11
- data/lib/more/facets/succ.rb +3 -3
- data/lib/more/facets/thread.rb +2 -2
- data/lib/more/facets/ziputils.rb +238 -97
- data/test/core/array/test_index.rb +17 -0
- data/test/core/class/test_cattr.rb +1 -1
- data/test/core/class/test_to_proc.rb +13 -0
- data/test/core/comparable/test_cap.rb +25 -0
- data/test/core/comparable/{test_bound.rb → test_clip.rb} +1 -20
- data/test/core/file/test_split_all.rb +32 -0
- data/test/core/hash/test_op_mul.rb +1 -1
- data/test/core/hash/test_op_push.rb +7 -0
- data/test/core/hash/test_replace_each.rb +14 -0
- data/test/core/hash/test_update_each.rb +13 -0
- data/test/core/hash/test_update_keys.rb +18 -0
- data/test/core/hash/test_update_values.rb +12 -0
- data/test/core/kernel/test_callstack.rb +1 -1
- data/test/core/string/test_indent.rb +13 -0
- data/test/core/string/test_margin.rb +100 -0
- data/test/core/string/test_outdent.rb +65 -0
- data/test/core/string/test_tab.rb +1 -162
- data/test/core/string/test_tabto.rb +13 -0
- data/test/{more → core}/test_metaid.rb +8 -8
- data/test/core/time/test_hence.rb +118 -4
- data/test/core/unboundmethod/test_name.rb +1 -1
- data/test/more/{test_arguments.rb → test_argvector.rb} +8 -12
- data/test/more/test_filter.rb +87 -0
- data/test/more/test_memoize.rb +11 -9
- data/test/more/test_sparsearray.rb +279 -0
- metadata +741 -725
- data/demo/bench/bench_load.rb +0 -56
- data/demo/bench/enumerable/bench_collect.rb +0 -84
- data/demo/bench/enumerable/bench_count.rb +0 -58
- data/demo/bench/general/bench_calls.rb +0 -74
- data/demo/bench/general/bench_includes.rb +0 -25
- data/demo/bench/general/bench_methods.rb +0 -17
- data/demo/bench/general/bench_pathname.rb +0 -24
- data/demo/bench/general/bench_range.rb +0 -64
- data/demo/bench/general/bench_return.rb +0 -56
- data/demo/bench/general/bench_yeild.rb +0 -75
- data/demo/bench/general/comment_loading/bench.rb +0 -46
- data/demo/bench/general/comment_loading/comments_begin.rb +0 -109
- data/demo/bench/general/comment_loading/comments_end.rb +0 -127
- data/demo/bench/general/comment_loading/comments_none.rb +0 -1
- data/demo/bench/general/comment_loading/comments_sharp.rb +0 -125
- data/demo/bench/integer/bench_factorial.rb +0 -31
- data/demo/sample/annotations/annotations1.rb +0 -22
- data/demo/sample/ansicolor/cdiff.rb +0 -20
- data/demo/sample/ansicolor/example.rb +0 -82
- data/doc/book/notes.rdoc +0 -9
- data/doc/rdoc/more/classes/BigDuration.html +0 -323
- data/doc/rdoc/more/classes/CLI/Arguments.html +0 -488
- data/doc/rdoc/more/classes/CLI/Command.html +0 -316
- data/doc/rdoc/more/classes/Chain.html +0 -206
- data/doc/rdoc/more/classes/FileShell.html +0 -743
- data/doc/rdoc/more/classes/TagIterator.html +0 -581
- data/doc/rdoc/more/classes/UploadUtils.html +0 -497
- data/doc/rdoc/more/classes/Weekdays.html +0 -218
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +0 -180
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +0 -142
- data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +0 -125
- data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +0 -114
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +0 -170
- data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/tagiterator_rb.html +0 -111
- data/doc/rdoc/more/files/lib/more/facets/times_rb.html +0 -163
- data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +0 -176
- data/lib/more/facets/annotations.rb +0 -302
- data/lib/more/facets/arguments.rb +0 -365
- data/lib/more/facets/bytes.rb +0 -175
- data/lib/more/facets/cachedecorator.rb +0 -117
- data/lib/more/facets/chain.rb +0 -58
- data/lib/more/facets/command.rb +0 -439
- data/lib/more/facets/eventhook.rb +0 -132
- data/lib/more/facets/fileshell.rb +0 -202
- data/lib/more/facets/hash/symbolize_keys.rb +0 -94
- data/lib/more/facets/tagiter.rb +0 -366
- data/lib/more/facets/times.rb +0 -431
- data/lib/more/facets/uploadutils.rb +0 -464
- data/test/core/hash/test_update.rb +0 -46
- data/test/more/test_annotations.rb +0 -120
- data/test/more/test_bytes.rb +0 -71
- data/test/more/test_command.rb +0 -69
- data/test/more/test_times.rb +0 -89
@@ -88,9 +88,9 @@ NOTE: This is still an expirmental library.
|
|
88
88
|
|
89
89
|
|
90
90
|
<div class="sectiontitle">Methods</div>
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000044">id</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000045">method_missing</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000043">new</a></span>
|
94
94
|
|
95
95
|
|
96
96
|
|
@@ -100,11 +100,11 @@ NOTE: This is still an expirmental library.
|
|
100
100
|
<div class="sectiontitle">Public Class methods</div>
|
101
101
|
<div class="method">
|
102
102
|
<div class="title">
|
103
|
-
<a name="
|
103
|
+
<a name="M000043"></a><b>new</b>(object)
|
104
104
|
</div>
|
105
105
|
<div class="sourcecode">
|
106
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
107
|
-
<div id="
|
106
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">+</a> ]</p>
|
107
|
+
<div id="M000043_source" class="dyn-source">
|
108
108
|
<pre>
|
109
109
|
<span class="ruby-comment cmt"># File lib/more/facets/reflection.rb, line 52</span>
|
110
110
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">object</span>)
|
@@ -118,11 +118,11 @@ NOTE: This is still an expirmental library.
|
|
118
118
|
<div class="sectiontitle">Public Instance methods</div>
|
119
119
|
<div class="method">
|
120
120
|
<div class="title">
|
121
|
-
<a name="
|
121
|
+
<a name="M000044"></a><b>id</b>()
|
122
122
|
</div>
|
123
123
|
<div class="sourcecode">
|
124
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
125
|
-
<div id="
|
124
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">+</a> ]</p>
|
125
|
+
<div id="M000044_source" class="dyn-source">
|
126
126
|
<pre>
|
127
127
|
<span class="ruby-comment cmt"># File lib/more/facets/reflection.rb, line 58</span>
|
128
128
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">id</span>
|
@@ -134,7 +134,7 @@ NOTE: This is still an expirmental library.
|
|
134
134
|
</div>
|
135
135
|
<div class="method">
|
136
136
|
<div class="title">
|
137
|
-
<a name="
|
137
|
+
<a name="M000045"></a><b>method_missing</b>(s, *a, &b)
|
138
138
|
</div>
|
139
139
|
<div class="description">
|
140
140
|
<p>
|
@@ -153,8 +153,8 @@ end
|
|
153
153
|
</p>
|
154
154
|
</div>
|
155
155
|
<div class="sourcecode">
|
156
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
157
|
-
<div id="
|
156
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">+</a> ]</p>
|
157
|
+
<div id="M000045_source" class="dyn-source">
|
158
158
|
<pre>
|
159
159
|
<span class="ruby-comment cmt"># File lib/more/facets/reflection.rb, line 71</span>
|
160
160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -75,7 +75,7 @@
|
|
75
75
|
|
76
76
|
|
77
77
|
<div class="sectiontitle">Methods</div>
|
78
|
-
<span style="padding-right: 5px;"><a href="#
|
78
|
+
<span style="padding-right: 5px;"><a href="#M001080">escape</a></span>
|
79
79
|
|
80
80
|
|
81
81
|
|
@@ -103,22 +103,23 @@
|
|
103
103
|
<div class="sectiontitle">Public Class methods</div>
|
104
104
|
<div class="method">
|
105
105
|
<div class="title">
|
106
|
-
<a name="
|
106
|
+
<a name="M001080"></a><b>escape</b>(str)
|
107
107
|
</div>
|
108
108
|
<div class="description">
|
109
109
|
<p>
|
110
|
-
Applies operator <a href="OpEsc.html#
|
110
|
+
Applies operator <a href="OpEsc.html#M001080">escape</a>‘s according
|
111
111
|
to OPERATORS_ESCAPE_TABLE.
|
112
112
|
</p>
|
113
113
|
<pre>
|
114
114
|
op_esc('-') #=> "op_minus"
|
115
|
-
|
116
|
-
CREDIT: Trans
|
117
115
|
</pre>
|
116
|
+
<p>
|
117
|
+
CREDIT: Trans
|
118
|
+
</p>
|
118
119
|
</div>
|
119
120
|
<div class="sourcecode">
|
120
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
121
|
-
<div id="
|
121
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001080_source')" id="l_M001080_source">+</a> ]</p>
|
122
|
+
<div id="M001080_source" class="dyn-source">
|
122
123
|
<pre>
|
123
124
|
<span class="ruby-comment cmt"># File lib/more/facets/opesc.rb, line 40</span>
|
124
125
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">str</span>)
|
@@ -128,7 +128,7 @@ Finally, you can set a node and get the reciever back using the !-mark.
|
|
128
128
|
|
129
129
|
|
130
130
|
<div class="sectiontitle">Methods</div>
|
131
|
-
<span style="padding-right: 5px;"><a href="#
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000623">method_missing</a></span>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -138,11 +138,11 @@ Finally, you can set a node and get the reciever back using the !-mark.
|
|
138
138
|
<div class="sectiontitle">Public Instance methods</div>
|
139
139
|
<div class="method">
|
140
140
|
<div class="title">
|
141
|
-
<a name="
|
141
|
+
<a name="M000623"></a><b>method_missing</b>( sym, arg=nil )
|
142
142
|
</div>
|
143
143
|
<div class="sourcecode">
|
144
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
145
|
-
<div id="
|
144
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000623_source')" id="l_M000623_source">+</a> ]</p>
|
145
|
+
<div id="M000623_source" class="dyn-source">
|
146
146
|
<pre>
|
147
147
|
<span class="ruby-comment cmt"># File lib/more/facets/opencascade.rb, line 70</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-identifier">arg</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -84,8 +84,8 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
84
84
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000218">method_missing</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000217">new</a></span>
|
89
89
|
|
90
90
|
|
91
91
|
|
@@ -95,11 +95,11 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
95
95
|
<div class="sectiontitle">Public Class methods</div>
|
96
96
|
<div class="method">
|
97
97
|
<div class="title">
|
98
|
-
<a name="
|
98
|
+
<a name="M000217"></a><b>new</b>(*hash)
|
99
99
|
</div>
|
100
100
|
<div class="sourcecode">
|
101
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
102
|
-
<div id="
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000217_source')" id="l_M000217_source">+</a> ]</p>
|
102
|
+
<div id="M000217_source" class="dyn-source">
|
103
103
|
<pre>
|
104
104
|
<span class="ruby-comment cmt"># File lib/more/facets/opencollection.rb, line 30</span>
|
105
105
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">hash</span>)
|
@@ -114,11 +114,11 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
114
114
|
<div class="sectiontitle">Public Instance methods</div>
|
115
115
|
<div class="method">
|
116
116
|
<div class="title">
|
117
|
-
<a name="
|
117
|
+
<a name="M000218"></a><b>method_missing</b>(sym)
|
118
118
|
</div>
|
119
119
|
<div class="sourcecode">
|
120
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
121
|
-
<div id="
|
120
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">+</a> ]</p>
|
121
|
+
<div id="M000218_source" class="dyn-source">
|
122
122
|
<pre>
|
123
123
|
<span class="ruby-comment cmt"># File lib/more/facets/opencollection.rb, line 36</span>
|
124
124
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>)
|
@@ -82,7 +82,7 @@ Hash
|
|
82
82
|
<a href="OpenHash.html">OpenHash</a> is akin to an OpenStruct or an <a
|
83
83
|
href="OpenObject.html">OpenObject</a>, but it is much simplier in nature.
|
84
84
|
<a href="It.html">It</a> is a hash with an <a
|
85
|
-
href="OpenHash.html#
|
85
|
+
href="OpenHash.html#M000625">method_missing</a> definition that routes to
|
86
86
|
[] and []=.
|
87
87
|
</p>
|
88
88
|
</div>
|
@@ -90,8 +90,8 @@ href="OpenHash.html#M000579">method_missing</a> definition that routes to
|
|
90
90
|
|
91
91
|
|
92
92
|
<div class="sectiontitle">Methods</div>
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000625">method_missing</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000624">new</a></span>
|
95
95
|
|
96
96
|
|
97
97
|
|
@@ -101,7 +101,7 @@ href="OpenHash.html#M000579">method_missing</a> definition that routes to
|
|
101
101
|
<div class="sectiontitle">Public Class methods</div>
|
102
102
|
<div class="method">
|
103
103
|
<div class="title">
|
104
|
-
<a name="
|
104
|
+
<a name="M000624"></a><b>new</b>(data)
|
105
105
|
</div>
|
106
106
|
<div class="description">
|
107
107
|
<p>
|
@@ -109,8 +109,8 @@ New <a href="OpenHash.html">OpenHash</a>.
|
|
109
109
|
</p>
|
110
110
|
</div>
|
111
111
|
<div class="sourcecode">
|
112
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
113
|
-
<div id="
|
112
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000624_source')" id="l_M000624_source">+</a> ]</p>
|
113
|
+
<div id="M000624_source" class="dyn-source">
|
114
114
|
<pre>
|
115
115
|
<span class="ruby-comment cmt"># File lib/more/facets/openhash.rb, line 22</span>
|
116
116
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">data</span>)
|
@@ -124,7 +124,7 @@ New <a href="OpenHash.html">OpenHash</a>.
|
|
124
124
|
<div class="sectiontitle">Public Instance methods</div>
|
125
125
|
<div class="method">
|
126
126
|
<div class="title">
|
127
|
-
<a name="
|
127
|
+
<a name="M000625"></a><b>method_missing</b>(s, *a)
|
128
128
|
</div>
|
129
129
|
<div class="description">
|
130
130
|
<p>
|
@@ -132,8 +132,8 @@ Route get and set calls.
|
|
132
132
|
</p>
|
133
133
|
</div>
|
134
134
|
<div class="sourcecode">
|
135
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
136
|
-
<div id="
|
135
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000625_source')" id="l_M000625_source">+</a> ]</p>
|
136
|
+
<div id="M000625_source" class="dyn-source">
|
137
137
|
<pre>
|
138
138
|
<span class="ruby-comment cmt"># File lib/more/facets/openhash.rb, line 29</span>
|
139
139
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
5
|
<html>
|
6
6
|
<head>
|
7
|
-
<title>Class:
|
7
|
+
<title>Class: OpenModule</title>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
9
|
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
10
|
|
@@ -51,19 +51,21 @@
|
|
51
51
|
|
52
52
|
<body>
|
53
53
|
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />OpenModule</td>
|
55
55
|
<td align="right">
|
56
56
|
<table cellspacing="0" cellpadding="2">
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
-
<a href="../files/lib/more/facets/
|
60
|
+
<a href="../files/lib/more/facets/openmodule_rb.html">lib/more/facets/openmodule.rb</a>
|
61
61
|
</td>
|
62
62
|
</tr>
|
63
63
|
<tr>
|
64
64
|
<td>Parent:</td>
|
65
65
|
<td>
|
66
|
-
|
66
|
+
<a href="Module.html">
|
67
|
+
Module
|
68
|
+
</a>
|
67
69
|
</td>
|
68
70
|
</tr>
|
69
71
|
</table>
|
@@ -75,75 +77,30 @@ Exception
|
|
75
77
|
<div id="bodyContent">
|
76
78
|
<div id="content">
|
77
79
|
|
78
|
-
<div class="description"><h1>Event Hook</h1>
|
79
|
-
<p>
|
80
|
-
Exception-based Event Hooks provides an Event Hooks system designed on top
|
81
|
-
of Ruby‘s built-in Exception system.
|
82
|
-
</p>
|
83
|
-
<pre>
|
84
|
-
def dothis2
|
85
|
-
puts 'pre'
|
86
|
-
hook :quitit
|
87
|
-
puts 'post'
|
88
|
-
end
|
89
|
-
|
90
|
-
def tryit2
|
91
|
-
begin
|
92
|
-
puts "BEFORE"
|
93
|
-
dothis2
|
94
|
-
puts "AFTER"
|
95
|
-
rescue EventHook
|
96
|
-
event :quitit do
|
97
|
-
puts "HERE"
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
tryit2
|
103
|
-
</pre>
|
104
|
-
</div>
|
105
80
|
|
106
81
|
|
107
82
|
|
108
83
|
<div class="sectiontitle">Methods</div>
|
109
|
-
<span style="padding-right: 5px;"><a href="#
|
110
|
-
<span style="padding-right: 5px;"><a href="#
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000165">method_missing</a></span>
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000164">new</a></span>
|
111
86
|
|
112
87
|
|
113
88
|
|
114
89
|
|
115
90
|
|
116
|
-
<div class="sectiontitle">Attributes</div>
|
117
|
-
<table border='0' cellpadding='5'>
|
118
|
-
<tr valign='top'>
|
119
|
-
<td class='attr-rw'>
|
120
|
-
[R]
|
121
|
-
</td>
|
122
|
-
<td class='attr-name'>cc</td>
|
123
|
-
<td class='attr-desc'></td>
|
124
|
-
</tr>
|
125
|
-
<tr valign='top'>
|
126
|
-
<td class='attr-rw'>
|
127
|
-
[R]
|
128
|
-
</td>
|
129
|
-
<td class='attr-name'>name</td>
|
130
|
-
<td class='attr-desc'></td>
|
131
|
-
</tr>
|
132
|
-
</table>
|
133
91
|
|
134
92
|
<div class="sectiontitle">Public Class methods</div>
|
135
93
|
<div class="method">
|
136
94
|
<div class="title">
|
137
|
-
<a name="
|
95
|
+
<a name="M000164"></a><b>new</b>(&block)
|
138
96
|
</div>
|
139
97
|
<div class="sourcecode">
|
140
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
141
|
-
<div id="
|
98
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">+</a> ]</p>
|
99
|
+
<div id="M000164_source" class="dyn-source">
|
142
100
|
<pre>
|
143
|
-
<span class="ruby-comment cmt"># File lib/more/facets/
|
144
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-
|
145
|
-
<span class="ruby-
|
146
|
-
<span class="ruby-ivar">@cc</span> = <span class="ruby-identifier">cc</span>
|
101
|
+
<span class="ruby-comment cmt"># File lib/more/facets/openmodule.rb, line 3</span>
|
102
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
103
|
+
<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
147
104
|
<span class="ruby-keyword kw">end</span>
|
148
105
|
</pre>
|
149
106
|
</div>
|
@@ -152,15 +109,19 @@ of Ruby‘s built-in Exception system.
|
|
152
109
|
<div class="sectiontitle">Public Instance methods</div>
|
153
110
|
<div class="method">
|
154
111
|
<div class="title">
|
155
|
-
<a name="
|
112
|
+
<a name="M000165"></a><b>method_missing</b>(s, *a, &b)
|
156
113
|
</div>
|
157
114
|
<div class="sourcecode">
|
158
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
159
|
-
<div id="
|
115
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">+</a> ]</p>
|
116
|
+
<div id="M000165_source" class="dyn-source">
|
160
117
|
<pre>
|
161
|
-
<span class="ruby-comment cmt"># File lib/more/facets/
|
162
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
163
|
-
<span class="ruby-
|
118
|
+
<span class="ruby-comment cmt"># File lib/more/facets/openmodule.rb, line 7</span>
|
119
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
120
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
121
|
+
<span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
122
|
+
<span class="ruby-keyword kw">else</span>
|
123
|
+
<span class="ruby-keyword kw">super</span>
|
124
|
+
<span class="ruby-keyword kw">end</span>
|
164
125
|
<span class="ruby-keyword kw">end</span>
|
165
126
|
</pre>
|
166
127
|
</div>
|
@@ -104,7 +104,7 @@ If you wish to pass an <a href="OpenObject.html">OpenObject</a> to a
|
|
104
104
|
routine that normal takes a <a href="Hash.html">Hash</a>, but are uncertain
|
105
105
|
it can handle the distictions properly you can convert easily to a <a
|
106
106
|
href="Hash.html">Hash</a> using <a
|
107
|
-
href="OpenObject.html#
|
107
|
+
href="OpenObject.html#M000263">to_hash</a>! and the result will
|
108
108
|
automatically be converted back to an <a
|
109
109
|
href="OpenObject.html">OpenObject</a> on return.
|
110
110
|
</p>
|
@@ -123,29 +123,29 @@ are converted to such using to_sym on the fly.
|
|
123
123
|
|
124
124
|
|
125
125
|
<div class="sectiontitle">Methods</div>
|
126
|
-
<span style="padding-right: 5px;"><a href="#
|
127
|
-
<span style="padding-right: 5px;"><a href="#
|
128
|
-
<span style="padding-right: 5px;"><a href="#
|
129
|
-
<span style="padding-right: 5px;"><a href="#
|
130
|
-
<span style="padding-right: 5px;"><a href="#
|
131
|
-
<span style="padding-right: 5px;"><a href="#
|
132
|
-
<span style="padding-right: 5px;"><a href="#
|
133
|
-
<span style="padding-right: 5px;"><a href="#
|
134
|
-
<span style="padding-right: 5px;"><a href="#
|
135
|
-
<span style="padding-right: 5px;"><a href="#
|
136
|
-
<span style="padding-right: 5px;"><a href="#
|
137
|
-
<span style="padding-right: 5px;"><a href="#
|
138
|
-
<span style="padding-right: 5px;"><a href="#
|
139
|
-
<span style="padding-right: 5px;"><a href="#
|
140
|
-
<span style="padding-right: 5px;"><a href="#
|
141
|
-
<span style="padding-right: 5px;"><a href="#
|
142
|
-
<span style="padding-right: 5px;"><a href="#
|
143
|
-
<span style="padding-right: 5px;"><a href="#
|
144
|
-
<span style="padding-right: 5px;"><a href="#
|
145
|
-
<span style="padding-right: 5px;"><a href="#
|
146
|
-
<span style="padding-right: 5px;"><a href="#
|
147
|
-
<span style="padding-right: 5px;"><a href="#
|
148
|
-
<span style="padding-right: 5px;"><a href="#
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000272">==</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000257">[]</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000274">[]</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000273">[]=</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000271">as_hash!</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000270">default!</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000277">define_slot</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000269">delete</a></span>
|
134
|
+
<span style="padding-right: 5px;"><a href="#M000266">each</a></span>
|
135
|
+
<span style="padding-right: 5px;"><a href="#M000276">fetch</a></span>
|
136
|
+
<span style="padding-right: 5px;"><a href="#M000259">initialize_copy</a></span>
|
137
|
+
<span style="padding-right: 5px;"><a href="#M000260">inspect</a></span>
|
138
|
+
<span style="padding-right: 5px;"><a href="#M000267">merge</a></span>
|
139
|
+
<span style="padding-right: 5px;"><a href="#M000279">method_missing</a></span>
|
140
|
+
<span style="padding-right: 5px;"><a href="#M000258">new</a></span>
|
141
|
+
<span style="padding-right: 5px;"><a href="#M000278">protect_slot</a></span>
|
142
|
+
<span style="padding-right: 5px;"><a href="#M000275">store</a></span>
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000261">to_a</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000262">to_h</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000263">to_hash</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000265">to_openobject</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000264">to_proc</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000268">update</a></span>
|
149
149
|
|
150
150
|
|
151
151
|
|
@@ -163,11 +163,11 @@ are converted to such using to_sym on the fly.
|
|
163
163
|
<div class="sectiontitle">Public Class methods</div>
|
164
164
|
<div class="method">
|
165
165
|
<div class="title">
|
166
|
-
<a name="
|
166
|
+
<a name="M000257"></a><b>[]</b>(hash=nil)
|
167
167
|
</div>
|
168
168
|
<div class="sourcecode">
|
169
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
170
|
-
<div id="
|
169
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000257_source')" id="l_M000257_source">+</a> ]</p>
|
170
|
+
<div id="M000257_source" class="dyn-source">
|
171
171
|
<pre>
|
172
172
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 88</span>
|
173
173
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>(<span class="ruby-identifier">hash</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -179,7 +179,7 @@ are converted to such using to_sym on the fly.
|
|
179
179
|
</div>
|
180
180
|
<div class="method">
|
181
181
|
<div class="title">
|
182
|
-
<a name="
|
182
|
+
<a name="M000258"></a><b>new</b>( hash=nil, &yld )
|
183
183
|
</div>
|
184
184
|
<div class="description">
|
185
185
|
<p>
|
@@ -195,8 +195,8 @@ can still take a default block however. To set the degault value use
|
|
195
195
|
</pre>
|
196
196
|
</div>
|
197
197
|
<div class="sourcecode">
|
198
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
199
|
-
<div id="
|
198
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000258_source')" id="l_M000258_source">+</a> ]</p>
|
199
|
+
<div id="M000258_source" class="dyn-source">
|
200
200
|
<pre>
|
201
201
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 102</span>
|
202
202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">hash</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -210,7 +210,7 @@ can still take a default block however. To set the degault value use
|
|
210
210
|
<div class="sectiontitle">Public Instance methods</div>
|
211
211
|
<div class="method">
|
212
212
|
<div class="title">
|
213
|
-
<a name="
|
213
|
+
<a name="M000272"></a><b>==</b>( other )
|
214
214
|
</div>
|
215
215
|
<div class="description">
|
216
216
|
<p>
|
@@ -219,8 +219,8 @@ too?)
|
|
219
219
|
</p>
|
220
220
|
</div>
|
221
221
|
<div class="sourcecode">
|
222
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
223
|
-
<div id="
|
222
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000272_source')" id="l_M000272_source">+</a> ]</p>
|
223
|
+
<div id="M000272_source" class="dyn-source">
|
224
224
|
<pre>
|
225
225
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 175</span>
|
226
226
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>( <span class="ruby-identifier">other</span> )
|
@@ -233,11 +233,11 @@ too?)
|
|
233
233
|
</div>
|
234
234
|
<div class="method">
|
235
235
|
<div class="title">
|
236
|
-
<a name="
|
236
|
+
<a name="M000274"></a><b>[]</b>(k)
|
237
237
|
</div>
|
238
238
|
<div class="sourcecode">
|
239
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
240
|
-
<div id="
|
239
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000274_source')" id="l_M000274_source">+</a> ]</p>
|
240
|
+
<div id="M000274_source" class="dyn-source">
|
241
241
|
<pre>
|
242
242
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 185</span>
|
243
243
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">k</span>)
|
@@ -249,11 +249,11 @@ too?)
|
|
249
249
|
</div>
|
250
250
|
<div class="method">
|
251
251
|
<div class="title">
|
252
|
-
<a name="
|
252
|
+
<a name="M000273"></a><b>[]=</b>(k,v)
|
253
253
|
</div>
|
254
254
|
<div class="sourcecode">
|
255
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
256
|
-
<div id="
|
255
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000273_source')" id="l_M000273_source">+</a> ]</p>
|
256
|
+
<div id="M000273_source" class="dyn-source">
|
257
257
|
<pre>
|
258
258
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 180</span>
|
259
259
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
|
@@ -266,7 +266,7 @@ too?)
|
|
266
266
|
</div>
|
267
267
|
<div class="method">
|
268
268
|
<div class="title">
|
269
|
-
<a name="
|
269
|
+
<a name="M000271"></a><b>as_hash!</b>(&yld)
|
270
270
|
</div>
|
271
271
|
<div class="description">
|
272
272
|
<p>
|
@@ -275,8 +275,8 @@ were a regular <a href="Hash.html">Hash</a>.
|
|
275
275
|
</p>
|
276
276
|
</div>
|
277
277
|
<div class="sourcecode">
|
278
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
279
|
-
<div id="
|
278
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000271_source')" id="l_M000271_source">+</a> ]</p>
|
279
|
+
<div id="M000271_source" class="dyn-source">
|
280
280
|
<pre>
|
281
281
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 169</span>
|
282
282
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">as_hash!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
@@ -288,7 +288,7 @@ were a regular <a href="Hash.html">Hash</a>.
|
|
288
288
|
</div>
|
289
289
|
<div class="method">
|
290
290
|
<div class="title">
|
291
|
-
<a name="
|
291
|
+
<a name="M000270"></a><b>default!</b>(default)
|
292
292
|
</div>
|
293
293
|
<div class="description">
|
294
294
|
<p>
|
@@ -296,8 +296,8 @@ Set the default value.
|
|
296
296
|
</p>
|
297
297
|
</div>
|
298
298
|
<div class="sourcecode">
|
299
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
300
|
-
<div id="
|
299
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000270_source')" id="l_M000270_source">+</a> ]</p>
|
300
|
+
<div id="M000270_source" class="dyn-source">
|
301
301
|
<pre>
|
302
302
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 159</span>
|
303
303
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default!</span>(<span class="ruby-identifier">default</span>)
|
@@ -309,11 +309,11 @@ Set the default value.
|
|
309
309
|
</div>
|
310
310
|
<div class="method">
|
311
311
|
<div class="title">
|
312
|
-
<a name="
|
312
|
+
<a name="M000269"></a><b>delete</b>(key)
|
313
313
|
</div>
|
314
314
|
<div class="sourcecode">
|
315
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
316
|
-
<div id="
|
315
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000269_source')" id="l_M000269_source">+</a> ]</p>
|
316
|
+
<div id="M000269_source" class="dyn-source">
|
317
317
|
<pre>
|
318
318
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 153</span>
|
319
319
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>)
|
@@ -325,17 +325,17 @@ Set the default value.
|
|
325
325
|
</div>
|
326
326
|
<div class="method">
|
327
327
|
<div class="title">
|
328
|
-
<a name="
|
328
|
+
<a name="M000266"></a><b>each</b>(&yld)
|
329
329
|
</div>
|
330
330
|
<div class="description">
|
331
331
|
<p>
|
332
|
-
Iterate over <a href="OpenObject.html#
|
332
|
+
Iterate over <a href="OpenObject.html#M000266">each</a> key-value pair.
|
333
333
|
(Careful, this can be clobbered!)
|
334
334
|
</p>
|
335
335
|
</div>
|
336
336
|
<div class="sourcecode">
|
337
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
338
|
-
<div id="
|
337
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000266_source')" id="l_M000266_source">+</a> ]</p>
|
338
|
+
<div id="M000266_source" class="dyn-source">
|
339
339
|
<pre>
|
340
340
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 130</span>
|
341
341
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-keyword kw">super</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-keyword kw">end</span>
|
@@ -345,11 +345,11 @@ Iterate over <a href="OpenObject.html#M000333">each</a> key-value pair.
|
|
345
345
|
</div>
|
346
346
|
<div class="method">
|
347
347
|
<div class="title">
|
348
|
-
<a name="
|
348
|
+
<a name="M000259"></a><b>initialize_copy</b>( orig )
|
349
349
|
</div>
|
350
350
|
<div class="sourcecode">
|
351
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
352
|
-
<div id="
|
351
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000259_source')" id="l_M000259_source">+</a> ]</p>
|
352
|
+
<div id="M000259_source" class="dyn-source">
|
353
353
|
<pre>
|
354
354
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 107</span>
|
355
355
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize_copy</span>( <span class="ruby-identifier">orig</span> )
|
@@ -361,7 +361,7 @@ Iterate over <a href="OpenObject.html#M000333">each</a> key-value pair.
|
|
361
361
|
</div>
|
362
362
|
<div class="method">
|
363
363
|
<div class="title">
|
364
|
-
<a name="
|
364
|
+
<a name="M000260"></a><b>inspect</b>()
|
365
365
|
</div>
|
366
366
|
<div class="description">
|
367
367
|
<p>
|
@@ -369,8 +369,8 @@ Object inspection. (Careful, this can be clobbered!)
|
|
369
369
|
</p>
|
370
370
|
</div>
|
371
371
|
<div class="sourcecode">
|
372
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
373
|
-
<div id="
|
372
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000260_source')" id="l_M000260_source">+</a> ]</p>
|
373
|
+
<div id="M000260_source" class="dyn-source">
|
374
374
|
<pre>
|
375
375
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 113</span>
|
376
376
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -382,18 +382,18 @@ Object inspection. (Careful, this can be clobbered!)
|
|
382
382
|
</div>
|
383
383
|
<div class="method">
|
384
384
|
<div class="title">
|
385
|
-
<a name="
|
385
|
+
<a name="M000267"></a><b>merge</b>( other )
|
386
386
|
</div>
|
387
387
|
<div class="description">
|
388
388
|
<p>
|
389
389
|
Merge one <a href="OpenObject.html">OpenObject</a> with another creating a
|
390
|
-
<a href="OpenObject.html#
|
390
|
+
<a href="OpenObject.html#M000258">new</a> <a
|
391
391
|
href="OpenObject.html">OpenObject</a>.
|
392
392
|
</p>
|
393
393
|
</div>
|
394
394
|
<div class="sourcecode">
|
395
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
396
|
-
<div id="
|
395
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000267_source')" id="l_M000267_source">+</a> ]</p>
|
396
|
+
<div id="M000267_source" class="dyn-source">
|
397
397
|
<pre>
|
398
398
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 134</span>
|
399
399
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>( <span class="ruby-identifier">other</span> )
|
@@ -407,7 +407,7 @@ href="OpenObject.html">OpenObject</a>.
|
|
407
407
|
</div>
|
408
408
|
<div class="method">
|
409
409
|
<div class="title">
|
410
|
-
<a name="
|
410
|
+
<a name="M000261"></a><b>to_a</b>()
|
411
411
|
</div>
|
412
412
|
<div class="description">
|
413
413
|
<p>
|
@@ -415,8 +415,8 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
415
415
|
</p>
|
416
416
|
</div>
|
417
417
|
<div class="sourcecode">
|
418
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
419
|
-
<div id="
|
418
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000261_source')" id="l_M000261_source">+</a> ]</p>
|
419
|
+
<div id="M000261_source" class="dyn-source">
|
420
420
|
<pre>
|
421
421
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 119</span>
|
422
422
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>() <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">end</span>
|
@@ -426,11 +426,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
426
426
|
</div>
|
427
427
|
<div class="method">
|
428
428
|
<div class="title">
|
429
|
-
<a name="
|
429
|
+
<a name="M000262"></a><b>to_h</b>()
|
430
430
|
</div>
|
431
431
|
<div class="sourcecode">
|
432
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
433
|
-
<div id="
|
432
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000262_source')" id="l_M000262_source">+</a> ]</p>
|
433
|
+
<div id="M000262_source" class="dyn-source">
|
434
434
|
<pre>
|
435
435
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 121</span>
|
436
436
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>() {}.<span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">end</span>
|
@@ -440,11 +440,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
440
440
|
</div>
|
441
441
|
<div class="method">
|
442
442
|
<div class="title">
|
443
|
-
<a name="
|
443
|
+
<a name="M000263"></a><b>to_hash</b>()
|
444
444
|
</div>
|
445
445
|
<div class="sourcecode">
|
446
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
447
|
-
<div id="
|
446
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000263_source')" id="l_M000263_source">+</a> ]</p>
|
447
|
+
<div id="M000263_source" class="dyn-source">
|
448
448
|
<pre>
|
449
449
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 122</span>
|
450
450
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>() {}.<span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">end</span>
|
@@ -454,11 +454,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
454
454
|
</div>
|
455
455
|
<div class="method">
|
456
456
|
<div class="title">
|
457
|
-
<a name="
|
457
|
+
<a name="M000265"></a><b>to_openobject</b>()
|
458
458
|
</div>
|
459
459
|
<div class="sourcecode">
|
460
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
461
|
-
<div id="
|
460
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000265_source')" id="l_M000265_source">+</a> ]</p>
|
461
|
+
<div id="M000265_source" class="dyn-source">
|
462
462
|
<pre>
|
463
463
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 126</span>
|
464
464
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_openobject</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
@@ -468,11 +468,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
468
468
|
</div>
|
469
469
|
<div class="method">
|
470
470
|
<div class="title">
|
471
|
-
<a name="
|
471
|
+
<a name="M000264"></a><b>to_proc</b>()
|
472
472
|
</div>
|
473
473
|
<div class="sourcecode">
|
474
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
475
|
-
<div id="
|
474
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000264_source')" id="l_M000264_source">+</a> ]</p>
|
475
|
+
<div id="M000264_source" class="dyn-source">
|
476
476
|
<pre>
|
477
477
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 124</span>
|
478
478
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>() <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">end</span>
|
@@ -482,7 +482,7 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
482
482
|
</div>
|
483
483
|
<div class="method">
|
484
484
|
<div class="title">
|
485
|
-
<a name="
|
485
|
+
<a name="M000268"></a><b>update</b>( other )
|
486
486
|
</div>
|
487
487
|
<div class="description">
|
488
488
|
<p>
|
@@ -490,8 +490,8 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
490
490
|
</p>
|
491
491
|
</div>
|
492
492
|
<div class="sourcecode">
|
493
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
494
|
-
<div id="
|
493
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000268_source')" id="l_M000268_source">+</a> ]</p>
|
494
|
+
<div id="M000268_source" class="dyn-source">
|
495
495
|
<pre>
|
496
496
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 142</span>
|
497
497
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>( <span class="ruby-identifier">other</span> )
|
@@ -509,11 +509,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
509
509
|
<div class="sectiontitle">Protected Instance methods</div>
|
510
510
|
<div class="method">
|
511
511
|
<div class="title">
|
512
|
-
<a name="
|
512
|
+
<a name="M000277"></a><b>define_slot</b>( key, value=nil )
|
513
513
|
</div>
|
514
514
|
<div class="sourcecode">
|
515
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
516
|
-
<div id="
|
515
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000277_source')" id="l_M000277_source">+</a> ]</p>
|
516
|
+
<div id="M000277_source" class="dyn-source">
|
517
517
|
<pre>
|
518
518
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 200</span>
|
519
519
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_slot</span>( <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -526,11 +526,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
526
526
|
</div>
|
527
527
|
<div class="method">
|
528
528
|
<div class="title">
|
529
|
-
<a name="
|
529
|
+
<a name="M000276"></a><b>fetch</b>(k,*d,&b)
|
530
530
|
</div>
|
531
531
|
<div class="sourcecode">
|
532
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
533
|
-
<div id="
|
532
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000276_source')" id="l_M000276_source">+</a> ]</p>
|
533
|
+
<div id="M000276_source" class="dyn-source">
|
534
534
|
<pre>
|
535
535
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 196</span>
|
536
536
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">k</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">d</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -542,11 +542,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
542
542
|
</div>
|
543
543
|
<div class="method">
|
544
544
|
<div class="title">
|
545
|
-
<a name="
|
545
|
+
<a name="M000279"></a><b>method_missing</b>( sym, arg=nil, &blk)
|
546
546
|
</div>
|
547
547
|
<div class="sourcecode">
|
548
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
549
|
-
<div id="
|
548
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000279_source')" id="l_M000279_source">+</a> ]</p>
|
549
|
+
<div id="M000279_source" class="dyn-source">
|
550
550
|
<pre>
|
551
551
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 211</span>
|
552
552
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-identifier">arg</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -567,11 +567,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
567
567
|
</div>
|
568
568
|
<div class="method">
|
569
569
|
<div class="title">
|
570
|
-
<a name="
|
570
|
+
<a name="M000278"></a><b>protect_slot</b>( key )
|
571
571
|
</div>
|
572
572
|
<div class="sourcecode">
|
573
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
574
|
-
<div id="
|
573
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000278_source')" id="l_M000278_source">+</a> ]</p>
|
574
|
+
<div id="M000278_source" class="dyn-source">
|
575
575
|
<pre>
|
576
576
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 205</span>
|
577
577
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protect_slot</span>( <span class="ruby-identifier">key</span> )
|
@@ -585,11 +585,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
585
585
|
</div>
|
586
586
|
<div class="method">
|
587
587
|
<div class="title">
|
588
|
-
<a name="
|
588
|
+
<a name="M000275"></a><b>store</b>(k,v)
|
589
589
|
</div>
|
590
590
|
<div class="sourcecode">
|
591
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
592
|
-
<div id="
|
591
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000275_source')" id="l_M000275_source">+</a> ]</p>
|
592
|
+
<div id="M000275_source" class="dyn-source">
|
593
593
|
<pre>
|
594
594
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 191</span>
|
595
595
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
|