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
@@ -57,7 +57,6 @@
|
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
-
<a href="../files/lib/more/facets/annotations_rb.html">lib/more/facets/annotations.rb</a>
|
61
60
|
<a href="../files/lib/more/facets/classmethods_rb.html">lib/more/facets/classmethods.rb</a>
|
62
61
|
<a href="../files/lib/more/facets/dependency_rb.html">lib/more/facets/dependency.rb</a>
|
63
62
|
<a href="../files/lib/more/facets/memoize_rb.html">lib/more/facets/memoize.rb</a>
|
@@ -91,49 +90,43 @@ Object
|
|
91
90
|
|
92
91
|
|
93
92
|
<div class="sectiontitle">Methods</div>
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
98
|
-
<span style="padding-right: 5px;"><a href="#
|
99
|
-
<span style="padding-right: 5px;"><a href="#
|
100
|
-
<span style="padding-right: 5px;"><a href="#
|
101
|
-
<span style="padding-right: 5px;"><a href="#
|
102
|
-
<span style="padding-right: 5px;"><a href="#
|
103
|
-
<span style="padding-right: 5px;"><a href="#
|
104
|
-
<span style="padding-right: 5px;"><a href="#
|
105
|
-
<span style="padding-right: 5px;"><a href="#
|
106
|
-
<span style="padding-right: 5px;"><a href="#
|
107
|
-
<span style="padding-right: 5px;"><a href="#
|
108
|
-
<span style="padding-right: 5px;"><a href="#
|
109
|
-
<span style="padding-right: 5px;"><a href="#
|
110
|
-
<span style="padding-right: 5px;"><a href="#
|
111
|
-
<span style="padding-right: 5px;"><a href="#
|
112
|
-
<span style="padding-right: 5px;"><a href="#
|
113
|
-
<span style="padding-right: 5px;"><a href="#
|
114
|
-
<span style="padding-right: 5px;"><a href="#
|
115
|
-
<span style="padding-right: 5px;"><a href="#
|
116
|
-
<span style="padding-right: 5px;"><a href="#
|
117
|
-
<span style="padding-right: 5px;"><a href="#
|
118
|
-
<span style="padding-right: 5px;"><a href="#
|
119
|
-
<span style="padding-right: 5px;"><a href="#
|
120
|
-
<span style="padding-right: 5px;"><a href="#
|
121
|
-
<span style="padding-right: 5px;"><a href="#
|
122
|
-
<span style="padding-right: 5px;"><a href="#
|
123
|
-
<span style="padding-right: 5px;"><a href="#
|
124
|
-
<span style="padding-right: 5px;"><a href="#
|
125
|
-
<span style="padding-right: 5px;"><a href="#
|
126
|
-
<span style="padding-right: 5px;"><a href="#
|
127
|
-
<span style="padding-right: 5px;"><a href="#
|
128
|
-
<span style="padding-right: 5px;"><a href="#
|
129
|
-
<span style="padding-right: 5px;"><a href="#
|
130
|
-
<span style="padding-right: 5px;"><a href="#
|
131
|
-
<span style="padding-right: 5px;"><a href="#M000380">method_overloads</a></span>
|
132
|
-
<span style="padding-right: 5px;"><a href="#M000382">method_space</a></span>
|
133
|
-
<span style="padding-right: 5px;"><a href="#M000385">mixin_parameters</a></span>
|
134
|
-
<span style="padding-right: 5px;"><a href="#M000386">mixin_params</a></span>
|
135
|
-
<span style="padding-right: 5px;"><a href="#M000381">overload</a></span>
|
136
|
-
<span style="padding-right: 5px;"><a href="#M000378">setting</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000311">Equatable</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000294">alias_accessor!</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000300">alias_reader!</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000301">alias_reader?</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000290">alias_setter</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000295">alias_switcher</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000302">alias_tester</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000296">alias_toggler</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000288">alias_validator</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000304">alias_writer!</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M000315">append_features</a></span>
|
104
|
+
<span style="padding-right: 5px;"><a href="#M000280">append_features</a></span>
|
105
|
+
<span style="padding-right: 5px;"><a href="#M000316">append_features</a></span>
|
106
|
+
<span style="padding-right: 5px;"><a href="#M000314">append_features_without_class_extension</a></span>
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000291">attr_accessor!</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000297">attr_reader!</a></span>
|
109
|
+
<span style="padding-right: 5px;"><a href="#M000298">attr_reader?</a></span>
|
110
|
+
<span style="padding-right: 5px;"><a href="#M000289">attr_setter</a></span>
|
111
|
+
<span style="padding-right: 5px;"><a href="#M000292">attr_switcher</a></span>
|
112
|
+
<span style="padding-right: 5px;"><a href="#M000299">attr_tester</a></span>
|
113
|
+
<span style="padding-right: 5px;"><a href="#M000293">attr_toggler</a></span>
|
114
|
+
<span style="padding-right: 5px;"><a href="#M000287">attr_validator</a></span>
|
115
|
+
<span style="padding-right: 5px;"><a href="#M000303">attr_writer!</a></span>
|
116
|
+
<span style="padding-right: 5px;"><a href="#M000282">class_inherit</a></span>
|
117
|
+
<span style="padding-right: 5px;"><a href="#M000281">class_methods</a></span>
|
118
|
+
<span style="padding-right: 5px;"><a href="#M000285">define_dependency</a></span>
|
119
|
+
<span style="padding-right: 5px;"><a href="#M000283">depend</a></span>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000284">dependencies</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000310">include_as</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000306">instance_method!</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000286">memoize</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000307">method_overloads</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000309">method_space</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000312">mixin_parameters</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000313">mixin_params</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000308">overload</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000305">setting</a></span>
|
137
130
|
|
138
131
|
|
139
132
|
|
@@ -143,11 +136,11 @@ Object
|
|
143
136
|
<div class="sectiontitle">Public Class methods</div>
|
144
137
|
<div class="method">
|
145
138
|
<div class="title">
|
146
|
-
<a name="
|
139
|
+
<a name="M000315"></a><b>append_features</b>(mod)
|
147
140
|
</div>
|
148
141
|
<div class="sourcecode">
|
149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
150
|
-
<div id="
|
142
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000315_source')" id="l_M000315_source">+</a> ]</p>
|
143
|
+
<div id="M000315_source" class="dyn-source">
|
151
144
|
<pre>
|
152
145
|
<span class="ruby-comment cmt"># File lib/more/facets/class_extension.rb, line 85</span>
|
153
146
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
@@ -160,13 +153,13 @@ Object
|
|
160
153
|
<div class="sectiontitle">Public Instance methods</div>
|
161
154
|
<div class="method">
|
162
155
|
<div class="title">
|
163
|
-
<a name="
|
156
|
+
<a name="M000311"></a><b>Equatable</b>(*accessors)
|
164
157
|
</div>
|
165
158
|
<div class="description">
|
166
159
|
<p>
|
167
160
|
This function provided a "shortcut" for creating the identity
|
168
161
|
method based on given accessors and returns the <a
|
169
|
-
href="Module.html#
|
162
|
+
href="Module.html#M000311">Equatable</a> module for inclusion.
|
170
163
|
</p>
|
171
164
|
<pre>
|
172
165
|
include Equatable(:a, :b)
|
@@ -189,8 +182,8 @@ is equivalent to including a module containing:
|
|
189
182
|
</pre>
|
190
183
|
</div>
|
191
184
|
<div class="sourcecode">
|
192
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
193
|
-
<div id="
|
185
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000311_source')" id="l_M000311_source">+</a> ]</p>
|
186
|
+
<div id="M000311_source" class="dyn-source">
|
194
187
|
<pre>
|
195
188
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 115</span>
|
196
189
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Equatable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -202,24 +195,24 @@ is equivalent to including a module containing:
|
|
202
195
|
</div>
|
203
196
|
<div class="method">
|
204
197
|
<div class="title">
|
205
|
-
<a name="
|
198
|
+
<a name="M000294"></a><b>alias_accessor!</b>(*args)
|
206
199
|
</div>
|
207
200
|
<div class="description">
|
208
201
|
<p>
|
209
202
|
Create aliases for flag accessors.
|
210
203
|
</p>
|
211
|
-
<
|
212
|
-
|
213
|
-
</
|
204
|
+
<p>
|
205
|
+
CREDIT: Trans
|
206
|
+
</p>
|
214
207
|
</div>
|
215
208
|
<div class="aka">
|
216
209
|
This method is also aliased as
|
217
|
-
<a href="Module.html#
|
218
|
-
<a href="Module.html#
|
210
|
+
<a href="Module.html#M000295">alias_switcher</a>
|
211
|
+
<a href="Module.html#M000296">alias_toggler</a>
|
219
212
|
</div>
|
220
213
|
<div class="sourcecode">
|
221
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
222
|
-
<div id="
|
214
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000294_source')" id="l_M000294_source">+</a> ]</p>
|
215
|
+
<div id="M000294_source" class="dyn-source">
|
223
216
|
<pre>
|
224
217
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 117</span>
|
225
218
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_accessor!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -236,24 +229,24 @@ Create aliases for flag accessors.
|
|
236
229
|
</div>
|
237
230
|
<div class="method">
|
238
231
|
<div class="title">
|
239
|
-
<a name="
|
232
|
+
<a name="M000300"></a><b>alias_reader!</b>(*args)
|
240
233
|
</div>
|
241
234
|
<div class="description">
|
242
235
|
<p>
|
243
236
|
Create aliases for flag reader.
|
244
237
|
</p>
|
245
|
-
<
|
246
|
-
|
247
|
-
</
|
238
|
+
<p>
|
239
|
+
CREDIT: Trans
|
240
|
+
</p>
|
248
241
|
</div>
|
249
242
|
<div class="aka">
|
250
243
|
This method is also aliased as
|
251
|
-
<a href="Module.html#
|
252
|
-
<a href="Module.html#
|
244
|
+
<a href="Module.html#M000301">alias_reader?</a>
|
245
|
+
<a href="Module.html#M000302">alias_tester</a>
|
253
246
|
</div>
|
254
247
|
<div class="sourcecode">
|
255
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
256
|
-
<div id="
|
248
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000300_source')" id="l_M000300_source">+</a> ]</p>
|
249
|
+
<div id="M000300_source" class="dyn-source">
|
257
250
|
<pre>
|
258
251
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 159</span>
|
259
252
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_reader!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -269,7 +262,7 @@ Create aliases for flag reader.
|
|
269
262
|
</div>
|
270
263
|
<div class="method">
|
271
264
|
<div class="title">
|
272
|
-
<a name="
|
265
|
+
<a name="M000301"></a><b>alias_reader?</b>(*args)
|
273
266
|
</div>
|
274
267
|
<div class="description">
|
275
268
|
<p>
|
@@ -279,7 +272,7 @@ Alias for alias_reader!
|
|
279
272
|
</div>
|
280
273
|
<div class="method">
|
281
274
|
<div class="title">
|
282
|
-
<a name="
|
275
|
+
<a name="M000290"></a><b>alias_setter</b>(*args)
|
283
276
|
</div>
|
284
277
|
<div class="description">
|
285
278
|
<p>
|
@@ -294,13 +287,14 @@ Alias an accessor. This create an alias for both a reader and a writer.
|
|
294
287
|
x = X.new
|
295
288
|
x.b = 1
|
296
289
|
x.a #=> 1
|
297
|
-
|
298
|
-
CREDIT: Trans
|
299
290
|
</pre>
|
291
|
+
<p>
|
292
|
+
CREDIT: Trans
|
293
|
+
</p>
|
300
294
|
</div>
|
301
295
|
<div class="sourcecode">
|
302
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
303
|
-
<div id="
|
296
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000290_source')" id="l_M000290_source">+</a> ]</p>
|
297
|
+
<div id="M000290_source" class="dyn-source">
|
304
298
|
<pre>
|
305
299
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 81</span>
|
306
300
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_setter</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -315,7 +309,7 @@ Alias an accessor. This create an alias for both a reader and a writer.
|
|
315
309
|
</div>
|
316
310
|
<div class="method">
|
317
311
|
<div class="title">
|
318
|
-
<a name="
|
312
|
+
<a name="M000295"></a><b>alias_switcher</b>(*args)
|
319
313
|
</div>
|
320
314
|
<div class="description">
|
321
315
|
<p>
|
@@ -325,7 +319,7 @@ Alias for alias_accessor!
|
|
325
319
|
</div>
|
326
320
|
<div class="method">
|
327
321
|
<div class="title">
|
328
|
-
<a name="
|
322
|
+
<a name="M000302"></a><b>alias_tester</b>(*args)
|
329
323
|
</div>
|
330
324
|
<div class="description">
|
331
325
|
<p>
|
@@ -335,7 +329,7 @@ Alias for alias_reader!
|
|
335
329
|
</div>
|
336
330
|
<div class="method">
|
337
331
|
<div class="title">
|
338
|
-
<a name="
|
332
|
+
<a name="M000296"></a><b>alias_toggler</b>(*args)
|
339
333
|
</div>
|
340
334
|
<div class="description">
|
341
335
|
<p>
|
@@ -345,7 +339,7 @@ Alias for alias_accessor!
|
|
345
339
|
</div>
|
346
340
|
<div class="method">
|
347
341
|
<div class="title">
|
348
|
-
<a name="
|
342
|
+
<a name="M000288"></a><b>alias_validator</b>(*args)
|
349
343
|
</div>
|
350
344
|
<div class="description">
|
351
345
|
<p>
|
@@ -353,8 +347,8 @@ Create aliases for validators.
|
|
353
347
|
</p>
|
354
348
|
</div>
|
355
349
|
<div class="sourcecode">
|
356
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
357
|
-
<div id="
|
350
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000288_source')" id="l_M000288_source">+</a> ]</p>
|
351
|
+
<div id="M000288_source" class="dyn-source">
|
358
352
|
<pre>
|
359
353
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 24</span>
|
360
354
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_validator</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -371,19 +365,19 @@ Create aliases for validators.
|
|
371
365
|
</div>
|
372
366
|
<div class="method">
|
373
367
|
<div class="title">
|
374
|
-
<a name="
|
368
|
+
<a name="M000304"></a><b>alias_writer!</b>(*args)
|
375
369
|
</div>
|
376
370
|
<div class="description">
|
377
371
|
<p>
|
378
372
|
Create aliases for flag writer.
|
379
373
|
</p>
|
380
|
-
<
|
381
|
-
|
382
|
-
</
|
374
|
+
<p>
|
375
|
+
CREDIT: Trans
|
376
|
+
</p>
|
383
377
|
</div>
|
384
378
|
<div class="sourcecode">
|
385
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
386
|
-
<div id="
|
379
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000304_source')" id="l_M000304_source">+</a> ]</p>
|
380
|
+
<div id="M000304_source" class="dyn-source">
|
387
381
|
<pre>
|
388
382
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 200</span>
|
389
383
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_writer!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -399,130 +393,15 @@ Create aliases for flag writer.
|
|
399
393
|
</div>
|
400
394
|
<div class="method">
|
401
395
|
<div class="title">
|
402
|
-
<a name="
|
403
|
-
</div>
|
404
|
-
<div class="description">
|
405
|
-
<p>
|
406
|
-
Set or read <a href="Module.html#M000347">annotations</a>.
|
407
|
-
</p>
|
408
|
-
</div>
|
409
|
-
<div class="sourcecode">
|
410
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000349_source')" id="l_M000349_source">+</a> ]</p>
|
411
|
-
<div id="M000349_source" class="dyn-source">
|
412
|
-
<pre>
|
413
|
-
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 123</span>
|
414
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ann</span>( <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">keys_or_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">keys</span>=<span class="ruby-keyword kw">nil</span> )
|
415
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">heritage</span>(<span class="ruby-identifier">ref</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">keys_or_class</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">keys</span>
|
416
|
-
|
417
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Class</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">keys_or_class</span>
|
418
|
-
<span class="ruby-identifier">keys</span> <span class="ruby-operator">||=</span> {}
|
419
|
-
<span class="ruby-identifier">keys</span>[<span class="ruby-identifier">:class</span>] = <span class="ruby-identifier">keys_or_class</span>
|
420
|
-
<span class="ruby-keyword kw">else</span>
|
421
|
-
<span class="ruby-identifier">keys</span> = <span class="ruby-identifier">keys_or_class</span>
|
422
|
-
<span class="ruby-keyword kw">end</span>
|
423
|
-
|
424
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Hash</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">keys</span>
|
425
|
-
<span class="ruby-identifier">ref</span> = <span class="ruby-identifier">ref</span>.<span class="ruby-identifier">to_sym</span>
|
426
|
-
<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>] <span class="ruby-operator">||=</span> {}
|
427
|
-
<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>].<span class="ruby-identifier">update</span>(<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">rekey</span>)
|
428
|
-
<span class="ruby-keyword kw">else</span>
|
429
|
-
<span class="ruby-identifier">key</span> = <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">to_sym</span>
|
430
|
-
<span class="ruby-identifier">heritage</span>(<span class="ruby-identifier">ref</span>)[<span class="ruby-identifier">key</span>]
|
431
|
-
<span class="ruby-keyword kw">end</span>
|
432
|
-
<span class="ruby-keyword kw">end</span>
|
433
|
-
</pre>
|
434
|
-
</div>
|
435
|
-
</div>
|
436
|
-
</div>
|
437
|
-
<div class="method">
|
438
|
-
<div class="title">
|
439
|
-
<a name="M000350"></a><b>ann!</b>( ref, keys_or_class=nil, keys=nil )
|
440
|
-
</div>
|
441
|
-
<div class="description">
|
442
|
-
<p>
|
443
|
-
To change an annotation‘s value in place for a given class or module
|
444
|
-
it first must be duplicated, otherwise the change may effect <a
|
445
|
-
href="Module.html#M000347">annotations</a> in the class or module‘s
|
446
|
-
ancestors.
|
447
|
-
</p>
|
448
|
-
</div>
|
449
|
-
<div class="sourcecode">
|
450
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000350_source')" id="l_M000350_source">+</a> ]</p>
|
451
|
-
<div id="M000350_source" class="dyn-source">
|
452
|
-
<pre>
|
453
|
-
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 147</span>
|
454
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ann!</span>( <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">keys_or_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">keys</span>=<span class="ruby-keyword kw">nil</span> )
|
455
|
-
<span class="ruby-comment cmt">#return heritage(ref) unless keys_or_class or keys</span>
|
456
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">keys_or_class</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">keys</span>
|
457
|
-
|
458
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Class</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">keys_or_class</span>
|
459
|
-
<span class="ruby-identifier">keys</span> <span class="ruby-operator">||=</span> {}
|
460
|
-
<span class="ruby-identifier">keys</span>[<span class="ruby-identifier">:class</span>] = <span class="ruby-identifier">keys_or_class</span>
|
461
|
-
<span class="ruby-keyword kw">else</span>
|
462
|
-
<span class="ruby-identifier">keys</span> = <span class="ruby-identifier">keys_or_class</span>
|
463
|
-
<span class="ruby-keyword kw">end</span>
|
464
|
-
|
465
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Hash</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">keys</span>
|
466
|
-
<span class="ruby-identifier">ref</span> = <span class="ruby-identifier">ref</span>.<span class="ruby-identifier">to_sym</span>
|
467
|
-
<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>] <span class="ruby-operator">||=</span> {}
|
468
|
-
<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>].<span class="ruby-identifier">update</span>(<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">rekey</span>)
|
469
|
-
<span class="ruby-keyword kw">else</span>
|
470
|
-
<span class="ruby-identifier">key</span> = <span class="ruby-identifier">keys</span>.<span class="ruby-identifier">to_sym</span>
|
471
|
-
<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>][<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">heritage</span>(<span class="ruby-identifier">ref</span>)[<span class="ruby-identifier">key</span>].<span class="ruby-identifier">dup</span>
|
472
|
-
<span class="ruby-keyword kw">end</span>
|
473
|
-
<span class="ruby-keyword kw">end</span>
|
474
|
-
</pre>
|
475
|
-
</div>
|
476
|
-
</div>
|
477
|
-
</div>
|
478
|
-
<div class="method">
|
479
|
-
<div class="title">
|
480
|
-
<a name="M000347"></a><b>annotations</b>()
|
481
|
-
</div>
|
482
|
-
<div class="sourcecode">
|
483
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000347_source')" id="l_M000347_source">+</a> ]</p>
|
484
|
-
<div id="M000347_source" class="dyn-source">
|
485
|
-
<pre>
|
486
|
-
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 108</span>
|
487
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">annotations</span>
|
488
|
-
<span class="ruby-comment cmt">#$annotations[self]</span>
|
489
|
-
<span class="ruby-ivar">@annotations</span> <span class="ruby-operator">||=</span> {}
|
490
|
-
<span class="ruby-keyword kw">end</span>
|
491
|
-
</pre>
|
492
|
-
</div>
|
493
|
-
</div>
|
494
|
-
</div>
|
495
|
-
<div class="method">
|
496
|
-
<div class="title">
|
497
|
-
<a name="M000389"></a><b>append_features</b>(mod)
|
498
|
-
</div>
|
499
|
-
<div class="sourcecode">
|
500
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000389_source')" id="l_M000389_source">+</a> ]</p>
|
501
|
-
<div id="M000389_source" class="dyn-source">
|
502
|
-
<pre>
|
503
|
-
<span class="ruby-comment cmt"># File lib/more/facets/class_extension.rb, line 95</span>
|
504
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
505
|
-
<span class="ruby-identifier">append_features_without_class_extension</span>(<span class="ruby-identifier">mod</span>)
|
506
|
-
<span class="ruby-identifier">mod</span>.<span class="ruby-identifier">extend</span>(<span class="ruby-identifier">class_extension</span>)
|
507
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Module</span>
|
508
|
-
<span class="ruby-identifier">mod</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:class_extension</span>).<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-identifier">class_extension</span>)
|
509
|
-
<span class="ruby-keyword kw">end</span>
|
510
|
-
<span class="ruby-keyword kw">end</span>
|
511
|
-
</pre>
|
512
|
-
</div>
|
513
|
-
</div>
|
514
|
-
</div>
|
515
|
-
<div class="method">
|
516
|
-
<div class="title">
|
517
|
-
<a name="M000353"></a><b>append_features</b>( base )
|
396
|
+
<a name="M000280"></a><b>append_features</b>( base )
|
518
397
|
</div>
|
519
398
|
<div class="aka">
|
520
399
|
This method is also aliased as
|
521
|
-
<a href="Module.html#
|
400
|
+
<a href="Module.html#M000314">append_features_without_class_extension</a>
|
522
401
|
</div>
|
523
402
|
<div class="sourcecode">
|
524
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
525
|
-
<div id="
|
403
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000280_source')" id="l_M000280_source">+</a> ]</p>
|
404
|
+
<div id="M000280_source" class="dyn-source">
|
526
405
|
<pre>
|
527
406
|
<span class="ruby-comment cmt"># File lib/more/facets/classmethods.rb, line 163</span>
|
528
407
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">append_features</span>( <span class="ruby-identifier">base</span> )
|
@@ -547,34 +426,18 @@ ancestors.
|
|
547
426
|
</div>
|
548
427
|
<div class="method">
|
549
428
|
<div class="title">
|
550
|
-
<a name="
|
551
|
-
</div>
|
552
|
-
<div class="description">
|
553
|
-
<p>
|
554
|
-
Alias for <a href="Module.html#M000353">append_features</a>
|
555
|
-
</p>
|
556
|
-
</div>
|
557
|
-
</div>
|
558
|
-
<div class="method">
|
559
|
-
<div class="title">
|
560
|
-
<a name="M000351"></a><b>attr</b>( *args )
|
429
|
+
<a name="M000316"></a><b>append_features</b>(mod)
|
561
430
|
</div>
|
562
431
|
<div class="sourcecode">
|
563
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
564
|
-
<div id="
|
432
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">+</a> ]</p>
|
433
|
+
<div id="M000316_source" class="dyn-source">
|
565
434
|
<pre>
|
566
|
-
<span class="ruby-comment cmt"># File lib/more/facets/
|
567
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
568
|
-
<span class="ruby-identifier">
|
569
|
-
<span class="ruby-
|
570
|
-
<span class="ruby-keyword kw">
|
571
|
-
<span class="ruby-identifier">
|
572
|
-
<span class="ruby-identifier">attr_accessor</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
573
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">FalseClass</span>
|
574
|
-
<span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span>
|
575
|
-
<span class="ruby-identifier">attr_reader</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
576
|
-
<span class="ruby-keyword kw">else</span>
|
577
|
-
<span class="ruby-identifier">attr_reader</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
435
|
+
<span class="ruby-comment cmt"># File lib/more/facets/class_extension.rb, line 95</span>
|
436
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
437
|
+
<span class="ruby-identifier">append_features_without_class_extension</span>(<span class="ruby-identifier">mod</span>)
|
438
|
+
<span class="ruby-identifier">mod</span>.<span class="ruby-identifier">extend</span>(<span class="ruby-identifier">class_extension</span>)
|
439
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Module</span>
|
440
|
+
<span class="ruby-identifier">mod</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:class_extension</span>).<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-identifier">class_extension</span>)
|
578
441
|
<span class="ruby-keyword kw">end</span>
|
579
442
|
<span class="ruby-keyword kw">end</span>
|
580
443
|
</pre>
|
@@ -583,7 +446,17 @@ Alias for <a href="Module.html#M000353">append_features</a>
|
|
583
446
|
</div>
|
584
447
|
<div class="method">
|
585
448
|
<div class="title">
|
586
|
-
<a name="
|
449
|
+
<a name="M000314"></a><b>append_features_without_class_extension</b>( base )
|
450
|
+
</div>
|
451
|
+
<div class="description">
|
452
|
+
<p>
|
453
|
+
Alias for <a href="Module.html#M000280">append_features</a>
|
454
|
+
</p>
|
455
|
+
</div>
|
456
|
+
</div>
|
457
|
+
<div class="method">
|
458
|
+
<div class="title">
|
459
|
+
<a name="M000291"></a><b>attr_accessor!</b>(*args)
|
587
460
|
</div>
|
588
461
|
<div class="description">
|
589
462
|
<p>
|
@@ -605,18 +478,19 @@ is equivalent to
|
|
605
478
|
@a = value
|
606
479
|
self
|
607
480
|
end
|
608
|
-
|
609
|
-
CREDIT: Trans
|
610
481
|
</pre>
|
482
|
+
<p>
|
483
|
+
CREDIT: Trans
|
484
|
+
</p>
|
611
485
|
</div>
|
612
486
|
<div class="aka">
|
613
487
|
This method is also aliased as
|
614
|
-
<a href="Module.html#
|
615
|
-
<a href="Module.html#
|
488
|
+
<a href="Module.html#M000292">attr_switcher</a>
|
489
|
+
<a href="Module.html#M000293">attr_toggler</a>
|
616
490
|
</div>
|
617
491
|
<div class="sourcecode">
|
618
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
619
|
-
<div id="
|
492
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000291_source')" id="l_M000291_source">+</a> ]</p>
|
493
|
+
<div id="M000291_source" class="dyn-source">
|
620
494
|
<pre>
|
621
495
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 107</span>
|
622
496
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_accessor!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -628,7 +502,7 @@ is equivalent to
|
|
628
502
|
</div>
|
629
503
|
<div class="method">
|
630
504
|
<div class="title">
|
631
|
-
<a name="
|
505
|
+
<a name="M000297"></a><b>attr_reader!</b>(*args)
|
632
506
|
</div>
|
633
507
|
<div class="description">
|
634
508
|
<p>
|
@@ -649,12 +523,12 @@ is equivalent to
|
|
649
523
|
</div>
|
650
524
|
<div class="aka">
|
651
525
|
This method is also aliased as
|
652
|
-
<a href="Module.html#
|
653
|
-
<a href="Module.html#
|
526
|
+
<a href="Module.html#M000298">attr_reader?</a>
|
527
|
+
<a href="Module.html#M000299">attr_tester</a>
|
654
528
|
</div>
|
655
529
|
<div class="sourcecode">
|
656
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
657
|
-
<div id="
|
530
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000297_source')" id="l_M000297_source">+</a> ]</p>
|
531
|
+
<div id="M000297_source" class="dyn-source">
|
658
532
|
<pre>
|
659
533
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 139</span>
|
660
534
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_reader!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -676,7 +550,7 @@ is equivalent to
|
|
676
550
|
</div>
|
677
551
|
<div class="method">
|
678
552
|
<div class="title">
|
679
|
-
<a name="
|
553
|
+
<a name="M000298"></a><b>attr_reader?</b>(*args)
|
680
554
|
</div>
|
681
555
|
<div class="description">
|
682
556
|
<p>
|
@@ -686,12 +560,12 @@ Alias for attr_reader!
|
|
686
560
|
</div>
|
687
561
|
<div class="method">
|
688
562
|
<div class="title">
|
689
|
-
<a name="
|
563
|
+
<a name="M000289"></a><b>attr_setter</b>(*args)
|
690
564
|
</div>
|
691
565
|
<div class="description">
|
692
566
|
<p>
|
693
567
|
Create an attribute method for both getting and <a
|
694
|
-
href="Module.html#
|
568
|
+
href="Module.html#M000305">setting</a> an instance variable.
|
695
569
|
</p>
|
696
570
|
<pre>
|
697
571
|
attr_setter :a
|
@@ -708,13 +582,14 @@ _is equivalent to_
|
|
708
582
|
@a
|
709
583
|
end
|
710
584
|
end
|
711
|
-
|
712
|
-
CREDIT: Trans
|
713
585
|
</pre>
|
586
|
+
<p>
|
587
|
+
CREDIT: Trans
|
588
|
+
</p>
|
714
589
|
</div>
|
715
590
|
<div class="sourcecode">
|
716
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
717
|
-
<div id="
|
591
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000289_source')" id="l_M000289_source">+</a> ]</p>
|
592
|
+
<div id="M000289_source" class="dyn-source">
|
718
593
|
<pre>
|
719
594
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 53</span>
|
720
595
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_setter</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -736,7 +611,7 @@ _is equivalent to_
|
|
736
611
|
</div>
|
737
612
|
<div class="method">
|
738
613
|
<div class="title">
|
739
|
-
<a name="
|
614
|
+
<a name="M000292"></a><b>attr_switcher</b>(*args)
|
740
615
|
</div>
|
741
616
|
<div class="description">
|
742
617
|
<p>
|
@@ -746,7 +621,7 @@ Alias for attr_accessor!
|
|
746
621
|
</div>
|
747
622
|
<div class="method">
|
748
623
|
<div class="title">
|
749
|
-
<a name="
|
624
|
+
<a name="M000299"></a><b>attr_tester</b>(*args)
|
750
625
|
</div>
|
751
626
|
<div class="description">
|
752
627
|
<p>
|
@@ -756,7 +631,7 @@ Alias for attr_reader!
|
|
756
631
|
</div>
|
757
632
|
<div class="method">
|
758
633
|
<div class="title">
|
759
|
-
<a name="
|
634
|
+
<a name="M000293"></a><b>attr_toggler</b>(*args)
|
760
635
|
</div>
|
761
636
|
<div class="description">
|
762
637
|
<p>
|
@@ -766,20 +641,20 @@ Alias for attr_accessor!
|
|
766
641
|
</div>
|
767
642
|
<div class="method">
|
768
643
|
<div class="title">
|
769
|
-
<a name="
|
644
|
+
<a name="M000287"></a><b>attr_validator</b>(*symbols, &validator)
|
770
645
|
</div>
|
771
646
|
<div class="description">
|
772
647
|
<p>
|
773
648
|
Like attr_writer, but the writer method validates the <a
|
774
|
-
href="Module.html#
|
649
|
+
href="Module.html#M000305">setting</a> against the given block.
|
650
|
+
</p>
|
651
|
+
<p>
|
652
|
+
CREDIT: ?
|
775
653
|
</p>
|
776
|
-
<pre>
|
777
|
-
CREDIT: ?
|
778
|
-
</pre>
|
779
654
|
</div>
|
780
655
|
<div class="sourcecode">
|
781
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
782
|
-
<div id="
|
656
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000287_source')" id="l_M000287_source">+</a> ]</p>
|
657
|
+
<div id="M000287_source" class="dyn-source">
|
783
658
|
<pre>
|
784
659
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 8</span>
|
785
660
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_validator</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">symbols</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">validator</span>)
|
@@ -801,7 +676,7 @@ href="Module.html#M000378">setting</a> against the given block.
|
|
801
676
|
</div>
|
802
677
|
<div class="method">
|
803
678
|
<div class="title">
|
804
|
-
<a name="
|
679
|
+
<a name="M000303"></a><b>attr_writer!</b>(*args)
|
805
680
|
</div>
|
806
681
|
<div class="description">
|
807
682
|
<p>
|
@@ -822,8 +697,8 @@ is equivalent to
|
|
822
697
|
</pre>
|
823
698
|
</div>
|
824
699
|
<div class="sourcecode">
|
825
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
826
|
-
<div id="
|
700
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000303_source')" id="l_M000303_source">+</a> ]</p>
|
701
|
+
<div id="M000303_source" class="dyn-source">
|
827
702
|
<pre>
|
828
703
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 181</span>
|
829
704
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_writer!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -846,25 +721,25 @@ is equivalent to
|
|
846
721
|
</div>
|
847
722
|
<div class="method">
|
848
723
|
<div class="title">
|
849
|
-
<a name="
|
724
|
+
<a name="M000282"></a><b>class_inherit</b>( &yld )
|
850
725
|
</div>
|
851
726
|
<div class="description">
|
852
727
|
<p>
|
853
|
-
Alias for <a href="Module.html#
|
728
|
+
Alias for <a href="Module.html#M000281">class_methods</a>
|
854
729
|
</p>
|
855
730
|
</div>
|
856
731
|
</div>
|
857
732
|
<div class="method">
|
858
733
|
<div class="title">
|
859
|
-
<a name="
|
734
|
+
<a name="M000281"></a><b>class_methods</b>( &yld )
|
860
735
|
</div>
|
861
736
|
<div class="aka">
|
862
737
|
This method is also aliased as
|
863
|
-
<a href="Module.html#
|
738
|
+
<a href="Module.html#M000282">class_inherit</a>
|
864
739
|
</div>
|
865
740
|
<div class="sourcecode">
|
866
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
867
|
-
<div id="
|
741
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000281_source')" id="l_M000281_source">+</a> ]</p>
|
742
|
+
<div id="M000281_source" class="dyn-source">
|
868
743
|
<pre>
|
869
744
|
<span class="ruby-comment cmt"># File lib/more/facets/classmethods.rb, line 180</span>
|
870
745
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_methods</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -882,44 +757,11 @@ Alias for <a href="Module.html#M000354">class_methods</a>
|
|
882
757
|
</div>
|
883
758
|
<div class="method">
|
884
759
|
<div class="title">
|
885
|
-
<a name="
|
886
|
-
</div>
|
887
|
-
<div class="description">
|
888
|
-
<p>
|
889
|
-
Return list of attributes that have a :class annotation.
|
890
|
-
</p>
|
891
|
-
<pre>
|
892
|
-
class MyClass
|
893
|
-
attr_accessor :test
|
894
|
-
attr_accessor :name, String, :doc => 'Hello'
|
895
|
-
attr_accessor :age, Fixnum
|
896
|
-
end
|
897
|
-
|
898
|
-
MyClass.instance_attributes # => [:test, :name, :age, :body]
|
899
|
-
MyClass.classified_attributes # => [:name, :age]
|
900
|
-
</pre>
|
901
|
-
</div>
|
902
|
-
<div class="sourcecode">
|
903
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000352_source')" id="l_M000352_source">+</a> ]</p>
|
904
|
-
<div id="M000352_source" class="dyn-source">
|
905
|
-
<pre>
|
906
|
-
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 295</span>
|
907
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">classified_attributes</span>
|
908
|
-
<span class="ruby-identifier">instance_attributes</span>.<span class="ruby-identifier">find_all</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
|
909
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">ann</span>(<span class="ruby-identifier">a</span>, <span class="ruby-identifier">:class</span>)
|
910
|
-
<span class="ruby-keyword kw">end</span>
|
911
|
-
<span class="ruby-keyword kw">end</span>
|
912
|
-
</pre>
|
913
|
-
</div>
|
914
|
-
</div>
|
915
|
-
</div>
|
916
|
-
<div class="method">
|
917
|
-
<div class="title">
|
918
|
-
<a name="M000358"></a><b>define_dependency</b>( name, *deps )
|
760
|
+
<a name="M000285"></a><b>define_dependency</b>( name, *deps )
|
919
761
|
</div>
|
920
762
|
<div class="sourcecode">
|
921
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
922
|
-
<div id="
|
763
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000285_source')" id="l_M000285_source">+</a> ]</p>
|
764
|
+
<div id="M000285_source" class="dyn-source">
|
923
765
|
<pre>
|
924
766
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 120</span>
|
925
767
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_dependency</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">deps</span> )
|
@@ -950,11 +792,11 @@ Return list of attributes that have a :class annotation.
|
|
950
792
|
</div>
|
951
793
|
<div class="method">
|
952
794
|
<div class="title">
|
953
|
-
<a name="
|
795
|
+
<a name="M000283"></a><b>depend</b>( name_and_deps=nil )
|
954
796
|
</div>
|
955
797
|
<div class="sourcecode">
|
956
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
957
|
-
<div id="
|
798
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000283_source')" id="l_M000283_source">+</a> ]</p>
|
799
|
+
<div id="M000283_source" class="dyn-source">
|
958
800
|
<pre>
|
959
801
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 90</span>
|
960
802
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">depend</span>( <span class="ruby-identifier">name_and_deps</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -976,7 +818,7 @@ Return list of attributes that have a :class annotation.
|
|
976
818
|
</div>
|
977
819
|
<div class="method">
|
978
820
|
<div class="title">
|
979
|
-
<a name="
|
821
|
+
<a name="M000284"></a><b>dependencies</b>(name, build=[])
|
980
822
|
</div>
|
981
823
|
<div class="description">
|
982
824
|
<p>
|
@@ -984,8 +826,8 @@ Compile list of all unique prerequisite calls.
|
|
984
826
|
</p>
|
985
827
|
</div>
|
986
828
|
<div class="sourcecode">
|
987
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
988
|
-
<div id="
|
829
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000284_source')" id="l_M000284_source">+</a> ]</p>
|
830
|
+
<div id="M000284_source" class="dyn-source">
|
989
831
|
<pre>
|
990
832
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 106</span>
|
991
833
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dependencies</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">build</span>=[])
|
@@ -1005,27 +847,7 @@ Compile list of all unique prerequisite calls.
|
|
1005
847
|
</div>
|
1006
848
|
<div class="method">
|
1007
849
|
<div class="title">
|
1008
|
-
<a name="
|
1009
|
-
</div>
|
1010
|
-
<div class="sourcecode">
|
1011
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">+</a> ]</p>
|
1012
|
-
<div id="M000348_source" class="dyn-source">
|
1013
|
-
<pre>
|
1014
|
-
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 113</span>
|
1015
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">heritage</span>(<span class="ruby-identifier">ref</span>)
|
1016
|
-
<span class="ruby-identifier">ref</span> = <span class="ruby-identifier">ref</span>.<span class="ruby-identifier">to_sym</span>
|
1017
|
-
<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">inject</span>({}) { <span class="ruby-operator">|</span><span class="ruby-identifier">memo</span>, <span class="ruby-identifier">ancestor</span><span class="ruby-operator">|</span>
|
1018
|
-
<span class="ruby-identifier">ancestor</span>.<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>] <span class="ruby-operator">||=</span> {}
|
1019
|
-
<span class="ruby-identifier">ancestor</span>.<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">ref</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">memo</span>
|
1020
|
-
}
|
1021
|
-
<span class="ruby-keyword kw">end</span>
|
1022
|
-
</pre>
|
1023
|
-
</div>
|
1024
|
-
</div>
|
1025
|
-
</div>
|
1026
|
-
<div class="method">
|
1027
|
-
<div class="title">
|
1028
|
-
<a name="M000383"></a><b>include_as</b>(h)
|
850
|
+
<a name="M000310"></a><b>include_as</b>(h)
|
1029
851
|
</div>
|
1030
852
|
<div class="description">
|
1031
853
|
<p>
|
@@ -1045,8 +867,8 @@ Include a module via a specified space.
|
|
1045
867
|
</pre>
|
1046
868
|
</div>
|
1047
869
|
<div class="sourcecode">
|
1048
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1049
|
-
<div id="
|
870
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000310_source')" id="l_M000310_source">+</a> ]</p>
|
871
|
+
<div id="M000310_source" class="dyn-source">
|
1050
872
|
<pre>
|
1051
873
|
<span class="ruby-comment cmt"># File lib/more/facets/methodspace.rb, line 103</span>
|
1052
874
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include_as</span>(<span class="ruby-identifier">h</span>)
|
@@ -1058,7 +880,7 @@ Include a module via a specified space.
|
|
1058
880
|
</div>
|
1059
881
|
<div class="method">
|
1060
882
|
<div class="title">
|
1061
|
-
<a name="
|
883
|
+
<a name="M000306"></a><b>instance_method!</b>(s)
|
1062
884
|
</div>
|
1063
885
|
<div class="description">
|
1064
886
|
<p>
|
@@ -1077,8 +899,8 @@ NOTE: This is limited to the scope of the current module/class.
|
|
1077
899
|
</p>
|
1078
900
|
</div>
|
1079
901
|
<div class="sourcecode">
|
1080
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1081
|
-
<div id="
|
902
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000306_source')" id="l_M000306_source">+</a> ]</p>
|
903
|
+
<div id="M000306_source" class="dyn-source">
|
1082
904
|
<pre>
|
1083
905
|
<span class="ruby-comment cmt"># File lib/more/facets/1stclassmethod.rb, line 134</span>
|
1084
906
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method!</span>(<span class="ruby-identifier">s</span>)
|
@@ -1091,12 +913,12 @@ NOTE: This is limited to the scope of the current module/class.
|
|
1091
913
|
</div>
|
1092
914
|
<div class="method">
|
1093
915
|
<div class="title">
|
1094
|
-
<a name="
|
916
|
+
<a name="M000286"></a><b>memoize</b>(*meths)
|
1095
917
|
</div>
|
1096
918
|
<div class="description">
|
1097
919
|
<p>
|
1098
920
|
Directive for making your functions faster by trading space for time. When
|
1099
|
-
you "<a href="Module.html#
|
921
|
+
you "<a href="Module.html#M000286">memoize</a>" a method/function
|
1100
922
|
its results are cached so that later calls with the same arguments returns
|
1101
923
|
results in the cache instead of recalculating them.
|
1102
924
|
</p>
|
@@ -1116,16 +938,15 @@ results in the cache instead of recalculating them.
|
|
1116
938
|
</pre>
|
1117
939
|
</div>
|
1118
940
|
<div class="sourcecode">
|
1119
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1120
|
-
<div id="
|
941
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000286_source')" id="l_M000286_source">+</a> ]</p>
|
942
|
+
<div id="M000286_source" class="dyn-source">
|
1121
943
|
<pre>
|
1122
|
-
<span class="ruby-comment cmt"># File lib/more/facets/memoize.rb, line
|
944
|
+
<span class="ruby-comment cmt"># File lib/more/facets/memoize.rb, line 64</span>
|
1123
945
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">memoize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">meths</span>)
|
1124
|
-
<span class="ruby-ivar">@_MEMOIZE_CACHE</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
|
1125
946
|
<span class="ruby-identifier">meths</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">meth</span><span class="ruby-operator">|</span>
|
1126
|
-
<span class="ruby-identifier">mc</span> = <span class="ruby-ivar">@_MEMOIZE_CACHE</span>[<span class="ruby-identifier">meth</span>] = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
|
1127
947
|
<span class="ruby-identifier">old</span> = <span class="ruby-identifier">instance_method</span>(<span class="ruby-identifier">meth</span>)
|
1128
948
|
<span class="ruby-identifier">new</span> = <span class="ruby-identifier">proc</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">args</span><span class="ruby-operator">|</span>
|
949
|
+
<span class="ruby-identifier">mc</span> = ((<span class="ruby-ivar">@_MEMOIZE_CACHE</span> <span class="ruby-operator">||=</span> {})[<span class="ruby-identifier">meth</span>] <span class="ruby-operator">||=</span> {})
|
1129
950
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mc</span>.<span class="ruby-identifier">has_key?</span> <span class="ruby-identifier">args</span>
|
1130
951
|
<span class="ruby-identifier">mc</span>[<span class="ruby-identifier">args</span>]
|
1131
952
|
<span class="ruby-keyword kw">else</span>
|
@@ -1141,11 +962,11 @@ results in the cache instead of recalculating them.
|
|
1141
962
|
</div>
|
1142
963
|
<div class="method">
|
1143
964
|
<div class="title">
|
1144
|
-
<a name="
|
965
|
+
<a name="M000307"></a><b>method_overloads</b>()
|
1145
966
|
</div>
|
1146
967
|
<div class="sourcecode">
|
1147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1148
|
-
<div id="
|
968
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000307_source')" id="l_M000307_source">+</a> ]</p>
|
969
|
+
<div id="M000307_source" class="dyn-source">
|
1149
970
|
<pre>
|
1150
971
|
<span class="ruby-comment cmt"># File lib/more/facets/overload.rb, line 25</span>
|
1151
972
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_overloads</span>
|
@@ -1157,7 +978,7 @@ results in the cache instead of recalculating them.
|
|
1157
978
|
</div>
|
1158
979
|
<div class="method">
|
1159
980
|
<div class="title">
|
1160
|
-
<a name="
|
981
|
+
<a name="M000309"></a><b>method_space</b>(name, mod=nil, &blk)
|
1161
982
|
</div>
|
1162
983
|
<div class="description">
|
1163
984
|
<p>
|
@@ -1178,8 +999,8 @@ Define a simple method namespace.
|
|
1178
999
|
</pre>
|
1179
1000
|
</div>
|
1180
1001
|
<div class="sourcecode">
|
1181
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1182
|
-
<div id="
|
1002
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000309_source')" id="l_M000309_source">+</a> ]</p>
|
1003
|
+
<div id="M000309_source" class="dyn-source">
|
1183
1004
|
<pre>
|
1184
1005
|
<span class="ruby-comment cmt"># File lib/more/facets/methodspace.rb, line 48</span>
|
1185
1006
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_space</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mod</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1229,7 +1050,7 @@ Define a simple method namespace.
|
|
1229
1050
|
</div>
|
1230
1051
|
<div class="method">
|
1231
1052
|
<div class="title">
|
1232
|
-
<a name="
|
1053
|
+
<a name="M000312"></a><b>mixin_parameters</b>()
|
1233
1054
|
</div>
|
1234
1055
|
<div class="description">
|
1235
1056
|
<p>
|
@@ -1249,11 +1070,11 @@ values are the parameters associacted with this module/class.
|
|
1249
1070
|
</div>
|
1250
1071
|
<div class="aka">
|
1251
1072
|
This method is also aliased as
|
1252
|
-
<a href="Module.html#
|
1073
|
+
<a href="Module.html#M000313">mixin_params</a>
|
1253
1074
|
</div>
|
1254
1075
|
<div class="sourcecode">
|
1255
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1256
|
-
<div id="
|
1076
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000312_source')" id="l_M000312_source">+</a> ]</p>
|
1077
|
+
<div id="M000312_source" class="dyn-source">
|
1257
1078
|
<pre>
|
1258
1079
|
<span class="ruby-comment cmt"># File lib/more/facets/paramix.rb, line 196</span>
|
1259
1080
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mixin_parameters</span>
|
@@ -1265,17 +1086,17 @@ values are the parameters associacted with this module/class.
|
|
1265
1086
|
</div>
|
1266
1087
|
<div class="method">
|
1267
1088
|
<div class="title">
|
1268
|
-
<a name="
|
1089
|
+
<a name="M000313"></a><b>mixin_params</b>()
|
1269
1090
|
</div>
|
1270
1091
|
<div class="description">
|
1271
1092
|
<p>
|
1272
|
-
Alias for <a href="Module.html#
|
1093
|
+
Alias for <a href="Module.html#M000312">mixin_parameters</a>
|
1273
1094
|
</p>
|
1274
1095
|
</div>
|
1275
1096
|
</div>
|
1276
1097
|
<div class="method">
|
1277
1098
|
<div class="title">
|
1278
|
-
<a name="
|
1099
|
+
<a name="M000308"></a><b>overload</b>( name, *signiture, &block )
|
1279
1100
|
</div>
|
1280
1101
|
<div class="description">
|
1281
1102
|
<p>
|
@@ -1298,8 +1119,8 @@ Overload methods.
|
|
1298
1119
|
</pre>
|
1299
1120
|
</div>
|
1300
1121
|
<div class="sourcecode">
|
1301
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1302
|
-
<div id="
|
1122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000308_source')" id="l_M000308_source">+</a> ]</p>
|
1123
|
+
<div id="M000308_source" class="dyn-source">
|
1303
1124
|
<pre>
|
1304
1125
|
<span class="ruby-comment cmt"># File lib/more/facets/overload.rb, line 45</span>
|
1305
1126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">overload</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">signiture</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -1355,11 +1176,11 @@ Overload methods.
|
|
1355
1176
|
</div>
|
1356
1177
|
<div class="method">
|
1357
1178
|
<div class="title">
|
1358
|
-
<a name="
|
1179
|
+
<a name="M000305"></a><b>setting</b>(sym, options = {})
|
1359
1180
|
</div>
|
1360
1181
|
<div class="description">
|
1361
1182
|
<p>
|
1362
|
-
Defines a configuration <a href="Module.html#
|
1183
|
+
Defines a configuration <a href="Module.html#M000305">setting</a> for the
|
1363
1184
|
enclosing class.
|
1364
1185
|
</p>
|
1365
1186
|
<h3>Example</h3>
|
@@ -1374,8 +1195,8 @@ end
|
|
1374
1195
|
</p>
|
1375
1196
|
</div>
|
1376
1197
|
<div class="sourcecode">
|
1377
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1378
|
-
<div id="
|
1198
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000305_source')" id="l_M000305_source">+</a> ]</p>
|
1199
|
+
<div id="M000305_source" class="dyn-source">
|
1379
1200
|
<pre>
|
1380
1201
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 233</span>
|
1381
1202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setting</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-identifier">options</span> = {})
|