facets 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +16 -5
- data/CHANGES +9 -1
- data/MANIFEST +3093 -1289
- data/METADATA +28 -0
- data/NEWS +52 -0
- data/README +7 -65
- data/README.core +102 -0
- data/README.lore +51 -0
- data/README.more +43 -0
- data/doc/{history.rdoc → notes/history.rdoc} +0 -0
- data/doc/{notes.rdoc → notes/notes.rdoc} +0 -0
- data/doc/rdoc/core/classes/Array.html +1704 -0
- data/doc/rdoc/core/classes/Binding.html +718 -0
- data/doc/rdoc/core/classes/Class.html +518 -0
- data/doc/rdoc/core/classes/Comparable.html +430 -0
- data/doc/rdoc/core/classes/Dir.html +697 -0
- data/doc/rdoc/core/classes/Enumerable.html +2126 -0
- data/doc/rdoc/core/classes/Exception.html +234 -0
- data/doc/rdoc/core/classes/FalseClass.html +133 -0
- data/doc/rdoc/core/classes/File.html +929 -0
- data/doc/rdoc/core/classes/FileTest.html +147 -0
- data/doc/rdoc/core/classes/Float.html +297 -0
- data/doc/rdoc/core/classes/Friend.html +178 -0
- data/doc/rdoc/core/classes/Functor.html +173 -0
- data/doc/rdoc/core/classes/Hash.html +3864 -0
- data/doc/rdoc/core/classes/InstanceVariables.html +515 -0
- data/doc/rdoc/core/classes/Integer.html +852 -0
- data/doc/rdoc/core/classes/Kernel.html +3952 -0
- data/doc/rdoc/core/classes/Lazy.html +96 -0
- data/doc/rdoc/core/classes/Lazy/Future.html +100 -0
- data/doc/rdoc/core/classes/Lazy/Promise.html +114 -0
- data/doc/rdoc/core/classes/Lazy/PromiseSafe.html +99 -0
- data/doc/rdoc/core/classes/MatchData.html +309 -0
- data/doc/rdoc/core/classes/MissingArgument.html +98 -0
- data/doc/rdoc/core/classes/Module.html +2219 -0
- data/doc/rdoc/core/classes/Module/CloneExtensions.html +287 -0
- data/doc/rdoc/core/classes/NilClass.html +274 -0
- data/doc/rdoc/core/classes/Numeric.html +362 -0
- data/doc/rdoc/core/classes/Object.html +115 -0
- data/doc/rdoc/core/classes/Proc.html +595 -0
- data/doc/rdoc/core/classes/Range.html +622 -0
- data/doc/rdoc/core/classes/Regexp.html +289 -0
- data/doc/rdoc/core/classes/String.html +3913 -0
- data/doc/rdoc/core/classes/String/Words.html +571 -0
- data/doc/rdoc/core/classes/Symbol.html +584 -0
- data/doc/rdoc/core/classes/Time.html +824 -0
- data/doc/rdoc/core/classes/TrueClass.html +133 -0
- data/doc/rdoc/core/classes/UnboundMethod.html +295 -0
- data/doc/rdoc/core/created.rid +1 -0
- data/doc/rdoc/core/files/README.html +300 -0
- data/doc/rdoc/core/files/README_core.html +229 -0
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/not_empty_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/recursively_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/array/traverse_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +125 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/opvars_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding/self_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +100 -0
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/blank_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +126 -0
- data/doc/rdoc/core/files/lib/core/facets/callstack_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/to_methodname_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/to_pathname_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +109 -0
- data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +98 -0
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/dir/descend_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/dir/parent_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +102 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +114 -0
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +99 -0
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/float_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/functor_rb.html +151 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/argumentize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/at_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/mash_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/merge_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/recursively_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/stringify_keys_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/symbolize_keys_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/to_proc_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +117 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/even_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/of_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/integer/ordinal_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +101 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__class___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__dir___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__get___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__method___rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/deep_copy_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/here_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/in_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_send_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/load_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/maybe_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_hexid_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/suppress_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/val_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +124 -0
- data/doc/rdoc/core/files/lib/core/facets/lazy_rb.html +120 -0
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/alias_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/can_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/class_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/clone_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +115 -0
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/partial_rb.html +125 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +102 -0
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/range/to_r_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/range/umbrella_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/range_rb.html +100 -0
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/regexp/to_re_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +97 -0
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/to_time_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +124 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +99 -0
- data/doc/rdoc/core/files/lib/core/facets/time/ago_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/time/round_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/to_date_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time_rb.html +106 -0
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +97 -0
- data/doc/rdoc/core/fr_class_index.html +83 -0
- data/doc/rdoc/core/fr_file_index.html +536 -0
- data/doc/rdoc/core/fr_method_index.html +838 -0
- data/doc/rdoc/core/index.html +26 -0
- data/doc/{html/api → rdoc}/core/rdoc-style.css +0 -0
- data/doc/rdoc/lore/classes/Array.html +178 -0
- data/doc/rdoc/lore/classes/BasicObject.html +259 -0
- data/doc/rdoc/lore/classes/CGI.html +187 -0
- data/doc/rdoc/lore/classes/Config.html +137 -0
- data/doc/rdoc/lore/classes/Continuation.html +115 -0
- data/doc/rdoc/lore/classes/Date.html +254 -0
- data/doc/rdoc/lore/classes/File.html +130 -0
- data/doc/rdoc/lore/classes/FileUtils.html +780 -0
- data/doc/rdoc/lore/classes/GetoptLong.html +120 -0
- data/doc/rdoc/lore/classes/GetoptLong/DSL.html +210 -0
- data/doc/rdoc/lore/classes/Logger.html +231 -0
- data/doc/rdoc/lore/classes/Logger/Ansicolor.html +279 -0
- data/doc/rdoc/lore/classes/Logger/LogDevice.html +123 -0
- data/doc/rdoc/lore/classes/NilClass.html +121 -0
- data/doc/rdoc/lore/classes/OpenStruct.html +413 -0
- data/doc/rdoc/lore/classes/Pathname.html +269 -0
- data/doc/rdoc/lore/classes/Set.html +119 -0
- data/doc/rdoc/lore/classes/Shellwords.html +113 -0
- data/doc/rdoc/lore/classes/String.html +121 -0
- data/doc/rdoc/lore/classes/URI.html +456 -0
- data/doc/rdoc/lore/classes/URI/Hash.html +107 -0
- data/doc/rdoc/lore/classes/URI/Kernel.html +124 -0
- data/doc/rdoc/lore/created.rid +1 -0
- data/doc/rdoc/lore/files/README.html +299 -0
- data/doc/rdoc/lore/files/README_lore.html +155 -0
- data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +190 -0
- data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +111 -0
- data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +147 -0
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +122 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/head_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/safe_ln_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/slice_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/tail_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/wc_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/whereis_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/which_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils_rb.html +131 -0
- data/doc/rdoc/lore/files/lib/lore/facets/getoptlong_rb.html +135 -0
- data/doc/rdoc/lore/files/lib/lore/facets/logger_rb.html +142 -0
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +135 -0
- data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +159 -0
- data/doc/rdoc/lore/files/lib/lore/facets/rbconfig_rb.html +124 -0
- data/doc/rdoc/lore/files/lib/lore/facets/set_rb.html +96 -0
- data/doc/rdoc/lore/files/lib/lore/facets/shellwords_rb.html +124 -0
- data/doc/rdoc/lore/files/lib/lore/facets/uri_rb.html +125 -0
- data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +145 -0
- data/doc/rdoc/lore/fr_class_index.html +68 -0
- data/doc/rdoc/lore/fr_file_index.html +76 -0
- data/doc/rdoc/lore/fr_method_index.html +140 -0
- data/doc/rdoc/lore/index.html +26 -0
- data/doc/{html/api/more → rdoc/lore}/rdoc-style.css +0 -0
- data/doc/rdoc/more/classes/ANSICode.html +495 -0
- data/doc/rdoc/more/classes/Advisable.html +271 -0
- data/doc/rdoc/more/classes/Advisable/Method.html +225 -0
- data/doc/rdoc/more/classes/Archive.html +89 -0
- data/doc/rdoc/more/classes/Archive/Tar.html +89 -0
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +471 -0
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +357 -0
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +218 -0
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +285 -0
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +380 -0
- data/doc/rdoc/more/classes/Association.html +307 -0
- data/doc/rdoc/more/classes/Association/Kernel.html +134 -0
- data/doc/rdoc/more/classes/Autoarray.html +168 -0
- data/doc/rdoc/more/classes/BBCode.html +534 -0
- data/doc/rdoc/more/classes/BaseX.html +196 -0
- data/doc/rdoc/more/classes/BiCrypt.html +543 -0
- data/doc/rdoc/more/classes/BigDuration.html +325 -0
- data/doc/rdoc/more/classes/BinReadable.html +487 -0
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +225 -0
- data/doc/rdoc/more/classes/Buildable.html +154 -0
- data/doc/rdoc/more/classes/BuildingBlock.html +362 -0
- data/doc/rdoc/more/classes/CLI/Arguments.html +490 -0
- data/doc/rdoc/more/classes/CLI/Command.html +317 -0
- data/doc/rdoc/more/classes/CLI/Command/UniversalOptions.html +91 -0
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +113 -0
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +120 -0
- data/doc/rdoc/more/classes/CacheDecorator.html +224 -0
- data/doc/rdoc/more/classes/Capsule.html +410 -0
- data/doc/rdoc/more/classes/Capsule/MissingFile.html +96 -0
- data/doc/rdoc/more/classes/Chain.html +208 -0
- data/doc/rdoc/more/classes/Cloneable.html +131 -0
- data/doc/rdoc/more/classes/ConsoleUtils.html +240 -0
- data/doc/rdoc/more/classes/Coroutine.html +286 -0
- data/doc/rdoc/more/classes/Crypt.html +277 -0
- data/doc/rdoc/more/classes/CssFilter.html +473 -0
- data/doc/rdoc/more/classes/CssTree.html +151 -0
- data/doc/rdoc/more/classes/Dictionary.html +1250 -0
- data/doc/rdoc/more/classes/DictionaryMatcher.html +339 -0
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +117 -0
- data/doc/rdoc/more/classes/Downloader.html +514 -0
- data/doc/rdoc/more/classes/Duration.html +769 -0
- data/doc/rdoc/more/classes/Enumerable.html +340 -0
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +172 -0
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +118 -0
- data/doc/rdoc/more/classes/EnumerablePass.html +216 -0
- data/doc/rdoc/more/classes/Equatable.html +190 -0
- data/doc/rdoc/more/classes/EventHook.html +176 -0
- data/doc/rdoc/more/classes/Expirable.html +197 -0
- data/doc/rdoc/more/classes/FileList.html +957 -0
- data/doc/rdoc/more/classes/FileShell.html +745 -0
- data/doc/rdoc/more/classes/Fileable.html +180 -0
- data/doc/rdoc/more/classes/Fileable/DSL.html +305 -0
- data/doc/rdoc/more/classes/Hash.html +173 -0
- data/doc/rdoc/more/classes/Hash2Xml.html +107 -0
- data/doc/rdoc/more/classes/HtmlFilter.html +331 -0
- data/doc/rdoc/more/classes/IORedirect.html +222 -0
- data/doc/rdoc/more/classes/Indexable.html +606 -0
- data/doc/rdoc/more/classes/InfinityClass.html +450 -0
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +197 -0
- data/doc/rdoc/more/classes/Ini.html +449 -0
- data/doc/rdoc/more/classes/Instantiable.html +142 -0
- data/doc/rdoc/more/classes/Instantise.html +162 -0
- data/doc/rdoc/more/classes/Interval.html +879 -0
- data/doc/rdoc/more/classes/It.html +187 -0
- data/doc/rdoc/more/classes/Kernel.html +641 -0
- data/doc/rdoc/more/classes/LRUCache.html +323 -0
- data/doc/rdoc/more/classes/LRUCache/Item.html +114 -0
- data/doc/rdoc/more/classes/LRUCache/Sentinel.html +100 -0
- data/doc/rdoc/more/classes/LinkedList.html +434 -0
- data/doc/rdoc/more/classes/LinkedList/Node.html +151 -0
- data/doc/rdoc/more/classes/Module.html +1405 -0
- data/doc/rdoc/more/classes/Multiton.html +207 -0
- data/doc/rdoc/more/classes/Multiton/Inclusive.html +93 -0
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +223 -0
- data/doc/rdoc/more/classes/NackClass.html +98 -0
- data/doc/{html/api → rdoc}/more/classes/Net.html +0 -0
- data/doc/rdoc/more/classes/Net/SMTP.html +203 -0
- data/doc/rdoc/more/classes/NullClass.html +204 -0
- data/doc/rdoc/more/classes/ObjectReflection.html +174 -0
- data/doc/rdoc/more/classes/OpEsc.html +138 -0
- data/doc/rdoc/more/classes/OpenCascade.html +144 -0
- data/doc/rdoc/more/classes/OpenCollection.html +140 -0
- data/doc/rdoc/more/classes/OpenHash.html +159 -0
- data/doc/rdoc/more/classes/OpenObject.html +610 -0
- data/doc/rdoc/more/classes/PQueue.html +609 -0
- data/doc/rdoc/more/classes/Paramix.html +203 -0
- data/doc/rdoc/more/classes/Paramix/Delegator.html +217 -0
- data/doc/rdoc/more/classes/PathList.html +161 -0
- data/doc/rdoc/more/classes/PathList/Finder.html +137 -0
- data/doc/rdoc/more/classes/Platform.html +446 -0
- data/doc/rdoc/more/classes/Pool.html +206 -0
- data/doc/rdoc/more/classes/Proc.html +138 -0
- data/doc/rdoc/more/classes/ProgressBar.html +358 -0
- data/doc/rdoc/more/classes/Prototype.html +245 -0
- data/doc/rdoc/more/classes/RWDelegator.html +196 -0
- data/doc/rdoc/more/classes/Random.html +164 -0
- data/doc/rdoc/more/classes/Random/Array.html +341 -0
- data/doc/rdoc/more/classes/Random/Hash.html +380 -0
- data/doc/rdoc/more/classes/Random/Object.html +121 -0
- data/doc/rdoc/more/classes/Random/String.html +301 -0
- data/doc/rdoc/more/classes/Random/String/Self.html +155 -0
- data/doc/rdoc/more/classes/Recorder.html +205 -0
- data/doc/rdoc/more/classes/RecursiveDependency.html +92 -0
- data/doc/rdoc/more/classes/Reference.html +198 -0
- data/doc/rdoc/more/classes/Registerable.html +159 -0
- data/doc/rdoc/more/classes/Semaphore.html +262 -0
- data/doc/rdoc/more/classes/Settings.html +290 -0
- data/doc/rdoc/more/classes/Settings/Setting.html +225 -0
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +146 -0
- data/doc/rdoc/more/classes/SimpleStringIO.html +137 -0
- data/doc/rdoc/more/classes/Snapshot.html +196 -0
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +165 -0
- data/doc/rdoc/more/classes/Stackable.html +264 -0
- data/doc/rdoc/more/classes/String/Style.html +804 -0
- data/doc/rdoc/more/classes/Struct.html +132 -0
- data/doc/rdoc/more/classes/SyncArray.html +129 -0
- data/doc/rdoc/more/classes/SyncHash.html +160 -0
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +213 -0
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +213 -0
- data/doc/rdoc/more/classes/System.html +1119 -0
- data/doc/rdoc/more/classes/Timer.html +466 -0
- data/doc/rdoc/more/classes/Timer/Dummy.html +141 -0
- data/doc/rdoc/more/classes/TracePoint.html +455 -0
- data/doc/rdoc/more/classes/Tuple.html +902 -0
- data/doc/rdoc/more/classes/TypeCast.html +158 -0
- data/doc/rdoc/more/classes/TypeCast/Class.html +129 -0
- data/doc/rdoc/more/classes/TypeCast/Object.html +119 -0
- data/doc/rdoc/more/classes/TypeCastException.html +96 -0
- data/doc/rdoc/more/classes/Uninheritable.html +122 -0
- data/doc/rdoc/more/classes/UploadUtils.html +499 -0
- data/doc/rdoc/more/classes/VersionNumber.html +384 -0
- data/doc/rdoc/more/classes/Weekdays.html +220 -0
- data/doc/rdoc/more/classes/XOXO.html +191 -0
- data/doc/rdoc/more/classes/ZipUtils.html +437 -0
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +225 -0
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +225 -0
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +225 -0
- data/doc/rdoc/more/created.rid +1 -0
- data/doc/rdoc/more/files/README.html +299 -0
- data/doc/rdoc/more/files/README_more.html +141 -0
- data/doc/rdoc/more/files/lib/more/facets/1stclassmethod_rb.html +181 -0
- data/doc/rdoc/more/files/lib/more/facets/advisable_rb.html +124 -0
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +180 -0
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +200 -0
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +142 -0
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +158 -0
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/autoarray_rb.html +125 -0
- data/doc/rdoc/more/files/lib/more/facets/autoreload_rb.html +134 -0
- data/doc/rdoc/more/files/lib/more/facets/basex_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/bbcode_rb.html +138 -0
- data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +124 -0
- data/doc/rdoc/more/files/lib/more/facets/binreadable_rb.html +141 -0
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +230 -0
- data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +169 -0
- data/doc/rdoc/more/files/lib/more/facets/cachedecorator_rb.html +178 -0
- data/doc/rdoc/more/files/lib/more/facets/capsule_rb.html +143 -0
- data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +125 -0
- data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +114 -0
- data/doc/rdoc/more/files/lib/more/facets/class_extension_rb.html +155 -0
- data/doc/rdoc/more/files/lib/more/facets/classmethods_rb.html +213 -0
- data/doc/rdoc/more/files/lib/more/facets/cloneable_rb.html +134 -0
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +170 -0
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +109 -0
- data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +163 -0
- data/doc/rdoc/more/files/lib/more/facets/crypt_rb.html +141 -0
- data/doc/rdoc/more/files/lib/more/facets/cssfilter_rb.html +121 -0
- data/doc/rdoc/more/files/lib/more/facets/daemonize_rb.html +118 -0
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +158 -0
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +201 -0
- data/doc/rdoc/more/files/lib/more/facets/dictionarymatcher_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/downloader_rb.html +137 -0
- data/doc/rdoc/more/files/lib/more/facets/duplicable_rb.html +100 -0
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +132 -0
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +148 -0
- data/doc/rdoc/more/files/lib/more/facets/elementwise_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +153 -0
- data/doc/rdoc/more/files/lib/more/facets/equatable_rb.html +146 -0
- data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +141 -0
- data/doc/rdoc/more/files/lib/more/facets/expirable_rb.html +116 -0
- data/doc/rdoc/more/files/lib/more/facets/fileable_rb.html +138 -0
- data/doc/rdoc/more/files/lib/more/facets/filelist_rb.html +165 -0
- data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +124 -0
- data/doc/rdoc/more/files/lib/more/facets/heap_rb.html +132 -0
- data/doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html +153 -0
- data/doc/rdoc/more/files/lib/more/facets/indexable_rb.html +113 -0
- data/doc/rdoc/more/files/lib/more/facets/infinity_rb.html +153 -0
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +149 -0
- data/doc/rdoc/more/files/lib/more/facets/ini_rb.html +105 -0
- data/doc/rdoc/more/files/lib/more/facets/instantiable_rb.html +119 -0
- data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +145 -0
- data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +163 -0
- data/doc/rdoc/more/files/lib/more/facets/ioredirect_rb.html +133 -0
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +94 -0
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/linkedlist_rb.html +159 -0
- data/doc/rdoc/more/files/lib/more/facets/lrucache_rb.html +129 -0
- data/doc/rdoc/more/files/lib/more/facets/main_rb.html +126 -0
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +163 -0
- data/doc/rdoc/more/files/lib/more/facets/methodspace_rb.html +138 -0
- data/doc/rdoc/more/files/lib/more/facets/minitar_rb.html +203 -0
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +148 -0
- data/doc/rdoc/more/files/lib/more/facets/multiton_rb.html +187 -0
- data/doc/rdoc/more/files/lib/more/facets/nackclass_rb.html +120 -0
- data/doc/rdoc/more/files/lib/more/facets/net/smtp_tls_rb.html +143 -0
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/nullclass_rb.html +122 -0
- data/doc/rdoc/more/files/lib/more/facets/opencascade_rb.html +156 -0
- data/doc/rdoc/more/files/lib/more/facets/opencollection_rb.html +123 -0
- data/doc/rdoc/more/files/lib/more/facets/openhash_rb.html +107 -0
- data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +169 -0
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +94 -0
- data/doc/rdoc/more/files/lib/more/facets/orderedhash_rb.html +143 -0
- data/doc/rdoc/more/files/lib/more/facets/overload_rb.html +119 -0
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +135 -0
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +133 -0
- data/doc/rdoc/more/files/lib/more/facets/platform_rb.html +103 -0
- data/doc/rdoc/more/files/lib/more/facets/pool_rb.html +131 -0
- data/doc/rdoc/more/files/lib/more/facets/pqueue_rb.html +128 -0
- data/doc/rdoc/more/files/lib/more/facets/progressbar_rb.html +126 -0
- data/doc/rdoc/more/files/lib/more/facets/prototype_rb.html +102 -0
- data/doc/rdoc/more/files/lib/more/facets/random_rb.html +149 -0
- data/doc/rdoc/more/files/lib/more/facets/rbsystem_rb.html +144 -0
- data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +154 -0
- data/doc/rdoc/more/files/lib/more/facets/reference_rb.html +130 -0
- data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +135 -0
- data/doc/rdoc/more/files/lib/more/facets/registerable_rb.html +98 -0
- data/doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html +122 -0
- data/doc/rdoc/more/files/lib/more/facets/semaphore_rb.html +120 -0
- data/doc/rdoc/more/files/lib/more/facets/settings_rb.html +141 -0
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +177 -0
- data/doc/rdoc/more/files/lib/more/facets/stackable_rb.html +121 -0
- data/doc/rdoc/more/files/lib/more/facets/style_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/syncarray_rb.html +125 -0
- data/doc/rdoc/more/files/lib/more/facets/synchash_rb.html +138 -0
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +132 -0
- data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +174 -0
- data/doc/rdoc/more/files/lib/more/facets/times_rb.html +163 -0
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +167 -0
- data/doc/rdoc/more/files/lib/more/facets/tuple_rb.html +160 -0
- data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +214 -0
- data/doc/rdoc/more/files/lib/more/facets/uninheritable_rb.html +129 -0
- data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +176 -0
- data/doc/rdoc/more/files/lib/more/facets/version_rb.html +133 -0
- data/doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html +97 -0
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +136 -0
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +133 -0
- data/doc/rdoc/more/fr_class_index.html +183 -0
- data/doc/rdoc/more/fr_file_index.html +158 -0
- data/doc/rdoc/more/fr_method_index.html +1057 -0
- data/doc/rdoc/more/index.html +26 -0
- data/doc/rdoc/more/rdoc-style.css +175 -0
- data/doc/ri/ANSICode/cdesc-ANSICode.yaml +60 -0
- data/doc/ri/ANSICode/clear_line-i.yaml +13 -0
- data/doc/ri/ANSICode/clear_screen-i.yaml +13 -0
- data/doc/ri/ANSICode/clr-i.yaml +12 -0
- data/doc/ri/ANSICode/cls-i.yaml +12 -0
- data/doc/ri/ANSICode/colors-i.yaml +10 -0
- data/doc/ri/ANSICode/define_ansicolor_method-c.yaml +12 -0
- data/doc/ri/ANSICode/display-i.yaml +12 -0
- data/doc/ri/ANSICode/down-i.yaml +12 -0
- data/doc/ri/ANSICode/left-i.yaml +12 -0
- data/doc/ri/ANSICode/move-i.yaml +12 -0
- data/doc/ri/ANSICode/restore-i.yaml +12 -0
- data/doc/ri/ANSICode/right-i.yaml +12 -0
- data/doc/ri/ANSICode/save-i.yaml +12 -0
- data/doc/ri/ANSICode/uncolored-i.yaml +10 -0
- data/doc/ri/ANSICode/up-i.yaml +12 -0
- data/doc/ri/Advisable/Method/advice_after%3d-i.yaml +10 -0
- data/doc/ri/Advisable/Method/advice_around%3d-i.yaml +10 -0
- data/doc/ri/Advisable/Method/advice_before%3d-i.yaml +10 -0
- data/doc/ri/Advisable/Method/advised%3f-i.yaml +10 -0
- data/doc/ri/Advisable/Method/call_with_advice-i.yaml +12 -0
- data/doc/ri/Advisable/Method/cdesc-Method.yaml +43 -0
- data/doc/ri/Advisable/Method/lambda_target-i.yaml +12 -0
- data/doc/ri/Advisable/advice_after-i.yaml +10 -0
- data/doc/ri/Advisable/advice_around-i.yaml +10 -0
- data/doc/ri/Advisable/advice_before-i.yaml +10 -0
- data/doc/ri/Advisable/advise-i.yaml +12 -0
- data/doc/ri/Advisable/after-i.yaml +10 -0
- data/doc/ri/Advisable/around-i.yaml +10 -0
- data/doc/ri/Advisable/before-i.yaml +10 -0
- data/doc/ri/Advisable/cdesc-Advisable.yaml +35 -0
- data/doc/ri/Advisable/method_added-i.yaml +16 -0
- data/doc/ri/Archive/Tar/Minitar/BlockRequired/cdesc-BlockRequired.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/ClosedStream/cdesc-ClosedStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/FileNameTooLong/cdesc-FileNameTooLong.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Input/cdesc-Input.yaml +30 -0
- data/doc/ri/Archive/Tar/Minitar/Input/close-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Input/each-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Input/extract_entry-i.yaml +43 -0
- data/doc/ri/Archive/Tar/Minitar/Input/fsync_dir-i.yaml +10 -0
- data/doc/ri/Archive/Tar/Minitar/Input/new-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Input/open-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Input/tar-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/NonSeekableStream/cdesc-NonSeekableStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Output/cdesc-Output.yaml +23 -0
- data/doc/ri/Archive/Tar/Minitar/Output/close-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Output/new-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Output/open-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Output/tar-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/EntryStream/cdesc-EntryStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/InvalidEntryStream/cdesc-InvalidEntryStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/cdesc-Reader.yaml +27 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/close-i.yaml +10 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/each-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/each_entry-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/new-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/open-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Reader/rewind-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/UnexpectedEOF/cdesc-UnexpectedEOF.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/FileOverflow/cdesc-FileOverflow.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/cdesc-BoundedStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/RestrictedStream/cdesc-RestrictedStream.yaml +17 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/add_file-i.yaml +34 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/add_file_simple-i.yaml +33 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/cdesc-Writer.yaml +31 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/close-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/flush-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/mkdir-i.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/new-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/open-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/Writer/split_name-i.yaml +10 -0
- data/doc/ri/Archive/Tar/Minitar/cdesc-Minitar.yaml +68 -0
- data/doc/ri/Archive/Tar/Minitar/dir%3f-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/open-c.yaml +12 -0
- data/doc/ri/Archive/Tar/Minitar/pack-c.yaml +14 -0
- data/doc/ri/Archive/Tar/Minitar/pack_file-c.yaml +75 -0
- data/doc/ri/Archive/Tar/Minitar/unpack-c.yaml +12 -0
- data/doc/ri/Archive/Tar/PosixHeader/cdesc-PosixHeader.yaml +53 -0
- data/doc/ri/Archive/Tar/cdesc-Tar.yaml +15 -0
- data/doc/ri/Archive/cdesc-Archive.yaml +16 -0
- data/doc/ri/Array/cdesc-Array.yaml +17 -0
- data/doc/ri/As/cdesc-As.yaml +19 -0
- data/doc/ri/Association/%3c%3d%3e-i.yaml +10 -0
- data/doc/ri/Association/%5b%5d-c.yaml +10 -0
- data/doc/ri/Association/Kernel/%3e%3e-i.yaml +12 -0
- data/doc/ri/Association/Kernel/associations-i.yaml +10 -0
- data/doc/ri/Association/Kernel/cdesc-Kernel.yaml +20 -0
- data/doc/ri/Association/cdesc-Association.yaml +67 -0
- data/doc/ri/Association/inspect-i.yaml +10 -0
- data/doc/ri/Association/invert%21-i.yaml +10 -0
- data/doc/ri/Association/new-c.yaml +10 -0
- data/doc/ri/Association/to_ary-i.yaml +10 -0
- data/doc/ri/Association/to_s-i.yaml +10 -0
- data/doc/ri/Autoarray/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/Autoarray/%5b%5d-i.yaml +10 -0
- data/doc/ri/Autoarray/cdesc-Autoarray.yaml +26 -0
- data/doc/ri/Autoarray/new-c.yaml +10 -0
- data/doc/ri/BBCode/ansi-c.yaml +12 -0
- data/doc/ri/BBCode/ansi_to_bbcode-c.yaml +12 -0
- data/doc/ri/BBCode/ansi_to_html-c.yaml +12 -0
- data/doc/ri/BBCode/bbcode_to_ansi-c.yaml +12 -0
- data/doc/ri/BBCode/bbcode_to_html-c.yaml +12 -0
- data/doc/ri/BBCode/cdesc-BBCode.yaml +59 -0
- data/doc/ri/BBCode/html_to_ansi-c.yaml +12 -0
- data/doc/ri/BBCode/html_to_bbcode-c.yaml +12 -0
- data/doc/ri/BBCode/strip_bbcode-c.yaml +12 -0
- data/doc/ri/BaseX/cdesc-BaseX.yaml +27 -0
- data/doc/ri/BaseX/convert_base-i.yaml +10 -0
- data/doc/ri/BaseX/decode-i.yaml +10 -0
- data/doc/ri/BaseX/encode-i.yaml +10 -0
- data/doc/ri/BaseX/new-c.yaml +10 -0
- data/doc/ri/BasicObject/__self__-i.yaml +12 -0
- data/doc/ri/BasicObject/cdesc-BasicObject.yaml +53 -0
- data/doc/ri/BasicObject/hide-c.yaml +12 -0
- data/doc/ri/BasicObject/object_self-i.yaml +13 -0
- data/doc/ri/BiCrypt/block_size-i.yaml +10 -0
- data/doc/ri/BiCrypt/carefully_open_file-i.yaml +10 -0
- data/doc/ri/BiCrypt/cdesc-BiCrypt.yaml +53 -0
- data/doc/ri/BiCrypt/decrypt_block-i.yaml +10 -0
- data/doc/ri/BiCrypt/decrypt_file-i.yaml +10 -0
- data/doc/ri/BiCrypt/decrypt_pair-i.yaml +10 -0
- data/doc/ri/BiCrypt/decrypt_stream-i.yaml +10 -0
- data/doc/ri/BiCrypt/decrypt_string-i.yaml +10 -0
- data/doc/ri/BiCrypt/encrypt_block-i.yaml +10 -0
- data/doc/ri/BiCrypt/encrypt_file-i.yaml +10 -0
- data/doc/ri/BiCrypt/encrypt_pair-i.yaml +10 -0
- data/doc/ri/BiCrypt/encrypt_stream-i.yaml +10 -0
- data/doc/ri/BiCrypt/encrypt_string-i.yaml +10 -0
- data/doc/ri/BiCrypt/f-i.yaml +10 -0
- data/doc/ri/BiCrypt/generate_initialization_vector-i.yaml +12 -0
- data/doc/ri/BiCrypt/new-c.yaml +10 -0
- data/doc/ri/BiCrypt/precalculate_S_table-i.yaml +10 -0
- data/doc/ri/BigDuration/cdesc-BigDuration.yaml +41 -0
- data/doc/ri/BigDuration/each-i.yaml +12 -0
- data/doc/ri/BigDuration/months%3d-i.yaml +12 -0
- data/doc/ri/BigDuration/new-c.yaml +12 -0
- data/doc/ri/BigDuration/seconds-i.yaml +12 -0
- data/doc/ri/BigDuration/strftime-i.yaml +16 -0
- data/doc/ri/BigDuration/years%3d-i.yaml +12 -0
- data/doc/ri/BinReadable/ByteOrder/big%3f-i.yaml +12 -0
- data/doc/ri/BinReadable/ByteOrder/big_endian%3f-i.yaml +13 -0
- data/doc/ri/BinReadable/ByteOrder/byte_order-i.yaml +13 -0
- data/doc/ri/BinReadable/ByteOrder/byteorder-i.yaml +12 -0
- data/doc/ri/BinReadable/ByteOrder/cdesc-ByteOrder.yaml +39 -0
- data/doc/ri/BinReadable/ByteOrder/little%3f-i.yaml +12 -0
- data/doc/ri/BinReadable/ByteOrder/little_endian%3f-i.yaml +11 -0
- data/doc/ri/BinReadable/ByteOrder/network%3f-i.yaml +12 -0
- data/doc/ri/BinReadable/byte_order%3d-i.yaml +11 -0
- data/doc/ri/BinReadable/byte_order-i.yaml +13 -0
- data/doc/ri/BinReadable/byteorder%3d-i.yaml +12 -0
- data/doc/ri/BinReadable/byteorder-i.yaml +12 -0
- data/doc/ri/BinReadable/cdesc-BinReadable.yaml +65 -0
- data/doc/ri/BinReadable/read_cstring-i.yaml +10 -0
- data/doc/ri/BinReadable/read_int16_big-i.yaml +10 -0
- data/doc/ri/BinReadable/read_int16_little-i.yaml +10 -0
- data/doc/ri/BinReadable/read_int16_native-i.yaml +13 -0
- data/doc/ri/BinReadable/read_int32_big-i.yaml +10 -0
- data/doc/ri/BinReadable/read_int32_little-i.yaml +10 -0
- data/doc/ri/BinReadable/read_int32_native-i.yaml +13 -0
- data/doc/ri/BinReadable/read_int8-i.yaml +10 -0
- data/doc/ri/BinReadable/read_uint8-i.yaml +12 -0
- data/doc/ri/BinReadable/read_word16_big-i.yaml +10 -0
- data/doc/ri/BinReadable/read_word16_little-i.yaml +10 -0
- data/doc/ri/BinReadable/read_word16_native-i.yaml +13 -0
- data/doc/ri/BinReadable/read_word32_big-i.yaml +10 -0
- data/doc/ri/BinReadable/read_word32_little-i.yaml +10 -0
- data/doc/ri/BinReadable/read_word32_native-i.yaml +13 -0
- data/doc/ri/BinReadable/read_word8-i.yaml +13 -0
- data/doc/ri/BinReadable/readn-i.yaml +12 -0
- data/doc/ri/BinReadable/ru-i.yaml +12 -0
- data/doc/ri/BinReadable/ru_swap-i.yaml +12 -0
- data/doc/ri/Binding/%5b%5d%3d-i.yaml +14 -0
- data/doc/ri/Binding/%5b%5d-i.yaml +14 -0
- data/doc/ri/Binding/__DIR__-i.yaml +12 -0
- data/doc/ri/Binding/__FILE__-i.yaml +12 -0
- data/doc/ri/Binding/__LINE__-i.yaml +12 -0
- data/doc/ri/Binding/__callee__-i.yaml +14 -0
- data/doc/ri/Binding/__method__-i.yaml +14 -0
- data/doc/ri/Binding/caller-i.yaml +12 -0
- data/doc/ri/Binding/callstack-i.yaml +12 -0
- data/doc/ri/Binding/cdesc-Binding.yaml +40 -0
- data/doc/ri/Binding/defined%3f-i.yaml +12 -0
- data/doc/ri/Binding/eval-i.yaml +12 -0
- data/doc/ri/Binding/local_variables-i.yaml +14 -0
- data/doc/ri/Binding/self-i.yaml +12 -0
- data/doc/ri/Buildable/cdesc-Buildable.yaml +29 -0
- data/doc/ri/Buildable/included-c.yaml +10 -0
- data/doc/ri/BuildingBlock/%3c%3c-i.yaml +12 -0
- data/doc/ri/BuildingBlock/build%21-i.yaml +11 -0
- data/doc/ri/BuildingBlock/cdesc-BuildingBlock.yaml +57 -0
- data/doc/ri/BuildingBlock/inspect-i.yaml +12 -0
- data/doc/ri/BuildingBlock/method_missing-i.yaml +11 -0
- data/doc/ri/BuildingBlock/new-c.yaml +11 -0
- data/doc/ri/BuildingBlock/to_buffer-i.yaml +12 -0
- data/doc/ri/BuildingBlock/to_s-i.yaml +12 -0
- data/doc/ri/BuildingBlock/to_str-i.yaml +10 -0
- data/doc/ri/CGI/cdesc-CGI.yaml +25 -0
- data/doc/ri/CGI/esc-i.yaml +12 -0
- data/doc/ri/CGI/escformat-i.yaml +12 -0
- data/doc/ri/CGI/marshal_from_cgi-i.yaml +12 -0
- data/doc/ri/CGI/marshal_to_cgi-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/arguments-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/assoc_options-i.yaml +14 -0
- data/doc/ri/CLI/Arguments/cdesc-Arguments.yaml +77 -0
- data/doc/ri/CLI/Arguments/flags-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/format_options-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/multi_flag-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/new-c.yaml +12 -0
- data/doc/ri/CLI/Arguments/operands-i.yaml +13 -0
- data/doc/ri/CLI/Arguments/options-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/parameters-c.yaml +10 -0
- data/doc/ri/CLI/Arguments/parameters-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/parameters_without_duplicates-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/parse-i.yaml +14 -0
- data/doc/ri/CLI/Arguments/parse_arity-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/parse_line-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/parse_preoptions-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/preflags-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/preoptions-i.yaml +14 -0
- data/doc/ri/CLI/Arguments/subcommand-i.yaml +12 -0
- data/doc/ri/CLI/Arguments/subcommand_with_arguments-i.yaml +14 -0
- data/doc/ri/CLI/Arguments/subcommand_with_parameters-i.yaml +13 -0
- data/doc/ri/CLI/Arguments/subcommand_with_preoptions-i.yaml +11 -0
- data/doc/ri/CLI/Command/UniversalOptions/cdesc-UniversalOptions.yaml +17 -0
- data/doc/ri/CLI/Command/call-i.yaml +12 -0
- data/doc/ri/CLI/Command/cdesc-Command.yaml +50 -0
- data/doc/ri/CLI/Command/command_missing-i.yaml +11 -0
- data/doc/ri/CLI/Command/commands-i.yaml +11 -0
- data/doc/ri/CLI/Command/default-i.yaml +12 -0
- data/doc/ri/CLI/Command/initialize_arguments-i.yaml +11 -0
- data/doc/ri/CLI/Command/initialize_options-i.yaml +11 -0
- data/doc/ri/CLI/Command/new-c.yaml +11 -0
- data/doc/ri/CLI/Command/option_arity-c.yaml +11 -0
- data/doc/ri/CLI/Command/option_missing-i.yaml +11 -0
- data/doc/ri/CLI/Command/start-c.yaml +11 -0
- data/doc/ri/CLI/Command/subcommand-c.yaml +12 -0
- data/doc/ri/CLI/NoCommandError/cdesc-NoCommandError.yaml +16 -0
- data/doc/ri/CLI/NoCommandError/new-c.yaml +10 -0
- data/doc/ri/CLI/NoOptionError/cdesc-NoOptionError.yaml +18 -0
- data/doc/ri/CLI/NoOptionError/new-c.yaml +10 -0
- data/doc/ri/CLI/cdesc-CLI.yaml +15 -0
- data/doc/ri/CacheDecorator/cache-c.yaml +10 -0
- data/doc/ri/CacheDecorator/cdesc-CacheDecorator.yaml +45 -0
- data/doc/ri/CacheDecorator/method_missing-i.yaml +10 -0
- data/doc/ri/CacheDecorator/new-c.yaml +10 -0
- data/doc/ri/CacheDecorator/self-i.yaml +10 -0
- data/doc/ri/CacheDecorator/uncache-c.yaml +10 -0
- data/doc/ri/Capsule/MissingFile/cdesc-MissingFile.yaml +17 -0
- data/doc/ri/Capsule/cdesc-Capsule.yaml +55 -0
- data/doc/ri/Capsule/include-i.yaml +11 -0
- data/doc/ri/Capsule/include_script-i.yaml +10 -0
- data/doc/ri/Capsule/load-c.yaml +12 -0
- data/doc/ri/Capsule/load-i.yaml +16 -0
- data/doc/ri/Capsule/load_in_module-i.yaml +12 -0
- data/doc/ri/Capsule/load_path_lookup-i.yaml +12 -0
- data/doc/ri/Capsule/new-c.yaml +12 -0
- data/doc/ri/Capsule/require-i.yaml +14 -0
- data/doc/ri/Chain/%7e-i.yaml +10 -0
- data/doc/ri/Chain/cdesc-Chain.yaml +36 -0
- data/doc/ri/Chain/end-i.yaml +16 -0
- data/doc/ri/Chain/method_missing-i.yaml +10 -0
- data/doc/ri/Chain/new-c.yaml +10 -0
- data/doc/ri/Class/cdesc-Class.yaml +17 -0
- data/doc/ri/Cloneable/cdesc-Cloneable.yaml +21 -0
- data/doc/ri/Cloneable/initialize_copy-i.yaml +10 -0
- data/doc/ri/Comparable/at_least-i.yaml +14 -0
- data/doc/ri/Comparable/at_most-i.yaml +14 -0
- data/doc/ri/Comparable/bound-i.yaml +15 -0
- data/doc/ri/Comparable/cap-i.yaml +14 -0
- data/doc/ri/Comparable/cdesc-Comparable.yaml +26 -0
- data/doc/ri/Comparable/clip-i.yaml +12 -0
- data/doc/ri/Comparable/cmp-i.yaml +18 -0
- data/doc/ri/Config/cdesc-Config.yaml +18 -0
- data/doc/ri/Config/datadir-c.yaml +16 -0
- data/doc/ri/Config/inspect-c.yaml +10 -0
- data/doc/ri/Console/cdesc-Console.yaml +17 -0
- data/doc/ri/ConsoleUtils/ask-i.yaml +12 -0
- data/doc/ri/ConsoleUtils/cdesc-ConsoleUtils.yaml +27 -0
- data/doc/ri/ConsoleUtils/password-i.yaml +12 -0
- data/doc/ri/ConsoleUtils/print_justified-i.yaml +14 -0
- data/doc/ri/ConsoleUtils/screen_width-i.yaml +14 -0
- data/doc/ri/Continuation/cdesc-Continuation.yaml +16 -0
- data/doc/ri/Continuation/create-c.yaml +10 -0
- data/doc/ri/Coroutine/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/Coroutine/%5b%5d-i.yaml +10 -0
- data/doc/ri/Coroutine/cdesc-Coroutine.yaml +42 -0
- data/doc/ri/Coroutine/continue-i.yaml +10 -0
- data/doc/ri/Coroutine/new-c.yaml +10 -0
- data/doc/ri/Coroutine/resume-i.yaml +10 -0
- data/doc/ri/Coroutine/run-i.yaml +10 -0
- data/doc/ri/Coroutine/stop-i.yaml +10 -0
- data/doc/ri/Crypt/cdesc-Crypt.yaml +28 -0
- data/doc/ri/Crypt/check-c.yaml +12 -0
- data/doc/ri/Crypt/crypt-c.yaml +20 -0
- data/doc/ri/Crypt/generate_salt-c.yaml +12 -0
- data/doc/ri/CssFilter/accept_host-i.yaml +11 -0
- data/doc/ri/CssFilter/cdesc-CssFilter.yaml +98 -0
- data/doc/ri/CssFilter/clean_properties-i.yaml +14 -0
- data/doc/ri/CssFilter/clean_value-i.yaml +11 -0
- data/doc/ri/CssFilter/filter-i.yaml +11 -0
- data/doc/ri/CssFilter/new-c.yaml +11 -0
- data/doc/ri/CssFilter/parse-i.yaml +14 -0
- data/doc/ri/CssFilter/remove_blanklines-i.yaml +11 -0
- data/doc/ri/CssFilter/remove_comments-i.yaml +11 -0
- data/doc/ri/CssFilter/remove_nullvalues-i.yaml +11 -0
- data/doc/ri/CssFilter/remove_urls-i.yaml +12 -0
- data/doc/ri/CssFilter/remove_whitespace-i.yaml +11 -0
- data/doc/ri/CssTree/cdesc-CssTree.yaml +19 -0
- data/doc/ri/CssTree/new-c.yaml +10 -0
- data/doc/ri/CssTree/to_css-i.yaml +12 -0
- data/doc/ri/Date/cdesc-Date.yaml +28 -0
- data/doc/ri/Date/days_in_month-i.yaml +14 -0
- data/doc/ri/Date/days_of_month-i.yaml +10 -0
- data/doc/ri/Date/month_name-i.yaml +14 -0
- data/doc/ri/Date/stamp-i.yaml +13 -0
- data/doc/ri/Date/to_date-i.yaml +12 -0
- data/doc/ri/Date/to_s-i.yaml +12 -0
- data/doc/ri/Date/to_time-i.yaml +12 -0
- data/doc/ri/Dictionary/%3c%3c-i.yaml +10 -0
- data/doc/ri/Dictionary/%3d%3d-i.yaml +16 -0
- data/doc/ri/Dictionary/%5b%5d%3d-i.yaml +18 -0
- data/doc/ri/Dictionary/%5b%5d-c.yaml +10 -0
- data/doc/ri/Dictionary/%5b%5d-i.yaml +10 -0
- data/doc/ri/Dictionary/alpha-c.yaml +18 -0
- data/doc/ri/Dictionary/auto-c.yaml +14 -0
- data/doc/ri/Dictionary/cdesc-Dictionary.yaml +150 -0
- data/doc/ri/Dictionary/clear-i.yaml +10 -0
- data/doc/ri/Dictionary/delete-i.yaml +10 -0
- data/doc/ri/Dictionary/delete_if-i.yaml +10 -0
- data/doc/ri/Dictionary/dup-i.yaml +10 -0
- data/doc/ri/Dictionary/each-i.yaml +11 -0
- data/doc/ri/Dictionary/each_key-i.yaml +10 -0
- data/doc/ri/Dictionary/each_pair-i.yaml +12 -0
- data/doc/ri/Dictionary/each_value-i.yaml +10 -0
- data/doc/ri/Dictionary/empty%3f-i.yaml +10 -0
- data/doc/ri/Dictionary/fetch-i.yaml +10 -0
- data/doc/ri/Dictionary/first-i.yaml +11 -0
- data/doc/ri/Dictionary/has_key%3f-i.yaml +10 -0
- data/doc/ri/Dictionary/insert-i.yaml +10 -0
- data/doc/ri/Dictionary/inspect-i.yaml +10 -0
- data/doc/ri/Dictionary/invert-i.yaml +10 -0
- data/doc/ri/Dictionary/key%3f-i.yaml +10 -0
- data/doc/ri/Dictionary/keys-i.yaml +10 -0
- data/doc/ri/Dictionary/last-i.yaml +11 -0
- data/doc/ri/Dictionary/length-i.yaml +11 -0
- data/doc/ri/Dictionary/merge%21-i.yaml +12 -0
- data/doc/ri/Dictionary/merge-i.yaml +10 -0
- data/doc/ri/Dictionary/new-c.yaml +12 -0
- data/doc/ri/Dictionary/new_by-c.yaml +12 -0
- data/doc/ri/Dictionary/order-i.yaml +10 -0
- data/doc/ri/Dictionary/order_by-i.yaml +12 -0
- data/doc/ri/Dictionary/order_by_key-i.yaml +20 -0
- data/doc/ri/Dictionary/order_by_value-i.yaml +18 -0
- data/doc/ri/Dictionary/pop-i.yaml +10 -0
- data/doc/ri/Dictionary/push-i.yaml +10 -0
- data/doc/ri/Dictionary/reject%21-i.yaml +10 -0
- data/doc/ri/Dictionary/reject-i.yaml +10 -0
- data/doc/ri/Dictionary/reorder-i.yaml +11 -0
- data/doc/ri/Dictionary/replace-i.yaml +10 -0
- data/doc/ri/Dictionary/reverse%21-i.yaml +10 -0
- data/doc/ri/Dictionary/reverse-i.yaml +10 -0
- data/doc/ri/Dictionary/select-i.yaml +10 -0
- data/doc/ri/Dictionary/shift-i.yaml +10 -0
- data/doc/ri/Dictionary/size-i.yaml +12 -0
- data/doc/ri/Dictionary/store-i.yaml +10 -0
- data/doc/ri/Dictionary/to_a-i.yaml +10 -0
- data/doc/ri/Dictionary/to_h-i.yaml +10 -0
- data/doc/ri/Dictionary/to_hash-i.yaml +10 -0
- data/doc/ri/Dictionary/to_s-i.yaml +10 -0
- data/doc/ri/Dictionary/unshift-i.yaml +10 -0
- data/doc/ri/Dictionary/update-i.yaml +11 -0
- data/doc/ri/Dictionary/values-i.yaml +10 -0
- data/doc/ri/DictionaryMatcher/%3c%3c-i.yaml +12 -0
- data/doc/ri/DictionaryMatcher/%3d%3d%3d-i.yaml +12 -0
- data/doc/ri/DictionaryMatcher/%3d%7e-i.yaml +13 -0
- data/doc/ri/DictionaryMatcher/MatchData/cdesc-MatchData.yaml +18 -0
- data/doc/ri/DictionaryMatcher/MatchData/inspect-i.yaml +10 -0
- data/doc/ri/DictionaryMatcher/add-i.yaml +13 -0
- data/doc/ri/DictionaryMatcher/cdesc-DictionaryMatcher.yaml +38 -0
- data/doc/ri/DictionaryMatcher/compute_failure_function-i.yaml +10 -0
- data/doc/ri/DictionaryMatcher/include%3f-i.yaml +12 -0
- data/doc/ri/DictionaryMatcher/inspect-i.yaml +10 -0
- data/doc/ri/DictionaryMatcher/internal_match-i.yaml +10 -0
- data/doc/ri/DictionaryMatcher/match-i.yaml +12 -0
- data/doc/ri/DictionaryMatcher/new-c.yaml +12 -0
- data/doc/ri/DictionaryMatcher/scan-i.yaml +12 -0
- data/doc/ri/Dir/ascend-c.yaml +18 -0
- data/doc/ri/Dir/cdesc-Dir.yaml +28 -0
- data/doc/ri/Dir/descend-c.yaml +18 -0
- data/doc/ri/Dir/ls_r-c.yaml +12 -0
- data/doc/ri/Dir/multiglob-c.yaml +30 -0
- data/doc/ri/Dir/multiglob_r-c.yaml +22 -0
- data/doc/ri/Dir/parent%3f-c.yaml +14 -0
- data/doc/ri/Dir/recurse-c.yaml +14 -0
- data/doc/ri/Downloader/Checksum/cdesc-Checksum.yaml +17 -0
- data/doc/ri/Downloader/Mirror/cdesc-Mirror.yaml +15 -0
- data/doc/ri/Downloader/add_mirror-i.yaml +10 -0
- data/doc/ri/Downloader/add_mirrors-i.yaml +10 -0
- data/doc/ri/Downloader/cdesc-Downloader.yaml +49 -0
- data/doc/ri/Downloader/compute_checksum-i.yaml +12 -0
- data/doc/ri/Downloader/download-i.yaml +14 -0
- data/doc/ri/Downloader/extract-i.yaml +12 -0
- data/doc/ri/Downloader/fetch-i.yaml +12 -0
- data/doc/ri/Downloader/interface%3d-i.yaml +10 -0
- data/doc/ri/Downloader/interface-i.yaml +12 -0
- data/doc/ri/Downloader/mirrors-i.yaml +10 -0
- data/doc/ri/Downloader/monitored_download-i.yaml +12 -0
- data/doc/ri/Downloader/new-c.yaml +10 -0
- data/doc/ri/Downloader/prioritize_urls-i.yaml +12 -0
- data/doc/ri/Duration/%2a-i.yaml +16 -0
- data/doc/ri/Duration/%2b-i.yaml +16 -0
- data/doc/ri/Duration/%2d-i.yaml +16 -0
- data/doc/ri/Duration/%2f-i.yaml +16 -0
- data/doc/ri/Duration/%3c%3d%3e-i.yaml +16 -0
- data/doc/ri/Duration/cdesc-Duration.yaml +93 -0
- data/doc/ri/Duration/days%3d-i.yaml +16 -0
- data/doc/ri/Duration/each-i.yaml +20 -0
- data/doc/ri/Duration/hours%3d-i.yaml +16 -0
- data/doc/ri/Duration/inspect-i.yaml +16 -0
- data/doc/ri/Duration/minutes%3d-i.yaml +16 -0
- data/doc/ri/Duration/new-c.yaml +16 -0
- data/doc/ri/Duration/seconds%3d-i.yaml +16 -0
- data/doc/ri/Duration/seconds-i.yaml +16 -0
- data/doc/ri/Duration/strftime-i.yaml +20 -0
- data/doc/ri/Duration/to_s-i.yaml +16 -0
- data/doc/ri/Duration/weeks%3d-i.yaml +16 -0
- data/doc/ri/Enumerable/Elementor/cdesc-Elementor.yaml +26 -0
- data/doc/ri/Enumerable/Elementor/instance_delegate-i.yaml +10 -0
- data/doc/ri/Enumerable/Elementor/instance_operator-i.yaml +10 -0
- data/doc/ri/Enumerable/Elementor/method_missing-i.yaml +10 -0
- data/doc/ri/Enumerable/Elementor/new-c.yaml +10 -0
- data/doc/ri/Enumerable/Enumerator/cdesc-Enumerator.yaml +16 -0
- data/doc/ri/Enumerable/Enumerator/to_elem-i.yaml +12 -0
- data/doc/ri/Enumerable/accumulate-i.yaml +18 -0
- data/doc/ri/Enumerable/cdesc-Enumerable.yaml +94 -0
- data/doc/ri/Enumerable/cluster_by-i.yaml +18 -0
- data/doc/ri/Enumerable/collect_with_index-i.yaml +15 -0
- data/doc/ri/Enumerable/commonality-i.yaml +14 -0
- data/doc/ri/Enumerable/compact_collect-i.yaml +12 -0
- data/doc/ri/Enumerable/compact_map-i.yaml +23 -0
- data/doc/ri/Enumerable/count-i.yaml +18 -0
- data/doc/ri/Enumerable/divide-i.yaml +14 -0
- data/doc/ri/Enumerable/duplicates-i.yaml +12 -0
- data/doc/ri/Enumerable/each_by-i.yaml +18 -0
- data/doc/ri/Enumerable/elements%21-i.yaml +12 -0
- data/doc/ri/Enumerable/elements-i.yaml +12 -0
- data/doc/ri/Enumerable/elementwise-i.yaml +15 -0
- data/doc/ri/Enumerable/entropy-i.yaml +14 -0
- data/doc/ri/Enumerable/every%21-i.yaml +13 -0
- data/doc/ri/Enumerable/every-i.yaml +15 -0
- data/doc/ri/Enumerable/ewise-i.yaml +12 -0
- data/doc/ri/Enumerable/frequency-i.yaml +14 -0
- data/doc/ri/Enumerable/graph-i.yaml +12 -0
- data/doc/ri/Enumerable/group_by-i.yaml +14 -0
- data/doc/ri/Enumerable/ideal_entropy-i.yaml +14 -0
- data/doc/ri/Enumerable/inject%21-i.yaml +20 -0
- data/doc/ri/Enumerable/map_send-i.yaml +14 -0
- data/doc/ri/Enumerable/map_with_index-i.yaml +12 -0
- data/doc/ri/Enumerable/mash-i.yaml +19 -0
- data/doc/ri/Enumerable/mode-i.yaml +14 -0
- data/doc/ri/Enumerable/modulate-i.yaml +18 -0
- data/doc/ri/Enumerable/none%3f-i.yaml +16 -0
- data/doc/ri/Enumerable/nonuniq-i.yaml +15 -0
- data/doc/ri/Enumerable/occur-i.yaml +14 -0
- data/doc/ri/Enumerable/one%3f-i.yaml +16 -0
- data/doc/ri/Enumerable/per-i.yaml +10 -0
- data/doc/ri/Enumerable/probability-i.yaml +14 -0
- data/doc/ri/Enumerable/split-i.yaml +16 -0
- data/doc/ri/Enumerable/sum-i.yaml +14 -0
- data/doc/ri/Enumerable/threaded_map-i.yaml +14 -0
- data/doc/ri/Enumerable/threaded_map_send-i.yaml +14 -0
- data/doc/ri/Enumerable/to_elem-i.yaml +12 -0
- data/doc/ri/Enumerable/to_h-i.yaml +14 -0
- data/doc/ri/Enumerable/uniq_by-i.yaml +18 -0
- data/doc/ri/EnumerablePass/cdesc-EnumerablePass.yaml +28 -0
- data/doc/ri/EnumerablePass/detect-i.yaml +12 -0
- data/doc/ri/EnumerablePass/find-i.yaml +15 -0
- data/doc/ri/EnumerablePass/wrap_enumerable_method-c.yaml +10 -0
- data/doc/ri/Equatable/%3d%3d-i.yaml +10 -0
- data/doc/ri/Equatable/cdesc-Equatable.yaml +34 -0
- data/doc/ri/Equatable/eql%3f-i.yaml +10 -0
- data/doc/ri/Equatable/hash-i.yaml +10 -0
- data/doc/ri/Equatable/identify-c.yaml +10 -0
- data/doc/ri/EventHook/call-i.yaml +10 -0
- data/doc/ri/EventHook/cdesc-EventHook.yaml +31 -0
- data/doc/ri/EventHook/new-c.yaml +10 -0
- data/doc/ri/Exception/cdesc-Exception.yaml +17 -0
- data/doc/ri/Exception/detail-i.yaml +18 -0
- data/doc/ri/Exception/suppress-c.yaml +14 -0
- data/doc/ri/Expirable/cdesc-Expirable.yaml +30 -0
- data/doc/ri/Expirable/expired%3f-i.yaml +12 -0
- data/doc/ri/Expirable/expires_after-i.yaml +12 -0
- data/doc/ri/Expirable/expires_spread-i.yaml +12 -0
- data/doc/ri/Expirable/touch%21-i.yaml +12 -0
- data/doc/ri/FalseClass/cdesc-FalseClass.yaml +15 -0
- data/doc/ri/File/append-c.yaml +14 -0
- data/doc/ri/File/cdesc-File.yaml +38 -0
- data/doc/ri/File/create-c.yaml +14 -0
- data/doc/ri/File/null-c.yaml +14 -0
- data/doc/ri/File/read_binary-c.yaml +14 -0
- data/doc/ri/File/read_list-c.yaml +14 -0
- data/doc/ri/File/rewrite%21-c.yaml +14 -0
- data/doc/ri/File/rewrite-c.yaml +24 -0
- data/doc/ri/File/rootname-c.yaml +14 -0
- data/doc/ri/File/sanitize-c.yaml +14 -0
- data/doc/ri/File/write-c.yaml +16 -0
- data/doc/ri/File/writelines-c.yaml +18 -0
- data/doc/ri/File/yaml%3f-c.yaml +14 -0
- data/doc/ri/FileList/%2a-i.yaml +12 -0
- data/doc/ri/FileList/%3d%3d-i.yaml +12 -0
- data/doc/ri/FileList/%5b%5d-c.yaml +14 -0
- data/doc/ri/FileList/add-i.yaml +12 -0
- data/doc/ri/FileList/add_matching-i.yaml +12 -0
- data/doc/ri/FileList/calculate_exclude_regexp-i.yaml +10 -0
- data/doc/ri/FileList/cdesc-FileList.yaml +111 -0
- data/doc/ri/FileList/clear_exclude-i.yaml +12 -0
- data/doc/ri/FileList/clear_ignore_patterns-c.yaml +12 -0
- data/doc/ri/FileList/clone-i.yaml +13 -0
- data/doc/ri/FileList/dup-i.yaml +12 -0
- data/doc/ri/FileList/egrep-i.yaml +12 -0
- data/doc/ri/FileList/exclude%3f-i.yaml +12 -0
- data/doc/ri/FileList/exclude-i.yaml +26 -0
- data/doc/ri/FileList/ext-i.yaml +18 -0
- data/doc/ri/FileList/gsub%21-i.yaml +12 -0
- data/doc/ri/FileList/gsub-i.yaml +16 -0
- data/doc/ri/FileList/import-i.yaml +10 -0
- data/doc/ri/FileList/include-i.yaml +17 -0
- data/doc/ri/FileList/new-c.yaml +16 -0
- data/doc/ri/FileList/resolve-i.yaml +12 -0
- data/doc/ri/FileList/resolve_add-i.yaml +10 -0
- data/doc/ri/FileList/resolve_exclude-i.yaml +10 -0
- data/doc/ri/FileList/select_default_ignore_patterns-c.yaml +35 -0
- data/doc/ri/FileList/sub%21-i.yaml +12 -0
- data/doc/ri/FileList/sub-i.yaml +16 -0
- data/doc/ri/FileList/to_a-i.yaml +12 -0
- data/doc/ri/FileList/to_ary-i.yaml +12 -0
- data/doc/ri/FileList/to_s-i.yaml +12 -0
- data/doc/ri/FileShell/%5b%5d-i.yaml +12 -0
- data/doc/ri/FileShell/cd-i.yaml +15 -0
- data/doc/ri/FileShell/cdesc-FileShell.yaml +83 -0
- data/doc/ri/FileShell/chdir-i.yaml +12 -0
- data/doc/ri/FileShell/chmod-i.yaml +12 -0
- data/doc/ri/FileShell/chmod_R-i.yaml +12 -0
- data/doc/ri/FileShell/chown-i.yaml +12 -0
- data/doc/ri/FileShell/chown_R-i.yaml +12 -0
- data/doc/ri/FileShell/cp-i.yaml +12 -0
- data/doc/ri/FileShell/cp_r-i.yaml +12 -0
- data/doc/ri/FileShell/dryrun%3f-i.yaml +10 -0
- data/doc/ri/FileShell/fu-i.yaml +11 -0
- data/doc/ri/FileShell/install-i.yaml +12 -0
- data/doc/ri/FileShell/ln-i.yaml +12 -0
- data/doc/ri/FileShell/ln_s-i.yaml +12 -0
- data/doc/ri/FileShell/ln_sf-i.yaml +12 -0
- data/doc/ri/FileShell/ls-i.yaml +12 -0
- data/doc/ri/FileShell/mkdir-i.yaml +12 -0
- data/doc/ri/FileShell/mkdir_p-i.yaml +12 -0
- data/doc/ri/FileShell/move-i.yaml +12 -0
- data/doc/ri/FileShell/mv-i.yaml +13 -0
- data/doc/ri/FileShell/new-c.yaml +10 -0
- data/doc/ri/FileShell/pwd-i.yaml +12 -0
- data/doc/ri/FileShell/quiet%3f-i.yaml +10 -0
- data/doc/ri/FileShell/rm-i.yaml +12 -0
- data/doc/ri/FileShell/rm_r-i.yaml +12 -0
- data/doc/ri/FileShell/rm_rf-i.yaml +12 -0
- data/doc/ri/FileShell/rmdir-i.yaml +12 -0
- data/doc/ri/FileShell/root%3f-i.yaml +12 -0
- data/doc/ri/FileShell/touch-i.yaml +12 -0
- data/doc/ri/FileShell/verbose%3f-i.yaml +10 -0
- data/doc/ri/FileTest/cdesc-FileTest.yaml +16 -0
- data/doc/ri/FileTest/root%3f-i.yaml +14 -0
- data/doc/ri/FileUtils/cdesc-FileUtils.yaml +39 -0
- data/doc/ri/FileUtils/head-i.yaml +14 -0
- data/doc/ri/FileUtils/safe_ln-i.yaml +14 -0
- data/doc/ri/FileUtils/slice-i.yaml +16 -0
- data/doc/ri/FileUtils/tail-i.yaml +16 -0
- data/doc/ri/FileUtils/wc-i.yaml +18 -0
- data/doc/ri/FileUtils/whereis-i.yaml +10 -0
- data/doc/ri/FileUtils/which-i.yaml +16 -0
- data/doc/ri/Fileable/DSL/cdesc-DSL.yaml +31 -0
- data/doc/ri/Fileable/DSL/file-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/filename-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/included-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/load-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/load_cache-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/locate-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/lookup-i.yaml +12 -0
- data/doc/ri/Fileable/DSL/open-i.yaml +12 -0
- data/doc/ri/Fileable/cdesc-Fileable.yaml +30 -0
- data/doc/ri/Fileable/included-c.yaml +12 -0
- data/doc/ri/Fileable/new-c.yaml +12 -0
- data/doc/ri/Fileable/read-i.yaml +12 -0
- data/doc/ri/Float/cdesc-Float.yaml +17 -0
- data/doc/ri/Friend/cdesc-Friend.yaml +27 -0
- data/doc/ri/Friend/new-c.yaml +10 -0
- data/doc/ri/Functor/cdesc-Functor.yaml +23 -0
- data/doc/ri/Functor/method_missing-i.yaml +12 -0
- data/doc/ri/Functor/new-c.yaml +10 -0
- data/doc/ri/Functor/to_proc-i.yaml +10 -0
- data/doc/ri/GetoptLong/DSL/cdesc-DSL.yaml +30 -0
- data/doc/ri/GetoptLong/DSL/flag-i.yaml +10 -0
- data/doc/ri/GetoptLong/DSL/new-c.yaml +10 -0
- data/doc/ri/GetoptLong/DSL/optional-i.yaml +11 -0
- data/doc/ri/GetoptLong/DSL/opts-i.yaml +12 -0
- data/doc/ri/GetoptLong/DSL/reqs-i.yaml +12 -0
- data/doc/ri/GetoptLong/DSL/required-i.yaml +11 -0
- data/doc/ri/GetoptLong/cdesc-GetoptLong.yaml +16 -0
- data/doc/ri/GetoptLong/new-c.yaml +10 -0
- data/doc/ri/Hash/cdesc-Hash.yaml +15 -0
- data/doc/ri/Hash2Xml/cdesc-Hash2Xml.yaml +21 -0
- data/doc/ri/Hash2Xml/convert-i.yaml +10 -0
- data/doc/ri/Hash2Xml/convert_body-i.yaml +11 -0
- data/doc/ri/Hash2Xml/convert_tag-i.yaml +11 -0
- data/doc/ri/HtmlFilter/balance_html-i.yaml +11 -0
- data/doc/ri/HtmlFilter/cdesc-HtmlFilter.yaml +149 -0
- data/doc/ri/HtmlFilter/check_entity-i.yaml +11 -0
- data/doc/ri/HtmlFilter/check_tags-i.yaml +11 -0
- data/doc/ri/HtmlFilter/decode_dec_entity-i.yaml +11 -0
- data/doc/ri/HtmlFilter/decode_entities-i.yaml +12 -0
- data/doc/ri/HtmlFilter/decode_hex_entity-i.yaml +11 -0
- data/doc/ri/HtmlFilter/decode_num_entity-i.yaml +11 -0
- data/doc/ri/HtmlFilter/escape_comments-i.yaml +11 -0
- data/doc/ri/HtmlFilter/escape_special_chars-i.yaml +12 -0
- data/doc/ri/HtmlFilter/filter-i.yaml +12 -0
- data/doc/ri/HtmlFilter/fix_case-i.yaml +11 -0
- data/doc/ri/HtmlFilter/fix_case_inner-i.yaml +11 -0
- data/doc/ri/HtmlFilter/is_valid_entity-i.yaml +11 -0
- data/doc/ri/HtmlFilter/new-c.yaml +12 -0
- data/doc/ri/HtmlFilter/process_param_protocol-i.yaml +11 -0
- data/doc/ri/HtmlFilter/process_remove_blanks-i.yaml +11 -0
- data/doc/ri/HtmlFilter/process_tag-i.yaml +11 -0
- data/doc/ri/HtmlFilter/strip_single-i.yaml +11 -0
- data/doc/ri/HtmlFilter/validate_entities-i.yaml +11 -0
- data/doc/ri/IORedirect/cdesc-IORedirect.yaml +28 -0
- data/doc/ri/IORedirect/new-c.yaml +12 -0
- data/doc/ri/IORedirect/redirect-c.yaml +12 -0
- data/doc/ri/IORedirect/start-i.yaml +12 -0
- data/doc/ri/IORedirect/stop-i.yaml +12 -0
- data/doc/ri/Indexable/body-i.yaml +14 -0
- data/doc/ri/Indexable/cdesc-Indexable.yaml +55 -0
- data/doc/ri/Indexable/ends-i.yaml +16 -0
- data/doc/ri/Indexable/first%21-i.yaml +14 -0
- data/doc/ri/Indexable/first%3d-i.yaml +14 -0
- data/doc/ri/Indexable/first-i.yaml +14 -0
- data/doc/ri/Indexable/foot-i.yaml +14 -0
- data/doc/ri/Indexable/head-i.yaml +14 -0
- data/doc/ri/Indexable/index_of-i.yaml +16 -0
- data/doc/ri/Indexable/last%21-i.yaml +14 -0
- data/doc/ri/Indexable/last%3d-i.yaml +14 -0
- data/doc/ri/Indexable/last-i.yaml +14 -0
- data/doc/ri/Indexable/mid-i.yaml +16 -0
- data/doc/ri/Indexable/middle-i.yaml +16 -0
- data/doc/ri/Indexable/pos-i.yaml +14 -0
- data/doc/ri/Indexable/range-i.yaml +14 -0
- data/doc/ri/Indexable/tail-i.yaml +14 -0
- data/doc/ri/Indexable/thru-i.yaml +14 -0
- data/doc/ri/InfinityClass/%2b%40-i.yaml +12 -0
- data/doc/ri/InfinityClass/%2d%40-i.yaml +12 -0
- data/doc/ri/InfinityClass/%3c%3d%3e-i.yaml +12 -0
- data/doc/ri/InfinityClass/%3d%3d-i.yaml +12 -0
- data/doc/ri/InfinityClass/Numeric/cdesc-Numeric.yaml +27 -0
- data/doc/ri/InfinityClass/Numeric/finite%3f-i.yaml +10 -0
- data/doc/ri/InfinityClass/Numeric/inf%3f-i.yaml +12 -0
- data/doc/ri/InfinityClass/Numeric/infinite%3f-i.yaml +11 -0
- data/doc/ri/InfinityClass/Numeric/nan%3f-i.yaml +10 -0
- data/doc/ri/InfinityClass/Numeric/neginf%3f-i.yaml +10 -0
- data/doc/ri/InfinityClass/Numeric/posinf%3f-i.yaml +10 -0
- data/doc/ri/InfinityClass/cdesc-InfinityClass.yaml +75 -0
- data/doc/ri/InfinityClass/coerce-i.yaml +12 -0
- data/doc/ri/InfinityClass/new-c.yaml +10 -0
- data/doc/ri/InfinityClass/times-i.yaml +12 -0
- data/doc/ri/InfinityClass/to_f-i.yaml +12 -0
- data/doc/ri/InfinityClass/to_s-i.yaml +11 -0
- data/doc/ri/Ini/%5b%5d%3d-i.yaml +12 -0
- data/doc/ri/Ini/%5b%5d-i.yaml +12 -0
- data/doc/ri/Ini/cdesc-Ini.yaml +51 -0
- data/doc/ri/Ini/new-c.yaml +16 -0
- data/doc/ri/Ini/read_comment_from_file-c.yaml +16 -0
- data/doc/ri/Ini/read_from_file-c.yaml +16 -0
- data/doc/ri/Ini/restore-i.yaml +12 -0
- data/doc/ri/Ini/to_s-c.yaml +16 -0
- data/doc/ri/Ini/update-i.yaml +12 -0
- data/doc/ri/Ini/write_to_file-c.yaml +16 -0
- data/doc/ri/InstanceVariables/%3c%3c-i.yaml +10 -0
- data/doc/ri/InstanceVariables/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/InstanceVariables/%5b%5d-i.yaml +10 -0
- data/doc/ri/InstanceVariables/atize-i.yaml +10 -0
- data/doc/ri/InstanceVariables/cdesc-InstanceVariables.yaml +38 -0
- data/doc/ri/InstanceVariables/each-i.yaml +10 -0
- data/doc/ri/InstanceVariables/instance_delegate-i.yaml +10 -0
- data/doc/ri/InstanceVariables/keys-i.yaml +10 -0
- data/doc/ri/InstanceVariables/names-i.yaml +10 -0
- data/doc/ri/InstanceVariables/new-c.yaml +10 -0
- data/doc/ri/InstanceVariables/to_hash-i.yaml +10 -0
- data/doc/ri/InstanceVariables/update-i.yaml +10 -0
- data/doc/ri/InstanceVariables/values-i.yaml +10 -0
- data/doc/ri/Instantiable/append_features-c.yaml +10 -0
- data/doc/ri/Instantiable/cdesc-Instantiable.yaml +24 -0
- data/doc/ri/Instantiable/new-i.yaml +12 -0
- data/doc/ri/Instantise/append_features-c.yaml +10 -0
- data/doc/ri/Instantise/cdesc-Instantise.yaml +29 -0
- data/doc/ri/Instantise/singleton_method_added-i.yaml +10 -0
- data/doc/ri/Integer/cdesc-Integer.yaml +15 -0
- data/doc/ri/Interval/%2b%40-i.yaml +12 -0
- data/doc/ri/Interval/%2d%40-i.yaml +10 -0
- data/doc/ri/Interval/%3d%3d%3d-i.yaml +12 -0
- data/doc/ri/Interval/%5b%5d-c.yaml +10 -0
- data/doc/ri/Interval/%7e-i.yaml +10 -0
- data/doc/ri/Interval/begin-i.yaml +12 -0
- data/doc/ri/Interval/cdesc-Interval.yaml +97 -0
- data/doc/ri/Interval/closed-i.yaml +12 -0
- data/doc/ri/Interval/degenerate%3f-i.yaml +12 -0
- data/doc/ri/Interval/direction-i.yaml +14 -0
- data/doc/ri/Interval/distance-i.yaml +15 -0
- data/doc/ri/Interval/each-i.yaml +15 -0
- data/doc/ri/Interval/end-i.yaml +12 -0
- data/doc/ri/Interval/eql%3f-i.yaml +12 -0
- data/doc/ri/Interval/exclude_begin%3f-i.yaml +12 -0
- data/doc/ri/Interval/exclude_end%3f-i.yaml +12 -0
- data/doc/ri/Interval/exclude_first%3f-i.yaml +12 -0
- data/doc/ri/Interval/exclude_last%3f-i.yaml +11 -0
- data/doc/ri/Interval/first-i.yaml +13 -0
- data/doc/ri/Interval/first_closed-i.yaml +12 -0
- data/doc/ri/Interval/first_opened-i.yaml +10 -0
- data/doc/ri/Interval/half_closed-i.yaml +12 -0
- data/doc/ri/Interval/include%3f-i.yaml +15 -0
- data/doc/ri/Interval/last-i.yaml +11 -0
- data/doc/ri/Interval/last_closed-i.yaml +10 -0
- data/doc/ri/Interval/last_opened-i.yaml +10 -0
- data/doc/ri/Interval/length-i.yaml +12 -0
- data/doc/ri/Interval/max-i.yaml +12 -0
- data/doc/ri/Interval/member%3f-i.yaml +12 -0
- data/doc/ri/Interval/min-i.yaml +12 -0
- data/doc/ri/Interval/new-c.yaml +10 -0
- data/doc/ri/Interval/null%3f-i.yaml +12 -0
- data/doc/ri/Interval/opened-i.yaml +12 -0
- data/doc/ri/Interval/reversed-i.yaml +14 -0
- data/doc/ri/Interval/sentinels-i.yaml +14 -0
- data/doc/ri/Interval/size-i.yaml +12 -0
- data/doc/ri/Interval/step-i.yaml +12 -0
- data/doc/ri/It/cdesc-It.yaml +39 -0
- data/doc/ri/It/first%3f-i.yaml +10 -0
- data/doc/ri/It/last%3f-i.yaml +10 -0
- data/doc/ri/It/new-c.yaml +10 -0
- data/doc/ri/It/next_iteration-i.yaml +10 -0
- data/doc/ri/Kernel/cdesc-Kernel.yaml +16 -0
- data/doc/ri/LRUCache/%5b%5d%3d-i.yaml +12 -0
- data/doc/ri/LRUCache/%5b%5d-i.yaml +12 -0
- data/doc/ri/LRUCache/Item/cdesc-Item.yaml +28 -0
- data/doc/ri/LRUCache/Sentinel/cdesc-Sentinel.yaml +18 -0
- data/doc/ri/LRUCache/cdesc-LRUCache.yaml +65 -0
- data/doc/ri/LRUCache/clear-i.yaml +12 -0
- data/doc/ri/LRUCache/delete-i.yaml +12 -0
- data/doc/ri/LRUCache/first-i.yaml +12 -0
- data/doc/ri/LRUCache/last-i.yaml +13 -0
- data/doc/ri/LRUCache/lru-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_append-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_clear-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_delete-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_insert-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_join-i.yaml +12 -0
- data/doc/ri/LRUCache/lru_touch-i.yaml +12 -0
- data/doc/ri/LRUCache/new-c.yaml +10 -0
- data/doc/ri/Lazy/DivergenceError/cdesc-DivergenceError.yaml +17 -0
- data/doc/ri/Lazy/Future/cdesc-Future.yaml +20 -0
- data/doc/ri/Lazy/LazyException/cdesc-LazyException.yaml +19 -0
- data/doc/ri/Lazy/Promise/cdesc-Promise.yaml +25 -0
- data/doc/ri/Lazy/PromiseSafe/cdesc-PromiseSafe.yaml +20 -0
- data/doc/ri/Lazy/cdesc-Lazy.yaml +20 -0
- data/doc/ri/LinkedList/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/LinkedList/%5b%5d-i.yaml +10 -0
- data/doc/ri/LinkedList/Node/cdesc-Node.yaml +33 -0
- data/doc/ri/LinkedList/Node/new-c.yaml +10 -0
- data/doc/ri/LinkedList/cdesc-LinkedList.yaml +57 -0
- data/doc/ri/LinkedList/delete-i.yaml +10 -0
- data/doc/ri/LinkedList/each-i.yaml +10 -0
- data/doc/ri/LinkedList/empty%3f-i.yaml +10 -0
- data/doc/ri/LinkedList/first-i.yaml +10 -0
- data/doc/ri/LinkedList/last-i.yaml +10 -0
- data/doc/ri/LinkedList/length-i.yaml +10 -0
- data/doc/ri/LinkedList/new-c.yaml +10 -0
- data/doc/ri/LinkedList/node_delete-i.yaml +10 -0
- data/doc/ri/LinkedList/node_join-i.yaml +10 -0
- data/doc/ri/LinkedList/node_purge-i.yaml +10 -0
- data/doc/ri/LinkedList/pop-i.yaml +10 -0
- data/doc/ri/LinkedList/push-i.yaml +10 -0
- data/doc/ri/LinkedList/queue-i.yaml +10 -0
- data/doc/ri/LinkedList/shift-i.yaml +10 -0
- data/doc/ri/LinkedList/to_a-i.yaml +10 -0
- data/doc/ri/LinkedList/unshift-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/cdesc-Ansicolor.yaml +36 -0
- data/doc/ri/Logger/Ansicolor/debug-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/debug_with_color-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/error-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/error_with_color-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/fatal-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/fatal_with_color-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/info-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/info_with_color-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/warn-i.yaml +10 -0
- data/doc/ri/Logger/Ansicolor/warn_with_color-i.yaml +10 -0
- data/doc/ri/Logger/LogDevice/ansicolor%3f-i.yaml +10 -0
- data/doc/ri/Logger/LogDevice/cdesc-LogDevice.yaml +19 -0
- data/doc/ri/Logger/ansicolor%3d-i.yaml +10 -0
- data/doc/ri/Logger/cdesc-Logger.yaml +44 -0
- data/doc/ri/Logger/format_procedure-i.yaml +10 -0
- data/doc/ri/Logger/setup_format-i.yaml +21 -0
- data/doc/ri/MatchData/cdesc-MatchData.yaml +20 -0
- data/doc/ri/MatchData/match-i.yaml +14 -0
- data/doc/ri/MatchData/matchset-i.yaml +14 -0
- data/doc/ri/MatchData/matchtree-i.yaml +14 -0
- data/doc/ri/Method/cdesc-Method.yaml +15 -0
- data/doc/ri/MissingArgument/cdesc-MissingArgument.yaml +17 -0
- data/doc/ri/Module/%2a-i.yaml +14 -0
- data/doc/ri/Module/%2b-i.yaml +22 -0
- data/doc/ri/Module/%2d-i.yaml +14 -0
- data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +20 -0
- data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +14 -0
- data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +14 -0
- data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +14 -0
- data/doc/ri/Module/Comparable-i.yaml +18 -0
- data/doc/ri/Module/Equatable-i.yaml +18 -0
- data/doc/ri/Module/abstract-i.yaml +14 -0
- data/doc/ri/Module/alias_accessor%21-i.yaml +17 -0
- data/doc/ri/Module/alias_accessor-i.yaml +14 -0
- data/doc/ri/Module/alias_method_chain-i.yaml +32 -0
- data/doc/ri/Module/alias_module_function-i.yaml +14 -0
- data/doc/ri/Module/alias_reader%21-i.yaml +17 -0
- data/doc/ri/Module/alias_reader%3f-i.yaml +12 -0
- data/doc/ri/Module/alias_reader-i.yaml +12 -0
- data/doc/ri/Module/alias_setter-i.yaml +14 -0
- data/doc/ri/Module/alias_switcher-i.yaml +12 -0
- data/doc/ri/Module/alias_tester-i.yaml +12 -0
- data/doc/ri/Module/alias_toggler-i.yaml +12 -0
- data/doc/ri/Module/alias_validator-i.yaml +12 -0
- data/doc/ri/Module/alias_writer%21-i.yaml +14 -0
- data/doc/ri/Module/alias_writer-i.yaml +12 -0
- data/doc/ri/Module/all_instance_methods-i.yaml +18 -0
- data/doc/ri/Module/ancestor%3f-i.yaml +14 -0
- data/doc/ri/Module/ann%21-i.yaml +12 -0
- data/doc/ri/Module/ann-i.yaml +12 -0
- data/doc/ri/Module/annotations-i.yaml +10 -0
- data/doc/ri/Module/append_features-c.yaml +10 -0
- data/doc/ri/Module/append_features-i.yaml +10 -0
- data/doc/ri/Module/append_features_without_class_extension-i.yaml +12 -0
- data/doc/ri/Module/attr-i.yaml +10 -0
- data/doc/ri/Module/attr_accessor%21-i.yaml +21 -0
- data/doc/ri/Module/attr_reader%21-i.yaml +21 -0
- data/doc/ri/Module/attr_reader%3f-i.yaml +12 -0
- data/doc/ri/Module/attr_setter-i.yaml +18 -0
- data/doc/ri/Module/attr_switcher-i.yaml +12 -0
- data/doc/ri/Module/attr_tester-i.yaml +12 -0
- data/doc/ri/Module/attr_toggler-i.yaml +12 -0
- data/doc/ri/Module/attr_validator-i.yaml +14 -0
- data/doc/ri/Module/attr_writer%21-i.yaml +18 -0
- data/doc/ri/Module/basename-i.yaml +18 -0
- data/doc/ri/Module/cdesc-Module.yaml +191 -0
- data/doc/ri/Module/class_def-i.yaml +14 -0
- data/doc/ri/Module/class_extension-i.yaml +17 -0
- data/doc/ri/Module/class_inherit-i.yaml +12 -0
- data/doc/ri/Module/class_load-i.yaml +12 -0
- data/doc/ri/Module/class_methods-i.yaml +11 -0
- data/doc/ri/Module/class_require-i.yaml +12 -0
- data/doc/ri/Module/classified_attributes-i.yaml +14 -0
- data/doc/ri/Module/conflict%3f-i.yaml +14 -0
- data/doc/ri/Module/define_dependency-i.yaml +11 -0
- data/doc/ri/Module/depend-i.yaml +11 -0
- data/doc/ri/Module/dependencies-i.yaml +12 -0
- data/doc/ri/Module/heritage-i.yaml +10 -0
- data/doc/ri/Module/include_as-i.yaml +14 -0
- data/doc/ri/Module/include_function_module-i.yaml +14 -0
- data/doc/ri/Module/instance_method%21-i.yaml +16 -0
- data/doc/ri/Module/instance_method_defined%3f-i.yaml +14 -0
- data/doc/ri/Module/integrate-i.yaml +20 -0
- data/doc/ri/Module/is%3f-i.yaml +14 -0
- data/doc/ri/Module/is-i.yaml +12 -0
- data/doc/ri/Module/memoize-i.yaml +14 -0
- data/doc/ri/Module/method_overloads-i.yaml +10 -0
- data/doc/ri/Module/method_space-i.yaml +14 -0
- data/doc/ri/Module/mixin_parameters-i.yaml +17 -0
- data/doc/ri/Module/mixin_params-i.yaml +12 -0
- data/doc/ri/Module/modspace-i.yaml +18 -0
- data/doc/ri/Module/module_load-i.yaml +15 -0
- data/doc/ri/Module/module_method_defined%3f-i.yaml +12 -0
- data/doc/ri/Module/module_require-i.yaml +15 -0
- data/doc/ri/Module/nesting-i.yaml +14 -0
- data/doc/ri/Module/overload-i.yaml +14 -0
- data/doc/ri/Module/pathize-i.yaml +16 -0
- data/doc/ri/Module/prepend-i.yaml +14 -0
- data/doc/ri/Module/private_conflict%3f-i.yaml +12 -0
- data/doc/ri/Module/protected_conflict%3f-i.yaml +12 -0
- data/doc/ri/Module/public_conflict%3f-i.yaml +12 -0
- data/doc/ri/Module/redef-i.yaml +12 -0
- data/doc/ri/Module/redefine_method-i.yaml +17 -0
- data/doc/ri/Module/redirect-i.yaml +12 -0
- data/doc/ri/Module/redirect_method-i.yaml +19 -0
- data/doc/ri/Module/rename-i.yaml +12 -0
- data/doc/ri/Module/rename_method-i.yaml +15 -0
- data/doc/ri/Module/revisal-i.yaml +12 -0
- data/doc/ri/Module/revise-i.yaml +15 -0
- data/doc/ri/Module/setting-i.yaml +21 -0
- data/doc/ri/Module/singleton_method_defined%3f-i.yaml +15 -0
- data/doc/ri/Module/spacename-i.yaml +20 -0
- data/doc/ri/Module/wrap-i.yaml +12 -0
- data/doc/ri/Module/wrap_method-i.yaml +19 -0
- data/doc/ri/Multiton/Inclusive/cdesc-Inclusive.yaml +18 -0
- data/doc/ri/Multiton/Inclusive/included-i.yaml +10 -0
- data/doc/ri/Multiton/InstanceMutex/cdesc-InstanceMutex.yaml +17 -0
- data/doc/ri/Multiton/MetaMethods/_load-i.yaml +10 -0
- data/doc/ri/Multiton/MetaMethods/cdesc-MetaMethods.yaml +34 -0
- data/doc/ri/Multiton/MetaMethods/initialized%3f-i.yaml +10 -0
- data/doc/ri/Multiton/MetaMethods/instance-i.yaml +11 -0
- data/doc/ri/Multiton/MetaMethods/multiton_id-i.yaml +12 -0
- data/doc/ri/Multiton/MetaMethods/multiton_instance-i.yaml +10 -0
- data/doc/ri/Multiton/MetaMethods/multiton_mutex-i.yaml +10 -0
- data/doc/ri/Multiton/MetaMethods/new-i.yaml +12 -0
- data/doc/ri/Multiton/MetaMethods/reinitialize-i.yaml +10 -0
- data/doc/ri/Multiton/MetaMethods/singleton_method_added-i.yaml +10 -0
- data/doc/ri/Multiton/_dump-i.yaml +12 -0
- data/doc/ri/Multiton/cdesc-Multiton.yaml +40 -0
- data/doc/ri/Multiton/clone-i.yaml +12 -0
- data/doc/ri/Multiton/dup-i.yaml +10 -0
- data/doc/ri/NackClass/cdesc-NackClass.yaml +20 -0
- data/doc/ri/Net/SMTP/cdesc-SMTP.yaml +25 -0
- data/doc/ri/Net/SMTP/do_helo-i.yaml +10 -0
- data/doc/ri/Net/SMTP/do_tls_start-i.yaml +10 -0
- data/doc/ri/Net/SMTP/quit-i.yaml +10 -0
- data/doc/ri/Net/SMTP/start-c.yaml +10 -0
- data/doc/ri/Net/SMTP/start-i.yaml +10 -0
- data/doc/ri/Net/SMTP/starttls-i.yaml +10 -0
- data/doc/ri/Net/cdesc-Net.yaml +15 -0
- data/doc/ri/NilClass/cdesc-NilClass.yaml +17 -0
- data/doc/ri/NullClass/%5b%5d-i.yaml +10 -0
- data/doc/ri/NullClass/cdesc-NullClass.yaml +32 -0
- data/doc/ri/NullClass/inspect-i.yaml +10 -0
- data/doc/ri/NullClass/method_missing-i.yaml +10 -0
- data/doc/ri/NullClass/new-c.yaml +10 -0
- data/doc/ri/NullClass/nil%3f-i.yaml +10 -0
- data/doc/ri/NullClass/null%3f-i.yaml +10 -0
- data/doc/ri/Numeric/cdesc-Numeric.yaml +26 -0
- data/doc/ri/Object/cdesc-Object.yaml +15 -0
- data/doc/ri/ObjectReflection/_bind_method-i.yaml +10 -0
- data/doc/ri/ObjectReflection/cdesc-ObjectReflection.yaml +28 -0
- data/doc/ri/ObjectReflection/id-i.yaml +11 -0
- data/doc/ri/ObjectReflection/method_missing-i.yaml +16 -0
- data/doc/ri/ObjectReflection/new-c.yaml +11 -0
- data/doc/ri/OpEsc/cdesc-OpEsc.yaml +30 -0
- data/doc/ri/OpEsc/escape-c.yaml +14 -0
- data/doc/ri/OpenCascade/cdesc-OpenCascade.yaml +25 -0
- data/doc/ri/OpenCascade/method_missing-i.yaml +10 -0
- data/doc/ri/OpenCollection/cdesc-OpenCollection.yaml +22 -0
- data/doc/ri/OpenCollection/method_missing-i.yaml +10 -0
- data/doc/ri/OpenCollection/new-c.yaml +10 -0
- data/doc/ri/OpenHash/cdesc-OpenHash.yaml +22 -0
- data/doc/ri/OpenHash/method_missing-i.yaml +12 -0
- data/doc/ri/OpenHash/new-c.yaml +12 -0
- data/doc/ri/OpenObject/%3d%3d-i.yaml +12 -0
- data/doc/ri/OpenObject/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/OpenObject/%5b%5d-c.yaml +10 -0
- data/doc/ri/OpenObject/%5b%5d-i.yaml +10 -0
- data/doc/ri/OpenObject/as_hash%21-i.yaml +12 -0
- data/doc/ri/OpenObject/cdesc-OpenObject.yaml +77 -0
- data/doc/ri/OpenObject/default%21-i.yaml +12 -0
- data/doc/ri/OpenObject/define_slot-i.yaml +10 -0
- data/doc/ri/OpenObject/delete-i.yaml +11 -0
- data/doc/ri/OpenObject/each-i.yaml +12 -0
- data/doc/ri/OpenObject/fetch-i.yaml +10 -0
- data/doc/ri/OpenObject/initialize_copy-i.yaml +10 -0
- data/doc/ri/OpenObject/inspect-i.yaml +12 -0
- data/doc/ri/OpenObject/merge-i.yaml +12 -0
- data/doc/ri/OpenObject/method_missing-i.yaml +10 -0
- data/doc/ri/OpenObject/new-c.yaml +14 -0
- data/doc/ri/OpenObject/protect_slot-i.yaml +10 -0
- data/doc/ri/OpenObject/store-i.yaml +10 -0
- data/doc/ri/OpenObject/to_a-i.yaml +12 -0
- data/doc/ri/OpenObject/to_h-i.yaml +10 -0
- data/doc/ri/OpenObject/to_hash-i.yaml +10 -0
- data/doc/ri/OpenObject/to_openobject-i.yaml +10 -0
- data/doc/ri/OpenObject/to_proc-i.yaml +10 -0
- data/doc/ri/OpenObject/update-i.yaml +12 -0
- data/doc/ri/OpenStruct/%5b%5d%3d-i.yaml +14 -0
- data/doc/ri/OpenStruct/%5b%5d-i.yaml +14 -0
- data/doc/ri/OpenStruct/__merge__-i.yaml +14 -0
- data/doc/ri/OpenStruct/__update__-i.yaml +14 -0
- data/doc/ri/OpenStruct/cdesc-OpenStruct.yaml +35 -0
- data/doc/ri/OpenStruct/each-i.yaml +11 -0
- data/doc/ri/OpenStruct/instance_delegate-i.yaml +19 -0
- data/doc/ri/OpenStruct/new-c.yaml +18 -0
- data/doc/ri/OpenStruct/ostruct_delegate-i.yaml +12 -0
- data/doc/ri/OpenStruct/ostruct_merge-i.yaml +14 -0
- data/doc/ri/OpenStruct/ostruct_update-i.yaml +14 -0
- data/doc/ri/OpenStruct/to_h-i.yaml +11 -0
- data/doc/ri/PQueue/%3c%3c-i.yaml +12 -0
- data/doc/ri/PQueue/%3d%3d-i.yaml +12 -0
- data/doc/ri/PQueue/cdesc-PQueue.yaml +77 -0
- data/doc/ri/PQueue/clear-i.yaml +12 -0
- data/doc/ri/PQueue/downheap-i.yaml +14 -0
- data/doc/ri/PQueue/each_pop-i.yaml +12 -0
- data/doc/ri/PQueue/empty%3f-i.yaml +12 -0
- data/doc/ri/PQueue/heapify-i.yaml +12 -0
- data/doc/ri/PQueue/include%3f-i.yaml +12 -0
- data/doc/ri/PQueue/initialize_copy-i.yaml +10 -0
- data/doc/ri/PQueue/inspect-i.yaml +12 -0
- data/doc/ri/PQueue/merge-i.yaml +12 -0
- data/doc/ri/PQueue/new-c.yaml +18 -0
- data/doc/ri/PQueue/pop-i.yaml +18 -0
- data/doc/ri/PQueue/pop_array-i.yaml +12 -0
- data/doc/ri/PQueue/push-i.yaml +15 -0
- data/doc/ri/PQueue/push_all-i.yaml +15 -0
- data/doc/ri/PQueue/replace-i.yaml +14 -0
- data/doc/ri/PQueue/replace_top-i.yaml +14 -0
- data/doc/ri/PQueue/sort-i.yaml +12 -0
- data/doc/ri/PQueue/to_a-i.yaml +13 -0
- data/doc/ri/PQueue/top-i.yaml +12 -0
- data/doc/ri/PQueue/upheap-i.yaml +14 -0
- data/doc/ri/Paramix/Delegator/%5b%5d-i.yaml +10 -0
- data/doc/ri/Paramix/Delegator/append_features-i.yaml +11 -0
- data/doc/ri/Paramix/Delegator/cdesc-Delegator.yaml +33 -0
- data/doc/ri/Paramix/Delegator/extend_object-i.yaml +11 -0
- data/doc/ri/Paramix/Delegator/new-c.yaml +11 -0
- data/doc/ri/Paramix/append_features-c.yaml +10 -0
- data/doc/ri/Paramix/cdesc-Paramix.yaml +41 -0
- data/doc/ri/Paramix/new-c.yaml +12 -0
- data/doc/ri/PathList/Finder/cdesc-Finder.yaml +21 -0
- data/doc/ri/PathList/Finder/find-i.yaml +11 -0
- data/doc/ri/PathList/Finder/include%3f-i.yaml +12 -0
- data/doc/ri/PathList/cdesc-PathList.yaml +28 -0
- data/doc/ri/PathList/new-c.yaml +10 -0
- data/doc/ri/PathList/to_s-i.yaml +10 -0
- data/doc/ri/Pathname/%2f-c.yaml +14 -0
- data/doc/ri/Pathname/%5b%5d-c.yaml +14 -0
- data/doc/ri/Pathname/cdesc-Pathname.yaml +27 -0
- data/doc/ri/Pathname/home-c.yaml +14 -0
- data/doc/ri/Pathname/null-c.yaml +12 -0
- data/doc/ri/Pathname/root-c.yaml +12 -0
- data/doc/ri/Pathname/rootname-i.yaml +11 -0
- data/doc/ri/Pathname/work-c.yaml +12 -0
- data/doc/ri/Platform/%3d%3d%3d-i.yaml +10 -0
- data/doc/ri/Platform/%3d%3d-i.yaml +10 -0
- data/doc/ri/Platform/%3d%7e-i.yaml +10 -0
- data/doc/ri/Platform/cdesc-Platform.yaml +65 -0
- data/doc/ri/Platform/const_missing-c.yaml +10 -0
- data/doc/ri/Platform/inspect-i.yaml +10 -0
- data/doc/ri/Platform/local-c.yaml +10 -0
- data/doc/ri/Platform/match-c.yaml +10 -0
- data/doc/ri/Platform/new-c.yaml +10 -0
- data/doc/ri/Platform/supported-c.yaml +12 -0
- data/doc/ri/Platform/to_a-i.yaml +10 -0
- data/doc/ri/Platform/to_s-i.yaml +10 -0
- data/doc/ri/Pool/cdesc-Pool.yaml +27 -0
- data/doc/ri/Pool/new-c.yaml +10 -0
- data/doc/ri/Pool/obtain-i.yaml +12 -0
- data/doc/ri/Pool/pop-i.yaml +12 -0
- data/doc/ri/Pool/push-i.yaml +12 -0
- data/doc/ri/Proc/%2a-i.yaml +14 -0
- data/doc/ri/Proc/bind-i.yaml +16 -0
- data/doc/ri/Proc/cdesc-Proc.yaml +28 -0
- data/doc/ri/Proc/compose-i.yaml +14 -0
- data/doc/ri/Proc/curry-i.yaml +14 -0
- data/doc/ri/Proc/partial-i.yaml +20 -0
- data/doc/ri/Proc/to_method-i.yaml +14 -0
- data/doc/ri/Proc/to_openobject-i.yaml +16 -0
- data/doc/ri/ProgressBar/bar-i.yaml +10 -0
- data/doc/ri/ProgressBar/bar_mark%3d-i.yaml +10 -0
- data/doc/ri/ProgressBar/bytes-i.yaml +10 -0
- data/doc/ri/ProgressBar/cdesc-ProgressBar.yaml +76 -0
- data/doc/ri/ProgressBar/convert_bytes-i.yaml +10 -0
- data/doc/ri/ProgressBar/elapsed-i.yaml +10 -0
- data/doc/ri/ProgressBar/eol-i.yaml +10 -0
- data/doc/ri/ProgressBar/eta-i.yaml +12 -0
- data/doc/ri/ProgressBar/file_transfer_mode-i.yaml +10 -0
- data/doc/ri/ProgressBar/finish-i.yaml +10 -0
- data/doc/ri/ProgressBar/flush-i.yaml +10 -0
- data/doc/ri/ProgressBar/format%3d-i.yaml +10 -0
- data/doc/ri/ProgressBar/format_arguments%3d-i.yaml +10 -0
- data/doc/ri/ProgressBar/format_time-i.yaml +10 -0
- data/doc/ri/ProgressBar/get_width-i.yaml +10 -0
- data/doc/ri/ProgressBar/halt-i.yaml +10 -0
- data/doc/ri/ProgressBar/inc-i.yaml +10 -0
- data/doc/ri/ProgressBar/inspect-i.yaml +10 -0
- data/doc/ri/ProgressBar/new-c.yaml +10 -0
- data/doc/ri/ProgressBar/percentage-i.yaml +10 -0
- data/doc/ri/ProgressBar/set-i.yaml +10 -0
- data/doc/ri/ProgressBar/show-i.yaml +10 -0
- data/doc/ri/ProgressBar/show_progress-i.yaml +10 -0
- data/doc/ri/ProgressBar/stat-i.yaml +10 -0
- data/doc/ri/ProgressBar/stat_for_file_transfer-i.yaml +10 -0
- data/doc/ri/ProgressBar/title%3d-i.yaml +10 -0
- data/doc/ri/ProgressBar/title-i.yaml +10 -0
- data/doc/ri/ProgressBar/total_overflow%3d-i.yaml +10 -0
- data/doc/ri/ProgressBar/transfer_rate-i.yaml +10 -0
- data/doc/ri/Prototype/cdesc-Prototype.yaml +30 -0
- data/doc/ri/Prototype/fn-i.yaml +10 -0
- data/doc/ri/Prototype/meta-i.yaml +10 -0
- data/doc/ri/Prototype/method_missing-i.yaml +10 -0
- data/doc/ri/Prototype/new-c.yaml +12 -0
- data/doc/ri/Prototype/new-i.yaml +10 -0
- data/doc/ri/Prototype/trait-i.yaml +10 -0
- data/doc/ri/Prototype/traits-i.yaml +10 -0
- data/doc/ri/RWDelegator/%3d%3d-i.yaml +10 -0
- data/doc/ri/RWDelegator/cdesc-RWDelegator.yaml +28 -0
- data/doc/ri/RWDelegator/inspect-i.yaml +10 -0
- data/doc/ri/RWDelegator/method_missing-i.yaml +10 -0
- data/doc/ri/RWDelegator/new-c.yaml +10 -0
- data/doc/ri/Random/Array/at_rand%21-i.yaml +14 -0
- data/doc/ri/Random/Array/at_rand-i.yaml +14 -0
- data/doc/ri/Random/Array/cdesc-Array.yaml +31 -0
- data/doc/ri/Random/Array/pick%21-i.yaml +12 -0
- data/doc/ri/Random/Array/pick-i.yaml +12 -0
- data/doc/ri/Random/Array/rand_index-i.yaml +12 -0
- data/doc/ri/Random/Array/rand_subset-i.yaml +18 -0
- data/doc/ri/Random/Array/shuffle%21-i.yaml +16 -0
- data/doc/ri/Random/Array/shuffle-i.yaml +14 -0
- data/doc/ri/Random/Hash/at_rand%21-i.yaml +12 -0
- data/doc/ri/Random/Hash/at_rand-i.yaml +12 -0
- data/doc/ri/Random/Hash/cdesc-Hash.yaml +41 -0
- data/doc/ri/Random/Hash/pick-i.yaml +12 -0
- data/doc/ri/Random/Hash/pick_key-i.yaml +12 -0
- data/doc/ri/Random/Hash/pick_pair-i.yaml +12 -0
- data/doc/ri/Random/Hash/rand_key%21-i.yaml +15 -0
- data/doc/ri/Random/Hash/rand_key-i.yaml +14 -0
- data/doc/ri/Random/Hash/rand_pair%21-i.yaml +15 -0
- data/doc/ri/Random/Hash/rand_pair-i.yaml +14 -0
- data/doc/ri/Random/Hash/rand_value%21-i.yaml +17 -0
- data/doc/ri/Random/Hash/rand_value-i.yaml +15 -0
- data/doc/ri/Random/Hash/shuffle%21-i.yaml +14 -0
- data/doc/ri/Random/Hash/shuffle-i.yaml +14 -0
- data/doc/ri/Random/Object/cdesc-Object.yaml +16 -0
- data/doc/ri/Random/Object/maybe-i.yaml +14 -0
- data/doc/ri/Random/String/Self/cdesc-Self.yaml +20 -0
- data/doc/ri/Random/String/Self/rand_letter-i.yaml +14 -0
- data/doc/ri/Random/String/Self/random-i.yaml +12 -0
- data/doc/ri/Random/String/at_rand%21-i.yaml +14 -0
- data/doc/ri/Random/String/at_rand-i.yaml +14 -0
- data/doc/ri/Random/String/cdesc-String.yaml +30 -0
- data/doc/ri/Random/String/included-c.yaml +10 -0
- data/doc/ri/Random/String/rand_byte%21-i.yaml +14 -0
- data/doc/ri/Random/String/rand_byte-i.yaml +14 -0
- data/doc/ri/Random/String/rand_index-i.yaml +14 -0
- data/doc/ri/Random/String/shuffle%21-i.yaml +12 -0
- data/doc/ri/Random/String/shuffle-i.yaml +14 -0
- data/doc/ri/Random/append_features-c.yaml +11 -0
- data/doc/ri/Random/cdesc-Random.yaml +31 -0
- data/doc/ri/Random/number-c.yaml +11 -0
- data/doc/ri/Range/cdesc-Range.yaml +27 -0
- data/doc/ri/Range/combine-c.yaml +14 -0
- data/doc/ri/Range/combine-i.yaml +14 -0
- data/doc/ri/Range/overlap%3f-i.yaml +14 -0
- data/doc/ri/Range/to_r-i.yaml +14 -0
- data/doc/ri/Range/to_range-i.yaml +16 -0
- data/doc/ri/Range/umbrella-i.yaml +20 -0
- data/doc/ri/Range/within%3f-i.yaml +14 -0
- data/doc/ri/Recorder/__call__-i.yaml +10 -0
- data/doc/ri/Recorder/cdesc-Recorder.yaml +34 -0
- data/doc/ri/Recorder/inspect-i.yaml +10 -0
- data/doc/ri/Recorder/method_missing-i.yaml +10 -0
- data/doc/ri/Recorder/new-c.yaml +11 -0
- data/doc/ri/RecursiveDependency/cdesc-RecursiveDependency.yaml +15 -0
- data/doc/ri/Reference/__value__-i.yaml +11 -0
- data/doc/ri/Reference/become-i.yaml +10 -0
- data/doc/ri/Reference/cdesc-Reference.yaml +30 -0
- data/doc/ri/Reference/instance_delegate-i.yaml +12 -0
- data/doc/ri/Reference/method_missing-i.yaml +10 -0
- data/doc/ri/Reference/new-c.yaml +10 -0
- data/doc/ri/Regexp/arity-i.yaml +18 -0
- data/doc/ri/Regexp/cdesc-Regexp.yaml +20 -0
- data/doc/ri/Regexp/to_re-i.yaml +16 -0
- data/doc/ri/Regexp/to_regexp-i.yaml +16 -0
- data/doc/ri/Registerable/cdesc-Registerable.yaml +23 -0
- data/doc/ri/Registerable/register-i.yaml +12 -0
- data/doc/ri/Registerable/registry-i.yaml +12 -0
- data/doc/ri/Registerable/registry_invalid%3f-i.yaml +11 -0
- data/doc/ri/Semaphore/cdesc-Semaphore.yaml +36 -0
- data/doc/ri/Semaphore/down-i.yaml +12 -0
- data/doc/ri/Semaphore/exclusive-i.yaml +11 -0
- data/doc/ri/Semaphore/new-c.yaml +10 -0
- data/doc/ri/Semaphore/p-i.yaml +12 -0
- data/doc/ri/Semaphore/signal-i.yaml +13 -0
- data/doc/ri/Semaphore/synchronize-i.yaml +12 -0
- data/doc/ri/Semaphore/up-i.yaml +12 -0
- data/doc/ri/Semaphore/v-i.yaml +12 -0
- data/doc/ri/Semaphore/wait-i.yaml +13 -0
- data/doc/ri/Set/cdesc-Set.yaml +16 -0
- data/doc/ri/Set/power_set-i.yaml +10 -0
- data/doc/ri/Settings/Setting/cdesc-Setting.yaml +42 -0
- data/doc/ri/Settings/Setting/new-c.yaml +10 -0
- data/doc/ri/Settings/Setting/to_s-i.yaml +12 -0
- data/doc/ri/Settings/Setting/update-i.yaml +12 -0
- data/doc/ri/Settings/SettingCollection/cdesc-SettingCollection.yaml +23 -0
- data/doc/ri/Settings/SettingCollection/method_missing-i.yaml +12 -0
- data/doc/ri/Settings/add_setting-c.yaml +17 -0
- data/doc/ri/Settings/cdesc-Settings.yaml +33 -0
- data/doc/ri/Settings/load-c.yaml +12 -0
- data/doc/ri/Settings/method_missing-c.yaml +10 -0
- data/doc/ri/Settings/parse-c.yaml +12 -0
- data/doc/ri/Settings/settings-c.yaml +12 -0
- data/doc/ri/Settings/setup-c.yaml +15 -0
- data/doc/ri/Shellwords/cdesc-Shellwords.yaml +16 -0
- data/doc/ri/Shellwords/escape-i.yaml +12 -0
- data/doc/ri/SimpleStringIO/cdesc-SimpleStringIO.yaml +20 -0
- data/doc/ri/SimpleStringIO/new-c.yaml +10 -0
- data/doc/ri/SimpleStringIO/write-i.yaml +10 -0
- data/doc/ri/Snapshot/ValueHolder/cdesc-ValueHolder.yaml +24 -0
- data/doc/ri/Snapshot/ValueHolder/new-c.yaml +10 -0
- data/doc/ri/Snapshot/ValueHolder/restore_snapshot-i.yaml +10 -0
- data/doc/ri/Snapshot/ValueHolder/take_snapshot-i.yaml +10 -0
- data/doc/ri/Snapshot/add-i.yaml +10 -0
- data/doc/ri/Snapshot/cdesc-Snapshot.yaml +36 -0
- data/doc/ri/Snapshot/new-c.yaml +10 -0
- data/doc/ri/Snapshot/restore-i.yaml +10 -0
- data/doc/ri/Stackable/cdesc-Stackable.yaml +33 -0
- data/doc/ri/Stackable/peek-i.yaml +14 -0
- data/doc/ri/Stackable/poke-i.yaml +15 -0
- data/doc/ri/Stackable/pop-i.yaml +14 -0
- data/doc/ri/Stackable/pull-i.yaml +15 -0
- data/doc/ri/Stackable/push-i.yaml +14 -0
- data/doc/ri/Stackable/shift-i.yaml +12 -0
- data/doc/ri/Stackable/unshift-i.yaml +12 -0
- data/doc/ri/String/Style/camelize-c.yaml +18 -0
- data/doc/ri/String/Style/capitalize-c.yaml +12 -0
- data/doc/ri/String/Style/cdesc-Style.yaml +69 -0
- data/doc/ri/String/Style/classify-c.yaml +20 -0
- data/doc/ri/String/Style/dasherize-c.yaml +16 -0
- data/doc/ri/String/Style/demodulize-c.yaml +16 -0
- data/doc/ri/String/Style/downcase-c.yaml +12 -0
- data/doc/ri/String/Style/foreign_key-c.yaml +16 -0
- data/doc/ri/String/Style/humanize-c.yaml +16 -0
- data/doc/ri/String/Style/lowercamel-c.yaml +10 -0
- data/doc/ri/String/Style/lowercase-c.yaml +12 -0
- data/doc/ri/String/Style/methodize-c.yaml +18 -0
- data/doc/ri/String/Style/modulize-c.yaml +18 -0
- data/doc/ri/String/Style/ordinalize-c.yaml +16 -0
- data/doc/ri/String/Style/pathize-c.yaml +22 -0
- data/doc/ri/String/Style/snakecase-c.yaml +18 -0
- data/doc/ri/String/Style/tableize-c.yaml +16 -0
- data/doc/ri/String/Style/titlecase-c.yaml +14 -0
- data/doc/ri/String/Style/titleize-c.yaml +18 -0
- data/doc/ri/String/Style/underscore-c.yaml +18 -0
- data/doc/ri/String/Style/upcase-c.yaml +12 -0
- data/doc/ri/String/Style/uppercamel-c.yaml +10 -0
- data/doc/ri/String/Style/uppercase-c.yaml +12 -0
- data/doc/ri/String/Words/brief-i.yaml +14 -0
- data/doc/ri/String/Words/cdesc-Words.yaml +28 -0
- data/doc/ri/String/Words/each_word-i.yaml +14 -0
- data/doc/ri/String/Words/word_filter%21-i.yaml +14 -0
- data/doc/ri/String/Words/word_filter-i.yaml +14 -0
- data/doc/ri/String/Words/word_wrap%21-i.yaml +14 -0
- data/doc/ri/String/Words/word_wrap-i.yaml +18 -0
- data/doc/ri/String/Words/words-i.yaml +14 -0
- data/doc/ri/String/cdesc-String.yaml +17 -0
- data/doc/ri/Struct/cdesc-Struct.yaml +18 -0
- data/doc/ri/Struct/restore_snapshot-i.yaml +10 -0
- data/doc/ri/Struct/take_snapshot-i.yaml +10 -0
- data/doc/ri/Symbol/cdesc-Symbol.yaml +15 -0
- data/doc/ri/SyncArray/cdesc-SyncArray.yaml +19 -0
- data/doc/ri/SyncArray/new-c.yaml +12 -0
- data/doc/ri/SyncHash/Delegator/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/%5b%5d-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/cdesc-Delegator.yaml +30 -0
- data/doc/ri/SyncHash/Delegator/clear-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/delete-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/keys-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/size-i.yaml +10 -0
- data/doc/ri/SyncHash/Delegator/values-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/%5b%5d-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/cdesc-Inheritor.yaml +30 -0
- data/doc/ri/SyncHash/Inheritor/clear-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/delete-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/keys-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/size-i.yaml +10 -0
- data/doc/ri/SyncHash/Inheritor/values-i.yaml +10 -0
- data/doc/ri/SyncHash/cdesc-SyncHash.yaml +38 -0
- data/doc/ri/SyncHash/new-c.yaml +10 -0
- data/doc/ri/System/argf-i.yaml +12 -0
- data/doc/ri/System/argv-i.yaml +11 -0
- data/doc/ri/System/cdesc-System.yaml +145 -0
- data/doc/ri/System/child_status-i.yaml +11 -0
- data/doc/ri/System/coding%3d-i.yaml +10 -0
- data/doc/ri/System/coding-i.yaml +10 -0
- data/doc/ri/System/current_platform-i.yaml +12 -0
- data/doc/ri/System/data-i.yaml +12 -0
- data/doc/ri/System/debug-i.yaml +10 -0
- data/doc/ri/System/default_input-i.yaml +13 -0
- data/doc/ri/System/default_output%3d-i.yaml +11 -0
- data/doc/ri/System/default_output-i.yaml +11 -0
- data/doc/ri/System/defin-i.yaml +12 -0
- data/doc/ri/System/defout%3d-i.yaml +12 -0
- data/doc/ri/System/defout-i.yaml +12 -0
- data/doc/ri/System/env-i.yaml +10 -0
- data/doc/ri/System/environment-i.yaml +10 -0
- data/doc/ri/System/error_info-i.yaml +10 -0
- data/doc/ri/System/error_position-i.yaml +10 -0
- data/doc/ri/System/exit_status-i.yaml +12 -0
- data/doc/ri/System/extentions-i.yaml +10 -0
- data/doc/ri/System/fs%3d-i.yaml +12 -0
- data/doc/ri/System/fs-i.yaml +12 -0
- data/doc/ri/System/input_field_separator%3d-i.yaml +11 -0
- data/doc/ri/System/input_field_separator-i.yaml +11 -0
- data/doc/ri/System/input_line_number-i.yaml +11 -0
- data/doc/ri/System/input_lineno-i.yaml +12 -0
- data/doc/ri/System/input_record_separator%3d-i.yaml +11 -0
- data/doc/ri/System/input_record_separator-i.yaml +11 -0
- data/doc/ri/System/line_end_processing-i.yaml +10 -0
- data/doc/ri/System/load_path-i.yaml +12 -0
- data/doc/ri/System/loaded_features-i.yaml +11 -0
- data/doc/ri/System/match_platform-i.yaml +11 -0
- data/doc/ri/System/ofs%3d-i.yaml +12 -0
- data/doc/ri/System/ofs-i.yaml +12 -0
- data/doc/ri/System/options-i.yaml +12 -0
- data/doc/ri/System/ors%3d-i.yaml +12 -0
- data/doc/ri/System/ors-i.yaml +12 -0
- data/doc/ri/System/output_field_separator%3d-i.yaml +11 -0
- data/doc/ri/System/output_field_separator-i.yaml +11 -0
- data/doc/ri/System/output_record_separator%3d-i.yaml +11 -0
- data/doc/ri/System/output_record_separator-i.yaml +11 -0
- data/doc/ri/System/pid-i.yaml +12 -0
- data/doc/ri/System/platform-i.yaml +10 -0
- data/doc/ri/System/process_id-i.yaml +15 -0
- data/doc/ri/System/program_loop-i.yaml +10 -0
- data/doc/ri/System/program_name%3d-i.yaml +10 -0
- data/doc/ri/System/program_name-i.yaml +12 -0
- data/doc/ri/System/release-i.yaml +10 -0
- data/doc/ri/System/required-i.yaml +12 -0
- data/doc/ri/System/rs%3d-i.yaml +12 -0
- data/doc/ri/System/rs-i.yaml +12 -0
- data/doc/ri/System/rubylibdir-i.yaml +10 -0
- data/doc/ri/System/rubypath-i.yaml +10 -0
- data/doc/ri/System/safe-i.yaml +10 -0
- data/doc/ri/System/stderr%3d-i.yaml +10 -0
- data/doc/ri/System/stderr-i.yaml +10 -0
- data/doc/ri/System/stdin%3d-i.yaml +10 -0
- data/doc/ri/System/stdin-i.yaml +12 -0
- data/doc/ri/System/stdout%3d-i.yaml +10 -0
- data/doc/ri/System/stdout-i.yaml +10 -0
- data/doc/ri/System/verbose%3d-i.yaml +10 -0
- data/doc/ri/System/verbose-i.yaml +10 -0
- data/doc/ri/System/version-i.yaml +10 -0
- data/doc/ri/Time/cdesc-Time.yaml +17 -0
- data/doc/ri/Timer/Dummy/cdesc-Dummy.yaml +20 -0
- data/doc/ri/Timer/Dummy/start-i.yaml +10 -0
- data/doc/ri/Timer/Dummy/stop-i.yaml +10 -0
- data/doc/ri/Timer/cdesc-Timer.yaml +57 -0
- data/doc/ri/Timer/defuse-i.yaml +12 -0
- data/doc/ri/Timer/limit-i.yaml +12 -0
- data/doc/ri/Timer/new-c.yaml +10 -0
- data/doc/ri/Timer/on_timeout-i.yaml +10 -0
- data/doc/ri/Timer/reset-i.yaml +12 -0
- data/doc/ri/Timer/reset_limit-i.yaml +14 -0
- data/doc/ri/Timer/running%3f-i.yaml +12 -0
- data/doc/ri/Timer/start-i.yaml +12 -0
- data/doc/ri/Timer/stop-i.yaml +12 -0
- data/doc/ri/Timer/stopped%3f-i.yaml +12 -0
- data/doc/ri/Timer/total_time-i.yaml +12 -0
- data/doc/ri/TracePoint/%3d%3d%3d-i.yaml +12 -0
- data/doc/ri/TracePoint/active%3d-c.yaml +10 -0
- data/doc/ri/TracePoint/active-c.yaml +10 -0
- data/doc/ri/TracePoint/back-i.yaml +12 -0
- data/doc/ri/TracePoint/bind-i.yaml +12 -0
- data/doc/ri/TracePoint/called-i.yaml +13 -0
- data/doc/ri/TracePoint/callee-i.yaml +13 -0
- data/doc/ri/TracePoint/cdesc-TracePoint.yaml +82 -0
- data/doc/ri/TracePoint/event%3f-i.yaml +12 -0
- data/doc/ri/TracePoint/event_map-i.yaml +10 -0
- data/doc/ri/TracePoint/eventless%3f-i.yaml +10 -0
- data/doc/ri/TracePoint/method_name-i.yaml +12 -0
- data/doc/ri/TracePoint/new-c.yaml +12 -0
- data/doc/ri/TracePoint/self-i.yaml +12 -0
- data/doc/ri/TracePoint/trace-c.yaml +12 -0
- data/doc/ri/TrueClass/cdesc-TrueClass.yaml +15 -0
- data/doc/ri/Tuple/%3c%3c-i.yaml +12 -0
- data/doc/ri/Tuple/%3c%3d%3e-i.yaml +10 -0
- data/doc/ri/Tuple/%3d%7e-i.yaml +12 -0
- data/doc/ri/Tuple/%5b%5d%3d-i.yaml +10 -0
- data/doc/ri/Tuple/%5b%5d-c.yaml +10 -0
- data/doc/ri/Tuple/%5b%5d-i.yaml +10 -0
- data/doc/ri/Tuple/cast_from_array-c.yaml +11 -0
- data/doc/ri/Tuple/cast_from_string-c.yaml +20 -0
- data/doc/ri/Tuple/cdesc-Tuple.yaml +113 -0
- data/doc/ri/Tuple/constraint_to_lambda-c.yaml +12 -0
- data/doc/ri/Tuple/divider-i.yaml +10 -0
- data/doc/ri/Tuple/each-i.yaml +10 -0
- data/doc/ri/Tuple/each_index-i.yaml +10 -0
- data/doc/ri/Tuple/empty%3f-i.yaml +10 -0
- data/doc/ri/Tuple/eql%3f-i.yaml +12 -0
- data/doc/ri/Tuple/first-i.yaml +10 -0
- data/doc/ri/Tuple/hash-i.yaml +12 -0
- data/doc/ri/Tuple/index-i.yaml +10 -0
- data/doc/ri/Tuple/inspect-i.yaml +10 -0
- data/doc/ri/Tuple/last-i.yaml +10 -0
- data/doc/ri/Tuple/length-i.yaml +10 -0
- data/doc/ri/Tuple/major-i.yaml +12 -0
- data/doc/ri/Tuple/minor-i.yaml +10 -0
- data/doc/ri/Tuple/multiton_id-c.yaml +10 -0
- data/doc/ri/Tuple/new-c.yaml +10 -0
- data/doc/ri/Tuple/parse_constraint-c.yaml +10 -0
- data/doc/ri/Tuple/pop-i.yaml +10 -0
- data/doc/ri/Tuple/pot-i.yaml +13 -0
- data/doc/ri/Tuple/pull-i.yaml +13 -0
- data/doc/ri/Tuple/push-i.yaml +10 -0
- data/doc/ri/Tuple/rindex-i.yaml +10 -0
- data/doc/ri/Tuple/shift-i.yaml +12 -0
- data/doc/ri/Tuple/size-i.yaml +10 -0
- data/doc/ri/Tuple/teeny-i.yaml +10 -0
- data/doc/ri/Tuple/to_a-i.yaml +10 -0
- data/doc/ri/Tuple/to_ary-i.yaml +10 -0
- data/doc/ri/Tuple/to_s-i.yaml +10 -0
- data/doc/ri/Tuple/to_t-i.yaml +10 -0
- data/doc/ri/Tuple/to_tuple-i.yaml +10 -0
- data/doc/ri/Tuple/unshift-i.yaml +12 -0
- data/doc/ri/Tuple/values-i.yaml +10 -0
- data/doc/ri/TypeCast/Class/cast_from-i.yaml +14 -0
- data/doc/ri/TypeCast/Class/cdesc-Class.yaml +18 -0
- data/doc/ri/TypeCast/Object/cast_to-i.yaml +14 -0
- data/doc/ri/TypeCast/Object/cdesc-Object.yaml +18 -0
- data/doc/ri/TypeCast/cdesc-TypeCast.yaml +52 -0
- data/doc/ri/TypeCastException/cdesc-TypeCastException.yaml +17 -0
- data/doc/ri/URI/Hash/cdesc-Hash.yaml +16 -0
- data/doc/ri/URI/Hash/to_uri-i.yaml +11 -0
- data/doc/ri/URI/Kernel/cdesc-Kernel.yaml +18 -0
- data/doc/ri/URI/Kernel/unuri-i.yaml +11 -0
- data/doc/ri/URI/Kernel/uri-i.yaml +11 -0
- data/doc/ri/URI/cdesc-URI.yaml +38 -0
- data/doc/ri/URI/cgi_escape-i.yaml +12 -0
- data/doc/ri/URI/cgi_parse-i.yaml +11 -0
- data/doc/ri/URI/cgi_unescape-i.yaml +11 -0
- data/doc/ri/URI/chomp_query_string-i.yaml +16 -0
- data/doc/ri/URI/decode-i.yaml +12 -0
- data/doc/ri/URI/get_query_string-i.yaml +16 -0
- data/doc/ri/URI/hash_to_query-i.yaml +15 -0
- data/doc/ri/URI/hash_to_query_string-i.yaml +12 -0
- data/doc/ri/URI/query_string_to_hash-i.yaml +12 -0
- data/doc/ri/URI/query_to_hash-i.yaml +17 -0
- data/doc/ri/URI/update_query_string-i.yaml +18 -0
- data/doc/ri/URI/update_request_uri-i.yaml +12 -0
- data/doc/ri/UnboundMethod/arguments-i.yaml +18 -0
- data/doc/ri/UnboundMethod/cdesc-UnboundMethod.yaml +18 -0
- data/doc/ri/UnboundMethod/name-i.yaml +14 -0
- data/doc/ri/Uninheritable/cdesc-Uninheritable.yaml +21 -0
- data/doc/ri/Uninheritable/inherited-i.yaml +12 -0
- data/doc/ri/UploadUtils/cdesc-UploadUtils.yaml +47 -0
- data/doc/ri/UploadUtils/files-i.yaml +12 -0
- data/doc/ri/UploadUtils/ftp-i.yaml +12 -0
- data/doc/ri/UploadUtils/rsync-i.yaml +12 -0
- data/doc/ri/UploadUtils/sftp-i.yaml +12 -0
- data/doc/ri/UploadUtils/stage_linkdir-i.yaml +12 -0
- data/doc/ri/UploadUtils/stage_transfer-i.yaml +20 -0
- data/doc/ri/UploadUtils/upload-i.yaml +12 -0
- data/doc/ri/UploadUtils/upload_parameters-i.yaml +12 -0
- data/doc/ri/VersionNumber/%3c%3d%3e-i.yaml +12 -0
- data/doc/ri/VersionNumber/%3d%7e-i.yaml +12 -0
- data/doc/ri/VersionNumber/%5b%5d-i.yaml +10 -0
- data/doc/ri/VersionNumber/cdesc-VersionNumber.yaml +45 -0
- data/doc/ri/VersionNumber/constraint_lambda-c.yaml +12 -0
- data/doc/ri/VersionNumber/inspect-i.yaml +10 -0
- data/doc/ri/VersionNumber/major-i.yaml +12 -0
- data/doc/ri/VersionNumber/method_missing-i.yaml +12 -0
- data/doc/ri/VersionNumber/minor-i.yaml +12 -0
- data/doc/ri/VersionNumber/new-c.yaml +10 -0
- data/doc/ri/VersionNumber/parse_constraint-c.yaml +10 -0
- data/doc/ri/VersionNumber/teeny-i.yaml +12 -0
- data/doc/ri/VersionNumber/to_s-i.yaml +10 -0
- data/doc/ri/VersionNumber/to_str-i.yaml +12 -0
- data/doc/ri/Weekdays/after-i.yaml +12 -0
- data/doc/ri/Weekdays/ago-i.yaml +13 -0
- data/doc/ri/Weekdays/before-i.yaml +12 -0
- data/doc/ri/Weekdays/cdesc-Weekdays.yaml +38 -0
- data/doc/ri/Weekdays/from_now-i.yaml +12 -0
- data/doc/ri/Weekdays/new-c.yaml +10 -0
- data/doc/ri/Weekdays/since-i.yaml +13 -0
- data/doc/ri/Weekdays/step-i.yaml +10 -0
- data/doc/ri/Weekdays/until-i.yaml +12 -0
- data/doc/ri/XOXO/Parser/cdesc-Parser.yaml +15 -0
- data/doc/ri/XOXO/cdesc-XOXO.yaml +25 -0
- data/doc/ri/XOXO/dump-c.yaml +35 -0
- data/doc/ri/XOXO/load-c.yaml +12 -0
- data/doc/ri/XOXO/make_xoxo-c.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/cdesc-DryRun.yaml +32 -0
- data/doc/ri/ZipUtils/DryRun/compress-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/tar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/tar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/untar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/untar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/unzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/DryRun/zip-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/cdesc-NoWrite.yaml +32 -0
- data/doc/ri/ZipUtils/NoWrite/compress-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/tar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/tar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/untar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/untar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/unzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/NoWrite/zip-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/cdesc-Verbose.yaml +32 -0
- data/doc/ri/ZipUtils/Verbose/compress-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/tar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/tar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/untar_bzip2-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/untar_gzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/unzip-i.yaml +10 -0
- data/doc/ri/ZipUtils/Verbose/zip-i.yaml +10 -0
- data/doc/ri/ZipUtils/cdesc-ZipUtils.yaml +50 -0
- data/doc/ri/ZipUtils/compress-i.yaml +27 -0
- data/doc/ri/ZipUtils/tar_bzip-i.yaml +12 -0
- data/doc/ri/ZipUtils/tar_bzip2-i.yaml +15 -0
- data/doc/ri/ZipUtils/tar_gzip-i.yaml +13 -0
- data/doc/ri/ZipUtils/tar_j-i.yaml +12 -0
- data/doc/ri/ZipUtils/tar_z-i.yaml +12 -0
- data/doc/ri/ZipUtils/tgz-i.yaml +11 -0
- data/doc/ri/ZipUtils/untar_bzip-i.yaml +12 -0
- data/doc/ri/ZipUtils/untar_bzip2-i.yaml +15 -0
- data/doc/ri/ZipUtils/untar_gzip-i.yaml +13 -0
- data/doc/ri/ZipUtils/untar_j-i.yaml +12 -0
- data/doc/ri/ZipUtils/untar_z-i.yaml +12 -0
- data/doc/ri/ZipUtils/unzip-i.yaml +12 -0
- data/doc/ri/ZipUtils/zip-i.yaml +12 -0
- data/doc/ri/created.rid +1 -0
- data/lib/core/facets-live.rb +17 -0
- data/lib/core/facets.rb +11 -0
- data/lib/core/facets/array.rb +23 -0
- data/lib/core/facets/array/combination.rb +60 -0
- data/lib/{facets → core/facets}/array/conjoin.rb +0 -0
- data/lib/{facets → core/facets}/array/delete.rb +0 -0
- data/lib/{facets → core/facets}/array/indexable.rb +0 -0
- data/lib/{facets → core/facets}/array/merge.rb +0 -0
- data/lib/{facets → core/facets}/array/not_empty.rb +0 -0
- data/lib/{facets → core/facets}/array/only.rb +0 -0
- data/lib/{facets → core/facets}/array/pad.rb +0 -0
- data/lib/core/facets/array/permutation.rb +30 -0
- data/lib/core/facets/array/product.rb +57 -0
- data/lib/core/facets/array/recursively.rb +30 -0
- data/lib/{facets → core/facets}/array/rotate.rb +0 -0
- data/lib/{facets → core/facets}/array/select.rb +0 -0
- data/lib/{facets → core/facets}/array/splice.rb +0 -0
- data/lib/{facets → core/facets}/array/stackable.rb +0 -0
- data/lib/{facets → core/facets}/array/traverse.rb +0 -0
- data/lib/core/facets/binding.rb +8 -0
- data/lib/core/facets/binding/caller.rb +54 -0
- data/lib/core/facets/binding/defined.rb +13 -0
- data/lib/core/facets/binding/eval.rb +18 -0
- data/lib/core/facets/binding/local_variables.rb +15 -0
- data/lib/core/facets/binding/opvars.rb +24 -0
- data/lib/core/facets/binding/self.rb +12 -0
- data/lib/{facets → core/facets}/bitmask.rb +0 -0
- data/lib/{facets → core/facets}/blank.rb +0 -0
- data/lib/{facets → core/facets}/boolean.rb +0 -0
- data/lib/{facets → core/facets}/callstack.rb +0 -0
- data/lib/core/facets/class.rb +7 -0
- data/lib/{facets → core/facets}/class/descendents.rb +0 -0
- data/lib/{facets → core/facets}/class/prepend.rb +0 -0
- data/lib/{facets → core/facets}/class/subclasses.rb +0 -0
- data/lib/core/facets/class/to_methodname.rb +11 -0
- data/lib/core/facets/class/to_pathname.rb +12 -0
- data/lib/core/facets/class/to_proc.rb +42 -0
- data/lib/core/facets/comparable.rb +4 -0
- data/lib/{facets → core/facets}/comparable/bound.rb +0 -0
- data/lib/{facets → core/facets}/comparable/cmp.rb +0 -0
- data/lib/{facets → core/facets}/comparable/comparable.rb +0 -0
- data/lib/core/facets/dir.rb +7 -0
- data/lib/{facets → core/facets}/dir/ascend.rb +0 -0
- data/lib/{facets → core/facets}/dir/descend.rb +0 -0
- data/lib/{facets → core/facets}/dir/multiglob.rb +0 -0
- data/lib/{facets → core/facets}/dir/parent.rb +0 -0
- data/lib/{facets → core/facets}/dir/recurse.rb +0 -0
- data/lib/core/facets/enumerable.rb +21 -0
- data/lib/{facets → core/facets}/enumerable/accumulate.rb +0 -0
- data/lib/core/facets/enumerable/cluster_by.rb +21 -0
- data/lib/{facets → core/facets}/enumerable/collect.rb +0 -0
- data/lib/core/facets/enumerable/count.rb +26 -0
- data/lib/{facets → core/facets}/enumerable/divide.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/duplicates.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/each_by.rb +0 -0
- data/lib/core/facets/enumerable/group_by.rb +27 -0
- data/lib/{facets → core/facets}/enumerable/inject.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/map_send.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/mash.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/mode.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/modulate.rb +0 -0
- data/lib/core/facets/enumerable/none.rb +31 -0
- data/lib/{facets → core/facets}/enumerable/occur.rb +0 -0
- data/lib/core/facets/enumerable/one.rb +38 -0
- data/lib/{facets → core/facets}/enumerable/probability.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/split.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/sum.rb +0 -0
- data/lib/{facets → core/facets}/enumerable/uniq_by.rb +0 -0
- data/lib/{facets → core/facets}/exception.rb +0 -0
- data/lib/{facets → core/facets}/exception/detail.rb +0 -0
- data/lib/{facets → core/facets}/exception/suppress.rb +0 -0
- data/lib/core/facets/file.rb +6 -0
- data/lib/{facets → core/facets}/file/null.rb +0 -0
- data/lib/{facets → core/facets}/file/read.rb +0 -0
- data/lib/core/facets/file/rewrite.rb +88 -0
- data/lib/core/facets/file/rootname.rb +33 -0
- data/lib/{facets → core/facets}/file/write.rb +0 -0
- data/lib/core/facets/filetest.rb +1 -0
- data/lib/{facets → core/facets}/filetest/root.rb +0 -0
- data/lib/core/facets/float.rb +1 -0
- data/lib/{facets → core/facets}/float/round.rb +0 -0
- data/lib/{facets → core/facets}/functor.rb +0 -0
- data/lib/core/facets/hash.rb +23 -0
- data/lib/{facets → core/facets}/hash/alias.rb +0 -0
- data/lib/{facets → core/facets}/hash/argumentize.rb +0 -0
- data/lib/{facets → core/facets}/hash/at.rb +0 -0
- data/lib/{facets → core/facets}/hash/autonew.rb +0 -0
- data/lib/{facets → core/facets}/hash/collate.rb +0 -0
- data/lib/{facets → core/facets}/hash/delete.rb +0 -0
- data/lib/{facets → core/facets}/hash/diff.rb +0 -0
- data/lib/{facets → core/facets}/hash/except.rb +0 -0
- data/lib/{facets → core/facets}/hash/insert.rb +0 -0
- data/lib/{facets → core/facets}/hash/inverse.rb +0 -0
- data/lib/{facets → core/facets}/hash/join.rb +0 -0
- data/lib/{facets → core/facets}/hash/keys.rb +0 -0
- data/lib/{facets → core/facets}/hash/mash.rb +0 -0
- data/lib/core/facets/hash/merge.rb +30 -0
- data/lib/{facets → core/facets}/hash/op.rb +0 -0
- data/lib/core/facets/hash/recursive_merge.rb +33 -0
- data/lib/core/facets/hash/recursively.rb +29 -0
- data/lib/core/facets/hash/rekey.rb +59 -0
- data/lib/{facets → core/facets}/hash/select.rb +0 -0
- data/lib/core/facets/hash/slice.rb +25 -0
- data/lib/{facets → core/facets}/hash/stringify_keys.rb +0 -0
- data/lib/{facets → core/facets}/hash/swap.rb +0 -0
- data/lib/{facets → core/facets}/hash/symbolize_keys.rb +0 -0
- data/lib/{facets → core/facets}/hash/to_h.rb +0 -0
- data/lib/{facets → core/facets}/hash/to_proc.rb +0 -0
- data/lib/{facets → core/facets}/hash/to_struct.rb +0 -0
- data/lib/{facets → core/facets}/hash/traverse.rb +0 -0
- data/lib/core/facets/hash/update.rb +75 -0
- data/lib/{facets → core/facets}/hash/weave.rb +0 -0
- data/lib/{facets → core/facets}/hash/zipnew.rb +0 -0
- data/lib/core/facets/integer.rb +8 -0
- data/lib/core/facets/integer/even.rb +1 -0
- data/lib/{facets → core/facets}/integer/factorial.rb +0 -0
- data/lib/{facets → core/facets}/integer/multiple.rb +0 -0
- data/lib/core/facets/integer/odd.rb +33 -0
- data/lib/{facets → core/facets}/integer/of.rb +0 -0
- data/lib/{facets → core/facets}/integer/ordinal.rb +0 -0
- data/lib/core/facets/kernel.rb +31 -0
- data/lib/core/facets/kernel/__callee__.rb +1 -0
- data/lib/{facets → core/facets}/kernel/__class__.rb +0 -0
- data/lib/{facets → core/facets}/kernel/__dir__.rb +0 -0
- data/lib/{facets → core/facets}/kernel/__get__.rb +0 -0
- data/lib/core/facets/kernel/__method__.rb +36 -0
- data/lib/{facets → core/facets}/kernel/__set__.rb +0 -0
- data/lib/{facets → core/facets}/kernel/as.rb +0 -0
- data/lib/core/facets/kernel/ask.rb +27 -0
- data/lib/{facets → core/facets}/kernel/attr_singleton.rb +0 -0
- data/lib/{facets → core/facets}/kernel/complete.rb +0 -0
- data/lib/{facets → core/facets}/kernel/constant.rb +0 -0
- data/lib/{facets → core/facets}/kernel/d.rb +0 -0
- data/lib/{facets → core/facets}/kernel/deep_copy.rb +0 -0
- data/lib/{facets → core/facets}/kernel/demo.rb +0 -0
- data/lib/{facets → core/facets}/kernel/ergo.rb +0 -0
- data/lib/{facets → core/facets}/kernel/here.rb +0 -0
- data/lib/{facets → core/facets}/kernel/in.rb +0 -0
- data/lib/core/facets/kernel/instance.rb +19 -0
- data/lib/{facets → core/facets}/kernel/instance_assign.rb +0 -0
- data/lib/{facets → core/facets}/kernel/instance_class.rb +0 -0
- data/lib/{facets → core/facets}/kernel/instance_exec.rb +0 -0
- data/lib/{facets → core/facets}/kernel/instance_send.rb +0 -0
- data/lib/{facets → core/facets}/kernel/instance_variables.rb +0 -0
- data/lib/{facets → core/facets}/kernel/load.rb +0 -0
- data/lib/{facets → core/facets}/kernel/maybe.rb +0 -0
- data/lib/{facets → core/facets}/kernel/not_nil.rb +0 -0
- data/lib/{facets → core/facets}/kernel/object_class.rb +0 -0
- data/lib/{facets → core/facets}/kernel/object_hexid.rb +0 -0
- data/lib/{facets → core/facets}/kernel/object_send.rb +0 -0
- data/lib/{facets → core/facets}/kernel/p.rb +0 -0
- data/lib/{facets → core/facets}/kernel/populate.rb +0 -0
- data/lib/{facets → core/facets}/kernel/resc.rb +0 -0
- data/lib/{facets → core/facets}/kernel/respond.rb +0 -0
- data/lib/{facets → core/facets}/kernel/returning.rb +0 -0
- data/lib/{facets → core/facets}/kernel/silence.rb +0 -0
- data/lib/{facets → core/facets}/kernel/singleton_class.rb +0 -0
- data/lib/{facets → core/facets}/kernel/suppress.rb +0 -0
- data/lib/core/facets/kernel/tap.rb +32 -0
- data/lib/{facets → core/facets}/kernel/try.rb +0 -0
- data/lib/{facets → core/facets}/kernel/val.rb +0 -0
- data/lib/{facets → core/facets}/kernel/with.rb +0 -0
- data/lib/{facets → core/facets}/lazy.rb +0 -0
- data/lib/core/facets/matchdata.rb +4 -0
- data/lib/{facets → core/facets}/matchdata/match.rb +0 -0
- data/lib/{facets → core/facets}/matchdata/matchset.rb +0 -0
- data/lib/{facets → core/facets}/metaid.rb +0 -0
- data/lib/core/facets/module.rb +20 -0
- data/lib/{facets → core/facets}/module/abstract.rb +0 -0
- data/lib/{facets → core/facets}/module/alias.rb +0 -0
- data/lib/{facets → core/facets}/module/ancestor.rb +0 -0
- data/lib/{facets → core/facets}/module/basename.rb +0 -0
- data/lib/{facets → core/facets}/module/can.rb +0 -0
- data/lib/{facets → core/facets}/module/class.rb +0 -0
- data/lib/{facets → core/facets}/module/clone.rb +0 -0
- data/lib/core/facets/module/conflict.rb +56 -0
- data/lib/{facets → core/facets}/module/include_function_module.rb +0 -0
- data/lib/{facets → core/facets}/module/instance_methods.rb +0 -0
- data/lib/{facets → core/facets}/module/is.rb +0 -0
- data/lib/{facets → core/facets}/module/modspace.rb +0 -0
- data/lib/{facets → core/facets}/module/module_load.rb +0 -0
- data/lib/{facets → core/facets}/module/nesting.rb +0 -0
- data/lib/{facets → core/facets}/module/op.rb +0 -0
- data/lib/{facets → core/facets}/module/pathize.rb +0 -0
- data/lib/{facets → core/facets}/module/prepend.rb +0 -0
- data/lib/{facets → core/facets}/module/revise.rb +0 -0
- data/lib/{facets → core/facets}/module/spacename.rb +0 -0
- data/lib/core/facets/nilclass.rb +3 -0
- data/lib/core/facets/nilclass/to_f.rb +17 -0
- data/lib/core/facets/numeric.rb +4 -0
- data/lib/{facets → core/facets}/numeric/approx.rb +0 -0
- data/lib/{facets → core/facets}/numeric/distance.rb +0 -0
- data/lib/{facets → core/facets}/numeric/round.rb +0 -0
- data/lib/core/facets/proc.rb +7 -0
- data/lib/{facets → core/facets}/proc/bind.rb +0 -0
- data/lib/{facets → core/facets}/proc/compose.rb +0 -0
- data/lib/{facets → core/facets}/proc/curry.rb +0 -0
- data/lib/{facets → core/facets}/proc/partial.rb +0 -0
- data/lib/{facets → core/facets}/proc/to_method.rb +0 -0
- data/lib/{facets → core/facets}/proc/update.rb +0 -0
- data/lib/core/facets/range.rb +6 -0
- data/lib/{facets → core/facets}/range/combine.rb +0 -0
- data/lib/{facets → core/facets}/range/overlap.rb +0 -0
- data/lib/{facets → core/facets}/range/to_r.rb +0 -0
- data/lib/{facets → core/facets}/range/umbrella.rb +0 -0
- data/lib/{facets → core/facets}/range/within.rb +0 -0
- data/lib/core/facets/regexp.rb +3 -0
- data/lib/{facets → core/facets}/regexp/arity.rb +0 -0
- data/lib/{facets → core/facets}/regexp/to_re.rb +0 -0
- data/lib/core/facets/string.rb +35 -0
- data/lib/{facets → core/facets}/string/align.rb +0 -0
- data/lib/{facets → core/facets}/string/bracket.rb +0 -0
- data/lib/core/facets/string/bytes.rb +15 -0
- data/lib/{facets → core/facets}/string/camelcase.rb +0 -0
- data/lib/{facets → core/facets}/string/capitalized.rb +0 -0
- data/lib/core/facets/string/chars.rb +16 -0
- data/lib/{facets → core/facets}/string/chomp.rb +0 -0
- data/lib/{facets → core/facets}/string/cleave.rb +0 -0
- data/lib/{facets → core/facets}/string/divide.rb +0 -0
- data/lib/core/facets/string/each_char.rb +20 -0
- data/lib/core/facets/string/end_with.rb +1 -0
- data/lib/{facets → core/facets}/string/fold.rb +0 -0
- data/lib/{facets → core/facets}/string/interpolate.rb +0 -0
- data/lib/{facets → core/facets}/string/line_wrap.rb +0 -0
- data/lib/core/facets/string/lines.rb +16 -0
- data/lib/{facets → core/facets}/string/mscan.rb +0 -0
- data/lib/{facets → core/facets}/string/natcmp.rb +0 -0
- data/lib/{facets → core/facets}/string/nchar.rb +0 -0
- data/lib/{facets → core/facets}/string/range.rb +0 -0
- data/lib/{facets → core/facets}/string/rewrite.rb +0 -0
- data/lib/{facets → core/facets}/string/shatter.rb +0 -0
- data/lib/{facets → core/facets}/string/snakecase.rb +0 -0
- data/lib/{facets → core/facets}/string/splice.rb +0 -0
- data/lib/core/facets/string/start_with.rb +32 -0
- data/lib/{facets → core/facets}/string/subtract.rb +0 -0
- data/lib/{facets → core/facets}/string/tab.rb +0 -0
- data/lib/{facets → core/facets}/string/titlecase.rb +0 -0
- data/lib/{facets → core/facets}/string/to_re.rb +0 -0
- data/lib/core/facets/string/to_time.rb +15 -0
- data/lib/{facets → core/facets}/string/words.rb +0 -0
- data/lib/{facets → core/facets}/string/xor.rb +0 -0
- data/lib/core/facets/symbol.rb +5 -0
- data/lib/{facets → core/facets}/symbol/chomp.rb +0 -0
- data/lib/{facets → core/facets}/symbol/generate.rb +0 -0
- data/lib/{facets → core/facets}/symbol/not.rb +0 -0
- data/lib/core/facets/symbol/succ.rb +19 -0
- data/lib/core/facets/symbol/to_proc.rb +38 -0
- data/lib/core/facets/time.rb +13 -0
- data/lib/{facets → core/facets}/time/ago.rb +0 -0
- data/lib/core/facets/time/change.rb +47 -0
- data/lib/{facets → core/facets}/time/elapse.rb +0 -0
- data/lib/core/facets/time/hence.rb +61 -0
- data/lib/core/facets/time/round.rb +17 -0
- data/lib/{facets → core/facets}/time/set.rb +0 -0
- data/lib/{facets → core/facets}/time/stamp.rb +0 -0
- data/lib/core/facets/time/to_date.rb +26 -0
- data/lib/core/facets/time/to_time.rb +15 -0
- data/lib/core/facets/time/trunc.rb +15 -0
- data/lib/{facets → core/facets}/to_hash.rb +0 -0
- data/lib/core/facets/unboundmethod.rb +3 -0
- data/lib/{facets → core/facets}/unboundmethod/arguments.rb +0 -0
- data/lib/core/facets/unboundmethod/name.rb +25 -0
- data/lib/{facets → lore/facets}/basicobject.rb +0 -0
- data/lib/{facets → lore/facets}/cgi.rb +0 -0
- data/lib/{facets → lore/facets}/continuation.rb +0 -0
- data/lib/{facets → lore/facets}/date.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils/head.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils/safe_ln.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils/slice.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils/tail.rb +0 -0
- data/lib/{facets → lore/facets}/fileutils/wc.rb +0 -0
- data/lib/lore/facets/fileutils/whereis.rb +64 -0
- data/lib/{facets → lore/facets}/fileutils/which.rb +0 -0
- data/lib/{facets → lore/facets}/getoptlong.rb +0 -0
- data/lib/{facets → lore/facets}/logger.rb +0 -0
- data/lib/{facets → lore/facets}/ostruct.rb +0 -0
- data/lib/lore/facets/pathname.rb +141 -0
- data/lib/{facets → lore/facets}/rbconfig.rb +0 -0
- data/lib/{facets → lore/facets}/set.rb +0 -0
- data/lib/{facets → lore/facets}/shellwords.rb +0 -0
- data/lib/{facets → lore/facets}/uri.rb +0 -0
- data/lib/lore/facets/yaml.rb +75 -0
- data/lib/{facets → more/facets}/1stclassmethod.rb +0 -0
- data/lib/{facets → more/facets}/advisable.rb +0 -0
- data/lib/{facets → more/facets}/annotations.rb +0 -0
- data/lib/more/facets/ansicode.rb +320 -0
- data/lib/more/facets/arguments.rb +363 -0
- data/lib/{facets → more/facets}/association.rb +0 -0
- data/lib/{facets → more/facets}/attr.rb +0 -0
- data/lib/{facets → more/facets}/autoarray.rb +0 -0
- data/lib/{facets → more/facets}/autoreload.rb +0 -0
- data/lib/{facets → more/facets}/basex.rb +0 -0
- data/lib/{facets → more/facets}/bbcode.rb +0 -0
- data/lib/{facets → more/facets}/bicrypt.rb +0 -0
- data/lib/{facets → more/facets}/binreadable.rb +0 -0
- data/lib/{facets → more/facets}/buildable.rb +0 -0
- data/lib/{facets → more/facets}/bytes.rb +0 -0
- data/lib/{facets → more/facets}/cachedecorator.rb +0 -0
- data/lib/{facets → more/facets}/capsule.rb +0 -0
- data/lib/{facets → more/facets}/cattr.rb +0 -0
- data/lib/{facets → more/facets}/chain.rb +0 -0
- data/lib/{facets → more/facets}/class_extension.rb +0 -0
- data/lib/{facets → more/facets}/classmethods.rb +0 -0
- data/lib/{facets → more/facets}/cloneable.rb +0 -0
- data/lib/more/facets/command.rb +436 -0
- data/lib/{facets → more/facets}/consoleutils.rb +0 -0
- data/lib/{facets → more/facets}/coroutine.rb +0 -0
- data/lib/{facets → more/facets}/crypt.rb +0 -0
- data/lib/{facets → more/facets}/cssfilter.rb +0 -0
- data/lib/{facets → more/facets}/daemonize.rb +0 -0
- data/lib/{facets → more/facets}/dependency.rb +0 -0
- data/lib/more/facets/dictionary.rb +478 -0
- data/lib/more/facets/dictionarymatcher.rb +136 -0
- data/lib/{facets → more/facets}/downloader.rb +0 -0
- data/lib/{facets → more/facets}/duplicable.rb +0 -0
- data/lib/{facets → more/facets}/duration.rb +0 -0
- data/lib/{facets → more/facets}/elementor.rb +0 -0
- data/lib/{facets → more/facets}/elementwise.rb +0 -0
- data/lib/{facets → more/facets}/enumerablepass.rb +0 -0
- data/lib/{facets → more/facets}/equatable.rb +0 -0
- data/lib/{facets → more/facets}/eventhook.rb +0 -0
- data/lib/{facets → more/facets}/expirable.rb +0 -0
- data/lib/{facets → more/facets}/fileable.rb +0 -0
- data/lib/more/facets/filelist.rb +497 -0
- data/lib/{facets → more/facets}/fileshell.rb +0 -0
- data/lib/{facets → more/facets}/heap.rb +0 -0
- data/lib/{facets → more/facets}/htmlfilter.rb +0 -0
- data/lib/{facets → more/facets}/indexable.rb +0 -0
- data/lib/{facets → more/facets}/infinity.rb +0 -0
- data/lib/{facets → more/facets}/inheritor.rb +0 -0
- data/lib/more/facets/ini.rb +264 -0
- data/lib/{facets → more/facets}/instantiable.rb +0 -0
- data/lib/{facets → more/facets}/instantise.rb +0 -0
- data/lib/{facets → more/facets}/interval.rb +0 -0
- data/lib/{facets → more/facets}/ioredirect.rb +0 -0
- data/lib/{facets → more/facets}/iteration.rb +0 -0
- data/lib/more/facets/kernel/meta.rb +32 -0
- data/lib/{facets → more/facets}/linkedlist.rb +0 -0
- data/lib/{facets → more/facets}/lrucache.rb +0 -0
- data/lib/{facets → more/facets}/main.rb +0 -0
- data/lib/{facets → more/facets}/memoize.rb +0 -0
- data/lib/{facets → more/facets}/methodspace.rb +0 -0
- data/lib/{facets → more/facets}/minitar.rb +0 -0
- data/lib/{facets → more/facets}/multipliers.rb +0 -0
- data/lib/{facets → more/facets}/multiton.rb +0 -0
- data/lib/{facets → more/facets}/nackclass.rb +0 -0
- data/lib/{facets → more/facets}/net/smtp_tls.rb +0 -0
- data/lib/{facets → more/facets}/nilstatus.rb +0 -0
- data/lib/{facets → more/facets}/nullclass.rb +0 -0
- data/lib/{facets → more/facets}/opencascade.rb +0 -0
- data/lib/{facets → more/facets}/opencollection.rb +0 -0
- data/lib/{facets → more/facets}/openhash.rb +0 -0
- data/lib/{facets → more/facets}/openobject.rb +0 -0
- data/lib/{facets → more/facets}/opesc.rb +0 -0
- data/lib/{facets → more/facets}/orderedhash.rb +0 -0
- data/lib/more/facets/overload.rb +94 -0
- data/lib/more/facets/paramix.rb +202 -0
- data/lib/{facets → more/facets}/pathlist.rb +0 -0
- data/lib/{facets → more/facets}/platform.rb +0 -0
- data/lib/{facets → more/facets}/pool.rb +0 -0
- data/lib/{facets → more/facets}/pqueue.rb +0 -0
- data/lib/{facets → more/facets}/progressbar.rb +0 -0
- data/lib/{facets → more/facets}/prototype.rb +0 -0
- data/lib/{facets → more/facets}/random.rb +0 -0
- data/lib/{facets → more/facets}/rbsystem.rb +0 -0
- data/lib/{facets → more/facets}/recorder.rb +0 -0
- data/lib/{facets → more/facets}/reference.rb +0 -0
- data/lib/more/facets/reflection.rb +145 -0
- data/lib/{facets → more/facets}/registerable.rb +0 -0
- data/lib/{facets → more/facets}/rwdelegator.rb +0 -0
- data/lib/{facets → more/facets}/semaphore.rb +0 -0
- data/lib/{facets → more/facets}/settings.rb +0 -0
- data/lib/{facets → more/facets}/snapshot.rb +0 -0
- data/lib/{facets → more/facets}/stackable.rb +0 -0
- data/lib/{facets → more/facets}/style.rb +0 -0
- data/lib/{facets → more/facets}/succ.rb +0 -0
- data/lib/{facets → more/facets}/syncarray.rb +0 -0
- data/lib/{facets → more/facets}/synchash.rb +0 -0
- data/lib/{facets → more/facets}/thread.rb +0 -0
- data/lib/{facets → more/facets}/timer.rb +0 -0
- data/lib/{facets → more/facets}/times.rb +0 -0
- data/lib/{facets → more/facets}/tracepoint.rb +0 -0
- data/lib/{facets → more/facets}/tuple.rb +0 -0
- data/lib/{facets → more/facets}/typecast.rb +0 -0
- data/lib/{facets → more/facets}/uninheritable.rb +0 -0
- data/lib/{facets → more/facets}/uploadutils.rb +0 -0
- data/lib/{facets → more/facets}/version.rb +0 -0
- data/lib/{facets → more/facets}/xmlhash.rb +0 -0
- data/lib/{facets → more/facets}/xoxo.rb +0 -0
- data/lib/{facets → more/facets}/ziputils.rb +0 -0
- data/test/core/array/test_combination.rb +29 -0
- data/test/{array → core/array}/test_delete.rb +0 -0
- data/test/{array → core/array}/test_indexable.rb +0 -0
- data/test/{array → core/array}/test_merge.rb +0 -0
- data/test/{array → core/array}/test_only.rb +0 -0
- data/test/{array → core/array}/test_pad.rb +0 -0
- data/test/core/array/test_permutation.rb +14 -0
- data/test/core/array/test_product.rb +58 -0
- data/test/{array → core/array}/test_rotate.rb +0 -0
- data/test/{array → core/array}/test_select.rb +0 -0
- data/test/{array → core/array}/test_stackable.rb +0 -0
- data/test/{binding → core/binding}/test_caller.rb +0 -0
- data/test/{binding → core/binding}/test_defined.rb +0 -0
- data/test/core/binding/test_eval.rb +16 -0
- data/test/{binding → core/binding}/test_local_variables.rb +0 -0
- data/test/{binding → core/binding}/test_opvars.rb +0 -0
- data/test/{binding → core/binding}/test_self.rb +0 -0
- data/test/{class → core/class}/test_descendents.rb +0 -0
- data/test/{comparable → core/comparable}/test_bound.rb +0 -0
- data/test/{comparable → core/comparable}/test_cmp.rb +0 -0
- data/test/{comparable → core/comparable}/test_comparable.rb +0 -0
- data/test/{dir → core/dir}/test_ascend.rb +0 -0
- data/test/{dir → core/dir}/test_descend.rb +0 -0
- data/test/{dir → core/dir}/test_multiglob.rb +0 -0
- data/test/{dir → core/dir}/test_parent.rb +0 -0
- data/test/{dir → core/dir}/test_recurse.rb +0 -0
- data/test/{enumerable → core/enumerable}/test_cluster_by.rb +0 -0
- data/test/{enumerable → core/enumerable}/test_collect.rb +0 -0
- data/test/core/enumerable/test_count.rb +22 -0
- data/test/{enumerable → core/enumerable}/test_each_by.rb +0 -0
- data/test/core/enumerable/test_group_by.rb +26 -0
- data/test/{enumerable → core/enumerable}/test_inject.rb +0 -0
- data/test/{enumerable → core/enumerable}/test_mash.rb +0 -0
- data/test/core/enumerable/test_modulate.rb +14 -0
- data/test/core/enumerable/test_none.rb +17 -0
- data/test/{enumerable → core/enumerable}/test_occur.rb +0 -0
- data/test/core/enumerable/test_one.rb +19 -0
- data/test/{enumerable → core/enumerable}/test_probability.rb +0 -0
- data/test/{enumerable → core/enumerable}/test_uniq_by.rb +0 -0
- data/test/{exception → core/exception}/test_exception.rb +0 -0
- data/test/{file → core/file}/test_file.rb +0 -0
- data/test/{filetest → core/filetest}/test_filetest.rb +0 -0
- data/test/{hash → core/hash}/test_alias.rb +0 -0
- data/test/{hash → core/hash}/test_at.rb +0 -0
- data/test/{hash → core/hash}/test_autonew.rb +0 -0
- data/test/{hash → core/hash}/test_collate.rb +0 -0
- data/test/{hash → core/hash}/test_delete.rb +0 -0
- data/test/{hash → core/hash}/test_insert.rb +0 -0
- data/test/{hash → core/hash}/test_inverse.rb +0 -0
- data/test/{hash → core/hash}/test_keys.rb +0 -0
- data/test/{hash → core/hash}/test_mash.rb +0 -0
- data/test/{hash → core/hash}/test_merge.rb +0 -0
- data/test/{hash → core/hash}/test_op.rb +0 -0
- data/test/core/hash/test_rekey.rb +73 -0
- data/test/{hash → core/hash}/test_select.rb +0 -0
- data/test/{hash → core/hash}/test_stringify_keys.rb +0 -0
- data/test/{hash → core/hash}/test_swap.rb +0 -0
- data/test/{hash → core/hash}/test_symbolize_keys.rb +0 -0
- data/test/{hash → core/hash}/test_traverse.rb +0 -0
- data/test/core/hash/test_update.rb +46 -0
- data/test/{hash → core/hash}/test_weave.rb +0 -0
- data/test/{hash → core/hash}/test_zipnew.rb +0 -0
- data/test/{integer → core/integer}/test_bitmask.rb +0 -0
- data/test/core/integer/test_even.rb +25 -0
- data/test/{integer → core/integer}/test_factorial.rb +0 -0
- data/test/{integer → core/integer}/test_multiple.rb +0 -0
- data/test/{integer → core/integer}/test_of.rb +0 -0
- data/test/{integer → core/integer}/test_ordinal.rb +0 -0
- data/test/{kernel → core/kernel}/test_as.rb +0 -0
- data/test/{kernel → core/kernel}/test_attr_singleton.rb +0 -0
- data/test/{kernel → core/kernel}/test_callstack.rb +0 -0
- data/test/{kernel → core/kernel}/test_constant.rb +0 -0
- data/test/{kernel → core/kernel}/test_deepcopy.rb +0 -0
- data/test/{kernel → core/kernel}/test_here.rb +0 -0
- data/test/{kernel → core/kernel}/test_in.rb +0 -0
- data/test/{kernel → core/kernel}/test_instance_assign.rb +0 -0
- data/test/{kernel → core/kernel}/test_instance_class.rb +0 -0
- data/test/{kernel → core/kernel}/test_not_nil.rb +0 -0
- data/test/{kernel → core/kernel}/test_object_class.rb +0 -0
- data/test/{kernel → core/kernel}/test_object_hexid.rb +0 -0
- data/test/{kernel → core/kernel}/test_populate.rb +0 -0
- data/test/{kernel → core/kernel}/test_resc.rb +0 -0
- data/test/{kernel → core/kernel}/test_returning.rb +0 -0
- data/test/{kernel → core/kernel}/test_silence.rb +0 -0
- data/test/core/kernel/test_tap.rb +19 -0
- data/test/{kernel → core/kernel}/test_val.rb +0 -0
- data/test/{matchdata → core/matchdata}/test_match.rb +0 -0
- data/test/{matchdata → core/matchdata}/test_matchset.rb +0 -0
- data/test/{module → core/module}/test_abstract.rb +0 -0
- data/test/{module → core/module}/test_alias.rb +0 -0
- data/test/{module → core/module}/test_ancestor.rb +0 -0
- data/test/{module → core/module}/test_basename.rb +0 -0
- data/test/{module → core/module}/test_clone.rb +0 -0
- data/test/{module → core/module}/test_modspace.rb +0 -0
- data/test/{module → core/module}/test_nesting.rb +0 -0
- data/test/{module → core/module}/test_op.rb +0 -0
- data/test/{module → core/module}/test_pathize.rb +0 -0
- data/test/{module → core/module}/test_revise.rb +0 -0
- data/test/{module → core/module}/test_spacename.rb +0 -0
- data/test/core/nilclass/test_to_f.rb +11 -0
- data/test/{numeric → core/numeric}/test_approx.rb +0 -0
- data/test/{numeric → core/numeric}/test_distance.rb +0 -0
- data/test/{numeric → core/numeric}/test_round.rb +0 -0
- data/test/{proc → core/proc}/test_bind.rb +0 -0
- data/test/{proc → core/proc}/test_compose.rb +0 -0
- data/test/{proc → core/proc}/test_curry.rb +0 -0
- data/test/{proc → core/proc}/test_partial.rb +0 -0
- data/test/{proc → core/proc}/test_to_method.rb +0 -0
- data/test/{range → core/range}/test_combine.rb +0 -0
- data/test/{range → core/range}/test_overlap.rb +0 -0
- data/test/{range → core/range}/test_to_r.rb +0 -0
- data/test/{range → core/range}/test_within.rb +0 -0
- data/test/{regexp → core/regexp}/test_arity.rb +0 -0
- data/test/{regexp → core/regexp}/test_to_re.rb +0 -0
- data/test/{string → core/string}/test_align.rb +0 -0
- data/test/{string → core/string}/test_bracket.rb +0 -0
- data/test/core/string/test_bytes.rb +12 -0
- data/test/{string → core/string}/test_camelcase.rb +0 -0
- data/test/{string → core/string}/test_capitalized.rb +0 -0
- data/test/core/string/test_chars.rb +12 -0
- data/test/{string → core/string}/test_cleave.rb +0 -0
- data/test/{string → core/string}/test_divide.rb +0 -0
- data/test/core/string/test_each_char.rb +14 -0
- data/test/{string → core/string}/test_fold.rb +0 -0
- data/test/{string → core/string}/test_interpolate.rb +0 -0
- data/test/{string → core/string}/test_line_wrap.rb +0 -0
- data/test/core/string/test_lines.rb +11 -0
- data/test/{string → core/string}/test_mscan.rb +0 -0
- data/test/{string → core/string}/test_natcmp.rb +0 -0
- data/test/{string → core/string}/test_nchar.rb +0 -0
- data/test/{string → core/string}/test_range.rb +0 -0
- data/test/{string → core/string}/test_shatter.rb +0 -0
- data/test/{string → core/string}/test_snakecase.rb +0 -0
- data/test/{string → core/string}/test_subtract.rb +0 -0
- data/test/{string → core/string}/test_tab.rb +0 -0
- data/test/{string → core/string}/test_titlecase.rb +0 -0
- data/test/{string → core/string}/test_to_re.rb +0 -0
- data/test/core/string/test_to_time.rb +15 -0
- data/test/{string → core/string}/test_words.rb +0 -0
- data/test/{string → core/string}/test_xor.rb +0 -0
- data/test/{symbol → core/symbol}/test_chomp.rb +0 -0
- data/test/{symbol → core/symbol}/test_generate.rb +0 -0
- data/test/{symbol → core/symbol}/test_not.rb +0 -0
- data/test/core/symbol/test_succ.rb +13 -0
- data/test/core/symbol/test_to_proc.rb +32 -0
- data/test/{time → core/time}/test_change.rb +0 -0
- data/test/{time → core/time}/test_elapse.rb +0 -0
- data/test/core/time/test_hence.rb +13 -0
- data/test/core/time/test_round.rb +31 -0
- data/test/{time → core/time}/test_stamp.rb +0 -0
- data/test/core/time/test_to_date.rb +12 -0
- data/test/core/time/test_to_time.rb +12 -0
- data/test/core/time/test_trunc.rb +31 -0
- data/test/{test_basicobject.rb → lore/test_basicobject.rb} +0 -0
- data/test/{test_continuation.rb → lore/test_continuation.rb} +0 -0
- data/test/{test_date.rb → lore/test_date.rb} +0 -0
- data/test/{test_ostruct.rb → lore/test_ostruct.rb} +0 -0
- data/test/{test_1stclassmethod.rb → more/test_1stclassmethod.rb} +0 -0
- data/test/{test_advisable.rb → more/test_advisable.rb} +0 -0
- data/test/{test_annotations.rb → more/test_annotations.rb} +0 -0
- data/test/more/test_ansicode.rb +20 -0
- data/test/{test_arguments.rb → more/test_arguments.rb} +0 -0
- data/test/{test_association.rb → more/test_association.rb} +0 -0
- data/test/{test_autoarray.rb → more/test_autoarray.rb} +0 -0
- data/test/{test_bbcode.rb → more/test_bbcode.rb} +0 -0
- data/test/{test_binreadable.rb → more/test_binreadable.rb} +0 -0
- data/test/{test_blank.rb → more/test_blank.rb} +0 -0
- data/test/{test_boolean.rb → more/test_boolean.rb} +0 -0
- data/test/{test_buildable.rb → more/test_buildable.rb} +0 -0
- data/test/{test_bytes.rb → more/test_bytes.rb} +0 -0
- data/test/{test_cattr.rb → more/test_cattr.rb} +0 -0
- data/test/{test_class_extension.rb → more/test_class_extension.rb} +0 -0
- data/test/{test_classmethods.rb → more/test_classmethods.rb} +0 -0
- data/test/{test_cloneable.rb → more/test_cloneable.rb} +0 -0
- data/test/{test_command.rb → more/test_command.rb} +0 -0
- data/test/{test_coroutine.rb → more/test_coroutine.rb} +0 -0
- data/test/{test_crypt.rb → more/test_crypt.rb} +0 -0
- data/test/{test_dependency.rb → more/test_dependency.rb} +0 -0
- data/test/more/test_dictionary.rb +145 -0
- data/test/{test_elementor.rb → more/test_elementor.rb} +0 -0
- data/test/{test_elementwise.rb → more/test_elementwise.rb} +0 -0
- data/test/{test_enumerablepass.rb → more/test_enumerablepass.rb} +0 -0
- data/test/{test_equatable.rb → more/test_equatable.rb} +0 -0
- data/test/{test_functor.rb → more/test_functor.rb} +0 -0
- data/test/{test_getoptlong.rb → more/test_getoptlong.rb} +0 -0
- data/test/{test_infinity.rb → more/test_infinity.rb} +0 -0
- data/test/{test_inheritor.rb → more/test_inheritor.rb} +0 -0
- data/test/{test_instantiable.rb → more/test_instantiable.rb} +0 -0
- data/test/{test_instantise.rb → more/test_instantise.rb} +0 -0
- data/test/{test_interval.rb → more/test_interval.rb} +0 -0
- data/test/{test_linkedlist.rb → more/test_linkedlist.rb} +0 -0
- data/test/{test_lrucache.rb → more/test_lrucache.rb} +0 -0
- data/test/{test_memoize.rb → more/test_memoize.rb} +0 -0
- data/test/{test_metaid.rb → more/test_metaid.rb} +0 -0
- data/test/{test_methodspace.rb → more/test_methodspace.rb} +0 -0
- data/test/{test_multipliers.rb → more/test_multipliers.rb} +0 -0
- data/test/{test_multiton.rb → more/test_multiton.rb} +0 -0
- data/test/{test_opencascade.rb → more/test_opencascade.rb} +0 -0
- data/test/{test_openobject.rb → more/test_openobject.rb} +0 -0
- data/test/more/test_overload.rb +160 -0
- data/test/more/test_paramix.rb +167 -0
- data/test/{test_prototype.rb → more/test_prototype.rb} +0 -0
- data/test/{test_random.rb → more/test_random.rb} +0 -0
- data/test/{test_recorder.rb → more/test_recorder.rb} +0 -0
- data/test/{test_snapshot.rb → more/test_snapshot.rb} +0 -0
- data/test/{test_style.rb → more/test_style.rb} +0 -0
- data/test/{test_succ.rb → more/test_succ.rb} +0 -0
- data/test/{test_syncarray.rb → more/test_syncarray.rb} +0 -0
- data/test/{test_synchash.rb → more/test_synchash.rb} +0 -0
- data/test/{test_thread.rb → more/test_thread.rb} +0 -0
- data/test/{test_timer.rb → more/test_timer.rb} +0 -0
- data/test/{test_times.rb → more/test_times.rb} +0 -0
- data/test/{test_to_hash.rb → more/test_to_hash.rb} +0 -0
- data/test/{test_tuple.rb → more/test_tuple.rb} +0 -0
- data/test/{test_typecast.rb → more/test_typecast.rb} +0 -0
- data/test/{test_uninheritable.rb → more/test_uninheritable.rb} +0 -0
- data/test/{test_uri.rb → more/test_uri.rb} +0 -0
- data/test/{test_xoxo.rb → more/test_xoxo.rb} +0 -0
- metadata +3354 -1528
- data/NOTES +0 -58
- data/doc/html/api.css +0 -79
- data/doc/html/api/core/classes/Array.html +0 -894
- data/doc/html/api/core/classes/Binding.html +0 -419
- data/doc/html/api/core/classes/Class.html +0 -218
- data/doc/html/api/core/classes/Comparable.html +0 -261
- data/doc/html/api/core/classes/Dir.html +0 -397
- data/doc/html/api/core/classes/Enumerable.html +0 -1124
- data/doc/html/api/core/classes/Exception.html +0 -130
- data/doc/html/api/core/classes/File.html +0 -456
- data/doc/html/api/core/classes/FileTest.html +0 -118
- data/doc/html/api/core/classes/Float.html +0 -133
- data/doc/html/api/core/classes/Functor.html +0 -173
- data/doc/html/api/core/classes/Hash.html +0 -1992
- data/doc/html/api/core/classes/Indexable.html +0 -606
- data/doc/html/api/core/classes/Integer.html +0 -577
- data/doc/html/api/core/classes/Kernel.html +0 -2135
- data/doc/html/api/core/classes/MatchData.html +0 -203
- data/doc/html/api/core/classes/MissingArgument.html +0 -97
- data/doc/html/api/core/classes/Module.html +0 -1605
- data/doc/html/api/core/classes/Module/CloneExtensions.html +0 -188
- data/doc/html/api/core/classes/Object.html +0 -147
- data/doc/html/api/core/classes/Proc.html +0 -346
- data/doc/html/api/core/classes/Range.html +0 -360
- data/doc/html/api/core/classes/Regexp.html +0 -193
- data/doc/html/api/core/classes/Stackable.html +0 -264
- data/doc/html/api/core/classes/String.html +0 -2297
- data/doc/html/api/core/classes/String/Words.html +0 -330
- data/doc/html/api/core/classes/Time.html +0 -521
- data/doc/html/api/core/classes/UnboundMethod.html +0 -196
- data/doc/html/api/core/created.rid +0 -1
- data/doc/html/api/core/files/AUTHORS.html +0 -256
- data/doc/html/api/core/files/CHANGES.html +0 -275
- data/doc/html/api/core/files/COPYING.html +0 -462
- data/doc/html/api/core/files/MANIFEST.html +0 -597
- data/doc/html/api/core/files/NOTES.html +0 -164
- data/doc/html/api/core/files/README.html +0 -412
- data/doc/html/api/core/files/lib/facets/array/conjoin_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/delete_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/indexable_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/array/merge_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/not_empty_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/only_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/pad_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/product_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/array/rotate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/select_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/splice_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array/stackable_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/array/traverse_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/array_rb.html +0 -129
- data/doc/html/api/core/files/lib/facets/binding/caller_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/binding/defined_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/binding/local_variables_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/binding/opvars_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/binding/self_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/binding_rb.html +0 -99
- data/doc/html/api/core/files/lib/facets/bitmask_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/blank_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/boolean_rb.html +0 -126
- data/doc/html/api/core/files/lib/facets/callstack_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/class/descendents_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/class/prepend_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/class/subclasses_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/class_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/comparable/bound_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/comparable/cmp_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/comparable/comparable_rb.html +0 -109
- data/doc/html/api/core/files/lib/facets/comparable_rb.html +0 -99
- data/doc/html/api/core/files/lib/facets/dir/ascend_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/dir/descend_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/dir/multiglob_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/dir/parent_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/dir/recurse_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/dir_rb.html +0 -102
- data/doc/html/api/core/files/lib/facets/duplicable_rb.html +0 -100
- data/doc/html/api/core/files/lib/facets/enumerable/accumulate_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/enumerable/cluster_by_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/enumerable/collect_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/divide_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/duplicates_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/each_by_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/enumerable/inject_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/map_send_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/mash_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/mode_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/modulate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/occur_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/probability_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/split_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/sum_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable/uniq_by_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/enumerable_rb.html +0 -111
- data/doc/html/api/core/files/lib/facets/exception/detail_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/exception_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/file/null_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/file/read_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/file/rewrite_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/file/rootname_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/file/write_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/file_rb.html +0 -100
- data/doc/html/api/core/files/lib/facets/filetest/root_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/filetest_rb.html +0 -97
- data/doc/html/api/core/files/lib/facets/functor_rb.html +0 -151
- data/doc/html/api/core/files/lib/facets/hash/alias_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/argumentize_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/at_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/autonew_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/collate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/delete_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/diff_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/except_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/insert_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/inverse_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/join_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/keys_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/mash_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash/merge_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/op_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/rekey_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash/select_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/slice_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/stringify_keys_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash/swap_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/symbolize_keys_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash/to_h_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash/to_proc_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/to_struct_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/traverse_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/update_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/weave_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/hash/zipnew_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/hash_rb.html +0 -118
- data/doc/html/api/core/files/lib/facets/indexable_rb.html +0 -113
- data/doc/html/api/core/files/lib/facets/integer/factorial_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/integer/multiple_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/integer/of_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/integer/ordinal_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/integer_rb.html +0 -100
- data/doc/html/api/core/files/lib/facets/kernel/__dir___rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/as_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/kernel/ask_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/attr_singleton_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/complete_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/constant_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/d_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/deep_copy_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/demo_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/ergo_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/kernel/here_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/in_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/instance_exec_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/kernel/instance_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/load_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/maybe_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/not_nil_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/object_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/p_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/populate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/resc_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/respond_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/returning_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/silence_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/singleton_class_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/try_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/val_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel/with_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/kernel_rb.html +0 -115
- data/doc/html/api/core/files/lib/facets/matchdata/match_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/matchdata/matchset_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/matchdata_rb.html +0 -98
- data/doc/html/api/core/files/lib/facets/metaid_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/abstract_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/alias_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/ancestor_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/can_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/class_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/clone_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/conflict_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/include_function_module_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/instance_methods_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/is_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/module_load_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/nesting_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/op_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/pathize_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/prepend_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module/revise_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/module_rb.html +0 -109
- data/doc/html/api/core/files/lib/facets/nilclass_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/numeric/approx_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/numeric/distance_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/numeric/round_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/numeric_rb.html +0 -98
- data/doc/html/api/core/files/lib/facets/proc/bind_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/proc/compose_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/proc/curry_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/proc/partial_rb.html +0 -125
- data/doc/html/api/core/files/lib/facets/proc/to_method_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/proc/update_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/proc_rb.html +0 -99
- data/doc/html/api/core/files/lib/facets/range/combine_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/range/overlap_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/range/to_r_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/range/umbrella_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/range/within_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/range_rb.html +0 -99
- data/doc/html/api/core/files/lib/facets/regexp/arity_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/regexp/to_re_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/regexp_rb.html +0 -98
- data/doc/html/api/core/files/lib/facets/ruby_rb.html +0 -110
- data/doc/html/api/core/files/lib/facets/stackable_rb.html +0 -120
- data/doc/html/api/core/files/lib/facets/string/align_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/bracket_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/camelcase_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/capitalized_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/chomp_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/cleave_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/divide_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/fold_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/interpolate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/line_wrap_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/mscan_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/natcmp_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/nchar_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/range_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/rewrite_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/shatter_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/snakecase_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/splice_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/stylize_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/subtract_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/tab_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/titlecase_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/to_re_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/to_time_rb.html +0 -98
- data/doc/html/api/core/files/lib/facets/string/underscore_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string/words_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/string/xor_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/string_rb.html +0 -109
- data/doc/html/api/core/files/lib/facets/symbol/chomp_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/symbol/generate_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/symbol/not_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/symbol_rb.html +0 -98
- data/doc/html/api/core/files/lib/facets/time/ago_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/time/change_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/time/elapse_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/time/hence_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/time/set_rb.html +0 -96
- data/doc/html/api/core/files/lib/facets/time/stamp_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/time_rb.html +0 -99
- data/doc/html/api/core/files/lib/facets/to_hash_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/unboundmethod/arguments_rb.html +0 -92
- data/doc/html/api/core/files/lib/facets/unboundmethod_rb.html +0 -97
- data/doc/html/api/core/fr_class_index.html +0 -74
- data/doc/html/api/core/fr_file_index.html +0 -269
- data/doc/html/api/core/fr_method_index.html +0 -463
- data/doc/html/api/core/index.html +0 -26
- data/doc/html/api/more/classes/ANSICode.html +0 -495
- data/doc/html/api/more/classes/Advisable.html +0 -271
- data/doc/html/api/more/classes/Advisable/Method.html +0 -251
- data/doc/html/api/more/classes/Archive.html +0 -89
- data/doc/html/api/more/classes/Archive/Tar.html +0 -89
- data/doc/html/api/more/classes/Archive/Tar/Minitar.html +0 -470
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Input.html +0 -380
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Output.html +0 -218
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Reader.html +0 -285
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Writer.html +0 -419
- data/doc/html/api/more/classes/Association.html +0 -307
- data/doc/html/api/more/classes/Association/Kernel.html +0 -134
- data/doc/html/api/more/classes/Autoarray.html +0 -168
- data/doc/html/api/more/classes/BBCode.html +0 -534
- data/doc/html/api/more/classes/BasicObject.html +0 -260
- data/doc/html/api/more/classes/Behavior.html +0 -145
- data/doc/html/api/more/classes/BiCrypt.html +0 -543
- data/doc/html/api/more/classes/BigDuration.html +0 -327
- data/doc/html/api/more/classes/BinReadable.html +0 -536
- data/doc/html/api/more/classes/BinReadable/ByteOrder.html +0 -225
- data/doc/html/api/more/classes/Buildable.html +0 -154
- data/doc/html/api/more/classes/BuildingBlock.html +0 -362
- data/doc/html/api/more/classes/CGI.html +0 -187
- data/doc/html/api/more/classes/CLI.html +0 -108
- data/doc/html/api/more/classes/CLI/Arguments.html +0 -709
- data/doc/html/api/more/classes/CLI/Command.html +0 -436
- data/doc/html/api/more/classes/CLI/Command/UniversalOptions.html +0 -91
- data/doc/html/api/more/classes/CLI/NoCommandError.html +0 -113
- data/doc/html/api/more/classes/CLI/NoOptionError.html +0 -120
- data/doc/html/api/more/classes/CacheDecorator.html +0 -224
- data/doc/html/api/more/classes/Capsule.html +0 -410
- data/doc/html/api/more/classes/Capsule/MissingFile.html +0 -96
- data/doc/html/api/more/classes/Chain.html +0 -208
- data/doc/html/api/more/classes/Cloneable.html +0 -131
- data/doc/html/api/more/classes/Config.html +0 -137
- data/doc/html/api/more/classes/ConsoleUtils.html +0 -240
- data/doc/html/api/more/classes/Continuation.html +0 -115
- data/doc/html/api/more/classes/Coroutine.html +0 -286
- data/doc/html/api/more/classes/Crypt.html +0 -277
- data/doc/html/api/more/classes/CssFilter.html +0 -473
- data/doc/html/api/more/classes/CssTree.html +0 -149
- data/doc/html/api/more/classes/Date.html +0 -252
- data/doc/html/api/more/classes/Dictionary.html +0 -1247
- data/doc/html/api/more/classes/Downloader.html +0 -514
- data/doc/html/api/more/classes/Duration.html +0 -769
- data/doc/html/api/more/classes/Enumerable.html +0 -340
- data/doc/html/api/more/classes/Enumerable/Elementor.html +0 -172
- data/doc/html/api/more/classes/Enumerable/Enumerator.html +0 -118
- data/doc/html/api/more/classes/EnumerablePass.html +0 -216
- data/doc/html/api/more/classes/Equatable.html +0 -190
- data/doc/html/api/more/classes/EventHook.html +0 -176
- data/doc/html/api/more/classes/Expirable.html +0 -197
- data/doc/html/api/more/classes/File.html +0 -130
- data/doc/html/api/more/classes/FileList.html +0 -982
- data/doc/html/api/more/classes/FileShell.html +0 -774
- data/doc/html/api/more/classes/FileUtils.html +0 -454
- data/doc/html/api/more/classes/Fileable.html +0 -181
- data/doc/html/api/more/classes/Fileable/DSL.html +0 -306
- data/doc/html/api/more/classes/GetoptLong.html +0 -120
- data/doc/html/api/more/classes/GetoptLong/DSL.html +0 -210
- data/doc/html/api/more/classes/Hash2Xml.html +0 -177
- data/doc/html/api/more/classes/HtmlFilter.html +0 -850
- data/doc/html/api/more/classes/IORedirect.html +0 -222
- data/doc/html/api/more/classes/InfinityClass.html +0 -452
- data/doc/html/api/more/classes/InfinityClass/Numeric.html +0 -197
- data/doc/html/api/more/classes/InstanceReflection.html +0 -129
- data/doc/html/api/more/classes/Instantiable.html +0 -142
- data/doc/html/api/more/classes/Instantise.html +0 -162
- data/doc/html/api/more/classes/Interval.html +0 -879
- data/doc/html/api/more/classes/It.html +0 -207
- data/doc/html/api/more/classes/LRUCache.html +0 -464
- data/doc/html/api/more/classes/LRUCache/Item.html +0 -114
- data/doc/html/api/more/classes/LRUCache/Sentinel.html +0 -100
- data/doc/html/api/more/classes/Lazy.html +0 -96
- data/doc/html/api/more/classes/Lazy/Future.html +0 -100
- data/doc/html/api/more/classes/Lazy/Promise.html +0 -112
- data/doc/html/api/more/classes/Lazy/PromiseSafe.html +0 -99
- data/doc/html/api/more/classes/LinkedList.html +0 -494
- data/doc/html/api/more/classes/LinkedList/Node.html +0 -151
- data/doc/html/api/more/classes/Logger.html +0 -231
- data/doc/html/api/more/classes/Logger/Ansicolor.html +0 -279
- data/doc/html/api/more/classes/Logger/LogDevice.html +0 -123
- data/doc/html/api/more/classes/Module.html +0 -1410
- data/doc/html/api/more/classes/Multiton.html +0 -207
- data/doc/html/api/more/classes/Multiton/Inclusive.html +0 -128
- data/doc/html/api/more/classes/Multiton/MetaMethods.html +0 -270
- data/doc/html/api/more/classes/NackClass.html +0 -99
- data/doc/html/api/more/classes/Net/SMTP.html +0 -259
- data/doc/html/api/more/classes/NilClass.html +0 -227
- data/doc/html/api/more/classes/NullClass.html +0 -204
- data/doc/html/api/more/classes/Numeric.html +0 -1188
- data/doc/html/api/more/classes/ObjectReflection.html +0 -145
- data/doc/html/api/more/classes/OpEsc.html +0 -138
- data/doc/html/api/more/classes/OpenCascade.html +0 -144
- data/doc/html/api/more/classes/OpenCollection.html +0 -140
- data/doc/html/api/more/classes/OpenHash.html +0 -158
- data/doc/html/api/more/classes/OpenObject.html +0 -604
- data/doc/html/api/more/classes/OpenStruct.html +0 -413
- data/doc/html/api/more/classes/PQueue.html +0 -734
- data/doc/html/api/more/classes/PathList.html +0 -161
- data/doc/html/api/more/classes/PathList/Finder.html +0 -137
- data/doc/html/api/more/classes/Pathname.html +0 -178
- data/doc/html/api/more/classes/Pool.html +0 -206
- data/doc/html/api/more/classes/Proc.html +0 -138
- data/doc/html/api/more/classes/ProgressBar.html +0 -683
- data/doc/html/api/more/classes/Prototype.html +0 -245
- data/doc/html/api/more/classes/RWDelegator.html +0 -196
- data/doc/html/api/more/classes/Random.html +0 -164
- data/doc/html/api/more/classes/Random/Array.html +0 -341
- data/doc/html/api/more/classes/Random/Hash.html +0 -380
- data/doc/html/api/more/classes/Random/Object.html +0 -121
- data/doc/html/api/more/classes/Random/String.html +0 -301
- data/doc/html/api/more/classes/Random/String/Self.html +0 -155
- data/doc/html/api/more/classes/Recorder.html +0 -205
- data/doc/html/api/more/classes/RecursiveDependency.html +0 -92
- data/doc/html/api/more/classes/Reference.html +0 -198
- data/doc/html/api/more/classes/Registerable.html +0 -159
- data/doc/html/api/more/classes/Semaphore.html +0 -262
- data/doc/html/api/more/classes/Set.html +0 -119
- data/doc/html/api/more/classes/Settings.html +0 -290
- data/doc/html/api/more/classes/Settings/Setting.html +0 -225
- data/doc/html/api/more/classes/Settings/SettingCollection.html +0 -144
- data/doc/html/api/more/classes/Shellwords.html +0 -113
- data/doc/html/api/more/classes/SimpleStringIO.html +0 -137
- data/doc/html/api/more/classes/Snapshot.html +0 -196
- data/doc/html/api/more/classes/Snapshot/ValueHolder.html +0 -165
- data/doc/html/api/more/classes/String/Style.html +0 -695
- data/doc/html/api/more/classes/Struct.html +0 -132
- data/doc/html/api/more/classes/SyncArray.html +0 -129
- data/doc/html/api/more/classes/SyncHash.html +0 -158
- data/doc/html/api/more/classes/SyncHash/Delegator.html +0 -213
- data/doc/html/api/more/classes/SyncHash/Inheritor.html +0 -213
- data/doc/html/api/more/classes/System.html +0 -1119
- data/doc/html/api/more/classes/Timer.html +0 -466
- data/doc/html/api/more/classes/Timer/Dummy.html +0 -141
- data/doc/html/api/more/classes/TracePoint.html +0 -455
- data/doc/html/api/more/classes/Tuple.html +0 -902
- data/doc/html/api/more/classes/TypeCast.html +0 -158
- data/doc/html/api/more/classes/TypeCast/Class.html +0 -129
- data/doc/html/api/more/classes/TypeCast/Object.html +0 -119
- data/doc/html/api/more/classes/TypeCastException.html +0 -96
- data/doc/html/api/more/classes/URI.html +0 -455
- data/doc/html/api/more/classes/URI/Hash.html +0 -107
- data/doc/html/api/more/classes/URI/Kernel.html +0 -124
- data/doc/html/api/more/classes/Uninheritable.html +0 -122
- data/doc/html/api/more/classes/UploadUtils.html +0 -499
- data/doc/html/api/more/classes/VersionNumber.html +0 -384
- data/doc/html/api/more/classes/Weekdays.html +0 -248
- data/doc/html/api/more/classes/XOXO.html +0 -252
- data/doc/html/api/more/classes/ZipUtils.html +0 -437
- data/doc/html/api/more/classes/ZipUtils/DryRun.html +0 -225
- data/doc/html/api/more/classes/ZipUtils/NoWrite.html +0 -225
- data/doc/html/api/more/classes/ZipUtils/Verbose.html +0 -225
- data/doc/html/api/more/created.rid +0 -1
- data/doc/html/api/more/files/AUTHORS.html +0 -257
- data/doc/html/api/more/files/CHANGES.html +0 -274
- data/doc/html/api/more/files/COPYING.html +0 -462
- data/doc/html/api/more/files/MANIFEST.html +0 -597
- data/doc/html/api/more/files/NOTES.html +0 -166
- data/doc/html/api/more/files/README.html +0 -411
- data/doc/html/api/more/files/lib/facets/1stclassmethod_rb.html +0 -181
- data/doc/html/api/more/files/lib/facets/advisable_rb.html +0 -124
- data/doc/html/api/more/files/lib/facets/annotations_rb.html +0 -179
- data/doc/html/api/more/files/lib/facets/ansicode_rb.html +0 -199
- data/doc/html/api/more/files/lib/facets/arguments_rb.html +0 -142
- data/doc/html/api/more/files/lib/facets/association_rb.html +0 -158
- data/doc/html/api/more/files/lib/facets/attr_rb.html +0 -92
- data/doc/html/api/more/files/lib/facets/autoarray_rb.html +0 -125
- data/doc/html/api/more/files/lib/facets/autoreload_rb.html +0 -134
- data/doc/html/api/more/files/lib/facets/basicobject_rb.html +0 -190
- data/doc/html/api/more/files/lib/facets/bbcode_rb.html +0 -138
- data/doc/html/api/more/files/lib/facets/behavior_rb.html +0 -125
- data/doc/html/api/more/files/lib/facets/bicrypt_rb.html +0 -124
- data/doc/html/api/more/files/lib/facets/binreadable_rb.html +0 -141
- data/doc/html/api/more/files/lib/facets/buildable_rb.html +0 -228
- data/doc/html/api/more/files/lib/facets/bytes_rb.html +0 -170
- data/doc/html/api/more/files/lib/facets/cachedecorator_rb.html +0 -178
- data/doc/html/api/more/files/lib/facets/capsule_rb.html +0 -143
- data/doc/html/api/more/files/lib/facets/cattr_rb.html +0 -125
- data/doc/html/api/more/files/lib/facets/cgi_rb.html +0 -111
- data/doc/html/api/more/files/lib/facets/chain_rb.html +0 -114
- data/doc/html/api/more/files/lib/facets/class_extension_rb.html +0 -155
- data/doc/html/api/more/files/lib/facets/classmethods_rb.html +0 -213
- data/doc/html/api/more/files/lib/facets/cloneable_rb.html +0 -134
- data/doc/html/api/more/files/lib/facets/command_rb.html +0 -170
- data/doc/html/api/more/files/lib/facets/consoleutils_rb.html +0 -109
- data/doc/html/api/more/files/lib/facets/continuation_rb.html +0 -145
- data/doc/html/api/more/files/lib/facets/core_rb.html +0 -133
- data/doc/html/api/more/files/lib/facets/coroutine_rb.html +0 -163
- data/doc/html/api/more/files/lib/facets/crypt_rb.html +0 -141
- data/doc/html/api/more/files/lib/facets/cssfilter_rb.html +0 -120
- data/doc/html/api/more/files/lib/facets/daemonize_rb.html +0 -118
- data/doc/html/api/more/files/lib/facets/date_rb.html +0 -121
- data/doc/html/api/more/files/lib/facets/dependency_rb.html +0 -158
- data/doc/html/api/more/files/lib/facets/dictionary_rb.html +0 -198
- data/doc/html/api/more/files/lib/facets/downloader_rb.html +0 -137
- data/doc/html/api/more/files/lib/facets/duration_rb.html +0 -132
- data/doc/html/api/more/files/lib/facets/elementor_rb.html +0 -148
- data/doc/html/api/more/files/lib/facets/elementwise_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/enumerablepass_rb.html +0 -153
- data/doc/html/api/more/files/lib/facets/equatable_rb.html +0 -145
- data/doc/html/api/more/files/lib/facets/eventhook_rb.html +0 -141
- data/doc/html/api/more/files/lib/facets/expirable_rb.html +0 -116
- data/doc/html/api/more/files/lib/facets/fileable_rb.html +0 -138
- data/doc/html/api/more/files/lib/facets/filelist_rb.html +0 -164
- data/doc/html/api/more/files/lib/facets/fileshell_rb.html +0 -124
- data/doc/html/api/more/files/lib/facets/fileutils/head_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/safe_ln_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/slice_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/tail_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/wc_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/whereis_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils/which_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/fileutils_rb.html +0 -131
- data/doc/html/api/more/files/lib/facets/float/round_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/getoptlong_rb.html +0 -135
- data/doc/html/api/more/files/lib/facets/heap_rb.html +0 -132
- data/doc/html/api/more/files/lib/facets/htmlfilter_rb.html +0 -153
- data/doc/html/api/more/files/lib/facets/infinity_rb.html +0 -153
- data/doc/html/api/more/files/lib/facets/inheritor_rb.html +0 -149
- data/doc/html/api/more/files/lib/facets/instantiable_rb.html +0 -119
- data/doc/html/api/more/files/lib/facets/instantise_rb.html +0 -145
- data/doc/html/api/more/files/lib/facets/interval_rb.html +0 -163
- data/doc/html/api/more/files/lib/facets/ioredirect_rb.html +0 -133
- data/doc/html/api/more/files/lib/facets/iteration_rb.html +0 -94
- data/doc/html/api/more/files/lib/facets/lazy_rb.html +0 -120
- data/doc/html/api/more/files/lib/facets/linkedlist_rb.html +0 -159
- data/doc/html/api/more/files/lib/facets/logger_rb.html +0 -142
- data/doc/html/api/more/files/lib/facets/lrucache_rb.html +0 -129
- data/doc/html/api/more/files/lib/facets/main_rb.html +0 -126
- data/doc/html/api/more/files/lib/facets/memoize_rb.html +0 -163
- data/doc/html/api/more/files/lib/facets/meta_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/methodspace_rb.html +0 -138
- data/doc/html/api/more/files/lib/facets/minitar_rb.html +0 -203
- data/doc/html/api/more/files/lib/facets/multipliers_rb.html +0 -149
- data/doc/html/api/more/files/lib/facets/multiton_rb.html +0 -187
- data/doc/html/api/more/files/lib/facets/nackclass_rb.html +0 -121
- data/doc/html/api/more/files/lib/facets/net/smtp_tls_rb.html +0 -143
- data/doc/html/api/more/files/lib/facets/nilstatus_rb.html +0 -92
- data/doc/html/api/more/files/lib/facets/nullclass_rb.html +0 -122
- data/doc/html/api/more/files/lib/facets/opencascade_rb.html +0 -156
- data/doc/html/api/more/files/lib/facets/opencollection_rb.html +0 -123
- data/doc/html/api/more/files/lib/facets/openhash_rb.html +0 -107
- data/doc/html/api/more/files/lib/facets/openobject_rb.html +0 -167
- data/doc/html/api/more/files/lib/facets/opesc_rb.html +0 -94
- data/doc/html/api/more/files/lib/facets/orderedhash_rb.html +0 -142
- data/doc/html/api/more/files/lib/facets/ostruct_rb.html +0 -135
- data/doc/html/api/more/files/lib/facets/overload_rb.html +0 -119
- data/doc/html/api/more/files/lib/facets/pathlist_rb.html +0 -133
- data/doc/html/api/more/files/lib/facets/pathname_rb.html +0 -155
- data/doc/html/api/more/files/lib/facets/pool_rb.html +0 -131
- data/doc/html/api/more/files/lib/facets/pqueue_rb.html +0 -129
- data/doc/html/api/more/files/lib/facets/progressbar_rb.html +0 -126
- data/doc/html/api/more/files/lib/facets/prototype_rb.html +0 -102
- data/doc/html/api/more/files/lib/facets/random_rb.html +0 -148
- data/doc/html/api/more/files/lib/facets/rbconfig_rb.html +0 -124
- data/doc/html/api/more/files/lib/facets/rbsystem_rb.html +0 -143
- data/doc/html/api/more/files/lib/facets/recorder_rb.html +0 -154
- data/doc/html/api/more/files/lib/facets/reference_rb.html +0 -130
- data/doc/html/api/more/files/lib/facets/reflection_rb.html +0 -119
- data/doc/html/api/more/files/lib/facets/registerable_rb.html +0 -98
- data/doc/html/api/more/files/lib/facets/rwdelegator_rb.html +0 -122
- data/doc/html/api/more/files/lib/facets/semaphore_rb.html +0 -120
- data/doc/html/api/more/files/lib/facets/set_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/settings_rb.html +0 -141
- data/doc/html/api/more/files/lib/facets/shellwords_rb.html +0 -124
- data/doc/html/api/more/files/lib/facets/snapshot_rb.html +0 -177
- data/doc/html/api/more/files/lib/facets/style_rb.html +0 -96
- data/doc/html/api/more/files/lib/facets/succ_rb.html +0 -92
- data/doc/html/api/more/files/lib/facets/syncarray_rb.html +0 -125
- data/doc/html/api/more/files/lib/facets/synchash_rb.html +0 -138
- data/doc/html/api/more/files/lib/facets/thread_rb.html +0 -132
- data/doc/html/api/more/files/lib/facets/timer_rb.html +0 -174
- data/doc/html/api/more/files/lib/facets/times_rb.html +0 -163
- data/doc/html/api/more/files/lib/facets/tracepoint_rb.html +0 -167
- data/doc/html/api/more/files/lib/facets/tuple_rb.html +0 -160
- data/doc/html/api/more/files/lib/facets/typecast_rb.html +0 -214
- data/doc/html/api/more/files/lib/facets/uninheritable_rb.html +0 -129
- data/doc/html/api/more/files/lib/facets/uploadutils_rb.html +0 -176
- data/doc/html/api/more/files/lib/facets/uri_rb.html +0 -125
- data/doc/html/api/more/files/lib/facets/version_rb.html +0 -132
- data/doc/html/api/more/files/lib/facets/xmlhash_rb.html +0 -97
- data/doc/html/api/more/files/lib/facets/xoxo_rb.html +0 -136
- data/doc/html/api/more/files/lib/facets/yaml_rb.html +0 -145
- data/doc/html/api/more/files/lib/facets/ziputils_rb.html +0 -133
- data/doc/html/api/more/fr_class_index.html +0 -200
- data/doc/html/api/more/fr_file_index.html +0 -177
- data/doc/html/api/more/fr_method_index.html +0 -1181
- data/doc/html/api/more/index.html +0 -26
- data/doc/html/authors.html +0 -178
- data/doc/html/changes.html +0 -193
- data/doc/html/copying.html +0 -384
- data/doc/html/img/APIdocs.png +0 -0
- data/doc/html/img/RubyFacets.png +0 -0
- data/doc/html/img/bomb.gif +0 -0
- data/doc/html/img/develop.gif +0 -0
- data/doc/html/img/email.gif +0 -0
- data/doc/html/img/fade_blue_down.gif +0 -0
- data/doc/html/img/fade_red_down.png +0 -0
- data/doc/html/img/folder.gif +0 -0
- data/doc/html/img/home.gif +0 -0
- data/doc/html/img/menu_bkg.png +0 -0
- data/doc/html/img/quill.gif +0 -0
- data/doc/html/img/ruby-h.png +0 -0
- data/doc/html/img/ruby.gif +0 -0
- data/doc/html/img/ruby.png +0 -0
- data/doc/html/img/source.gif +0 -0
- data/doc/html/index.html +0 -16
- data/doc/html/js/doclist.js +0 -20
- data/doc/html/js/jquery.js +0 -3408
- data/doc/html/list.json +0 -1
- data/doc/html/manifest.html +0 -519
- data/doc/html/menu.html +0 -70
- data/doc/html/notes.html +0 -86
- data/doc/html/rakefile.html +0 -45
- data/doc/html/readme.html +0 -327
- data/doc/html/style-rdoc.css +0 -208
- data/lib/facets.rb +0 -2
- data/lib/facets/ansicode.rb +0 -320
- data/lib/facets/arguments.rb +0 -349
- data/lib/facets/array.rb +0 -24
- data/lib/facets/array/product.rb +0 -15
- data/lib/facets/binding.rb +0 -6
- data/lib/facets/binding/caller.rb +0 -54
- data/lib/facets/binding/defined.rb +0 -13
- data/lib/facets/binding/local_variables.rb +0 -15
- data/lib/facets/binding/opvars.rb +0 -24
- data/lib/facets/binding/self.rb +0 -12
- data/lib/facets/class.rb +0 -4
- data/lib/facets/command.rb +0 -422
- data/lib/facets/comparable.rb +0 -6
- data/lib/facets/core.rb +0 -50
- data/lib/facets/dictionary.rb +0 -474
- data/lib/facets/dir.rb +0 -9
- data/lib/facets/enumerable.rb +0 -19
- data/lib/facets/enumerable/cluster_by.rb +0 -21
- data/lib/facets/file.rb +0 -7
- data/lib/facets/file/rewrite.rb +0 -54
- data/lib/facets/file/rootname.rb +0 -23
- data/lib/facets/filelist.rb +0 -499
- data/lib/facets/filetest.rb +0 -3
- data/lib/facets/fileutils/whereis.rb +0 -63
- data/lib/facets/hash.rb +0 -25
- data/lib/facets/hash/merge.rb +0 -74
- data/lib/facets/hash/rekey.rb +0 -59
- data/lib/facets/hash/slice.rb +0 -23
- data/lib/facets/hash/update.rb +0 -75
- data/lib/facets/integer.rb +0 -7
- data/lib/facets/kernel.rb +0 -29
- data/lib/facets/kernel/ask.rb +0 -27
- data/lib/facets/matchdata.rb +0 -6
- data/lib/facets/meta.rb +0 -23
- data/lib/facets/module.rb +0 -22
- data/lib/facets/module/conflict.rb +0 -56
- data/lib/facets/nilclass.rb +0 -3
- data/lib/facets/numeric.rb +0 -5
- data/lib/facets/overload.rb +0 -94
- data/lib/facets/paramix.rb +0 -187
- data/lib/facets/pathname.rb +0 -112
- data/lib/facets/proc.rb +0 -6
- data/lib/facets/range.rb +0 -6
- data/lib/facets/reflection.rb +0 -98
- data/lib/facets/regexp.rb +0 -5
- data/lib/facets/ruby.rb +0 -485
- data/lib/facets/string.rb +0 -28
- data/lib/facets/string/to_time.rb +0 -1
- data/lib/facets/symbol.rb +0 -5
- data/lib/facets/time.rb +0 -11
- data/lib/facets/time/change.rb +0 -99
- data/lib/facets/time/hence.rb +0 -56
- data/lib/facets/time/to_time.rb +0 -14
- data/lib/facets/unboundmethod.rb +0 -4
- data/lib/facets/yaml.rb +0 -66
- data/log/changelog-0.rdoc +0 -239
- data/log/changelog-1.rdoc +0 -450
- data/log/changelog.rdoc +0 -1173
- data/log/fixme.rdoc +0 -12
- data/log/testlog.txt +0 -645
- data/log/todo.rdoc +0 -237
- data/meta/authors +0 -48
- data/meta/contact +0 -1
- data/meta/created +0 -1
- data/meta/description +0 -8
- data/meta/download +0 -1
- data/meta/homepage +0 -1
- data/meta/mailinglist +0 -1
- data/meta/project.yaml +0 -31
- data/meta/slogan +0 -1
- data/meta/unixname +0 -1
- data/meta/version +0 -1
- data/script/conflicts +0 -63
- data/script/document +0 -231
- data/script/methods +0 -49
- data/script/test +0 -37
- data/setup.rb +0 -1478
- data/test/array/test_product.rb +0 -25
- data/test/hash/test_rekey.rb +0 -41
- data/test/hash/test_rekey2.rb +0 -37
- data/test/hash/test_update.rb +0 -40
- data/test/test_ansicode.rb +0 -20
- data/test/test_dictionary.rb +0 -122
- data/test/test_overload.rb +0 -120
- data/test/test_ruby.rb +0 -198
- data/test/test_ruby/array/test_combination.rb +0 -29
- data/test/test_ruby/array/test_permutation.rb +0 -14
- data/test/test_ruby/array/test_product.rb +0 -23
- data/test/test_ruby/kernel/test_tap.rb +0 -19
- data/test/test_ruby/symbol/test_succ.rb +0 -13
- data/test/time/test_to_time.rb +0 -16
@@ -1,264 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Module: Stackable</title>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
<script language="JavaScript" type="text/javascript">
|
12
|
-
// <![CDATA[
|
13
|
-
|
14
|
-
function toggleSource( id )
|
15
|
-
{
|
16
|
-
var elem
|
17
|
-
var link
|
18
|
-
|
19
|
-
if( document.getElementById )
|
20
|
-
{
|
21
|
-
elem = document.getElementById( id )
|
22
|
-
link = document.getElementById( "l_" + id )
|
23
|
-
}
|
24
|
-
else if ( document.all )
|
25
|
-
{
|
26
|
-
elem = eval( "document.all." + id )
|
27
|
-
link = eval( "document.all.l_" + id )
|
28
|
-
}
|
29
|
-
else
|
30
|
-
return false;
|
31
|
-
|
32
|
-
if( elem.style.display == "block" )
|
33
|
-
{
|
34
|
-
elem.style.display = "none"
|
35
|
-
link.innerHTML = "show source"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "hide source"
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
function openCode( url )
|
45
|
-
{
|
46
|
-
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
-
}
|
48
|
-
// ]]>
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
|
52
|
-
<body>
|
53
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Module</span><br />Stackable</td>
|
55
|
-
<td align="right">
|
56
|
-
<table cellspacing="0" cellpadding="2">
|
57
|
-
<tr valign="top">
|
58
|
-
<td>In:</td>
|
59
|
-
<td>
|
60
|
-
<a href="../files/lib/facets/stackable_rb.html">lib/facets/stackable.rb</a>
|
61
|
-
</td>
|
62
|
-
</tr>
|
63
|
-
</table>
|
64
|
-
</td>
|
65
|
-
</tr>
|
66
|
-
</table>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
<div id="content">
|
71
|
-
|
72
|
-
<div class="description"><h1><a href="Stackable.html">Stackable</a></h1>
|
73
|
-
<p>
|
74
|
-
<a href="Stackable.html">Stackable</a> mixin provides <a
|
75
|
-
href="Stackable.html#M000312">pop</a>, <a
|
76
|
-
href="Stackable.html#M000313">push</a>, <a
|
77
|
-
href="Stackable.html#M000314">pull</a>, etc. It depends on slice, splice
|
78
|
-
and insert.
|
79
|
-
</p>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<div class="sectiontitle">Methods</div>
|
85
|
-
<ul>
|
86
|
-
<li><a href="#M000318">peek</a></li>
|
87
|
-
<li><a href="#M000316">poke</a></li>
|
88
|
-
<li><a href="#M000312">pop</a></li>
|
89
|
-
<li><a href="#M000314">pull</a></li>
|
90
|
-
<li><a href="#M000313">push</a></li>
|
91
|
-
<li><a href="#M000315">shift</a></li>
|
92
|
-
<li><a href="#M000317">unshift</a></li>
|
93
|
-
</ul>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<div class="sectiontitle">Public Instance methods</div>
|
101
|
-
<div class="method">
|
102
|
-
<div class="title">
|
103
|
-
<a name="M000318"></a><b>peek</b>()
|
104
|
-
</div>
|
105
|
-
<div class="description">
|
106
|
-
<p>
|
107
|
-
Peek at the top of the stack.
|
108
|
-
</p>
|
109
|
-
<pre>
|
110
|
-
a = [1, 2, 3]
|
111
|
-
a.peek #=> 3
|
112
|
-
a #=> [1, 2, 3]
|
113
|
-
</pre>
|
114
|
-
</div>
|
115
|
-
<div class="sourcecode">
|
116
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000318_source')" id="l_M000318_source">show source</a> ]</p>
|
117
|
-
<div id="M000318_source" class="dyn-source">
|
118
|
-
<pre>
|
119
|
-
<span class="ruby-comment cmt"># File lib/facets/stackable.rb, line 81</span>
|
120
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peek</span>
|
121
|
-
<span class="ruby-identifier">slice</span>(<span class="ruby-value">-1</span>)
|
122
|
-
<span class="ruby-keyword kw">end</span>
|
123
|
-
</pre>
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
</div>
|
127
|
-
<div class="method">
|
128
|
-
<div class="title">
|
129
|
-
<a name="M000316"></a><b>poke</b>(x)
|
130
|
-
</div>
|
131
|
-
<div class="description">
|
132
|
-
<p>
|
133
|
-
Poke item onto the stack.
|
134
|
-
</p>
|
135
|
-
<pre>
|
136
|
-
a = [2, 3]
|
137
|
-
a.poke(1) #=> [1, 2, 3]
|
138
|
-
|
139
|
-
TODO: Better name (besides unshift)?
|
140
|
-
</pre>
|
141
|
-
</div>
|
142
|
-
<div class="aka">
|
143
|
-
This method is also aliased as
|
144
|
-
<a href="Stackable.html#M000317">unshift</a>
|
145
|
-
</div>
|
146
|
-
<div class="sourcecode">
|
147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">show source</a> ]</p>
|
148
|
-
<div id="M000316_source" class="dyn-source">
|
149
|
-
<pre>
|
150
|
-
<span class="ruby-comment cmt"># File lib/facets/stackable.rb, line 69</span>
|
151
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">poke</span>(<span class="ruby-identifier">x</span>)
|
152
|
-
<span class="ruby-identifier">insert</span>(<span class="ruby-value">0</span>,<span class="ruby-identifier">x</span>)
|
153
|
-
<span class="ruby-keyword kw">end</span>
|
154
|
-
</pre>
|
155
|
-
</div>
|
156
|
-
</div>
|
157
|
-
</div>
|
158
|
-
<div class="method">
|
159
|
-
<div class="title">
|
160
|
-
<a name="M000312"></a><b>pop</b>()
|
161
|
-
</div>
|
162
|
-
<div class="description">
|
163
|
-
<p>
|
164
|
-
Pop item off stack.
|
165
|
-
</p>
|
166
|
-
<pre>
|
167
|
-
a = [1, 2, 3]
|
168
|
-
a.pop #=> 3
|
169
|
-
a #=> [1, 2]
|
170
|
-
</pre>
|
171
|
-
</div>
|
172
|
-
<div class="sourcecode">
|
173
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000312_source')" id="l_M000312_source">show source</a> ]</p>
|
174
|
-
<div id="M000312_source" class="dyn-source">
|
175
|
-
<pre>
|
176
|
-
<span class="ruby-comment cmt"># File lib/facets/stackable.rb, line 37</span>
|
177
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
|
178
|
-
<span class="ruby-identifier">splice</span>(<span class="ruby-value">-1</span>)
|
179
|
-
<span class="ruby-keyword kw">end</span>
|
180
|
-
</pre>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
</div>
|
184
|
-
<div class="method">
|
185
|
-
<div class="title">
|
186
|
-
<a name="M000314"></a><b>pull</b>()
|
187
|
-
</div>
|
188
|
-
<div class="description">
|
189
|
-
<p>
|
190
|
-
Pull item off the stack.
|
191
|
-
</p>
|
192
|
-
<pre>
|
193
|
-
a = [1, 2, 3]
|
194
|
-
a.pull #=> 1
|
195
|
-
a #=> [2, 3]
|
196
|
-
</pre>
|
197
|
-
</div>
|
198
|
-
<div class="aka">
|
199
|
-
This method is also aliased as
|
200
|
-
<a href="Stackable.html#M000315">shift</a>
|
201
|
-
</div>
|
202
|
-
<div class="sourcecode">
|
203
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000314_source')" id="l_M000314_source">show source</a> ]</p>
|
204
|
-
<div id="M000314_source" class="dyn-source">
|
205
|
-
<pre>
|
206
|
-
<span class="ruby-comment cmt"># File lib/facets/stackable.rb, line 56</span>
|
207
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>
|
208
|
-
<span class="ruby-identifier">slice</span>(<span class="ruby-value">0</span>)
|
209
|
-
<span class="ruby-keyword kw">end</span>
|
210
|
-
</pre>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
<div class="method">
|
215
|
-
<div class="title">
|
216
|
-
<a name="M000313"></a><b>push</b>(x)
|
217
|
-
</div>
|
218
|
-
<div class="description">
|
219
|
-
<p>
|
220
|
-
Push item onto the stack.
|
221
|
-
</p>
|
222
|
-
<pre>
|
223
|
-
a = [1, 2]
|
224
|
-
a.push(3) #=> [1, 2, 3]
|
225
|
-
</pre>
|
226
|
-
</div>
|
227
|
-
<div class="sourcecode">
|
228
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000313_source')" id="l_M000313_source">show source</a> ]</p>
|
229
|
-
<div id="M000313_source" class="dyn-source">
|
230
|
-
<pre>
|
231
|
-
<span class="ruby-comment cmt"># File lib/facets/stackable.rb, line 46</span>
|
232
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">x</span>)
|
233
|
-
<span class="ruby-identifier">insert</span>(<span class="ruby-value">-1</span>,<span class="ruby-identifier">x</span>)
|
234
|
-
<span class="ruby-keyword kw">end</span>
|
235
|
-
</pre>
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
</div>
|
239
|
-
<div class="method">
|
240
|
-
<div class="title">
|
241
|
-
<a name="M000315"></a><b>shift</b>()
|
242
|
-
</div>
|
243
|
-
<div class="description">
|
244
|
-
<p>
|
245
|
-
Alias for <a href="Stackable.html#M000314">pull</a>
|
246
|
-
</p>
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
<div class="method">
|
250
|
-
<div class="title">
|
251
|
-
<a name="M000317"></a><b>unshift</b>(x)
|
252
|
-
</div>
|
253
|
-
<div class="description">
|
254
|
-
<p>
|
255
|
-
Alias for <a href="Stackable.html#M000316">poke</a>
|
256
|
-
</p>
|
257
|
-
</div>
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
</div>
|
262
|
-
|
263
|
-
</body>
|
264
|
-
</html>
|
@@ -1,2297 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Class: String</title>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
<script language="JavaScript" type="text/javascript">
|
12
|
-
// <![CDATA[
|
13
|
-
|
14
|
-
function toggleSource( id )
|
15
|
-
{
|
16
|
-
var elem
|
17
|
-
var link
|
18
|
-
|
19
|
-
if( document.getElementById )
|
20
|
-
{
|
21
|
-
elem = document.getElementById( id )
|
22
|
-
link = document.getElementById( "l_" + id )
|
23
|
-
}
|
24
|
-
else if ( document.all )
|
25
|
-
{
|
26
|
-
elem = eval( "document.all." + id )
|
27
|
-
link = eval( "document.all.l_" + id )
|
28
|
-
}
|
29
|
-
else
|
30
|
-
return false;
|
31
|
-
|
32
|
-
if( elem.style.display == "block" )
|
33
|
-
{
|
34
|
-
elem.style.display = "none"
|
35
|
-
link.innerHTML = "show source"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "hide source"
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
function openCode( url )
|
45
|
-
{
|
46
|
-
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
-
}
|
48
|
-
// ]]>
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
|
52
|
-
<body>
|
53
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />String</td>
|
55
|
-
<td align="right">
|
56
|
-
<table cellspacing="0" cellpadding="2">
|
57
|
-
<tr valign="top">
|
58
|
-
<td>In:</td>
|
59
|
-
<td>
|
60
|
-
<a href="../files/lib/facets/ruby_rb.html">lib/facets/ruby.rb</a>
|
61
|
-
<a href="../files/lib/facets/metaid_rb.html">lib/facets/metaid.rb</a>
|
62
|
-
<a href="../files/lib/facets/blank_rb.html">lib/facets/blank.rb</a>
|
63
|
-
<a href="../files/lib/facets/boolean_rb.html">lib/facets/boolean.rb</a>
|
64
|
-
<a href="../files/lib/facets/comparable/bound_rb.html">lib/facets/comparable/bound.rb</a>
|
65
|
-
<a href="../files/lib/facets/comparable/cmp_rb.html">lib/facets/comparable/cmp.rb</a>
|
66
|
-
<a href="../files/lib/facets/string/shatter_rb.html">lib/facets/string/shatter.rb</a>
|
67
|
-
<a href="../files/lib/facets/string/to_re_rb.html">lib/facets/string/to_re.rb</a>
|
68
|
-
<a href="../files/lib/facets/string/fold_rb.html">lib/facets/string/fold.rb</a>
|
69
|
-
<a href="../files/lib/facets/string/camelcase_rb.html">lib/facets/string/camelcase.rb</a>
|
70
|
-
<a href="../files/lib/facets/string/align_rb.html">lib/facets/string/align.rb</a>
|
71
|
-
<a href="../files/lib/facets/string/tab_rb.html">lib/facets/string/tab.rb</a>
|
72
|
-
<a href="../files/lib/facets/string/range_rb.html">lib/facets/string/range.rb</a>
|
73
|
-
<a href="../files/lib/facets/string/snakecase_rb.html">lib/facets/string/snakecase.rb</a>
|
74
|
-
<a href="../files/lib/facets/string/divide_rb.html">lib/facets/string/divide.rb</a>
|
75
|
-
<a href="../files/lib/facets/string/mscan_rb.html">lib/facets/string/mscan.rb</a>
|
76
|
-
<a href="../files/lib/facets/string/capitalized_rb.html">lib/facets/string/capitalized.rb</a>
|
77
|
-
<a href="../files/lib/facets/string/natcmp_rb.html">lib/facets/string/natcmp.rb</a>
|
78
|
-
<a href="../files/lib/facets/string/subtract_rb.html">lib/facets/string/subtract.rb</a>
|
79
|
-
<a href="../files/lib/facets/string/stylize_rb.html">lib/facets/string/stylize.rb</a>
|
80
|
-
<a href="../files/lib/facets/string/titlecase_rb.html">lib/facets/string/titlecase.rb</a>
|
81
|
-
<a href="../files/lib/facets/string/words_rb.html">lib/facets/string/words.rb</a>
|
82
|
-
<a href="../files/lib/facets/string/interpolate_rb.html">lib/facets/string/interpolate.rb</a>
|
83
|
-
<a href="../files/lib/facets/string/cleave_rb.html">lib/facets/string/cleave.rb</a>
|
84
|
-
<a href="../files/lib/facets/string/to_time_rb.html">lib/facets/string/to_time.rb</a>
|
85
|
-
<a href="../files/lib/facets/string/line_wrap_rb.html">lib/facets/string/line_wrap.rb</a>
|
86
|
-
<a href="../files/lib/facets/string/bracket_rb.html">lib/facets/string/bracket.rb</a>
|
87
|
-
<a href="../files/lib/facets/string/chomp_rb.html">lib/facets/string/chomp.rb</a>
|
88
|
-
<a href="../files/lib/facets/string/splice_rb.html">lib/facets/string/splice.rb</a>
|
89
|
-
<a href="../files/lib/facets/string/rewrite_rb.html">lib/facets/string/rewrite.rb</a>
|
90
|
-
<a href="../files/lib/facets/string/nchar_rb.html">lib/facets/string/nchar.rb</a>
|
91
|
-
<a href="../files/lib/facets/string/xor_rb.html">lib/facets/string/xor.rb</a>
|
92
|
-
<a href="../files/lib/facets/string/underscore_rb.html">lib/facets/string/underscore.rb</a>
|
93
|
-
</td>
|
94
|
-
</tr>
|
95
|
-
<tr>
|
96
|
-
<td>Parent:</td>
|
97
|
-
<td>
|
98
|
-
<a href="Object.html">
|
99
|
-
Object
|
100
|
-
</a>
|
101
|
-
</td>
|
102
|
-
</tr>
|
103
|
-
</table>
|
104
|
-
</td>
|
105
|
-
</tr>
|
106
|
-
</table>
|
107
|
-
<!-- banner header -->
|
108
|
-
|
109
|
-
<div id="bodyContent">
|
110
|
-
<div id="content">
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<div class="sectiontitle">Methods</div>
|
116
|
-
<ul>
|
117
|
-
<li><a href="#M000262">-</a></li>
|
118
|
-
<li><a href="#M000285">^</a></li>
|
119
|
-
<li><a href="#M000240">align</a></li>
|
120
|
-
<li><a href="#M000243">align_center</a></li>
|
121
|
-
<li><a href="#M000242">align_left</a></li>
|
122
|
-
<li><a href="#M000241">align_right</a></li>
|
123
|
-
<li><a href="#M000231">blank?</a></li>
|
124
|
-
<li><a href="#M000274">bracket</a></li>
|
125
|
-
<li><a href="#M000275">bracket!</a></li>
|
126
|
-
<li><a href="#M000224">bytes</a></li>
|
127
|
-
<li><a href="#M000239">camelcase</a></li>
|
128
|
-
<li><a href="#M000258">capitalized?</a></li>
|
129
|
-
<li><a href="#M000225">chars</a></li>
|
130
|
-
<li><a href="#M000270">cleave</a></li>
|
131
|
-
<li><a href="#M000234">cmp</a></li>
|
132
|
-
<li><a href="#M000279">dequote</a></li>
|
133
|
-
<li><a href="#M000256">divide</a></li>
|
134
|
-
<li><a href="#M000259">downcase?</a></li>
|
135
|
-
<li><a href="#M000227">each_char</a></li>
|
136
|
-
<li><a href="#M000229">end_with?</a></li>
|
137
|
-
<li><a href="#M000246">expand_tabs</a></li>
|
138
|
-
<li><a href="#M000238">fold</a></li>
|
139
|
-
<li><a href="#M000266">humanize</a></li>
|
140
|
-
<li><a href="#M000248">indent</a></li>
|
141
|
-
<li><a href="#M000254">index_all</a></li>
|
142
|
-
<li><a href="#M000269">interpolate</a></li>
|
143
|
-
<li><a href="#M000280">lchomp</a></li>
|
144
|
-
<li><a href="#M000281">lchomp!</a></li>
|
145
|
-
<li><a href="#M000273">line_wrap</a></li>
|
146
|
-
<li><a href="#M000226">lines</a></li>
|
147
|
-
<li><a href="#M000250">margin</a></li>
|
148
|
-
<li><a href="#M000265">methodize</a></li>
|
149
|
-
<li><a href="#M000263">modulize</a></li>
|
150
|
-
<li><a href="#M000257">mscan</a></li>
|
151
|
-
<li><a href="#M000261">natcmp</a></li>
|
152
|
-
<li><a href="#M000284">nchar</a></li>
|
153
|
-
<li><a href="#M000249">outdent</a></li>
|
154
|
-
<li><a href="#M000264">pathize</a></li>
|
155
|
-
<li><a href="#M000278">quote</a></li>
|
156
|
-
<li><a href="#M000251">range</a></li>
|
157
|
-
<li><a href="#M000252">range_all</a></li>
|
158
|
-
<li><a href="#M000253">range_of_line</a></li>
|
159
|
-
<li><a href="#M000283">rewrite</a></li>
|
160
|
-
<li><a href="#M000235">shatter</a></li>
|
161
|
-
<li><a href="#M000255">snakecase</a></li>
|
162
|
-
<li><a href="#M000287">space</a></li>
|
163
|
-
<li><a href="#M000282">splice</a></li>
|
164
|
-
<li><a href="#M000228">start_with?</a></li>
|
165
|
-
<li><a href="#M000244">tab</a></li>
|
166
|
-
<li><a href="#M000245">taballto</a></li>
|
167
|
-
<li><a href="#M000247">tabto</a></li>
|
168
|
-
<li><a href="#M000268">titlecase</a></li>
|
169
|
-
<li><a href="#M000267">titleize</a></li>
|
170
|
-
<li><a href="#M000232">to_b</a></li>
|
171
|
-
<li><a href="#M000272">to_date</a></li>
|
172
|
-
<li><a href="#M000236">to_re</a></li>
|
173
|
-
<li><a href="#M000237">to_rx</a></li>
|
174
|
-
<li><a href="#M000233">to_s</a></li>
|
175
|
-
<li><a href="#M000271">to_time</a></li>
|
176
|
-
<li><a href="#M000276">unbracket</a></li>
|
177
|
-
<li><a href="#M000277">unbracket!</a></li>
|
178
|
-
<li><a href="#M000286">underscore</a></li>
|
179
|
-
<li><a href="#M000260">upcase?</a></li>
|
180
|
-
<li><a href="#M000230">variablize</a></li>
|
181
|
-
</ul>
|
182
|
-
|
183
|
-
<div class="sectiontitle">Included Modules</div>
|
184
|
-
<ul>
|
185
|
-
<li><a href="String/Words.html">Words</a></li>
|
186
|
-
</ul>
|
187
|
-
|
188
|
-
|
189
|
-
<div class="sectiontitle">Classes and Modules</div>
|
190
|
-
Module <a href="String/Words.html" class="link">String::Words</a><br />
|
191
|
-
|
192
|
-
|
193
|
-
<div class="sectiontitle">Constants</div>
|
194
|
-
<table border='0' cellpadding='5'>
|
195
|
-
<tr valign='top'>
|
196
|
-
<td class="attr-name">BRA2KET</td>
|
197
|
-
<td>=</td>
|
198
|
-
<td class="attr-value">{ '['=>']', '('=>')', '{'=>'}', '<'=>'>' }</td>
|
199
|
-
</tr>
|
200
|
-
</table>
|
201
|
-
|
202
|
-
|
203
|
-
<div class="sectiontitle">Public Class methods</div>
|
204
|
-
<div class="method">
|
205
|
-
<div class="title">
|
206
|
-
<a name="M000269"></a><b>interpolate</b>(&str)
|
207
|
-
</div>
|
208
|
-
<div class="description">
|
209
|
-
<p>
|
210
|
-
Interpolate. Provides a means of extenally using Ruby string interpolation
|
211
|
-
mechinism.
|
212
|
-
</p>
|
213
|
-
<pre>
|
214
|
-
try = "hello"
|
215
|
-
str = "\#{try}!!!"
|
216
|
-
String.interpolate{ str } #=> "hello!!!"
|
217
|
-
|
218
|
-
NOTE: The block neccessary in order to get
|
219
|
-
then binding of the caller.
|
220
|
-
|
221
|
-
CREDIT: Trans
|
222
|
-
</pre>
|
223
|
-
</div>
|
224
|
-
<div class="sourcecode">
|
225
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000269_source')" id="l_M000269_source">show source</a> ]</p>
|
226
|
-
<div id="M000269_source" class="dyn-source">
|
227
|
-
<pre>
|
228
|
-
<span class="ruby-comment cmt"># File lib/facets/string/interpolate.rb, line 15</span>
|
229
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">str</span>)
|
230
|
-
<span class="ruby-identifier">eval</span> <span class="ruby-node">"%{#{str.call}}"</span>, <span class="ruby-identifier">str</span>.<span class="ruby-identifier">binding</span>
|
231
|
-
<span class="ruby-keyword kw">end</span>
|
232
|
-
</pre>
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
<div class="sectiontitle">Public Instance methods</div>
|
237
|
-
<div class="method">
|
238
|
-
<div class="title">
|
239
|
-
<a name="M000262"></a><b>-</b>(pattern)
|
240
|
-
</div>
|
241
|
-
<div class="description">
|
242
|
-
<p>
|
243
|
-
Removes occurances of a string or regexp.
|
244
|
-
</p>
|
245
|
-
<pre>
|
246
|
-
"HELLO HELLO" - "LL" #=> "HEO HEO"
|
247
|
-
|
248
|
-
CREDIT: Benjamin David Oakes
|
249
|
-
</pre>
|
250
|
-
</div>
|
251
|
-
<div class="sourcecode">
|
252
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000262_source')" id="l_M000262_source">show source</a> ]</p>
|
253
|
-
<div id="M000262_source" class="dyn-source">
|
254
|
-
<pre>
|
255
|
-
<span class="ruby-comment cmt"># File lib/facets/string/subtract.rb, line 9</span>
|
256
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">pattern</span>)
|
257
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-identifier">pattern</span>, <span class="ruby-value str">''</span>)
|
258
|
-
<span class="ruby-keyword kw">end</span>
|
259
|
-
</pre>
|
260
|
-
</div>
|
261
|
-
</div>
|
262
|
-
</div>
|
263
|
-
<div class="method">
|
264
|
-
<div class="title">
|
265
|
-
<a name="M000285"></a><b>^</b>(aString)
|
266
|
-
</div>
|
267
|
-
<div class="description">
|
268
|
-
<p>
|
269
|
-
XOR two string.
|
270
|
-
</p>
|
271
|
-
<p>
|
272
|
-
TODO: This is used by crypt.rb, it needs to be documented.
|
273
|
-
</p>
|
274
|
-
</div>
|
275
|
-
<div class="sourcecode">
|
276
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000285_source')" id="l_M000285_source">show source</a> ]</p>
|
277
|
-
<div id="M000285_source" class="dyn-source">
|
278
|
-
<pre>
|
279
|
-
<span class="ruby-comment cmt"># File lib/facets/string/xor.rb, line 7</span>
|
280
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">^</span>(<span class="ruby-identifier">aString</span>)
|
281
|
-
<span class="ruby-identifier">a</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'C'</span><span class="ruby-operator">*</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">length</span>))
|
282
|
-
<span class="ruby-identifier">b</span> = <span class="ruby-identifier">aString</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'C'</span><span class="ruby-operator">*</span>(<span class="ruby-identifier">aString</span>.<span class="ruby-identifier">length</span>))
|
283
|
-
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">b</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span>)
|
284
|
-
(<span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">length</span>).<span class="ruby-identifier">times</span> { <span class="ruby-identifier">b</span> <span class="ruby-operator"><<</span> <span class="ruby-value">0</span> }
|
285
|
-
<span class="ruby-keyword kw">end</span>
|
286
|
-
<span class="ruby-identifier">xor</span> = <span class="ruby-value str">""</span>
|
287
|
-
<span class="ruby-value">0</span>.<span class="ruby-identifier">upto</span>(<span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">pos</span><span class="ruby-operator">|</span>
|
288
|
-
<span class="ruby-identifier">x</span> = <span class="ruby-identifier">a</span>[<span class="ruby-identifier">pos</span>] <span class="ruby-operator">^</span> <span class="ruby-identifier">b</span>[<span class="ruby-identifier">pos</span>]
|
289
|
-
<span class="ruby-identifier">xor</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">chr</span>()
|
290
|
-
}
|
291
|
-
<span class="ruby-keyword kw">return</span>(<span class="ruby-identifier">xor</span>)
|
292
|
-
<span class="ruby-keyword kw">end</span>
|
293
|
-
</pre>
|
294
|
-
</div>
|
295
|
-
</div>
|
296
|
-
</div>
|
297
|
-
<div class="method">
|
298
|
-
<div class="title">
|
299
|
-
<a name="M000240"></a><b>align</b>(direction, n, sep="\n", c=' ')
|
300
|
-
</div>
|
301
|
-
<div class="sourcecode">
|
302
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000240_source')" id="l_M000240_source">show source</a> ]</p>
|
303
|
-
<div id="M000240_source" class="dyn-source">
|
304
|
-
<pre>
|
305
|
-
<span class="ruby-comment cmt"># File lib/facets/string/align.rb, line 3</span>
|
306
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
307
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">direction</span>
|
308
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:right</span>
|
309
|
-
<span class="ruby-identifier">align_right</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
310
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:left</span>
|
311
|
-
<span class="ruby-identifier">align_left</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
312
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:center</span>
|
313
|
-
<span class="ruby-identifier">align_center</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
314
|
-
<span class="ruby-keyword kw">else</span>
|
315
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>
|
316
|
-
<span class="ruby-keyword kw">end</span>
|
317
|
-
<span class="ruby-keyword kw">end</span>
|
318
|
-
</pre>
|
319
|
-
</div>
|
320
|
-
</div>
|
321
|
-
</div>
|
322
|
-
<div class="method">
|
323
|
-
<div class="title">
|
324
|
-
<a name="M000243"></a><b>align_center</b>(n, sep="\n", c=' ')
|
325
|
-
</div>
|
326
|
-
<div class="description">
|
327
|
-
<p>
|
328
|
-
Centers each line of a string.
|
329
|
-
</p>
|
330
|
-
<p>
|
331
|
-
The defualt alignment seperation is a new line ("/n") This can be
|
332
|
-
changed as can be the padding string which defaults to a single <a
|
333
|
-
href="String.html#M000287">space</a> (’ ’).
|
334
|
-
</p>
|
335
|
-
<pre>
|
336
|
-
s = <<-EOS
|
337
|
-
This is a test
|
338
|
-
and
|
339
|
-
so on
|
340
|
-
EOS
|
341
|
-
|
342
|
-
puts s.align_center(14)
|
343
|
-
</pre>
|
344
|
-
<p>
|
345
|
-
<em>produces</em>
|
346
|
-
</p>
|
347
|
-
<pre>
|
348
|
-
This is a test
|
349
|
-
and
|
350
|
-
so on
|
351
|
-
|
352
|
-
CREDIT: Trans
|
353
|
-
</pre>
|
354
|
-
</div>
|
355
|
-
<div class="sourcecode">
|
356
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000243_source')" id="l_M000243_source">show source</a> ]</p>
|
357
|
-
<div id="M000243_source" class="dyn-source">
|
358
|
-
<pre>
|
359
|
-
<span class="ruby-comment cmt"># File lib/facets/string/align.rb, line 97</span>
|
360
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_center</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
361
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">center</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sep</span><span class="ruby-operator">==</span><span class="ruby-keyword kw">nil</span>
|
362
|
-
<span class="ruby-identifier">q</span> = <span class="ruby-identifier">split</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
363
|
-
<span class="ruby-identifier">line</span>.<span class="ruby-identifier">center</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>)
|
364
|
-
}
|
365
|
-
<span class="ruby-identifier">q</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>)
|
366
|
-
<span class="ruby-keyword kw">end</span>
|
367
|
-
</pre>
|
368
|
-
</div>
|
369
|
-
</div>
|
370
|
-
</div>
|
371
|
-
<div class="method">
|
372
|
-
<div class="title">
|
373
|
-
<a name="M000242"></a><b>align_left</b>(n, sep="\n", c=' ')
|
374
|
-
</div>
|
375
|
-
<div class="description">
|
376
|
-
<p>
|
377
|
-
Align a string to the left.
|
378
|
-
</p>
|
379
|
-
<p>
|
380
|
-
The defualt alignment seperation is a new line ("/n") This can be
|
381
|
-
changes as can be the padding string which defaults to a single <a
|
382
|
-
href="String.html#M000287">space</a> (’ ’).
|
383
|
-
</p>
|
384
|
-
<pre>
|
385
|
-
s = <<-EOS
|
386
|
-
This is a test
|
387
|
-
and
|
388
|
-
so on
|
389
|
-
EOS
|
390
|
-
|
391
|
-
puts s.align_left(2)
|
392
|
-
</pre>
|
393
|
-
<p>
|
394
|
-
<em>produces</em>
|
395
|
-
</p>
|
396
|
-
<pre>
|
397
|
-
This is a test
|
398
|
-
and
|
399
|
-
so on
|
400
|
-
|
401
|
-
CREDIT: Trans
|
402
|
-
</pre>
|
403
|
-
</div>
|
404
|
-
<div class="sourcecode">
|
405
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000242_source')" id="l_M000242_source">show source</a> ]</p>
|
406
|
-
<div id="M000242_source" class="dyn-source">
|
407
|
-
<pre>
|
408
|
-
<span class="ruby-comment cmt"># File lib/facets/string/align.rb, line 67</span>
|
409
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_left</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
410
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">ljust</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sep</span><span class="ruby-operator">==</span><span class="ruby-keyword kw">nil</span>
|
411
|
-
<span class="ruby-identifier">q</span> = <span class="ruby-identifier">split</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
412
|
-
<span class="ruby-identifier">line</span>.<span class="ruby-identifier">ljust</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>)
|
413
|
-
}
|
414
|
-
<span class="ruby-identifier">q</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>)
|
415
|
-
<span class="ruby-keyword kw">end</span>
|
416
|
-
</pre>
|
417
|
-
</div>
|
418
|
-
</div>
|
419
|
-
</div>
|
420
|
-
<div class="method">
|
421
|
-
<div class="title">
|
422
|
-
<a name="M000241"></a><b>align_right</b>(n, sep="\n", c=' ')
|
423
|
-
</div>
|
424
|
-
<div class="description">
|
425
|
-
<p>
|
426
|
-
Align a string to the right. The defualt alignment seperation is a new line
|
427
|
-
("/n") This can be changes as can be the padding string which
|
428
|
-
defaults to a single <a href="String.html#M000287">space</a> (’
|
429
|
-
’).
|
430
|
-
</p>
|
431
|
-
<pre>
|
432
|
-
s = <<-EOS
|
433
|
-
This is a test
|
434
|
-
and
|
435
|
-
so on
|
436
|
-
EOS
|
437
|
-
|
438
|
-
puts s.align_right(2)
|
439
|
-
</pre>
|
440
|
-
<p>
|
441
|
-
<em>produces</em>
|
442
|
-
</p>
|
443
|
-
<pre>
|
444
|
-
This is a test
|
445
|
-
and
|
446
|
-
so on
|
447
|
-
|
448
|
-
CREDIT: Trans
|
449
|
-
</pre>
|
450
|
-
</div>
|
451
|
-
<div class="sourcecode">
|
452
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000241_source')" id="l_M000241_source">show source</a> ]</p>
|
453
|
-
<div id="M000241_source" class="dyn-source">
|
454
|
-
<pre>
|
455
|
-
<span class="ruby-comment cmt"># File lib/facets/string/align.rb, line 37</span>
|
456
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_right</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">"\n"</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
|
457
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rjust</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sep</span><span class="ruby-operator">==</span><span class="ruby-keyword kw">nil</span>
|
458
|
-
<span class="ruby-identifier">q</span> = <span class="ruby-identifier">split</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
459
|
-
<span class="ruby-identifier">line</span>.<span class="ruby-identifier">rjust</span>(<span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_i</span>,<span class="ruby-identifier">c</span>.<span class="ruby-identifier">to_s</span>)
|
460
|
-
}
|
461
|
-
<span class="ruby-identifier">q</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">sep</span>.<span class="ruby-identifier">to_s</span>)
|
462
|
-
<span class="ruby-keyword kw">end</span>
|
463
|
-
</pre>
|
464
|
-
</div>
|
465
|
-
</div>
|
466
|
-
</div>
|
467
|
-
<div class="method">
|
468
|
-
<div class="title">
|
469
|
-
<a name="M000231"></a><b>blank?</b>()
|
470
|
-
</div>
|
471
|
-
<div class="description">
|
472
|
-
<p>
|
473
|
-
Is this string just whitespace?
|
474
|
-
</p>
|
475
|
-
<pre>
|
476
|
-
"abc".blank? #=> false
|
477
|
-
" ".blank? #=> true
|
478
|
-
</pre>
|
479
|
-
</div>
|
480
|
-
<div class="sourcecode">
|
481
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000231_source')" id="l_M000231_source">show source</a> ]</p>
|
482
|
-
<div id="M000231_source" class="dyn-source">
|
483
|
-
<pre>
|
484
|
-
<span class="ruby-comment cmt"># File lib/facets/blank.rb, line 50</span>
|
485
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
|
486
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">!~</span> <span class="ruby-regexp re">/\S/</span>
|
487
|
-
<span class="ruby-keyword kw">end</span>
|
488
|
-
</pre>
|
489
|
-
</div>
|
490
|
-
</div>
|
491
|
-
</div>
|
492
|
-
<div class="method">
|
493
|
-
<div class="title">
|
494
|
-
<a name="M000274"></a><b>bracket</b>(bra, ket=nil)
|
495
|
-
</div>
|
496
|
-
<div class="description">
|
497
|
-
<p>
|
498
|
-
Return a new string embraced by given brakets. If only one <a
|
499
|
-
href="String.html#M000274">bracket</a> char is given it will be placed on
|
500
|
-
either side.
|
501
|
-
</p>
|
502
|
-
<pre>
|
503
|
-
"wrap me".bracket('{') #=> "{wrap me}"
|
504
|
-
"wrap me".bracket('--','!') #=> "--wrap me!"
|
505
|
-
|
506
|
-
CREDIT: Trans
|
507
|
-
</pre>
|
508
|
-
</div>
|
509
|
-
<div class="sourcecode">
|
510
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000274_source')" id="l_M000274_source">show source</a> ]</p>
|
511
|
-
<div id="M000274_source" class="dyn-source">
|
512
|
-
<pre>
|
513
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 14</span>
|
514
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
|
515
|
-
<span class="ruby-comment cmt">#ket = String.bra2ket[$&] if ! ket && /^[\[({<]$/ =~ bra</span>
|
516
|
-
<span class="ruby-identifier">ket</span> = <span class="ruby-constant">BRA2KET</span>[<span class="ruby-identifier">bra</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">ket</span>
|
517
|
-
<span class="ruby-node">"#{bra}#{self}#{ket ? ket : bra}"</span>
|
518
|
-
<span class="ruby-keyword kw">end</span>
|
519
|
-
</pre>
|
520
|
-
</div>
|
521
|
-
</div>
|
522
|
-
</div>
|
523
|
-
<div class="method">
|
524
|
-
<div class="title">
|
525
|
-
<a name="M000275"></a><b>bracket!</b>(bra, ket=nil)
|
526
|
-
</div>
|
527
|
-
<div class="description">
|
528
|
-
<p>
|
529
|
-
Inplace version of braket.
|
530
|
-
</p>
|
531
|
-
<pre>
|
532
|
-
CREDIT: Trans
|
533
|
-
</pre>
|
534
|
-
</div>
|
535
|
-
<div class="sourcecode">
|
536
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000275_source')" id="l_M000275_source">show source</a> ]</p>
|
537
|
-
<div id="M000275_source" class="dyn-source">
|
538
|
-
<pre>
|
539
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 24</span>
|
540
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket!</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
|
541
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">bracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>))
|
542
|
-
<span class="ruby-keyword kw">end</span>
|
543
|
-
</pre>
|
544
|
-
</div>
|
545
|
-
</div>
|
546
|
-
</div>
|
547
|
-
<div class="method">
|
548
|
-
<div class="title">
|
549
|
-
<a name="M000224"></a><b>bytes</b>()
|
550
|
-
</div>
|
551
|
-
<div class="description">
|
552
|
-
<p>
|
553
|
-
Upacks string into <a href="String.html#M000224">bytes</a>.
|
554
|
-
</p>
|
555
|
-
</div>
|
556
|
-
<div class="sourcecode">
|
557
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000224_source')" id="l_M000224_source">show source</a> ]</p>
|
558
|
-
<div id="M000224_source" class="dyn-source">
|
559
|
-
<pre>
|
560
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 336</span>
|
561
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>
|
562
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'C*'</span>)
|
563
|
-
<span class="ruby-keyword kw">end</span>
|
564
|
-
</pre>
|
565
|
-
</div>
|
566
|
-
</div>
|
567
|
-
</div>
|
568
|
-
<div class="method">
|
569
|
-
<div class="title">
|
570
|
-
<a name="M000239"></a><b>camelcase</b>(upcase_first_letter=true)
|
571
|
-
</div>
|
572
|
-
<div class="description">
|
573
|
-
<p>
|
574
|
-
Converts a string to <a href="String.html#M000239">camelcase</a>.
|
575
|
-
</p>
|
576
|
-
<p>
|
577
|
-
By default <a href="String.html#M000239">camelcase</a> convert to
|
578
|
-
UpperCamelCase, If an argument is set to <tt>false</tt>, then <a
|
579
|
-
href="String.html#M000239">camelcase</a> will produce lowerCamelCase.
|
580
|
-
</p>
|
581
|
-
<p>
|
582
|
-
<tt><a href="String.html#M000239">camelcase</a></tt> also converts
|
583
|
-
’/’ to ’::’ which is useful for converting paths to
|
584
|
-
namespaces.
|
585
|
-
</p>
|
586
|
-
<p>
|
587
|
-
Examples
|
588
|
-
</p>
|
589
|
-
<pre>
|
590
|
-
"camel_case".camelcase #=> "CamelCase"
|
591
|
-
"camel/case".camelcase #=> "Camel::Case"
|
592
|
-
"camel_case".camelcase(false) #=> "camelCase"
|
593
|
-
</pre>
|
594
|
-
</div>
|
595
|
-
<div class="sourcecode">
|
596
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000239_source')" id="l_M000239_source">show source</a> ]</p>
|
597
|
-
<div id="M000239_source" class="dyn-source">
|
598
|
-
<pre>
|
599
|
-
<span class="ruby-comment cmt"># File lib/facets/string/camelcase.rb, line 16</span>
|
600
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">camelcase</span>(<span class="ruby-identifier">upcase_first_letter</span>=<span class="ruby-keyword kw">true</span>)
|
601
|
-
<span class="ruby-identifier">up</span> = <span class="ruby-identifier">upcase_first_letter</span>
|
602
|
-
<span class="ruby-identifier">str</span> = <span class="ruby-identifier">dup</span>
|
603
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/\/(.?)/</span>){ <span class="ruby-node">"::#{$1.upcase}"</span> } <span class="ruby-comment cmt"># NOT SO SURE ABOUT THIS -T</span>
|
604
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/(?:_+|-+)([a-z])/</span>){ <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">upcase</span> }
|
605
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/(\A|\s)([a-z])/</span>){ <span class="ruby-identifier">$1</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">upcase</span> } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">up</span>
|
606
|
-
<span class="ruby-identifier">str</span>
|
607
|
-
<span class="ruby-keyword kw">end</span>
|
608
|
-
</pre>
|
609
|
-
</div>
|
610
|
-
</div>
|
611
|
-
</div>
|
612
|
-
<div class="method">
|
613
|
-
<div class="title">
|
614
|
-
<a name="M000258"></a><b>capitalized?</b>()
|
615
|
-
</div>
|
616
|
-
<div class="description">
|
617
|
-
<p>
|
618
|
-
Return true if the string is capitalized, otherwise false.
|
619
|
-
</p>
|
620
|
-
<pre>
|
621
|
-
"THIS".capitalized? #=> true
|
622
|
-
"This".capitalized? #=> true
|
623
|
-
"this".capitalized? #=> false
|
624
|
-
|
625
|
-
CREDIT: Phil Tomson
|
626
|
-
</pre>
|
627
|
-
</div>
|
628
|
-
<div class="sourcecode">
|
629
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000258_source')" id="l_M000258_source">show source</a> ]</p>
|
630
|
-
<div id="M000258_source" class="dyn-source">
|
631
|
-
<pre>
|
632
|
-
<span class="ruby-comment cmt"># File lib/facets/string/capitalized.rb, line 11</span>
|
633
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">capitalized?</span>
|
634
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[A-Z]/</span>
|
635
|
-
<span class="ruby-keyword kw">end</span>
|
636
|
-
</pre>
|
637
|
-
</div>
|
638
|
-
</div>
|
639
|
-
</div>
|
640
|
-
<div class="method">
|
641
|
-
<div class="title">
|
642
|
-
<a name="M000225"></a><b>chars</b>()
|
643
|
-
</div>
|
644
|
-
<div class="description">
|
645
|
-
<p>
|
646
|
-
Returns an array of characters.
|
647
|
-
</p>
|
648
|
-
<pre>
|
649
|
-
"abc".chars #=> ["a","b","c"]
|
650
|
-
</pre>
|
651
|
-
</div>
|
652
|
-
<div class="sourcecode">
|
653
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000225_source')" id="l_M000225_source">show source</a> ]</p>
|
654
|
-
<div id="M000225_source" class="dyn-source">
|
655
|
-
<pre>
|
656
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 344</span>
|
657
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chars</span>
|
658
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">//</span>)
|
659
|
-
<span class="ruby-keyword kw">end</span>
|
660
|
-
</pre>
|
661
|
-
</div>
|
662
|
-
</div>
|
663
|
-
</div>
|
664
|
-
<div class="method">
|
665
|
-
<div class="title">
|
666
|
-
<a name="M000270"></a><b>cleave</b>(threshold=nil, len=nil)
|
667
|
-
</div>
|
668
|
-
<div class="description">
|
669
|
-
<p>
|
670
|
-
Cleave a string. Break a string in two parts at the nearest whitespace.
|
671
|
-
</p>
|
672
|
-
<pre>
|
673
|
-
CREDIT: Trans
|
674
|
-
</pre>
|
675
|
-
</div>
|
676
|
-
<div class="sourcecode">
|
677
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000270_source')" id="l_M000270_source">show source</a> ]</p>
|
678
|
-
<div id="M000270_source" class="dyn-source">
|
679
|
-
<pre>
|
680
|
-
<span class="ruby-comment cmt"># File lib/facets/string/cleave.rb, line 8</span>
|
681
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleave</span>(<span class="ruby-identifier">threshold</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">len</span>=<span class="ruby-keyword kw">nil</span>)
|
682
|
-
<span class="ruby-identifier">l</span> = (<span class="ruby-identifier">len</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">/</span> <span class="ruby-value">2</span>)
|
683
|
-
<span class="ruby-identifier">t</span> = <span class="ruby-identifier">threshold</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">size</span>
|
684
|
-
|
685
|
-
<span class="ruby-identifier">h1</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">l</span>]
|
686
|
-
<span class="ruby-identifier">h2</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">l</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
687
|
-
|
688
|
-
<span class="ruby-identifier">i1</span> = <span class="ruby-identifier">h1</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-regexp re">/\s/</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
|
689
|
-
<span class="ruby-identifier">d1</span> = (<span class="ruby-identifier">i1</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">l</span>).<span class="ruby-identifier">abs</span>
|
690
|
-
|
691
|
-
<span class="ruby-identifier">d2</span> = <span class="ruby-identifier">h2</span>.<span class="ruby-identifier">index</span>(<span class="ruby-regexp re">/\s/</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">l</span>
|
692
|
-
<span class="ruby-identifier">i2</span> = <span class="ruby-identifier">d2</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">l</span>
|
693
|
-
|
694
|
-
<span class="ruby-identifier">d1</span> = (<span class="ruby-identifier">i1</span><span class="ruby-operator">-</span><span class="ruby-identifier">l</span>).<span class="ruby-identifier">abs</span>
|
695
|
-
<span class="ruby-identifier">d2</span> = (<span class="ruby-identifier">i2</span><span class="ruby-operator">-</span><span class="ruby-identifier">l</span>).<span class="ruby-identifier">abs</span>
|
696
|
-
|
697
|
-
<span class="ruby-keyword kw">if</span> [<span class="ruby-identifier">d1</span>, <span class="ruby-identifier">d2</span>].<span class="ruby-identifier">min</span> <span class="ruby-operator">></span> <span class="ruby-identifier">t</span>
|
698
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">t</span>
|
699
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">d1</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">d2</span>
|
700
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">i1</span>
|
701
|
-
<span class="ruby-keyword kw">else</span>
|
702
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">i2</span>
|
703
|
-
<span class="ruby-keyword kw">end</span>
|
704
|
-
|
705
|
-
<span class="ruby-comment cmt">#dup.insert(l, "\n").gsub(/^\s+|\s+$/, '')</span>
|
706
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>, <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">strip</span>
|
707
|
-
<span class="ruby-keyword kw">end</span>
|
708
|
-
</pre>
|
709
|
-
</div>
|
710
|
-
</div>
|
711
|
-
</div>
|
712
|
-
<div class="method">
|
713
|
-
<div class="title">
|
714
|
-
<a name="M000234"></a><b>cmp</b>(other)
|
715
|
-
</div>
|
716
|
-
<div class="description">
|
717
|
-
<p>
|
718
|
-
Compare method that takes length into account. Unlike #<=>, this is
|
719
|
-
compatible with succ.
|
720
|
-
</p>
|
721
|
-
<pre>
|
722
|
-
"abc".cmp("abc") #=> 0
|
723
|
-
"abcd".cmp("abc") #=> 1
|
724
|
-
"abc".cmp("abcd") #=> -1
|
725
|
-
"xyz".cmp("abc") #=> 1
|
726
|
-
|
727
|
-
CREDIT Peter Vanbroekhoven
|
728
|
-
</pre>
|
729
|
-
</div>
|
730
|
-
<div class="sourcecode">
|
731
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000234_source')" id="l_M000234_source">show source</a> ]</p>
|
732
|
-
<div id="M000234_source" class="dyn-source">
|
733
|
-
<pre>
|
734
|
-
<span class="ruby-comment cmt"># File lib/facets/comparable/cmp.rb, line 31</span>
|
735
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">other</span>)
|
736
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-value">-1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">length</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">length</span>
|
737
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">length</span>
|
738
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator"><=></span> <span class="ruby-identifier">other</span> <span class="ruby-comment cmt"># alphabetic compare</span>
|
739
|
-
<span class="ruby-keyword kw">end</span>
|
740
|
-
</pre>
|
741
|
-
</div>
|
742
|
-
</div>
|
743
|
-
</div>
|
744
|
-
<div class="method">
|
745
|
-
<div class="title">
|
746
|
-
<a name="M000279"></a><b>dequote</b>()
|
747
|
-
</div>
|
748
|
-
<div class="description">
|
749
|
-
<p>
|
750
|
-
Remove quotes from string.
|
751
|
-
</p>
|
752
|
-
<pre>
|
753
|
-
"'hi'".dequite #=> "hi"
|
754
|
-
|
755
|
-
CREDIT: Trans
|
756
|
-
</pre>
|
757
|
-
</div>
|
758
|
-
<div class="sourcecode">
|
759
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000279_source')" id="l_M000279_source">show source</a> ]</p>
|
760
|
-
<div id="M000279_source" class="dyn-source">
|
761
|
-
<pre>
|
762
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 88</span>
|
763
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dequote</span>
|
764
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
765
|
-
|
766
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span>,<span class="ruby-value">1</span>]
|
767
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">"'"</span>, <span class="ruby-value str">'"'</span>, <span class="ruby-value str">'`'</span>
|
768
|
-
<span class="ruby-identifier">s</span>[<span class="ruby-value">0</span>] = <span class="ruby-value str">''</span>
|
769
|
-
<span class="ruby-keyword kw">end</span>
|
770
|
-
|
771
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">-1</span>,<span class="ruby-value">1</span>]
|
772
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">"'"</span>, <span class="ruby-value str">'"'</span>, <span class="ruby-value str">'`'</span>
|
773
|
-
<span class="ruby-identifier">s</span>[<span class="ruby-value">-1</span>] = <span class="ruby-value str">''</span>
|
774
|
-
<span class="ruby-keyword kw">end</span>
|
775
|
-
|
776
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">s</span>
|
777
|
-
<span class="ruby-keyword kw">end</span>
|
778
|
-
</pre>
|
779
|
-
</div>
|
780
|
-
</div>
|
781
|
-
</div>
|
782
|
-
<div class="method">
|
783
|
-
<div class="title">
|
784
|
-
<a name="M000256"></a><b>divide</b>( re )
|
785
|
-
</div>
|
786
|
-
<div class="description">
|
787
|
-
<p>
|
788
|
-
Breaks a string up into an array based on a regular expression. Similar to
|
789
|
-
scan, but includes the matches.
|
790
|
-
</p>
|
791
|
-
<pre>
|
792
|
-
s = "<p>This<b>is</b>a test.</p>"
|
793
|
-
s.divide( /\<.*?\>/ )
|
794
|
-
</pre>
|
795
|
-
<p>
|
796
|
-
<em>produces</em>
|
797
|
-
</p>
|
798
|
-
<pre>
|
799
|
-
["<p>This", "<b>is", "</b>a test.", "</p>"]
|
800
|
-
|
801
|
-
CREDIT: Trans
|
802
|
-
</pre>
|
803
|
-
</div>
|
804
|
-
<div class="sourcecode">
|
805
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000256_source')" id="l_M000256_source">show source</a> ]</p>
|
806
|
-
<div id="M000256_source" class="dyn-source">
|
807
|
-
<pre>
|
808
|
-
<span class="ruby-comment cmt"># File lib/facets/string/divide.rb, line 15</span>
|
809
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>( <span class="ruby-identifier">re</span> )
|
810
|
-
<span class="ruby-identifier">re2</span> = <span class="ruby-node">/#{re}.*?(?=#{re}|\Z)/</span>
|
811
|
-
<span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re2</span>) <span class="ruby-comment cmt">#{re}(?=#{re})/)</span>
|
812
|
-
<span class="ruby-keyword kw">end</span>
|
813
|
-
</pre>
|
814
|
-
</div>
|
815
|
-
</div>
|
816
|
-
</div>
|
817
|
-
<div class="method">
|
818
|
-
<div class="title">
|
819
|
-
<a name="M000259"></a><b>downcase?</b>()
|
820
|
-
</div>
|
821
|
-
<div class="description">
|
822
|
-
<p>
|
823
|
-
Return true if the string is lowercase (downcase), otherwise false.
|
824
|
-
</p>
|
825
|
-
<pre>
|
826
|
-
"THIS".downcase? #=> false
|
827
|
-
"This".downcase? #=> false
|
828
|
-
"this".downcase? #=> true
|
829
|
-
|
830
|
-
CREDIT: Phil Tomson
|
831
|
-
</pre>
|
832
|
-
</div>
|
833
|
-
<div class="sourcecode">
|
834
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000259_source')" id="l_M000259_source">show source</a> ]</p>
|
835
|
-
<div id="M000259_source" class="dyn-source">
|
836
|
-
<pre>
|
837
|
-
<span class="ruby-comment cmt"># File lib/facets/string/capitalized.rb, line 23</span>
|
838
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downcase?</span>
|
839
|
-
<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>
|
840
|
-
<span class="ruby-keyword kw">end</span>
|
841
|
-
</pre>
|
842
|
-
</div>
|
843
|
-
</div>
|
844
|
-
</div>
|
845
|
-
<div class="method">
|
846
|
-
<div class="title">
|
847
|
-
<a name="M000227"></a><b>each_char</b>( {|| ...}
|
848
|
-
</div>
|
849
|
-
<div class="description">
|
850
|
-
<p>
|
851
|
-
Iterates through each character. This is a little faster than using <a
|
852
|
-
href="String.html#M000225">chars</a> b/c it does not create the
|
853
|
-
intermediate array.
|
854
|
-
</p>
|
855
|
-
<pre>
|
856
|
-
a = ''
|
857
|
-
"HELLO".each_character{ |c| a << #{c.downcase} }
|
858
|
-
a #=> 'hello'
|
859
|
-
</pre>
|
860
|
-
</div>
|
861
|
-
<div class="sourcecode">
|
862
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000227_source')" id="l_M000227_source">show source</a> ]</p>
|
863
|
-
<div id="M000227_source" class="dyn-source">
|
864
|
-
<pre>
|
865
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 363</span>
|
866
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_char</span> <span class="ruby-comment cmt"># :yield:</span>
|
867
|
-
<span class="ruby-identifier">size</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
868
|
-
<span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>,<span class="ruby-value">1</span>])
|
869
|
-
<span class="ruby-keyword kw">end</span>
|
870
|
-
<span class="ruby-keyword kw">end</span>
|
871
|
-
</pre>
|
872
|
-
</div>
|
873
|
-
</div>
|
874
|
-
</div>
|
875
|
-
<div class="method">
|
876
|
-
<div class="title">
|
877
|
-
<a name="M000229"></a><b>end_with?</b>(suffix)
|
878
|
-
</div>
|
879
|
-
<div class="description">
|
880
|
-
<p>
|
881
|
-
Does a string end with the given suffix?
|
882
|
-
</p>
|
883
|
-
<pre>
|
884
|
-
"hello".ends_with?("lo") #=> true
|
885
|
-
"hello".ends_with?("to") #=> false
|
886
|
-
|
887
|
-
CREDIT: Lucas Carlson
|
888
|
-
CREDIT: Blaine Cook
|
889
|
-
</pre>
|
890
|
-
</div>
|
891
|
-
<div class="sourcecode">
|
892
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000229_source')" id="l_M000229_source">show source</a> ]</p>
|
893
|
-
<div id="M000229_source" class="dyn-source">
|
894
|
-
<pre>
|
895
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 389</span>
|
896
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">end_with?</span>(<span class="ruby-identifier">suffix</span>)
|
897
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-identifier">suffix</span>) <span class="ruby-operator">==</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">suffix</span>.<span class="ruby-identifier">size</span>
|
898
|
-
<span class="ruby-keyword kw">end</span>
|
899
|
-
</pre>
|
900
|
-
</div>
|
901
|
-
</div>
|
902
|
-
</div>
|
903
|
-
<div class="method">
|
904
|
-
<div class="title">
|
905
|
-
<a name="M000246"></a><b>expand_tabs</b>(n=8)
|
906
|
-
</div>
|
907
|
-
<div class="description">
|
908
|
-
<p>
|
909
|
-
Expands tabs to <tt>n</tt> spaces. Non-destructive. If <tt>n</tt> is 0,
|
910
|
-
then tabs are simply removed. Raises an exception if <tt>n</tt> is
|
911
|
-
negative.
|
912
|
-
</p>
|
913
|
-
<p>
|
914
|
-
Thanks to GGaramuno for a more efficient algorithm. Very nice.
|
915
|
-
</p>
|
916
|
-
<pre>
|
917
|
-
CREDIT: Gavin Sinclair
|
918
|
-
CREDIT: Noah Gibbs
|
919
|
-
CREDIT: GGaramuno
|
920
|
-
</pre>
|
921
|
-
</div>
|
922
|
-
<div class="sourcecode">
|
923
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000246_source')" id="l_M000246_source">show source</a> ]</p>
|
924
|
-
<div id="M000246_source" class="dyn-source">
|
925
|
-
<pre>
|
926
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 26</span>
|
927
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_tabs</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">8</span>)
|
928
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_int</span>
|
929
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"n must be >= 0"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
930
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\t/</span>, <span class="ruby-value str">""</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
931
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\t/</span>, <span class="ruby-value str">" "</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
932
|
-
<span class="ruby-identifier">str</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
933
|
-
<span class="ruby-keyword kw">while</span>
|
934
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/^([^\t\n]*)(\t+)/</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
935
|
-
<span class="ruby-identifier">val</span> = ( <span class="ruby-identifier">n</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> (<span class="ruby-identifier">$1</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">n</span>) )
|
936
|
-
<span class="ruby-identifier">$1</span> <span class="ruby-operator"><<</span> (<span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">val</span>)
|
937
|
-
}
|
938
|
-
<span class="ruby-keyword kw">end</span>
|
939
|
-
<span class="ruby-identifier">str</span>
|
940
|
-
<span class="ruby-keyword kw">end</span>
|
941
|
-
</pre>
|
942
|
-
</div>
|
943
|
-
</div>
|
944
|
-
</div>
|
945
|
-
<div class="method">
|
946
|
-
<div class="title">
|
947
|
-
<a name="M000238"></a><b>fold</b>(ignore_indented=false)
|
948
|
-
</div>
|
949
|
-
<div class="description">
|
950
|
-
<p>
|
951
|
-
Returns a new string with all new <a href="String.html#M000226">lines</a>
|
952
|
-
removed from adjacent <a href="String.html#M000226">lines</a> of text.
|
953
|
-
</p>
|
954
|
-
<pre>
|
955
|
-
s = "This is\na test.\n\nIt clumps\nlines of text."
|
956
|
-
s.fold
|
957
|
-
</pre>
|
958
|
-
<p>
|
959
|
-
<em>produces</em>
|
960
|
-
</p>
|
961
|
-
<pre>
|
962
|
-
"This is a test.\n\nIt clumps lines of text. "
|
963
|
-
</pre>
|
964
|
-
<p>
|
965
|
-
One arguable flaw with this, that might need a fix: if the given string
|
966
|
-
ends in a newline, it is replaced with a single <a
|
967
|
-
href="String.html#M000287">space</a>.
|
968
|
-
</p>
|
969
|
-
<pre>
|
970
|
-
CREDIT: Trans
|
971
|
-
</pre>
|
972
|
-
</div>
|
973
|
-
<div class="sourcecode">
|
974
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000238_source')" id="l_M000238_source">show source</a> ]</p>
|
975
|
-
<div id="M000238_source" class="dyn-source">
|
976
|
-
<pre>
|
977
|
-
<span class="ruby-comment cmt"># File lib/facets/string/fold.rb, line 19</span>
|
978
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fold</span>(<span class="ruby-identifier">ignore_indented</span>=<span class="ruby-keyword kw">false</span>)
|
979
|
-
<span class="ruby-identifier">ns</span> = <span class="ruby-value str">''</span>
|
980
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-value">0</span>
|
981
|
-
<span class="ruby-identifier">br</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/(\n\s*\n|\Z)/</span><span class="ruby-identifier">m</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
|
982
|
-
<span class="ruby-identifier">b</span> = <span class="ruby-identifier">$~</span>.<span class="ruby-identifier">begin</span>(<span class="ruby-value">1</span>)
|
983
|
-
<span class="ruby-identifier">e</span> = <span class="ruby-identifier">$~</span>.<span class="ruby-identifier">end</span>(<span class="ruby-value">1</span>)
|
984
|
-
<span class="ruby-identifier">nl</span> = <span class="ruby-identifier">$&</span>
|
985
|
-
<span class="ruby-identifier">tx</span> = <span class="ruby-identifier">slice</span>(<span class="ruby-identifier">i</span><span class="ruby-operator">...</span><span class="ruby-identifier">b</span>)
|
986
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ignore_indented</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">slice</span>(<span class="ruby-identifier">i</span><span class="ruby-operator">...</span><span class="ruby-identifier">b</span>) <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[ ]+/</span>
|
987
|
-
<span class="ruby-identifier">ns</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tx</span>
|
988
|
-
<span class="ruby-keyword kw">else</span>
|
989
|
-
<span class="ruby-identifier">ns</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">tx</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[ ]*\n+/</span>,<span class="ruby-value str">' '</span>)
|
990
|
-
<span class="ruby-keyword kw">end</span>
|
991
|
-
<span class="ruby-identifier">ns</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">nl</span>
|
992
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">e</span>
|
993
|
-
<span class="ruby-keyword kw">end</span>
|
994
|
-
<span class="ruby-identifier">ns</span>
|
995
|
-
<span class="ruby-keyword kw">end</span>
|
996
|
-
</pre>
|
997
|
-
</div>
|
998
|
-
</div>
|
999
|
-
</div>
|
1000
|
-
<div class="method">
|
1001
|
-
<div class="title">
|
1002
|
-
<a name="M000266"></a><b>humanize</b>()
|
1003
|
-
</div>
|
1004
|
-
<div class="description">
|
1005
|
-
<p>
|
1006
|
-
Replaces underscores with spaces and capitalizes word.
|
1007
|
-
</p>
|
1008
|
-
</div>
|
1009
|
-
<div class="sourcecode">
|
1010
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000266_source')" id="l_M000266_source">show source</a> ]</p>
|
1011
|
-
<div id="M000266_source" class="dyn-source">
|
1012
|
-
<pre>
|
1013
|
-
<span class="ruby-comment cmt"># File lib/facets/string/stylize.rb, line 59</span>
|
1014
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">humanize</span>
|
1015
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/_/</span>, <span class="ruby-value str">" "</span>).<span class="ruby-identifier">capitalize</span>
|
1016
|
-
<span class="ruby-keyword kw">end</span>
|
1017
|
-
</pre>
|
1018
|
-
</div>
|
1019
|
-
</div>
|
1020
|
-
</div>
|
1021
|
-
<div class="method">
|
1022
|
-
<div class="title">
|
1023
|
-
<a name="M000248"></a><b>indent</b>(n)
|
1024
|
-
</div>
|
1025
|
-
<div class="description">
|
1026
|
-
<p>
|
1027
|
-
Indent left or right by n spaces. (This used to be called <a
|
1028
|
-
href="String.html#M000244">tab</a> and aliased as <a
|
1029
|
-
href="String.html#M000248">indent</a>.)
|
1030
|
-
</p>
|
1031
|
-
<pre>
|
1032
|
-
CREDIT: Gavin Sinclair
|
1033
|
-
CREDIT: Trans
|
1034
|
-
</pre>
|
1035
|
-
</div>
|
1036
|
-
<div class="sourcecode">
|
1037
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000248_source')" id="l_M000248_source">show source</a> ]</p>
|
1038
|
-
<div id="M000248_source" class="dyn-source">
|
1039
|
-
<pre>
|
1040
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 60</span>
|
1041
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indent</span>(<span class="ruby-identifier">n</span>)
|
1042
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">>=</span> <span class="ruby-value">0</span>
|
1043
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/^/</span>, <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">n</span>)
|
1044
|
-
<span class="ruby-keyword kw">else</span>
|
1045
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-node">/^ {0,#{-n}}/</span>, <span class="ruby-value str">""</span>)
|
1046
|
-
<span class="ruby-keyword kw">end</span>
|
1047
|
-
<span class="ruby-keyword kw">end</span>
|
1048
|
-
</pre>
|
1049
|
-
</div>
|
1050
|
-
</div>
|
1051
|
-
</div>
|
1052
|
-
<div class="method">
|
1053
|
-
<div class="title">
|
1054
|
-
<a name="M000254"></a><b>index_all</b>(s, reuse=false)
|
1055
|
-
</div>
|
1056
|
-
<div class="description">
|
1057
|
-
<p>
|
1058
|
-
Like index but returns an array of all index locations. The reuse flag
|
1059
|
-
allows the trailing portion of a match to be reused for subsquent matches.
|
1060
|
-
</p>
|
1061
|
-
<pre>
|
1062
|
-
"abcabcabc".index_all('a') #=> [0,3,6]
|
1063
|
-
|
1064
|
-
"bbb".index_all('bb', false) #=> [0]
|
1065
|
-
"bbb".index_all('bb', true) #=> [0,1]
|
1066
|
-
|
1067
|
-
TODO: Culd probably be defined for Indexable in general too.
|
1068
|
-
</pre>
|
1069
|
-
</div>
|
1070
|
-
<div class="sourcecode">
|
1071
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000254_source')" id="l_M000254_source">show source</a> ]</p>
|
1072
|
-
<div id="M000254_source" class="dyn-source">
|
1073
|
-
<pre>
|
1074
|
-
<span class="ruby-comment cmt"># File lib/facets/string/range.rb, line 66</span>
|
1075
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
|
1076
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">s</span>)) <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">Regexp</span><span class="ruby-operator">===</span><span class="ruby-identifier">s</span>
|
1077
|
-
<span class="ruby-identifier">ia</span> = []; <span class="ruby-identifier">i</span> = <span class="ruby-value">0</span>
|
1078
|
-
<span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">i</span> = <span class="ruby-identifier">index</span>(<span class="ruby-identifier">s</span>,<span class="ruby-identifier">i</span>))
|
1079
|
-
<span class="ruby-identifier">ia</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">i</span>
|
1080
|
-
<span class="ruby-identifier">i</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">reuse</span> <span class="ruby-value">? </span><span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">$~</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">size</span>)
|
1081
|
-
<span class="ruby-keyword kw">end</span>
|
1082
|
-
<span class="ruby-identifier">ia</span>
|
1083
|
-
<span class="ruby-keyword kw">end</span>
|
1084
|
-
</pre>
|
1085
|
-
</div>
|
1086
|
-
</div>
|
1087
|
-
</div>
|
1088
|
-
<div class="method">
|
1089
|
-
<div class="title">
|
1090
|
-
<a name="M000280"></a><b>lchomp</b>(match)
|
1091
|
-
</div>
|
1092
|
-
<div class="description">
|
1093
|
-
<p>
|
1094
|
-
Left chomp.
|
1095
|
-
</p>
|
1096
|
-
<pre>
|
1097
|
-
"help".lchomp("h") #=> "elp"
|
1098
|
-
"help".lchomp("k") #=> "help"
|
1099
|
-
|
1100
|
-
CREDIT: Trans
|
1101
|
-
</pre>
|
1102
|
-
</div>
|
1103
|
-
<div class="sourcecode">
|
1104
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000280_source')" id="l_M000280_source">show source</a> ]</p>
|
1105
|
-
<div id="M000280_source" class="dyn-source">
|
1106
|
-
<pre>
|
1107
|
-
<span class="ruby-comment cmt"># File lib/facets/string/chomp.rb, line 10</span>
|
1108
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp</span>(<span class="ruby-identifier">match</span>)
|
1109
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span>(<span class="ruby-identifier">match</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
1110
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">match</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
1111
|
-
<span class="ruby-keyword kw">else</span>
|
1112
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
1113
|
-
<span class="ruby-keyword kw">end</span>
|
1114
|
-
<span class="ruby-keyword kw">end</span>
|
1115
|
-
</pre>
|
1116
|
-
</div>
|
1117
|
-
</div>
|
1118
|
-
</div>
|
1119
|
-
<div class="method">
|
1120
|
-
<div class="title">
|
1121
|
-
<a name="M000281"></a><b>lchomp!</b>(match)
|
1122
|
-
</div>
|
1123
|
-
<div class="description">
|
1124
|
-
<p>
|
1125
|
-
In-place left chomp.
|
1126
|
-
</p>
|
1127
|
-
<pre>
|
1128
|
-
"help".lchomp("h") #=> "elp"
|
1129
|
-
"help".lchomp("k") #=> "help"
|
1130
|
-
|
1131
|
-
CREDIT: Trans
|
1132
|
-
</pre>
|
1133
|
-
</div>
|
1134
|
-
<div class="sourcecode">
|
1135
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000281_source')" id="l_M000281_source">show source</a> ]</p>
|
1136
|
-
<div id="M000281_source" class="dyn-source">
|
1137
|
-
<pre>
|
1138
|
-
<span class="ruby-comment cmt"># File lib/facets/string/chomp.rb, line 25</span>
|
1139
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp!</span>(<span class="ruby-identifier">match</span>)
|
1140
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span>(<span class="ruby-identifier">match</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
1141
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">match</span>.<span class="ruby-identifier">size</span>] = <span class="ruby-value str">''</span>
|
1142
|
-
<span class="ruby-keyword kw">self</span>
|
1143
|
-
<span class="ruby-keyword kw">end</span>
|
1144
|
-
<span class="ruby-keyword kw">end</span>
|
1145
|
-
</pre>
|
1146
|
-
</div>
|
1147
|
-
</div>
|
1148
|
-
</div>
|
1149
|
-
<div class="method">
|
1150
|
-
<div class="title">
|
1151
|
-
<a name="M000273"></a><b>line_wrap</b>(width, tabs=4)
|
1152
|
-
</div>
|
1153
|
-
<div class="description">
|
1154
|
-
<p>
|
1155
|
-
Line wrap at width.
|
1156
|
-
</p>
|
1157
|
-
<pre>
|
1158
|
-
puts "1234567890".line_wrap(5)
|
1159
|
-
</pre>
|
1160
|
-
<p>
|
1161
|
-
<em>produces</em>
|
1162
|
-
</p>
|
1163
|
-
<pre>
|
1164
|
-
12345
|
1165
|
-
67890
|
1166
|
-
|
1167
|
-
CREDIT: Trans
|
1168
|
-
</pre>
|
1169
|
-
</div>
|
1170
|
-
<div class="sourcecode">
|
1171
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000273_source')" id="l_M000273_source">show source</a> ]</p>
|
1172
|
-
<div id="M000273_source" class="dyn-source">
|
1173
|
-
<pre>
|
1174
|
-
<span class="ruby-comment cmt"># File lib/facets/string/line_wrap.rb, line 14</span>
|
1175
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">line_wrap</span>(<span class="ruby-identifier">width</span>, <span class="ruby-identifier">tabs</span>=<span class="ruby-value">4</span>)
|
1176
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\t/</span>,<span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">tabs</span>) <span class="ruby-comment cmt"># tabs default to 4 spaces</span>
|
1177
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-identifier">s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\n/</span>,<span class="ruby-value str">' '</span>)
|
1178
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-identifier">s</span>.<span class="ruby-identifier">scan</span>( <span class="ruby-node">/.{1,#{width}}/</span> )
|
1179
|
-
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">"\n"</span>) <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n"</span>
|
1180
|
-
<span class="ruby-keyword kw">end</span>
|
1181
|
-
</pre>
|
1182
|
-
</div>
|
1183
|
-
</div>
|
1184
|
-
</div>
|
1185
|
-
<div class="method">
|
1186
|
-
<div class="title">
|
1187
|
-
<a name="M000226"></a><b>lines</b>()
|
1188
|
-
</div>
|
1189
|
-
<div class="description">
|
1190
|
-
<p>
|
1191
|
-
Returns an array of characters.
|
1192
|
-
</p>
|
1193
|
-
<pre>
|
1194
|
-
"abc\n123".lines #=> ["abc","123"]
|
1195
|
-
</pre>
|
1196
|
-
</div>
|
1197
|
-
<div class="sourcecode">
|
1198
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000226_source')" id="l_M000226_source">show source</a> ]</p>
|
1199
|
-
<div id="M000226_source" class="dyn-source">
|
1200
|
-
<pre>
|
1201
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 352</span>
|
1202
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lines</span>
|
1203
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\n/</span>)
|
1204
|
-
<span class="ruby-keyword kw">end</span>
|
1205
|
-
</pre>
|
1206
|
-
</div>
|
1207
|
-
</div>
|
1208
|
-
</div>
|
1209
|
-
<div class="method">
|
1210
|
-
<div class="title">
|
1211
|
-
<a name="M000250"></a><b>margin</b>(n=0)
|
1212
|
-
</div>
|
1213
|
-
<div class="description">
|
1214
|
-
<p>
|
1215
|
-
Provides a <a href="String.html#M000250">margin</a> controlled string.
|
1216
|
-
</p>
|
1217
|
-
<pre>
|
1218
|
-
x = %Q{
|
1219
|
-
| This
|
1220
|
-
| is
|
1221
|
-
| margin controlled!
|
1222
|
-
}.margin
|
1223
|
-
|
1224
|
-
NOTE: This may still need a bit of tweaking.
|
1225
|
-
|
1226
|
-
CREDIT: Trans
|
1227
|
-
</pre>
|
1228
|
-
</div>
|
1229
|
-
<div class="sourcecode">
|
1230
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000250_source')" id="l_M000250_source">show source</a> ]</p>
|
1231
|
-
<div id="M000250_source" class="dyn-source">
|
1232
|
-
<pre>
|
1233
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 89</span>
|
1234
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">margin</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">0</span>)
|
1235
|
-
<span class="ruby-comment cmt">#d = /\A.*\n\s*(.)/.match( self )[1]</span>
|
1236
|
-
<span class="ruby-comment cmt">#d = /\A\s*(.)/.match( self)[1] unless d</span>
|
1237
|
-
<span class="ruby-identifier">d</span> = ((<span class="ruby-regexp re">/\A.*\n\s*(.)/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-keyword kw">self</span>)) <span class="ruby-operator">||</span>
|
1238
|
-
(<span class="ruby-regexp re">/\A\s*(.)/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-keyword kw">self</span>)))[<span class="ruby-value">1</span>]
|
1239
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-value str">''</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">d</span>
|
1240
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
1241
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\n\s*\Z/</span>,<span class="ruby-value str">''</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-node">/^\s*[#{d}]/</span>, <span class="ruby-value str">''</span>)
|
1242
|
-
<span class="ruby-keyword kw">else</span>
|
1243
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\n\s*\Z/</span>,<span class="ruby-value str">''</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-node">/^\s*[#{d}]/</span>, <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">n</span>)
|
1244
|
-
<span class="ruby-keyword kw">end</span>
|
1245
|
-
<span class="ruby-keyword kw">end</span>
|
1246
|
-
</pre>
|
1247
|
-
</div>
|
1248
|
-
</div>
|
1249
|
-
</div>
|
1250
|
-
<div class="method">
|
1251
|
-
<div class="title">
|
1252
|
-
<a name="M000265"></a><b>methodize</b>()
|
1253
|
-
</div>
|
1254
|
-
<div class="description">
|
1255
|
-
<p>
|
1256
|
-
Just like <a href="String.html#M000255">snakecase</a>. Makes an underscored
|
1257
|
-
form from the expression in the string, but also changes ’::’
|
1258
|
-
to ’/’ to convert namespaces to paths.
|
1259
|
-
</p>
|
1260
|
-
<p>
|
1261
|
-
Examples
|
1262
|
-
</p>
|
1263
|
-
<pre>
|
1264
|
-
"SuperMan".methodize #=> "super_man"
|
1265
|
-
"SuperMan::Errors".methodize #=> "super_man__errors
|
1266
|
-
</pre>
|
1267
|
-
</div>
|
1268
|
-
<div class="sourcecode">
|
1269
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000265_source')" id="l_M000265_source">show source</a> ]</p>
|
1270
|
-
<div id="M000265_source" class="dyn-source">
|
1271
|
-
<pre>
|
1272
|
-
<span class="ruby-comment cmt"># File lib/facets/string/stylize.rb, line 48</span>
|
1273
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
|
1274
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\//</span>, <span class="ruby-value str">'__'</span>).
|
1275
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/::/</span>, <span class="ruby-value str">'__'</span>).
|
1276
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z][a-z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1277
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z\d])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1278
|
-
<span class="ruby-identifier">tr</span>(<span class="ruby-value str">"-"</span>, <span class="ruby-value str">"_"</span>).
|
1279
|
-
<span class="ruby-identifier">downcase</span>
|
1280
|
-
<span class="ruby-keyword kw">end</span>
|
1281
|
-
</pre>
|
1282
|
-
</div>
|
1283
|
-
</div>
|
1284
|
-
</div>
|
1285
|
-
<div class="method">
|
1286
|
-
<div class="title">
|
1287
|
-
<a name="M000263"></a><b>modulize</b>()
|
1288
|
-
</div>
|
1289
|
-
<div class="description">
|
1290
|
-
<p>
|
1291
|
-
Like <a href="String.html#M000239">camelcase</a>, but also converts
|
1292
|
-
’/’ to ’::’.
|
1293
|
-
</p>
|
1294
|
-
<p>
|
1295
|
-
By default <a href="String.html#M000239">camelcase</a> convert to
|
1296
|
-
UpperCamelCase, If an argument is set to <tt>false</tt>, then <a
|
1297
|
-
href="String.html#M000239">camelcase</a> will produce lowerCamelCase.
|
1298
|
-
</p>
|
1299
|
-
<p>
|
1300
|
-
<tt><a href="String.html#M000239">camelcase</a></tt> also converts
|
1301
|
-
’/’ to ’::’ which is useful for converting paths to
|
1302
|
-
namespaces.
|
1303
|
-
</p>
|
1304
|
-
<p>
|
1305
|
-
Examples
|
1306
|
-
</p>
|
1307
|
-
<pre>
|
1308
|
-
"camel_case".modulize #=> "CamelCase"
|
1309
|
-
"camel/case".modulize #=> "Camel::Case"
|
1310
|
-
</pre>
|
1311
|
-
</div>
|
1312
|
-
<div class="sourcecode">
|
1313
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000263_source')" id="l_M000263_source">show source</a> ]</p>
|
1314
|
-
<div id="M000263_source" class="dyn-source">
|
1315
|
-
<pre>
|
1316
|
-
<span class="ruby-comment cmt"># File lib/facets/string/stylize.rb, line 15</span>
|
1317
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulize</span>
|
1318
|
-
<span class="ruby-identifier">str</span> = <span class="ruby-identifier">dup</span>
|
1319
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/__(.?)/</span>){ <span class="ruby-node">"::#{$1.upcase}"</span> }
|
1320
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/\/(.?)/</span>){ <span class="ruby-node">"::#{$1.upcase}"</span> }
|
1321
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/(?:_+)([a-z])/</span>){ <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">upcase</span> }
|
1322
|
-
<span class="ruby-identifier">str</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/(^|\s+)([a-z])/</span>){ <span class="ruby-identifier">$1</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">upcase</span> }
|
1323
|
-
<span class="ruby-identifier">str</span>
|
1324
|
-
<span class="ruby-keyword kw">end</span>
|
1325
|
-
</pre>
|
1326
|
-
</div>
|
1327
|
-
</div>
|
1328
|
-
</div>
|
1329
|
-
<div class="method">
|
1330
|
-
<div class="title">
|
1331
|
-
<a name="M000257"></a><b>mscan</b>(re) {|| ...}
|
1332
|
-
</div>
|
1333
|
-
<div class="description">
|
1334
|
-
<p>
|
1335
|
-
Like scan but returns <a href="MatchData.html">MatchData</a> ($~) rather
|
1336
|
-
then matched string ($&).
|
1337
|
-
</p>
|
1338
|
-
<pre>
|
1339
|
-
CREDIT: Trans
|
1340
|
-
</pre>
|
1341
|
-
</div>
|
1342
|
-
<div class="sourcecode">
|
1343
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000257_source')" id="l_M000257_source">show source</a> ]</p>
|
1344
|
-
<div id="M000257_source" class="dyn-source">
|
1345
|
-
<pre>
|
1346
|
-
<span class="ruby-comment cmt"># File lib/facets/string/mscan.rb, line 8</span>
|
1347
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
|
1348
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
1349
|
-
<span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$~</span>) }
|
1350
|
-
<span class="ruby-keyword kw">else</span>
|
1351
|
-
<span class="ruby-identifier">m</span> = []
|
1352
|
-
<span class="ruby-identifier">scan</span>(<span class="ruby-identifier">re</span>) { <span class="ruby-identifier">m</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">$~</span> }
|
1353
|
-
<span class="ruby-identifier">m</span>
|
1354
|
-
<span class="ruby-keyword kw">end</span>
|
1355
|
-
<span class="ruby-keyword kw">end</span>
|
1356
|
-
</pre>
|
1357
|
-
</div>
|
1358
|
-
</div>
|
1359
|
-
</div>
|
1360
|
-
<div class="method">
|
1361
|
-
<div class="title">
|
1362
|
-
<a name="M000261"></a><b>natcmp</b>(str2, caseInsensitive=false)
|
1363
|
-
</div>
|
1364
|
-
<div class="description">
|
1365
|
-
<p>
|
1366
|
-
‘Natural order’ comparison of strings, e.g.
|
1367
|
-
</p>
|
1368
|
-
<pre>
|
1369
|
-
"my_prog_v1.1.0" < "my_prog_v1.2.0" < "my_prog_v1.10.0"
|
1370
|
-
</pre>
|
1371
|
-
<p>
|
1372
|
-
which does not follow alphabetically. A secondary parameter, if set to
|
1373
|
-
<em>true</em>, makes the comparison case insensitive.
|
1374
|
-
</p>
|
1375
|
-
<pre>
|
1376
|
-
"Hello.10".natcmp("Hello.1") #=> -1
|
1377
|
-
|
1378
|
-
TODO: Invert case flag?
|
1379
|
-
|
1380
|
-
CREDIT: Alan Davies
|
1381
|
-
CREDIT: Martin Pool
|
1382
|
-
</pre>
|
1383
|
-
</div>
|
1384
|
-
<div class="sourcecode">
|
1385
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000261_source')" id="l_M000261_source">show source</a> ]</p>
|
1386
|
-
<div id="M000261_source" class="dyn-source">
|
1387
|
-
<pre>
|
1388
|
-
<span class="ruby-comment cmt"># File lib/facets/string/natcmp.rb, line 47</span>
|
1389
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">natcmp</span>(<span class="ruby-identifier">str2</span>, <span class="ruby-identifier">caseInsensitive</span>=<span class="ruby-keyword kw">false</span>)
|
1390
|
-
<span class="ruby-identifier">str1</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
1391
|
-
<span class="ruby-identifier">str2</span> = <span class="ruby-identifier">str2</span>.<span class="ruby-identifier">dup</span>
|
1392
|
-
<span class="ruby-identifier">compareExpression</span> = <span class="ruby-regexp re">/^(\D*)(\d*)(.*)$/</span>
|
1393
|
-
|
1394
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">caseInsensitive</span>
|
1395
|
-
<span class="ruby-identifier">str1</span>.<span class="ruby-identifier">downcase!</span>
|
1396
|
-
<span class="ruby-identifier">str2</span>.<span class="ruby-identifier">downcase!</span>
|
1397
|
-
<span class="ruby-keyword kw">end</span>
|
1398
|
-
|
1399
|
-
<span class="ruby-comment cmt"># remove all whitespace</span>
|
1400
|
-
<span class="ruby-identifier">str1</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/\s*/</span>, <span class="ruby-value str">''</span>)
|
1401
|
-
<span class="ruby-identifier">str2</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/\s*/</span>, <span class="ruby-value str">''</span>)
|
1402
|
-
|
1403
|
-
<span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">str1</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>) <span class="ruby-keyword kw">or</span> (<span class="ruby-identifier">str2</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>) <span class="ruby-keyword kw">do</span>
|
1404
|
-
<span class="ruby-comment cmt"># Extract non-digits, digits and rest of string</span>
|
1405
|
-
<span class="ruby-identifier">str1</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">compareExpression</span>
|
1406
|
-
<span class="ruby-identifier">chars1</span>, <span class="ruby-identifier">num1</span>, <span class="ruby-identifier">str1</span> = <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">dup</span>, <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">dup</span>, <span class="ruby-identifier">$3</span>.<span class="ruby-identifier">dup</span>
|
1407
|
-
<span class="ruby-identifier">str2</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">compareExpression</span>
|
1408
|
-
<span class="ruby-identifier">chars2</span>, <span class="ruby-identifier">num2</span>, <span class="ruby-identifier">str2</span> = <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">dup</span>, <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">dup</span>, <span class="ruby-identifier">$3</span>.<span class="ruby-identifier">dup</span>
|
1409
|
-
<span class="ruby-comment cmt"># Compare the non-digits</span>
|
1410
|
-
<span class="ruby-keyword kw">case</span> (<span class="ruby-identifier">chars1</span> <span class="ruby-operator"><=></span> <span class="ruby-identifier">chars2</span>)
|
1411
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span> <span class="ruby-comment cmt"># Non-digits are the same, compare the digits...</span>
|
1412
|
-
<span class="ruby-comment cmt"># If either number begins with a zero, then compare alphabetically,</span>
|
1413
|
-
<span class="ruby-comment cmt"># otherwise compare numerically</span>
|
1414
|
-
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">num1</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">!=</span> <span class="ruby-value">48</span>) <span class="ruby-keyword kw">and</span> (<span class="ruby-identifier">num2</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">!=</span> <span class="ruby-value">48</span>)
|
1415
|
-
<span class="ruby-identifier">num1</span>, <span class="ruby-identifier">num2</span> = <span class="ruby-identifier">num1</span>.<span class="ruby-identifier">to_i</span>, <span class="ruby-identifier">num2</span>.<span class="ruby-identifier">to_i</span>
|
1416
|
-
<span class="ruby-keyword kw">end</span>
|
1417
|
-
<span class="ruby-keyword kw">case</span> (<span class="ruby-identifier">num1</span> <span class="ruby-operator"><=></span> <span class="ruby-identifier">num2</span>)
|
1418
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">-1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-keyword kw">return</span> <span class="ruby-value">-1</span>
|
1419
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-keyword kw">return</span> <span class="ruby-value">1</span>
|
1420
|
-
<span class="ruby-keyword kw">end</span>
|
1421
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">-1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-keyword kw">return</span> <span class="ruby-value">-1</span>
|
1422
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-keyword kw">return</span> <span class="ruby-value">1</span>
|
1423
|
-
<span class="ruby-keyword kw">end</span> <span class="ruby-comment cmt"># case</span>
|
1424
|
-
<span class="ruby-keyword kw">end</span> <span class="ruby-comment cmt"># while</span>
|
1425
|
-
|
1426
|
-
<span class="ruby-comment cmt"># strings are naturally equal.</span>
|
1427
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-value">0</span>
|
1428
|
-
<span class="ruby-keyword kw">end</span>
|
1429
|
-
|
1430
|
-
<span class="ruby-keyword kw">end</span>
|
1431
|
-
</pre>
|
1432
|
-
</div>
|
1433
|
-
</div>
|
1434
|
-
</div>
|
1435
|
-
<div class="method">
|
1436
|
-
<div class="title">
|
1437
|
-
<a name="M000284"></a><b>nchar</b>(n, replacement=nil)
|
1438
|
-
</div>
|
1439
|
-
<div class="description">
|
1440
|
-
<p>
|
1441
|
-
Returns <em>n</em> characters of the string. If <em>n</em> is positive the
|
1442
|
-
characters are from the beginning of the string. If <em>n</em> is negative
|
1443
|
-
from the end of the string.
|
1444
|
-
</p>
|
1445
|
-
<p>
|
1446
|
-
Alternatively a replacement string can be given, which will replace the
|
1447
|
-
<em>n</em> characters.
|
1448
|
-
</p>
|
1449
|
-
<pre>
|
1450
|
-
str = "this is text"
|
1451
|
-
str.nchar(4) #=> "this"
|
1452
|
-
str.nchar(4, 'that') #=> "that"
|
1453
|
-
str #=> "that is text"
|
1454
|
-
|
1455
|
-
CREDIT: ?
|
1456
|
-
</pre>
|
1457
|
-
</div>
|
1458
|
-
<div class="sourcecode">
|
1459
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000284_source')" id="l_M000284_source">show source</a> ]</p>
|
1460
|
-
<div id="M000284_source" class="dyn-source">
|
1461
|
-
<pre>
|
1462
|
-
<span class="ruby-comment cmt"># File lib/facets/string/nchar.rb, line 17</span>
|
1463
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nchar</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">replacement</span>=<span class="ruby-keyword kw">nil</span>)
|
1464
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">replacement</span>
|
1465
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
1466
|
-
<span class="ruby-identifier">n</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> (<span class="ruby-identifier">s</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">n</span>] = <span class="ruby-identifier">replacement</span>) <span class="ruby-operator">:</span> (<span class="ruby-identifier">s</span>[<span class="ruby-identifier">n</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>] = <span class="ruby-identifier">replacement</span>)
|
1467
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">s</span>
|
1468
|
-
<span class="ruby-keyword kw">else</span>
|
1469
|
-
<span class="ruby-identifier">n</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">n</span>] <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">n</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
1470
|
-
<span class="ruby-keyword kw">end</span>
|
1471
|
-
<span class="ruby-keyword kw">end</span>
|
1472
|
-
</pre>
|
1473
|
-
</div>
|
1474
|
-
</div>
|
1475
|
-
</div>
|
1476
|
-
<div class="method">
|
1477
|
-
<div class="title">
|
1478
|
-
<a name="M000249"></a><b>outdent</b>(n)
|
1479
|
-
</div>
|
1480
|
-
<div class="description">
|
1481
|
-
<p>
|
1482
|
-
Outdent just indents a negative number of spaces.
|
1483
|
-
</p>
|
1484
|
-
<pre>
|
1485
|
-
CREDIT: Noah Gibbs
|
1486
|
-
</pre>
|
1487
|
-
</div>
|
1488
|
-
<div class="sourcecode">
|
1489
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000249_source')" id="l_M000249_source">show source</a> ]</p>
|
1490
|
-
<div id="M000249_source" class="dyn-source">
|
1491
|
-
<pre>
|
1492
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 72</span>
|
1493
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outdent</span>(<span class="ruby-identifier">n</span>)
|
1494
|
-
<span class="ruby-identifier">indent</span>(<span class="ruby-operator">-</span><span class="ruby-identifier">n</span>)
|
1495
|
-
<span class="ruby-keyword kw">end</span>
|
1496
|
-
</pre>
|
1497
|
-
</div>
|
1498
|
-
</div>
|
1499
|
-
</div>
|
1500
|
-
<div class="method">
|
1501
|
-
<div class="title">
|
1502
|
-
<a name="M000264"></a><b>pathize</b>()
|
1503
|
-
</div>
|
1504
|
-
<div class="description">
|
1505
|
-
<p>
|
1506
|
-
Just like <a href="String.html#M000255">snakecase</a>. Makes an underscored
|
1507
|
-
form from the expression in the string, but also changes ’::’
|
1508
|
-
to ’/’ to convert namespaces to paths.
|
1509
|
-
</p>
|
1510
|
-
<p>
|
1511
|
-
Examples
|
1512
|
-
</p>
|
1513
|
-
<pre>
|
1514
|
-
"SuperMan".pathize #=> "super_man"
|
1515
|
-
"SuperMan::Errors".pathize #=> "super_man/errors
|
1516
|
-
</pre>
|
1517
|
-
</div>
|
1518
|
-
<div class="sourcecode">
|
1519
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000264_source')" id="l_M000264_source">show source</a> ]</p>
|
1520
|
-
<div id="M000264_source" class="dyn-source">
|
1521
|
-
<pre>
|
1522
|
-
<span class="ruby-comment cmt"># File lib/facets/string/stylize.rb, line 32</span>
|
1523
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
|
1524
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/::/</span>, <span class="ruby-value str">'/'</span>).
|
1525
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z][a-z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1526
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z\d])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1527
|
-
<span class="ruby-identifier">tr</span>(<span class="ruby-value str">"-"</span>, <span class="ruby-value str">"_"</span>).
|
1528
|
-
<span class="ruby-identifier">downcase</span>
|
1529
|
-
<span class="ruby-keyword kw">end</span>
|
1530
|
-
</pre>
|
1531
|
-
</div>
|
1532
|
-
</div>
|
1533
|
-
</div>
|
1534
|
-
<div class="method">
|
1535
|
-
<div class="title">
|
1536
|
-
<a name="M000278"></a><b>quote</b>(type=:s)
|
1537
|
-
</div>
|
1538
|
-
<div class="description">
|
1539
|
-
<p>
|
1540
|
-
Return a new string embraced by given quotes. If no quotes are specified,
|
1541
|
-
then assumes single quotes.
|
1542
|
-
</p>
|
1543
|
-
<pre>
|
1544
|
-
"quote me".quote #=> "'quote me'"
|
1545
|
-
"quote me".quote(2) #=> "\"quote me\""
|
1546
|
-
|
1547
|
-
CREDIT: Trans
|
1548
|
-
</pre>
|
1549
|
-
</div>
|
1550
|
-
<div class="sourcecode">
|
1551
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000278_source')" id="l_M000278_source">show source</a> ]</p>
|
1552
|
-
<div id="M000278_source" class="dyn-source">
|
1553
|
-
<pre>
|
1554
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 69</span>
|
1555
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quote</span>(<span class="ruby-identifier">type</span>=<span class="ruby-identifier">:s</span>)
|
1556
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">type</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span>
|
1557
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'s'</span>, <span class="ruby-value str">'single'</span>
|
1558
|
-
<span class="ruby-identifier">bracket</span>(<span class="ruby-value str">"'"</span>)
|
1559
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'d'</span>, <span class="ruby-value str">'double'</span>
|
1560
|
-
<span class="ruby-identifier">bracket</span>(<span class="ruby-value str">'"'</span>)
|
1561
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'b'</span>, <span class="ruby-value str">'back'</span>
|
1562
|
-
<span class="ruby-identifier">bracket</span>(<span class="ruby-value str">'`'</span>)
|
1563
|
-
<span class="ruby-keyword kw">else</span>
|
1564
|
-
<span class="ruby-identifier">bracket</span>(<span class="ruby-value str">"'"</span>)
|
1565
|
-
<span class="ruby-keyword kw">end</span>
|
1566
|
-
<span class="ruby-keyword kw">end</span>
|
1567
|
-
</pre>
|
1568
|
-
</div>
|
1569
|
-
</div>
|
1570
|
-
</div>
|
1571
|
-
<div class="method">
|
1572
|
-
<div class="title">
|
1573
|
-
<a name="M000251"></a><b>range</b>(s, offset=0)
|
1574
|
-
</div>
|
1575
|
-
<div class="description">
|
1576
|
-
<p>
|
1577
|
-
Like index but returns a <a href="Range.html">Range</a>.
|
1578
|
-
</p>
|
1579
|
-
<pre>
|
1580
|
-
"This is a test!".range('test') #=> 10..13
|
1581
|
-
|
1582
|
-
CREDIT: Trans
|
1583
|
-
</pre>
|
1584
|
-
</div>
|
1585
|
-
<div class="sourcecode">
|
1586
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000251_source')" id="l_M000251_source">show source</a> ]</p>
|
1587
|
-
<div id="M000251_source" class="dyn-source">
|
1588
|
-
<pre>
|
1589
|
-
<span class="ruby-comment cmt"># File lib/facets/string/range.rb, line 9</span>
|
1590
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">offset</span>=<span class="ruby-value">0</span>)
|
1591
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">offset</span>)
|
1592
|
-
<span class="ruby-keyword kw">return</span> (<span class="ruby-identifier">$~</span>.<span class="ruby-identifier">begin</span>(<span class="ruby-value">0</span>))<span class="ruby-operator">..</span>(<span class="ruby-identifier">$~</span>.<span class="ruby-identifier">end</span>(<span class="ruby-value">0</span>)<span class="ruby-operator">-</span><span class="ruby-value">1</span>)
|
1593
|
-
<span class="ruby-keyword kw">end</span>
|
1594
|
-
<span class="ruby-keyword kw">nil</span>
|
1595
|
-
<span class="ruby-keyword kw">end</span>
|
1596
|
-
</pre>
|
1597
|
-
</div>
|
1598
|
-
</div>
|
1599
|
-
</div>
|
1600
|
-
<div class="method">
|
1601
|
-
<div class="title">
|
1602
|
-
<a name="M000252"></a><b>range_all</b>(s, reuse=false)
|
1603
|
-
</div>
|
1604
|
-
<div class="description">
|
1605
|
-
<p>
|
1606
|
-
Like <a href="String.html#M000254">index_all</a> but returns an array of
|
1607
|
-
Ranges.
|
1608
|
-
</p>
|
1609
|
-
<pre>
|
1610
|
-
"abc123abc123".range_all('abc') #=> [0..2, 6..8]
|
1611
|
-
|
1612
|
-
TODO: Add offset, perhaps ?
|
1613
|
-
|
1614
|
-
CREDIT: Trans
|
1615
|
-
</pre>
|
1616
|
-
</div>
|
1617
|
-
<div class="sourcecode">
|
1618
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000252_source')" id="l_M000252_source">show source</a> ]</p>
|
1619
|
-
<div id="M000252_source" class="dyn-source">
|
1620
|
-
<pre>
|
1621
|
-
<span class="ruby-comment cmt"># File lib/facets/string/range.rb, line 24</span>
|
1622
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
|
1623
|
-
<span class="ruby-identifier">r</span> = []; <span class="ruby-identifier">i</span> = <span class="ruby-value">0</span>
|
1624
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">i</span> <span class="ruby-operator"><</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">length</span>
|
1625
|
-
<span class="ruby-identifier">rng</span> = <span class="ruby-identifier">range</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">i</span>)
|
1626
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">rng</span>
|
1627
|
-
<span class="ruby-identifier">r</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">rng</span>
|
1628
|
-
<span class="ruby-identifier">i</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">reuse</span> <span class="ruby-value">? </span><span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">rng</span>.<span class="ruby-identifier">end</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
1629
|
-
<span class="ruby-keyword kw">else</span>
|
1630
|
-
<span class="ruby-keyword kw">break</span>
|
1631
|
-
<span class="ruby-keyword kw">end</span>
|
1632
|
-
<span class="ruby-keyword kw">end</span>
|
1633
|
-
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">uniq</span>
|
1634
|
-
<span class="ruby-keyword kw">end</span>
|
1635
|
-
</pre>
|
1636
|
-
</div>
|
1637
|
-
</div>
|
1638
|
-
</div>
|
1639
|
-
<div class="method">
|
1640
|
-
<div class="title">
|
1641
|
-
<a name="M000253"></a><b>range_of_line</b>()
|
1642
|
-
</div>
|
1643
|
-
<div class="description">
|
1644
|
-
<p>
|
1645
|
-
Returns an array of ranges mapping the characters per line.
|
1646
|
-
</p>
|
1647
|
-
<pre>
|
1648
|
-
"this\nis\na\ntest".range_of_line
|
1649
|
-
#=> [0..4, 5..7, 8..9, 10..13]
|
1650
|
-
|
1651
|
-
CREDIT: Trans
|
1652
|
-
</pre>
|
1653
|
-
</div>
|
1654
|
-
<div class="sourcecode">
|
1655
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000253_source')" id="l_M000253_source">show source</a> ]</p>
|
1656
|
-
<div id="M000253_source" class="dyn-source">
|
1657
|
-
<pre>
|
1658
|
-
<span class="ruby-comment cmt"># File lib/facets/string/range.rb, line 46</span>
|
1659
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_of_line</span>
|
1660
|
-
<span class="ruby-identifier">offset</span>=<span class="ruby-value">0</span>; <span class="ruby-identifier">charmap</span> = []
|
1661
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
1662
|
-
<span class="ruby-identifier">charmap</span> <span class="ruby-operator"><<</span> (<span class="ruby-identifier">offset</span><span class="ruby-operator">..</span>(<span class="ruby-identifier">offset</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>))
|
1663
|
-
<span class="ruby-identifier">offset</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">length</span>
|
1664
|
-
<span class="ruby-keyword kw">end</span>
|
1665
|
-
<span class="ruby-identifier">charmap</span>
|
1666
|
-
<span class="ruby-keyword kw">end</span>
|
1667
|
-
</pre>
|
1668
|
-
</div>
|
1669
|
-
</div>
|
1670
|
-
</div>
|
1671
|
-
<div class="method">
|
1672
|
-
<div class="title">
|
1673
|
-
<a name="M000283"></a><b>rewrite</b>(rules)
|
1674
|
-
</div>
|
1675
|
-
<div class="description">
|
1676
|
-
<p>
|
1677
|
-
Apply a set of rules (regular expression matches) to the string.
|
1678
|
-
</p>
|
1679
|
-
<h3>Requirements:</h3>
|
1680
|
-
<p>
|
1681
|
-
The rules must be applied in order! So we cannot use a hash because the
|
1682
|
-
ordering is not guaranteed! we use an array instead.
|
1683
|
-
</p>
|
1684
|
-
<h3>Input:</h3>
|
1685
|
-
<p>
|
1686
|
-
The array containing rule-pairs (match, write).
|
1687
|
-
</p>
|
1688
|
-
<h3>Output:</h3>
|
1689
|
-
<p>
|
1690
|
-
The rewritten string.
|
1691
|
-
</p>
|
1692
|
-
<pre>
|
1693
|
-
CREDIT: George Moschovitis
|
1694
|
-
</pre>
|
1695
|
-
</div>
|
1696
|
-
<div class="sourcecode">
|
1697
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000283_source')" id="l_M000283_source">show source</a> ]</p>
|
1698
|
-
<div id="M000283_source" class="dyn-source">
|
1699
|
-
<pre>
|
1700
|
-
<span class="ruby-comment cmt"># File lib/facets/string/rewrite.rb, line 18</span>
|
1701
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">rules</span>)
|
1702
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'The rules parameter is nil'</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">rules</span>
|
1703
|
-
<span class="ruby-identifier">rewritten_string</span> = <span class="ruby-identifier">dup</span>
|
1704
|
-
<span class="ruby-identifier">rules</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">match</span>,<span class="ruby-identifier">write</span><span class="ruby-operator">|</span>
|
1705
|
-
<span class="ruby-identifier">rewritten_string</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-identifier">match</span>,<span class="ruby-identifier">write</span>)
|
1706
|
-
<span class="ruby-keyword kw">end</span>
|
1707
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rewritten_string</span>
|
1708
|
-
<span class="ruby-keyword kw">end</span>
|
1709
|
-
</pre>
|
1710
|
-
</div>
|
1711
|
-
</div>
|
1712
|
-
</div>
|
1713
|
-
<div class="method">
|
1714
|
-
<div class="title">
|
1715
|
-
<a name="M000235"></a><b>shatter</b>( re )
|
1716
|
-
</div>
|
1717
|
-
<div class="description">
|
1718
|
-
<p>
|
1719
|
-
Breaks a string up into an array based on a regular expression. Similar to
|
1720
|
-
scan, but includes the matches.
|
1721
|
-
</p>
|
1722
|
-
<pre>
|
1723
|
-
s = "<p>This<b>is</b>a test.</p>"
|
1724
|
-
s.shatter( /\<.*?\>/ )
|
1725
|
-
</pre>
|
1726
|
-
<p>
|
1727
|
-
<em>produces</em>
|
1728
|
-
</p>
|
1729
|
-
<pre>
|
1730
|
-
["<p>", "This", "<b>", "is", "</b>", "a test.", "</p>"]
|
1731
|
-
|
1732
|
-
CREDIT: Trans
|
1733
|
-
</pre>
|
1734
|
-
</div>
|
1735
|
-
<div class="sourcecode">
|
1736
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000235_source')" id="l_M000235_source">show source</a> ]</p>
|
1737
|
-
<div id="M000235_source" class="dyn-source">
|
1738
|
-
<pre>
|
1739
|
-
<span class="ruby-comment cmt"># File lib/facets/string/shatter.rb, line 15</span>
|
1740
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shatter</span>( <span class="ruby-identifier">re</span> )
|
1741
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">gsub</span>( <span class="ruby-identifier">re</span> ){ <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-value str">"\1"</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"\1"</span> }
|
1742
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">r</span>[<span class="ruby-value">0</span>,<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"\1"</span> ; <span class="ruby-identifier">r</span>[<span class="ruby-value">0</span>] = <span class="ruby-value str">''</span> ; <span class="ruby-keyword kw">end</span>
|
1743
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">r</span>[<span class="ruby-value">-1</span>,<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">"\1"</span> ; <span class="ruby-identifier">r</span>[<span class="ruby-value">-1</span>] = <span class="ruby-value str">''</span> ; <span class="ruby-keyword kw">end</span>
|
1744
|
-
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">"\1"</span>)
|
1745
|
-
<span class="ruby-keyword kw">end</span>
|
1746
|
-
</pre>
|
1747
|
-
</div>
|
1748
|
-
</div>
|
1749
|
-
</div>
|
1750
|
-
<div class="method">
|
1751
|
-
<div class="title">
|
1752
|
-
<a name="M000255"></a><b>snakecase</b>()
|
1753
|
-
</div>
|
1754
|
-
<div class="description">
|
1755
|
-
<p>
|
1756
|
-
The reverse of <tt><a href="String.html#M000239">camelcase</a></tt>. Makes
|
1757
|
-
an underscored of a <a href="String.html#M000239">camelcase</a> string.
|
1758
|
-
</p>
|
1759
|
-
<p>
|
1760
|
-
Changes ’::’ to ’/’ to convert namespaces to paths.
|
1761
|
-
</p>
|
1762
|
-
<p>
|
1763
|
-
Examples
|
1764
|
-
</p>
|
1765
|
-
<pre>
|
1766
|
-
"SnakeCase".snakecase #=> "snake_case"
|
1767
|
-
"Snake-Case".snakecase #=> "snake_case"
|
1768
|
-
"SnakeCase::Errors".underscore #=> "snake_case/errors"
|
1769
|
-
</pre>
|
1770
|
-
</div>
|
1771
|
-
<div class="sourcecode">
|
1772
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000255_source')" id="l_M000255_source">show source</a> ]</p>
|
1773
|
-
<div id="M000255_source" class="dyn-source">
|
1774
|
-
<pre>
|
1775
|
-
<span class="ruby-comment cmt"># File lib/facets/string/snakecase.rb, line 12</span>
|
1776
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snakecase</span>
|
1777
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/::/</span>, <span class="ruby-value str">'/'</span>). <span class="ruby-comment cmt"># NOT SO SURE ABOUT THIS -T</span>
|
1778
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([A-Z]+)([A-Z][a-z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1779
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/([a-z\d])([A-Z])/</span>,<span class="ruby-value str">'\1_\2'</span>).
|
1780
|
-
<span class="ruby-identifier">tr</span>(<span class="ruby-value str">"-"</span>, <span class="ruby-value str">"_"</span>).
|
1781
|
-
<span class="ruby-identifier">downcase</span>
|
1782
|
-
<span class="ruby-keyword kw">end</span>
|
1783
|
-
</pre>
|
1784
|
-
</div>
|
1785
|
-
</div>
|
1786
|
-
</div>
|
1787
|
-
<div class="method">
|
1788
|
-
<div class="title">
|
1789
|
-
<a name="M000287"></a><b>space</b>()
|
1790
|
-
</div>
|
1791
|
-
<div class="description">
|
1792
|
-
<p>
|
1793
|
-
Replaces underscores with spaces and capitalizes word.
|
1794
|
-
</p>
|
1795
|
-
</div>
|
1796
|
-
<div class="sourcecode">
|
1797
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000287_source')" id="l_M000287_source">show source</a> ]</p>
|
1798
|
-
<div id="M000287_source" class="dyn-source">
|
1799
|
-
<pre>
|
1800
|
-
<span class="ruby-comment cmt"># File lib/facets/string/underscore.rb, line 23</span>
|
1801
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">space</span>
|
1802
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'_'</span>, <span class="ruby-value str">' '</span>).<span class="ruby-identifier">capitalize</span>
|
1803
|
-
<span class="ruby-keyword kw">end</span>
|
1804
|
-
</pre>
|
1805
|
-
</div>
|
1806
|
-
</div>
|
1807
|
-
</div>
|
1808
|
-
<div class="method">
|
1809
|
-
<div class="title">
|
1810
|
-
<a name="M000282"></a><b>splice</b>(*args)
|
1811
|
-
</div>
|
1812
|
-
<div class="description">
|
1813
|
-
<p>
|
1814
|
-
Like slice, but writes rather than reads. Like store, but acts like slice!
|
1815
|
-
when given only one argument.
|
1816
|
-
</p>
|
1817
|
-
<pre>
|
1818
|
-
a = "HELLO"
|
1819
|
-
a.splice(1) #=> "E"
|
1820
|
-
a #=> "HLLO"
|
1821
|
-
|
1822
|
-
CREDIT: Trans
|
1823
|
-
</pre>
|
1824
|
-
</div>
|
1825
|
-
<div class="sourcecode">
|
1826
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000282_source')" id="l_M000282_source">show source</a> ]</p>
|
1827
|
-
<div id="M000282_source" class="dyn-source">
|
1828
|
-
<pre>
|
1829
|
-
<span class="ruby-comment cmt"># File lib/facets/string/splice.rb, line 13</span>
|
1830
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1831
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
1832
|
-
<span class="ruby-identifier">slice!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1833
|
-
<span class="ruby-keyword kw">else</span>
|
1834
|
-
<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1835
|
-
<span class="ruby-keyword kw">end</span>
|
1836
|
-
<span class="ruby-keyword kw">end</span>
|
1837
|
-
</pre>
|
1838
|
-
</div>
|
1839
|
-
</div>
|
1840
|
-
</div>
|
1841
|
-
<div class="method">
|
1842
|
-
<div class="title">
|
1843
|
-
<a name="M000228"></a><b>start_with?</b>(prefix)
|
1844
|
-
</div>
|
1845
|
-
<div class="description">
|
1846
|
-
<p>
|
1847
|
-
Does a string start with the given prefix.
|
1848
|
-
</p>
|
1849
|
-
<pre>
|
1850
|
-
"hello".starts_with?("he") #=> true
|
1851
|
-
"hello".starts_with?("to") #=> false
|
1852
|
-
|
1853
|
-
CREDIT: Lucas Carlson
|
1854
|
-
CREDIT: Blaine Cook
|
1855
|
-
</pre>
|
1856
|
-
</div>
|
1857
|
-
<div class="sourcecode">
|
1858
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000228_source')" id="l_M000228_source">show source</a> ]</p>
|
1859
|
-
<div id="M000228_source" class="dyn-source">
|
1860
|
-
<pre>
|
1861
|
-
<span class="ruby-comment cmt"># File lib/facets/ruby.rb, line 377</span>
|
1862
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
|
1863
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">prefix</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
1864
|
-
<span class="ruby-keyword kw">end</span>
|
1865
|
-
</pre>
|
1866
|
-
</div>
|
1867
|
-
</div>
|
1868
|
-
</div>
|
1869
|
-
<div class="method">
|
1870
|
-
<div class="title">
|
1871
|
-
<a name="M000244"></a><b>tab</b>(n)
|
1872
|
-
</div>
|
1873
|
-
<div class="description">
|
1874
|
-
<p>
|
1875
|
-
Aligns each line n spaces.
|
1876
|
-
</p>
|
1877
|
-
<pre>
|
1878
|
-
CREDIT: Gavin Sinclair
|
1879
|
-
</pre>
|
1880
|
-
</div>
|
1881
|
-
<div class="aka">
|
1882
|
-
This method is also aliased as
|
1883
|
-
<a href="String.html#M000245">taballto</a>
|
1884
|
-
</div>
|
1885
|
-
<div class="sourcecode">
|
1886
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000244_source')" id="l_M000244_source">show source</a> ]</p>
|
1887
|
-
<div id="M000244_source" class="dyn-source">
|
1888
|
-
<pre>
|
1889
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 10</span>
|
1890
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tab</span>(<span class="ruby-identifier">n</span>)
|
1891
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/^ */</span>, <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">n</span>)
|
1892
|
-
<span class="ruby-keyword kw">end</span>
|
1893
|
-
</pre>
|
1894
|
-
</div>
|
1895
|
-
</div>
|
1896
|
-
</div>
|
1897
|
-
<div class="method">
|
1898
|
-
<div class="title">
|
1899
|
-
<a name="M000245"></a><b>taballto</b>(n)
|
1900
|
-
</div>
|
1901
|
-
<div class="description">
|
1902
|
-
<p>
|
1903
|
-
Alias for <a href="String.html#M000244">tab</a>
|
1904
|
-
</p>
|
1905
|
-
</div>
|
1906
|
-
</div>
|
1907
|
-
<div class="method">
|
1908
|
-
<div class="title">
|
1909
|
-
<a name="M000247"></a><b>tabto</b>(n)
|
1910
|
-
</div>
|
1911
|
-
<div class="description">
|
1912
|
-
<p>
|
1913
|
-
Preserves relative tabbing. The first non-empty line ends up with n spaces
|
1914
|
-
before nonspace.
|
1915
|
-
</p>
|
1916
|
-
<pre>
|
1917
|
-
CREDIT: Gavin Sinclair
|
1918
|
-
</pre>
|
1919
|
-
</div>
|
1920
|
-
<div class="sourcecode">
|
1921
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000247_source')" id="l_M000247_source">show source</a> ]</p>
|
1922
|
-
<div id="M000247_source" class="dyn-source">
|
1923
|
-
<pre>
|
1924
|
-
<span class="ruby-comment cmt"># File lib/facets/string/tab.rb, line 46</span>
|
1925
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tabto</span>(<span class="ruby-identifier">n</span>)
|
1926
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^( *)\S/</span>
|
1927
|
-
<span class="ruby-identifier">indent</span>(<span class="ruby-identifier">n</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">length</span>)
|
1928
|
-
<span class="ruby-keyword kw">else</span>
|
1929
|
-
<span class="ruby-keyword kw">self</span>
|
1930
|
-
<span class="ruby-keyword kw">end</span>
|
1931
|
-
<span class="ruby-keyword kw">end</span>
|
1932
|
-
</pre>
|
1933
|
-
</div>
|
1934
|
-
</div>
|
1935
|
-
</div>
|
1936
|
-
<div class="method">
|
1937
|
-
<div class="title">
|
1938
|
-
<a name="M000268"></a><b>titlecase</b>()
|
1939
|
-
</div>
|
1940
|
-
<div class="description">
|
1941
|
-
<p>
|
1942
|
-
Title case.
|
1943
|
-
</p>
|
1944
|
-
<pre>
|
1945
|
-
"this is a string".titlecase
|
1946
|
-
=> "This Is A String"
|
1947
|
-
|
1948
|
-
CREDIT: Eliazar Parra
|
1949
|
-
</pre>
|
1950
|
-
</div>
|
1951
|
-
<div class="sourcecode">
|
1952
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000268_source')" id="l_M000268_source">show source</a> ]</p>
|
1953
|
-
<div id="M000268_source" class="dyn-source">
|
1954
|
-
<pre>
|
1955
|
-
<span class="ruby-comment cmt"># File lib/facets/string/titlecase.rb, line 10</span>
|
1956
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">titlecase</span>
|
1957
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\b\w/</span>){<span class="ruby-identifier">$&</span>.<span class="ruby-identifier">upcase</span>}
|
1958
|
-
<span class="ruby-keyword kw">end</span>
|
1959
|
-
</pre>
|
1960
|
-
</div>
|
1961
|
-
</div>
|
1962
|
-
</div>
|
1963
|
-
<div class="method">
|
1964
|
-
<div class="title">
|
1965
|
-
<a name="M000267"></a><b>titleize</b>()
|
1966
|
-
</div>
|
1967
|
-
<div class="description">
|
1968
|
-
<p>
|
1969
|
-
Titleize.
|
1970
|
-
</p>
|
1971
|
-
<pre>
|
1972
|
-
"this is a string".titlecase
|
1973
|
-
=> "This Is A String"
|
1974
|
-
</pre>
|
1975
|
-
</div>
|
1976
|
-
<div class="sourcecode">
|
1977
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000267_source')" id="l_M000267_source">show source</a> ]</p>
|
1978
|
-
<div id="M000267_source" class="dyn-source">
|
1979
|
-
<pre>
|
1980
|
-
<span class="ruby-comment cmt"># File lib/facets/string/stylize.rb, line 68</span>
|
1981
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">titleize</span>
|
1982
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\b\w/</span>){<span class="ruby-identifier">$&</span>.<span class="ruby-identifier">upcase</span>}
|
1983
|
-
<span class="ruby-keyword kw">end</span>
|
1984
|
-
</pre>
|
1985
|
-
</div>
|
1986
|
-
</div>
|
1987
|
-
</div>
|
1988
|
-
<div class="method">
|
1989
|
-
<div class="title">
|
1990
|
-
<a name="M000232"></a><b>to_b</b>()
|
1991
|
-
</div>
|
1992
|
-
<div class="description">
|
1993
|
-
<p>
|
1994
|
-
Interpret common affirmative string meanings as true, otherwise false.
|
1995
|
-
Balnk sapce and case are ignored. The following strings that will return
|
1996
|
-
true:
|
1997
|
-
</p>
|
1998
|
-
<pre>
|
1999
|
-
<tt>true</tt>,<tt>yes</tt>,<tt>on</tt>,<tt>t</tt>,<tt>1</tt>,<tt>y</tt>,<tt>==</tt>
|
2000
|
-
</pre>
|
2001
|
-
<p>
|
2002
|
-
Examples:
|
2003
|
-
</p>
|
2004
|
-
<pre>
|
2005
|
-
"true".to_b #=> true
|
2006
|
-
"yes".to_b #=> true
|
2007
|
-
"no".to_b #=> false
|
2008
|
-
"123".to_b #=> false
|
2009
|
-
</pre>
|
2010
|
-
</div>
|
2011
|
-
<div class="sourcecode">
|
2012
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000232_source')" id="l_M000232_source">show source</a> ]</p>
|
2013
|
-
<div id="M000232_source" class="dyn-source">
|
2014
|
-
<pre>
|
2015
|
-
<span class="ruby-comment cmt"># File lib/facets/boolean.rb, line 43</span>
|
2016
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
|
2017
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">strip</span>
|
2018
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'true'</span>, <span class="ruby-value str">'yes'</span>, <span class="ruby-value str">'on'</span>, <span class="ruby-value str">'t'</span>, <span class="ruby-value str">'1'</span>, <span class="ruby-value str">'y'</span>, <span class="ruby-value str">'=='</span>
|
2019
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
|
2020
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'nil'</span>, <span class="ruby-value str">'null'</span>
|
2021
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
2022
|
-
<span class="ruby-keyword kw">else</span>
|
2023
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
2024
|
-
<span class="ruby-keyword kw">end</span>
|
2025
|
-
<span class="ruby-keyword kw">end</span>
|
2026
|
-
</pre>
|
2027
|
-
</div>
|
2028
|
-
</div>
|
2029
|
-
</div>
|
2030
|
-
<div class="method">
|
2031
|
-
<div class="title">
|
2032
|
-
<a name="M000272"></a><b>to_date</b>()
|
2033
|
-
</div>
|
2034
|
-
<div class="description">
|
2035
|
-
<p>
|
2036
|
-
Parse data from string.
|
2037
|
-
</p>
|
2038
|
-
<pre>
|
2039
|
-
CREDIT: Trans
|
2040
|
-
</pre>
|
2041
|
-
</div>
|
2042
|
-
<div class="sourcecode">
|
2043
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000272_source')" id="l_M000272_source">show source</a> ]</p>
|
2044
|
-
<div id="M000272_source" class="dyn-source">
|
2045
|
-
<pre>
|
2046
|
-
<span class="ruby-comment cmt"># File lib/facets/string/to_time.rb, line 16</span>
|
2047
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_date</span>
|
2048
|
-
<span class="ruby-identifier">require</span> <span class="ruby-value str">'date'</span>
|
2049
|
-
<span class="ruby-identifier">require</span> <span class="ruby-value str">'parsedate'</span>
|
2050
|
-
<span class="ruby-operator">::</span><span class="ruby-constant">Date</span><span class="ruby-operator">::</span><span class="ruby-identifier">civil</span>(<span class="ruby-operator">*</span><span class="ruby-constant">ParseDate</span>.<span class="ruby-identifier">parsedate</span>(<span class="ruby-keyword kw">self</span>)[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">2</span>])
|
2051
|
-
<span class="ruby-keyword kw">end</span>
|
2052
|
-
</pre>
|
2053
|
-
</div>
|
2054
|
-
</div>
|
2055
|
-
</div>
|
2056
|
-
<div class="method">
|
2057
|
-
<div class="title">
|
2058
|
-
<a name="M000236"></a><b>to_re</b>(esc=false)
|
2059
|
-
</div>
|
2060
|
-
<div class="description">
|
2061
|
-
<p>
|
2062
|
-
Turns a string into a regular expression.
|
2063
|
-
</p>
|
2064
|
-
<pre>
|
2065
|
-
"a?".to_re #=> /a?/
|
2066
|
-
|
2067
|
-
CREDIT: Trans
|
2068
|
-
</pre>
|
2069
|
-
</div>
|
2070
|
-
<div class="sourcecode">
|
2071
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">show source</a> ]</p>
|
2072
|
-
<div id="M000236_source" class="dyn-source">
|
2073
|
-
<pre>
|
2074
|
-
<span class="ruby-comment cmt"># File lib/facets/string/to_re.rb, line 9</span>
|
2075
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_re</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">false</span>)
|
2076
|
-
<span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">new</span>((<span class="ruby-identifier">esc</span> <span class="ruby-value">? </span><span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>))
|
2077
|
-
<span class="ruby-keyword kw">end</span>
|
2078
|
-
</pre>
|
2079
|
-
</div>
|
2080
|
-
</div>
|
2081
|
-
</div>
|
2082
|
-
<div class="method">
|
2083
|
-
<div class="title">
|
2084
|
-
<a name="M000237"></a><b>to_rx</b>(esc=true)
|
2085
|
-
</div>
|
2086
|
-
<div class="description">
|
2087
|
-
<p>
|
2088
|
-
Turns a string into a regular expression. By default it will escape all
|
2089
|
-
characters. Use <tt>false</tt> argument to turn off escaping.
|
2090
|
-
</p>
|
2091
|
-
<pre>
|
2092
|
-
"[".to_rx #=> /\[/
|
2093
|
-
|
2094
|
-
CREDIT: Trans
|
2095
|
-
</pre>
|
2096
|
-
</div>
|
2097
|
-
<div class="sourcecode">
|
2098
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000237_source')" id="l_M000237_source">show source</a> ]</p>
|
2099
|
-
<div id="M000237_source" class="dyn-source">
|
2100
|
-
<pre>
|
2101
|
-
<span class="ruby-comment cmt"># File lib/facets/string/to_re.rb, line 21</span>
|
2102
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rx</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">true</span>)
|
2103
|
-
<span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">new</span>((<span class="ruby-identifier">esc</span> <span class="ruby-value">? </span><span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>))
|
2104
|
-
<span class="ruby-keyword kw">end</span>
|
2105
|
-
</pre>
|
2106
|
-
</div>
|
2107
|
-
</div>
|
2108
|
-
</div>
|
2109
|
-
<div class="method">
|
2110
|
-
<div class="title">
|
2111
|
-
<a name="M000233"></a><b>to_s</b>()
|
2112
|
-
</div>
|
2113
|
-
<div class="sourcecode">
|
2114
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000233_source')" id="l_M000233_source">show source</a> ]</p>
|
2115
|
-
<div id="M000233_source" class="dyn-source">
|
2116
|
-
<pre>
|
2117
|
-
<span class="ruby-comment cmt"># File lib/facets/comparable/bound.rb, line 2</span>
|
2118
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
2119
|
-
<span class="ruby-keyword kw">self</span>
|
2120
|
-
<span class="ruby-keyword kw">end</span>
|
2121
|
-
</pre>
|
2122
|
-
</div>
|
2123
|
-
</div>
|
2124
|
-
</div>
|
2125
|
-
<div class="method">
|
2126
|
-
<div class="title">
|
2127
|
-
<a name="M000271"></a><b>to_time</b>()
|
2128
|
-
</div>
|
2129
|
-
<div class="description">
|
2130
|
-
<p>
|
2131
|
-
Parse string to time.
|
2132
|
-
</p>
|
2133
|
-
<pre>
|
2134
|
-
CREDIT: Trans
|
2135
|
-
</pre>
|
2136
|
-
</div>
|
2137
|
-
<div class="sourcecode">
|
2138
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000271_source')" id="l_M000271_source">show source</a> ]</p>
|
2139
|
-
<div id="M000271_source" class="dyn-source">
|
2140
|
-
<pre>
|
2141
|
-
<span class="ruby-comment cmt"># File lib/facets/string/to_time.rb, line 7</span>
|
2142
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_time</span>
|
2143
|
-
<span class="ruby-identifier">require</span> <span class="ruby-value str">'time'</span>
|
2144
|
-
<span class="ruby-constant">Time</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-keyword kw">self</span>)
|
2145
|
-
<span class="ruby-keyword kw">end</span>
|
2146
|
-
</pre>
|
2147
|
-
</div>
|
2148
|
-
</div>
|
2149
|
-
</div>
|
2150
|
-
<div class="method">
|
2151
|
-
<div class="title">
|
2152
|
-
<a name="M000276"></a><b>unbracket</b>(bra=nil, ket=nil)
|
2153
|
-
</div>
|
2154
|
-
<div class="description">
|
2155
|
-
<p>
|
2156
|
-
Return a new string embraced by given brakets. If only one <a
|
2157
|
-
href="String.html#M000274">bracket</a> char is given it will be placed on
|
2158
|
-
either side.
|
2159
|
-
</p>
|
2160
|
-
<pre>
|
2161
|
-
"{unwrap me}".debracket('{') #=> "unwrap me"
|
2162
|
-
"--unwrap me!".debracket('--','!') #=> "unwrap me!"
|
2163
|
-
|
2164
|
-
CREDIT: Trans
|
2165
|
-
</pre>
|
2166
|
-
</div>
|
2167
|
-
<div class="sourcecode">
|
2168
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000276_source')" id="l_M000276_source">show source</a> ]</p>
|
2169
|
-
<div id="M000276_source" class="dyn-source">
|
2170
|
-
<pre>
|
2171
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 37</span>
|
2172
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
|
2173
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bra</span>
|
2174
|
-
<span class="ruby-identifier">ket</span> = <span class="ruby-constant">BRA2KET</span>[<span class="ruby-identifier">bra</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">ket</span>
|
2175
|
-
<span class="ruby-identifier">ket</span> = <span class="ruby-identifier">ket</span> <span class="ruby-value">? </span><span class="ruby-identifier">ket</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">bra</span>
|
2176
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
2177
|
-
<span class="ruby-identifier">s</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-node">%r[^#{Regexp.escape(bra)}]</span>, <span class="ruby-value str">''</span>)
|
2178
|
-
<span class="ruby-identifier">s</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-node">%r[#{Regexp.escape(ket)}$]</span>, <span class="ruby-value str">''</span>)
|
2179
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">s</span>
|
2180
|
-
<span class="ruby-keyword kw">else</span>
|
2181
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">m</span> = <span class="ruby-constant">BRA2KET</span>[ <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span>,<span class="ruby-value">1</span>] ]
|
2182
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">slice</span>(<span class="ruby-value">1</span><span class="ruby-operator">...</span><span class="ruby-value">-1</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">-1</span>,<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">m</span>
|
2183
|
-
<span class="ruby-keyword kw">end</span>
|
2184
|
-
<span class="ruby-keyword kw">end</span>
|
2185
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span> <span class="ruby-comment cmt"># if nothing else</span>
|
2186
|
-
<span class="ruby-keyword kw">end</span>
|
2187
|
-
</pre>
|
2188
|
-
</div>
|
2189
|
-
</div>
|
2190
|
-
</div>
|
2191
|
-
<div class="method">
|
2192
|
-
<div class="title">
|
2193
|
-
<a name="M000277"></a><b>unbracket!</b>(bra=nil, ket=nil)
|
2194
|
-
</div>
|
2195
|
-
<div class="description">
|
2196
|
-
<p>
|
2197
|
-
Inplace version of debraket.
|
2198
|
-
</p>
|
2199
|
-
<pre>
|
2200
|
-
CREDIT: Trans
|
2201
|
-
</pre>
|
2202
|
-
</div>
|
2203
|
-
<div class="sourcecode">
|
2204
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000277_source')" id="l_M000277_source">show source</a> ]</p>
|
2205
|
-
<div id="M000277_source" class="dyn-source">
|
2206
|
-
<pre>
|
2207
|
-
<span class="ruby-comment cmt"># File lib/facets/string/bracket.rb, line 57</span>
|
2208
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket!</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
|
2209
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">replace</span>( <span class="ruby-identifier">unbracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>) )
|
2210
|
-
<span class="ruby-keyword kw">end</span>
|
2211
|
-
</pre>
|
2212
|
-
</div>
|
2213
|
-
</div>
|
2214
|
-
</div>
|
2215
|
-
<div class="method">
|
2216
|
-
<div class="title">
|
2217
|
-
<a name="M000286"></a><b>underscore</b>()
|
2218
|
-
</div>
|
2219
|
-
<div class="description">
|
2220
|
-
<p>
|
2221
|
-
Converts spaces into underscores.
|
2222
|
-
</p>
|
2223
|
-
<p>
|
2224
|
-
Examples
|
2225
|
-
</p>
|
2226
|
-
<pre>
|
2227
|
-
"This Is Helpful".underscore #=> "This_Is_Helpful"
|
2228
|
-
</pre>
|
2229
|
-
</div>
|
2230
|
-
<div class="sourcecode">
|
2231
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000286_source')" id="l_M000286_source">show source</a> ]</p>
|
2232
|
-
<div id="M000286_source" class="dyn-source">
|
2233
|
-
<pre>
|
2234
|
-
<span class="ruby-comment cmt"># File lib/facets/string/underscore.rb, line 17</span>
|
2235
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">underscore</span>
|
2236
|
-
<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">' '</span>, <span class="ruby-value str">'_'</span>) <span class="ruby-comment cmt">#.capitalize</span>
|
2237
|
-
<span class="ruby-keyword kw">end</span>
|
2238
|
-
</pre>
|
2239
|
-
</div>
|
2240
|
-
</div>
|
2241
|
-
</div>
|
2242
|
-
<div class="method">
|
2243
|
-
<div class="title">
|
2244
|
-
<a name="M000260"></a><b>upcase?</b>()
|
2245
|
-
</div>
|
2246
|
-
<div class="description">
|
2247
|
-
<p>
|
2248
|
-
Is the string upcase/uppercase?
|
2249
|
-
</p>
|
2250
|
-
<pre>
|
2251
|
-
"THIS".upcase? #=> true
|
2252
|
-
"This".upcase? #=> false
|
2253
|
-
"this".upcase? #=> false
|
2254
|
-
|
2255
|
-
CREDIT: Phil Tomson
|
2256
|
-
</pre>
|
2257
|
-
</div>
|
2258
|
-
<div class="sourcecode">
|
2259
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000260_source')" id="l_M000260_source">show source</a> ]</p>
|
2260
|
-
<div id="M000260_source" class="dyn-source">
|
2261
|
-
<pre>
|
2262
|
-
<span class="ruby-comment cmt"># File lib/facets/string/capitalized.rb, line 38</span>
|
2263
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upcase?</span>
|
2264
|
-
<span class="ruby-identifier">upcase</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>
|
2265
|
-
<span class="ruby-keyword kw">end</span>
|
2266
|
-
</pre>
|
2267
|
-
</div>
|
2268
|
-
</div>
|
2269
|
-
</div>
|
2270
|
-
<div class="method">
|
2271
|
-
<div class="title">
|
2272
|
-
<a name="M000230"></a><b>variablize</b>()
|
2273
|
-
</div>
|
2274
|
-
<div class="description">
|
2275
|
-
<p>
|
2276
|
-
Append an "@" to the beginning of a string to make a instance
|
2277
|
-
variable name. This also replaces non-valid characters with underscores.
|
2278
|
-
</p>
|
2279
|
-
</div>
|
2280
|
-
<div class="sourcecode">
|
2281
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000230_source')" id="l_M000230_source">show source</a> ]</p>
|
2282
|
-
<div id="M000230_source" class="dyn-source">
|
2283
|
-
<pre>
|
2284
|
-
<span class="ruby-comment cmt"># File lib/facets/metaid.rb, line 128</span>
|
2285
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">variablize</span>
|
2286
|
-
<span class="ruby-node">"@#{self}"</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\W/</span>, <span class="ruby-value str">'_'</span>).<span class="ruby-identifier">to_sym</span>
|
2287
|
-
<span class="ruby-keyword kw">end</span>
|
2288
|
-
</pre>
|
2289
|
-
</div>
|
2290
|
-
</div>
|
2291
|
-
</div>
|
2292
|
-
</div>
|
2293
|
-
|
2294
|
-
</div>
|
2295
|
-
|
2296
|
-
</body>
|
2297
|
-
</html>
|