facets 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +17 -3
- data/MANIFEST +1301 -0
- data/NOTES +42 -11
- data/README +16 -26
- data/doc/History.txt +73 -0
- data/doc/html/api.css +79 -0
- data/doc/html/api/core/classes/Array.html +894 -0
- data/doc/html/api/core/classes/Binding.html +419 -0
- data/doc/html/api/core/classes/Class.html +218 -0
- data/doc/html/api/core/classes/Comparable.html +261 -0
- data/doc/html/api/core/classes/Dir.html +397 -0
- data/doc/html/api/core/classes/Enumerable.html +1124 -0
- data/doc/html/api/core/classes/Exception.html +130 -0
- data/doc/html/api/core/classes/File.html +456 -0
- data/doc/html/api/core/classes/FileTest.html +118 -0
- data/doc/html/api/core/classes/Float.html +133 -0
- data/doc/html/api/core/classes/Functor.html +173 -0
- data/doc/html/api/core/classes/Hash.html +1992 -0
- data/doc/html/api/core/classes/Indexable.html +606 -0
- data/doc/html/api/core/classes/Integer.html +577 -0
- data/doc/html/api/core/classes/Kernel.html +2135 -0
- data/doc/html/api/core/classes/MatchData.html +203 -0
- data/doc/html/api/core/classes/MissingArgument.html +97 -0
- data/doc/html/api/core/classes/Module.html +1605 -0
- data/doc/html/api/core/classes/Module/CloneExtensions.html +188 -0
- data/doc/html/api/core/classes/Object.html +147 -0
- data/doc/html/api/core/classes/Proc.html +346 -0
- data/doc/html/api/core/classes/Range.html +360 -0
- data/doc/html/api/core/classes/Regexp.html +193 -0
- data/doc/html/api/core/classes/Stackable.html +264 -0
- data/doc/html/api/core/classes/String.html +2297 -0
- data/doc/html/api/core/classes/String/Words.html +330 -0
- data/doc/html/api/core/classes/Time.html +521 -0
- data/doc/html/api/core/classes/UnboundMethod.html +196 -0
- data/doc/html/api/core/created.rid +1 -0
- data/doc/html/api/core/files/AUTHORS.html +256 -0
- data/doc/html/api/core/files/CHANGES.html +259 -0
- data/doc/html/api/core/files/COPYING.html +462 -0
- data/doc/html/api/core/files/MANIFEST.html +597 -0
- data/doc/html/api/core/files/NOTES.html +135 -0
- data/doc/html/api/core/files/README.html +412 -0
- data/doc/html/api/core/files/lib/facets/array/conjoin_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/delete_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/indexable_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/array/merge_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/not_empty_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/only_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/pad_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/product_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/array/rotate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/select_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/splice_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array/stackable_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/array/traverse_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/array_rb.html +129 -0
- data/doc/html/api/core/files/lib/facets/binding/caller_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/binding/defined_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/binding/local_variables_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/binding/opvars_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/binding/self_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/binding_rb.html +99 -0
- data/doc/html/api/core/files/lib/facets/bitmask_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/blank_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/boolean_rb.html +126 -0
- data/doc/html/api/core/files/lib/facets/callstack_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/class/descendents_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/class/prepend_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/class/subclasses_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/class_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/comparable/bound_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/comparable/cmp_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/comparable/comparable_rb.html +109 -0
- data/doc/html/api/core/files/lib/facets/comparable_rb.html +99 -0
- data/doc/html/api/core/files/lib/facets/dir/ascend_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/dir/descend_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/dir/multiglob_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/dir/parent_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/dir/recurse_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/dir_rb.html +102 -0
- data/doc/html/api/core/files/lib/facets/duplicable_rb.html +100 -0
- data/doc/html/api/core/files/lib/facets/enumerable/accumulate_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/enumerable/cluster_by_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/enumerable/collect_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/divide_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/duplicates_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/each_by_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/enumerable/inject_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/map_send_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/mash_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/mode_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/modulate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/occur_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/probability_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/split_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/sum_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable/uniq_by_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/enumerable_rb.html +111 -0
- data/doc/html/api/core/files/lib/facets/exception/detail_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/exception_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/file/null_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/file/read_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/file/rewrite_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/file/rootname_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/file/write_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/file_rb.html +100 -0
- data/doc/html/api/core/files/lib/facets/filetest/root_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/filetest_rb.html +97 -0
- data/doc/html/api/core/files/lib/facets/functor_rb.html +151 -0
- data/doc/html/api/core/files/lib/facets/hash/alias_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/argumentize_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/at_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/autonew_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/collate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/delete_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/diff_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/except_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/insert_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/inverse_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/join_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/keys_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/mash_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash/merge_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/op_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/rekey_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash/select_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/slice_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/stringify_keys_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash/swap_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/symbolize_keys_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash/to_h_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash/to_proc_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/to_struct_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/traverse_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/update_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/weave_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/hash/zipnew_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/hash_rb.html +118 -0
- data/doc/html/api/core/files/lib/facets/indexable_rb.html +113 -0
- data/doc/html/api/core/files/lib/facets/integer/factorial_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/integer/multiple_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/integer/of_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/integer/ordinal_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/integer_rb.html +100 -0
- data/doc/html/api/core/files/lib/facets/kernel/__dir___rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/as_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/kernel/ask_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/attr_singleton_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/complete_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/constant_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/d_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/deep_copy_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/demo_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/ergo_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/kernel/here_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/in_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/instance_exec_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/kernel/instance_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/load_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/maybe_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/not_nil_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/object_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/p_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/populate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/resc_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/respond_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/returning_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/silence_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/singleton_class_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/try_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/val_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel/with_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/kernel_rb.html +115 -0
- data/doc/html/api/core/files/lib/facets/matchdata/match_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/matchdata/matchset_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/matchdata_rb.html +98 -0
- data/doc/html/api/core/files/lib/facets/metaid_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/abstract_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/alias_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/ancestor_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/can_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/class_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/clone_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/conflict_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/include_function_module_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/instance_methods_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/is_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/module_load_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/nesting_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/op_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/pathize_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/prepend_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module/revise_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/module_rb.html +109 -0
- data/doc/html/api/core/files/lib/facets/nilclass_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/numeric/approx_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/numeric/distance_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/numeric/round_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/numeric_rb.html +98 -0
- data/doc/html/api/core/files/lib/facets/proc/bind_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/proc/compose_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/proc/curry_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/proc/partial_rb.html +125 -0
- data/doc/html/api/core/files/lib/facets/proc/to_method_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/proc/update_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/proc_rb.html +99 -0
- data/doc/html/api/core/files/lib/facets/range/combine_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/range/overlap_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/range/to_r_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/range/umbrella_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/range/within_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/range_rb.html +99 -0
- data/doc/html/api/core/files/lib/facets/regexp/arity_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/regexp/to_re_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/regexp_rb.html +98 -0
- data/doc/html/api/core/files/lib/facets/ruby_rb.html +110 -0
- data/doc/html/api/core/files/lib/facets/stackable_rb.html +120 -0
- data/doc/html/api/core/files/lib/facets/string/align_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/bracket_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/camelcase_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/capitalized_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/chomp_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/cleave_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/divide_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/fold_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/interpolate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/line_wrap_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/mscan_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/natcmp_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/nchar_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/range_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/rewrite_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/shatter_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/snakecase_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/splice_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/stylize_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/subtract_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/tab_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/titlecase_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/to_re_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/to_time_rb.html +98 -0
- data/doc/html/api/core/files/lib/facets/string/underscore_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string/words_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/string/xor_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/string_rb.html +109 -0
- data/doc/html/api/core/files/lib/facets/symbol/chomp_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/symbol/generate_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/symbol/not_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/symbol_rb.html +98 -0
- data/doc/html/api/core/files/lib/facets/time/ago_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/time/change_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/time/elapse_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/time/hence_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/time/set_rb.html +96 -0
- data/doc/html/api/core/files/lib/facets/time/stamp_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/time_rb.html +99 -0
- data/doc/html/api/core/files/lib/facets/to_hash_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/unboundmethod/arguments_rb.html +92 -0
- data/doc/html/api/core/files/lib/facets/unboundmethod_rb.html +97 -0
- data/doc/html/api/core/fr_class_index.html +74 -0
- data/doc/html/api/core/fr_file_index.html +269 -0
- data/doc/html/api/core/fr_method_index.html +463 -0
- data/doc/html/api/core/index.html +26 -0
- data/doc/html/api/core/rdoc-style.css +175 -0
- data/doc/html/api/more/classes/ANSICode.html +495 -0
- data/doc/html/api/more/classes/Advisable.html +271 -0
- data/doc/html/api/more/classes/Advisable/Method.html +251 -0
- data/doc/html/api/more/classes/Archive.html +89 -0
- data/doc/html/api/more/classes/Archive/Tar.html +89 -0
- data/doc/html/api/more/classes/Archive/Tar/Minitar.html +470 -0
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Input.html +380 -0
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Output.html +218 -0
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Reader.html +285 -0
- data/doc/html/api/more/classes/Archive/Tar/Minitar/Writer.html +419 -0
- data/doc/html/api/more/classes/Association.html +307 -0
- data/doc/html/api/more/classes/Association/Kernel.html +134 -0
- data/doc/html/api/more/classes/Autoarray.html +168 -0
- data/doc/html/api/more/classes/BBCode.html +534 -0
- data/doc/html/api/more/classes/BasicObject.html +260 -0
- data/doc/html/api/more/classes/Behavior.html +145 -0
- data/doc/html/api/more/classes/BiCrypt.html +543 -0
- data/doc/html/api/more/classes/BigDuration.html +327 -0
- data/doc/html/api/more/classes/BinReadable.html +536 -0
- data/doc/html/api/more/classes/BinReadable/ByteOrder.html +225 -0
- data/doc/html/api/more/classes/Buildable.html +154 -0
- data/doc/html/api/more/classes/BuildingBlock.html +362 -0
- data/doc/html/api/more/classes/CGI.html +187 -0
- data/doc/html/api/more/classes/CLI.html +108 -0
- data/doc/html/api/more/classes/CLI/Arguments.html +709 -0
- data/doc/html/api/more/classes/CLI/Command.html +436 -0
- data/doc/html/api/more/classes/CLI/Command/UniversalOptions.html +91 -0
- data/doc/html/api/more/classes/CLI/NoCommandError.html +113 -0
- data/doc/html/api/more/classes/CLI/NoOptionError.html +120 -0
- data/doc/html/api/more/classes/CacheDecorator.html +224 -0
- data/doc/html/api/more/classes/Capsule.html +410 -0
- data/doc/html/api/more/classes/Capsule/MissingFile.html +96 -0
- data/doc/html/api/more/classes/Chain.html +208 -0
- data/doc/html/api/more/classes/Cloneable.html +131 -0
- data/doc/html/api/more/classes/Config.html +137 -0
- data/doc/html/api/more/classes/ConsoleUtils.html +240 -0
- data/doc/html/api/more/classes/Continuation.html +115 -0
- data/doc/html/api/more/classes/Coroutine.html +286 -0
- data/doc/html/api/more/classes/Crypt.html +277 -0
- data/doc/html/api/more/classes/CssFilter.html +473 -0
- data/doc/html/api/more/classes/CssTree.html +149 -0
- data/doc/html/api/more/classes/Date.html +252 -0
- data/doc/html/api/more/classes/Dictionary.html +1247 -0
- data/doc/html/api/more/classes/Downloader.html +514 -0
- data/doc/html/api/more/classes/Duration.html +769 -0
- data/doc/html/api/more/classes/Enumerable.html +340 -0
- data/doc/html/api/more/classes/Enumerable/Elementor.html +172 -0
- data/doc/html/api/more/classes/Enumerable/Enumerator.html +118 -0
- data/doc/html/api/more/classes/EnumerablePass.html +216 -0
- data/doc/html/api/more/classes/Equatable.html +190 -0
- data/doc/html/api/more/classes/EventHook.html +176 -0
- data/doc/html/api/more/classes/Expirable.html +197 -0
- data/doc/html/api/more/classes/File.html +130 -0
- data/doc/html/api/more/classes/FileList.html +982 -0
- data/doc/html/api/more/classes/FileShell.html +774 -0
- data/doc/html/api/more/classes/FileUtils.html +454 -0
- data/doc/html/api/more/classes/Fileable.html +181 -0
- data/doc/html/api/more/classes/Fileable/DSL.html +306 -0
- data/doc/html/api/more/classes/GetoptLong.html +120 -0
- data/doc/html/api/more/classes/GetoptLong/DSL.html +210 -0
- data/doc/html/api/more/classes/Hash2Xml.html +177 -0
- data/doc/html/api/more/classes/HtmlFilter.html +850 -0
- data/doc/html/api/more/classes/IORedirect.html +222 -0
- data/doc/html/api/more/classes/InfinityClass.html +452 -0
- data/doc/html/api/more/classes/InfinityClass/Numeric.html +197 -0
- data/doc/html/api/more/classes/InstanceReflection.html +129 -0
- data/doc/html/api/more/classes/Instantiable.html +142 -0
- data/doc/html/api/more/classes/Instantise.html +162 -0
- data/doc/html/api/more/classes/Interval.html +879 -0
- data/doc/html/api/more/classes/It.html +207 -0
- data/doc/html/api/more/classes/LRUCache.html +464 -0
- data/doc/html/api/more/classes/LRUCache/Item.html +114 -0
- data/doc/html/api/more/classes/LRUCache/Sentinel.html +100 -0
- data/doc/html/api/more/classes/Lazy.html +96 -0
- data/doc/html/api/more/classes/Lazy/Future.html +100 -0
- data/doc/html/api/more/classes/Lazy/Promise.html +112 -0
- data/doc/html/api/more/classes/Lazy/PromiseSafe.html +99 -0
- data/doc/html/api/more/classes/LinkedList.html +494 -0
- data/doc/html/api/more/classes/LinkedList/Node.html +151 -0
- data/doc/html/api/more/classes/Logger.html +231 -0
- data/doc/html/api/more/classes/Logger/Ansicolor.html +279 -0
- data/doc/html/api/more/classes/Logger/LogDevice.html +123 -0
- data/doc/html/api/more/classes/Module.html +1410 -0
- data/doc/html/api/more/classes/Multiton.html +207 -0
- data/doc/html/api/more/classes/Multiton/Inclusive.html +128 -0
- data/doc/html/api/more/classes/Multiton/MetaMethods.html +270 -0
- data/doc/html/api/more/classes/NackClass.html +99 -0
- data/doc/html/api/more/classes/Net.html +88 -0
- data/doc/html/api/more/classes/Net/SMTP.html +259 -0
- data/doc/html/api/more/classes/NilClass.html +227 -0
- data/doc/html/api/more/classes/NullClass.html +204 -0
- data/doc/html/api/more/classes/Numeric.html +1188 -0
- data/doc/html/api/more/classes/ObjectReflection.html +145 -0
- data/doc/html/api/more/classes/OpEsc.html +138 -0
- data/doc/html/api/more/classes/OpenCascade.html +144 -0
- data/doc/html/api/more/classes/OpenCollection.html +140 -0
- data/doc/html/api/more/classes/OpenHash.html +158 -0
- data/doc/html/api/more/classes/OpenObject.html +604 -0
- data/doc/html/api/more/classes/OpenStruct.html +413 -0
- data/doc/html/api/more/classes/PQueue.html +734 -0
- data/doc/html/api/more/classes/PathList.html +161 -0
- data/doc/html/api/more/classes/PathList/Finder.html +137 -0
- data/doc/html/api/more/classes/Pathname.html +178 -0
- data/doc/html/api/more/classes/Pool.html +206 -0
- data/doc/html/api/more/classes/Proc.html +138 -0
- data/doc/html/api/more/classes/ProgressBar.html +683 -0
- data/doc/html/api/more/classes/Prototype.html +245 -0
- data/doc/html/api/more/classes/RWDelegator.html +196 -0
- data/doc/html/api/more/classes/Random.html +164 -0
- data/doc/html/api/more/classes/Random/Array.html +341 -0
- data/doc/html/api/more/classes/Random/Hash.html +380 -0
- data/doc/html/api/more/classes/Random/Object.html +121 -0
- data/doc/html/api/more/classes/Random/String.html +301 -0
- data/doc/html/api/more/classes/Random/String/Self.html +155 -0
- data/doc/html/api/more/classes/Recorder.html +205 -0
- data/doc/html/api/more/classes/RecursiveDependency.html +92 -0
- data/doc/html/api/more/classes/Reference.html +198 -0
- data/doc/html/api/more/classes/Registerable.html +159 -0
- data/doc/html/api/more/classes/Semaphore.html +262 -0
- data/doc/html/api/more/classes/Set.html +119 -0
- data/doc/html/api/more/classes/Settings.html +290 -0
- data/doc/html/api/more/classes/Settings/Setting.html +225 -0
- data/doc/html/api/more/classes/Settings/SettingCollection.html +144 -0
- data/doc/html/api/more/classes/Shellwords.html +113 -0
- data/doc/html/api/more/classes/SimpleStringIO.html +137 -0
- data/doc/html/api/more/classes/Snapshot.html +196 -0
- data/doc/html/api/more/classes/Snapshot/ValueHolder.html +165 -0
- data/doc/html/api/more/classes/String/Style.html +695 -0
- data/doc/html/api/more/classes/Struct.html +132 -0
- data/doc/html/api/more/classes/SyncArray.html +129 -0
- data/doc/html/api/more/classes/SyncHash.html +158 -0
- data/doc/html/api/more/classes/SyncHash/Delegator.html +213 -0
- data/doc/html/api/more/classes/SyncHash/Inheritor.html +213 -0
- data/doc/html/api/more/classes/System.html +1119 -0
- data/doc/html/api/more/classes/Timer.html +466 -0
- data/doc/html/api/more/classes/Timer/Dummy.html +141 -0
- data/doc/html/api/more/classes/TracePoint.html +455 -0
- data/doc/html/api/more/classes/Tuple.html +902 -0
- data/doc/html/api/more/classes/TypeCast.html +158 -0
- data/doc/html/api/more/classes/TypeCast/Class.html +129 -0
- data/doc/html/api/more/classes/TypeCast/Object.html +119 -0
- data/doc/html/api/more/classes/TypeCastException.html +96 -0
- data/doc/html/api/more/classes/URI.html +455 -0
- data/doc/html/api/more/classes/URI/Hash.html +107 -0
- data/doc/html/api/more/classes/URI/Kernel.html +124 -0
- data/doc/html/api/more/classes/Uninheritable.html +122 -0
- data/doc/html/api/more/classes/UploadUtils.html +499 -0
- data/doc/html/api/more/classes/VersionNumber.html +384 -0
- data/doc/html/api/more/classes/Weekdays.html +248 -0
- data/doc/html/api/more/classes/XOXO.html +252 -0
- data/doc/html/api/more/classes/ZipUtils.html +437 -0
- data/doc/html/api/more/classes/ZipUtils/DryRun.html +225 -0
- data/doc/html/api/more/classes/ZipUtils/NoWrite.html +225 -0
- data/doc/html/api/more/classes/ZipUtils/Verbose.html +225 -0
- data/doc/html/api/more/created.rid +1 -0
- data/doc/html/api/more/files/AUTHORS.html +257 -0
- data/doc/html/api/more/files/CHANGES.html +258 -0
- data/doc/html/api/more/files/COPYING.html +462 -0
- data/doc/html/api/more/files/MANIFEST.html +597 -0
- data/doc/html/api/more/files/NOTES.html +135 -0
- data/doc/html/api/more/files/README.html +411 -0
- data/doc/html/api/more/files/lib/facets/1stclassmethod_rb.html +181 -0
- data/doc/html/api/more/files/lib/facets/advisable_rb.html +124 -0
- data/doc/html/api/more/files/lib/facets/annotations_rb.html +179 -0
- data/doc/html/api/more/files/lib/facets/ansicode_rb.html +199 -0
- data/doc/html/api/more/files/lib/facets/arguments_rb.html +142 -0
- data/doc/html/api/more/files/lib/facets/association_rb.html +158 -0
- data/doc/html/api/more/files/lib/facets/attr_rb.html +92 -0
- data/doc/html/api/more/files/lib/facets/autoarray_rb.html +125 -0
- data/doc/html/api/more/files/lib/facets/autoreload_rb.html +134 -0
- data/doc/html/api/more/files/lib/facets/basicobject_rb.html +190 -0
- data/doc/html/api/more/files/lib/facets/bbcode_rb.html +138 -0
- data/doc/html/api/more/files/lib/facets/behavior_rb.html +125 -0
- data/doc/html/api/more/files/lib/facets/bicrypt_rb.html +124 -0
- data/doc/html/api/more/files/lib/facets/binreadable_rb.html +141 -0
- data/doc/html/api/more/files/lib/facets/buildable_rb.html +228 -0
- data/doc/html/api/more/files/lib/facets/bytes_rb.html +170 -0
- data/doc/html/api/more/files/lib/facets/cachedecorator_rb.html +178 -0
- data/doc/html/api/more/files/lib/facets/capsule_rb.html +143 -0
- data/doc/html/api/more/files/lib/facets/cattr_rb.html +125 -0
- data/doc/html/api/more/files/lib/facets/cgi_rb.html +111 -0
- data/doc/html/api/more/files/lib/facets/chain_rb.html +114 -0
- data/doc/html/api/more/files/lib/facets/class_extension_rb.html +155 -0
- data/doc/html/api/more/files/lib/facets/classmethods_rb.html +213 -0
- data/doc/html/api/more/files/lib/facets/cloneable_rb.html +134 -0
- data/doc/html/api/more/files/lib/facets/command_rb.html +170 -0
- data/doc/html/api/more/files/lib/facets/consoleutils_rb.html +109 -0
- data/doc/html/api/more/files/lib/facets/continuation_rb.html +145 -0
- data/doc/html/api/more/files/lib/facets/core_rb.html +133 -0
- data/doc/html/api/more/files/lib/facets/coroutine_rb.html +163 -0
- data/doc/html/api/more/files/lib/facets/crypt_rb.html +141 -0
- data/doc/html/api/more/files/lib/facets/cssfilter_rb.html +120 -0
- data/doc/html/api/more/files/lib/facets/daemonize_rb.html +118 -0
- data/doc/html/api/more/files/lib/facets/date_rb.html +121 -0
- data/doc/html/api/more/files/lib/facets/dependency_rb.html +158 -0
- data/doc/html/api/more/files/lib/facets/dictionary_rb.html +198 -0
- data/doc/html/api/more/files/lib/facets/downloader_rb.html +137 -0
- data/doc/html/api/more/files/lib/facets/duration_rb.html +132 -0
- data/doc/html/api/more/files/lib/facets/elementor_rb.html +148 -0
- data/doc/html/api/more/files/lib/facets/elementwise_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/enumerablepass_rb.html +153 -0
- data/doc/html/api/more/files/lib/facets/equatable_rb.html +145 -0
- data/doc/html/api/more/files/lib/facets/eventhook_rb.html +141 -0
- data/doc/html/api/more/files/lib/facets/expirable_rb.html +116 -0
- data/doc/html/api/more/files/lib/facets/fileable_rb.html +138 -0
- data/doc/html/api/more/files/lib/facets/filelist_rb.html +164 -0
- data/doc/html/api/more/files/lib/facets/fileshell_rb.html +124 -0
- data/doc/html/api/more/files/lib/facets/fileutils/head_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/safe_ln_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/slice_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/tail_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/wc_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/whereis_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils/which_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/fileutils_rb.html +131 -0
- data/doc/html/api/more/files/lib/facets/float/round_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/getoptlong_rb.html +135 -0
- data/doc/html/api/more/files/lib/facets/heap_rb.html +132 -0
- data/doc/html/api/more/files/lib/facets/htmlfilter_rb.html +153 -0
- data/doc/html/api/more/files/lib/facets/infinity_rb.html +153 -0
- data/doc/html/api/more/files/lib/facets/inheritor_rb.html +149 -0
- data/doc/html/api/more/files/lib/facets/instantiable_rb.html +119 -0
- data/doc/html/api/more/files/lib/facets/instantise_rb.html +145 -0
- data/doc/html/api/more/files/lib/facets/interval_rb.html +163 -0
- data/doc/html/api/more/files/lib/facets/ioredirect_rb.html +133 -0
- data/doc/html/api/more/files/lib/facets/iteration_rb.html +94 -0
- data/doc/html/api/more/files/lib/facets/lazy_rb.html +120 -0
- data/doc/html/api/more/files/lib/facets/linkedlist_rb.html +159 -0
- data/doc/html/api/more/files/lib/facets/logger_rb.html +142 -0
- data/doc/html/api/more/files/lib/facets/lrucache_rb.html +129 -0
- data/doc/html/api/more/files/lib/facets/main_rb.html +126 -0
- data/doc/html/api/more/files/lib/facets/memoize_rb.html +163 -0
- data/doc/html/api/more/files/lib/facets/meta_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/methodspace_rb.html +138 -0
- data/doc/html/api/more/files/lib/facets/minitar_rb.html +203 -0
- data/doc/html/api/more/files/lib/facets/multipliers_rb.html +149 -0
- data/doc/html/api/more/files/lib/facets/multiton_rb.html +187 -0
- data/doc/html/api/more/files/lib/facets/nackclass_rb.html +121 -0
- data/doc/html/api/more/files/lib/facets/net/smtp_tls_rb.html +143 -0
- data/doc/html/api/more/files/lib/facets/nilstatus_rb.html +92 -0
- data/doc/html/api/more/files/lib/facets/nullclass_rb.html +122 -0
- data/doc/html/api/more/files/lib/facets/opencascade_rb.html +156 -0
- data/doc/html/api/more/files/lib/facets/opencollection_rb.html +123 -0
- data/doc/html/api/more/files/lib/facets/openhash_rb.html +107 -0
- data/doc/html/api/more/files/lib/facets/openobject_rb.html +167 -0
- data/doc/html/api/more/files/lib/facets/opesc_rb.html +94 -0
- data/doc/html/api/more/files/lib/facets/orderedhash_rb.html +142 -0
- data/doc/html/api/more/files/lib/facets/ostruct_rb.html +135 -0
- data/doc/html/api/more/files/lib/facets/overload_rb.html +119 -0
- data/doc/html/api/more/files/lib/facets/pathlist_rb.html +133 -0
- data/doc/html/api/more/files/lib/facets/pathname_rb.html +155 -0
- data/doc/html/api/more/files/lib/facets/pool_rb.html +131 -0
- data/doc/html/api/more/files/lib/facets/pqueue_rb.html +129 -0
- data/doc/html/api/more/files/lib/facets/progressbar_rb.html +126 -0
- data/doc/html/api/more/files/lib/facets/prototype_rb.html +102 -0
- data/doc/html/api/more/files/lib/facets/random_rb.html +148 -0
- data/doc/html/api/more/files/lib/facets/rbconfig_rb.html +124 -0
- data/doc/html/api/more/files/lib/facets/rbsystem_rb.html +143 -0
- data/doc/html/api/more/files/lib/facets/recorder_rb.html +154 -0
- data/doc/html/api/more/files/lib/facets/reference_rb.html +130 -0
- data/doc/html/api/more/files/lib/facets/reflection_rb.html +119 -0
- data/doc/html/api/more/files/lib/facets/registerable_rb.html +98 -0
- data/doc/html/api/more/files/lib/facets/rwdelegator_rb.html +122 -0
- data/doc/html/api/more/files/lib/facets/semaphore_rb.html +120 -0
- data/doc/html/api/more/files/lib/facets/set_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/settings_rb.html +141 -0
- data/doc/html/api/more/files/lib/facets/shellwords_rb.html +124 -0
- data/doc/html/api/more/files/lib/facets/snapshot_rb.html +177 -0
- data/doc/html/api/more/files/lib/facets/style_rb.html +96 -0
- data/doc/html/api/more/files/lib/facets/succ_rb.html +92 -0
- data/doc/html/api/more/files/lib/facets/syncarray_rb.html +125 -0
- data/doc/html/api/more/files/lib/facets/synchash_rb.html +138 -0
- data/doc/html/api/more/files/lib/facets/thread_rb.html +132 -0
- data/doc/html/api/more/files/lib/facets/timer_rb.html +174 -0
- data/doc/html/api/more/files/lib/facets/times_rb.html +163 -0
- data/doc/html/api/more/files/lib/facets/tracepoint_rb.html +167 -0
- data/doc/html/api/more/files/lib/facets/tuple_rb.html +160 -0
- data/doc/html/api/more/files/lib/facets/typecast_rb.html +214 -0
- data/doc/html/api/more/files/lib/facets/uninheritable_rb.html +129 -0
- data/doc/html/api/more/files/lib/facets/uploadutils_rb.html +176 -0
- data/doc/html/api/more/files/lib/facets/uri_rb.html +125 -0
- data/doc/html/api/more/files/lib/facets/version_rb.html +132 -0
- data/doc/html/api/more/files/lib/facets/xmlhash_rb.html +97 -0
- data/doc/html/api/more/files/lib/facets/xoxo_rb.html +136 -0
- data/doc/html/api/more/files/lib/facets/yaml_rb.html +145 -0
- data/doc/html/api/more/files/lib/facets/ziputils_rb.html +133 -0
- data/doc/html/api/more/fr_class_index.html +200 -0
- data/doc/html/api/more/fr_file_index.html +177 -0
- data/doc/html/api/more/fr_method_index.html +1181 -0
- data/doc/html/api/more/index.html +26 -0
- data/doc/html/api/more/rdoc-style.css +175 -0
- data/doc/html/authors.html +178 -0
- data/doc/html/changes.html +177 -0
- data/doc/html/copying.html +384 -0
- 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 +16 -0
- data/doc/html/js/doclist.js +20 -0
- data/doc/html/js/jquery.js +3408 -0
- data/doc/html/list.json +1 -0
- data/doc/html/manifest.html +519 -0
- data/doc/html/menu.html +70 -0
- data/doc/html/notes.html +57 -0
- data/doc/html/rakefile.html +45 -0
- data/doc/html/readme.html +327 -0
- data/doc/html/style-rdoc.css +208 -0
- data/lib/facets.rb +2 -0
- data/lib/facets/1stclassmethod.rb +140 -0
- data/lib/facets/advisable.rb +162 -0
- data/lib/facets/annotations.rb +300 -0
- data/lib/facets/ansicode.rb +320 -0
- data/lib/facets/arguments.rb +349 -0
- data/lib/facets/array.rb +24 -0
- data/lib/facets/array/conjoin.rb +58 -0
- data/lib/facets/array/delete.rb +61 -0
- data/lib/facets/array/indexable.rb +73 -0
- data/lib/facets/array/merge.rb +21 -0
- data/lib/facets/array/not_empty.rb +13 -0
- data/lib/facets/array/only.rb +21 -0
- data/lib/facets/array/pad.rb +41 -0
- data/lib/facets/array/product.rb +15 -0
- data/lib/facets/array/rotate.rb +42 -0
- data/lib/facets/array/select.rb +16 -0
- data/lib/facets/array/splice.rb +30 -0
- data/lib/facets/array/stackable.rb +33 -0
- data/lib/facets/array/traverse.rb +22 -0
- data/lib/facets/association.rb +194 -0
- data/lib/{core/facets/module → facets}/attr.rb +0 -0
- data/lib/facets/autoarray.rb +62 -0
- data/lib/facets/autoreload.rb +150 -0
- data/lib/facets/basicobject.rb +263 -0
- data/lib/facets/bbcode.rb +397 -0
- data/lib/facets/behavior.rb +104 -0
- data/lib/facets/bicrypt.rb +265 -0
- data/lib/facets/binding.rb +6 -0
- data/lib/facets/binding/caller.rb +54 -0
- data/lib/facets/binding/defined.rb +13 -0
- data/lib/facets/binding/local_variables.rb +15 -0
- data/lib/facets/binding/opvars.rb +24 -0
- data/lib/facets/binding/self.rb +12 -0
- data/lib/facets/binreadable.rb +221 -0
- data/lib/{core/facets/integer → facets}/bitmask.rb +0 -0
- data/lib/facets/blank.rb +60 -0
- data/lib/facets/boolean.rb +156 -0
- data/lib/facets/buildable.rb +344 -0
- data/lib/facets/bytes.rb +173 -0
- data/lib/facets/cachedecorator.rb +117 -0
- data/lib/facets/callstack.rb +52 -0
- data/lib/facets/capsule.rb +258 -0
- data/lib/facets/cattr.rb +141 -0
- data/lib/facets/cgi.rb +50 -0
- data/lib/facets/chain.rb +58 -0
- data/lib/facets/class.rb +4 -0
- data/lib/facets/class/descendents.rb +28 -0
- data/lib/facets/class/prepend.rb +50 -0
- data/lib/facets/class/subclasses.rb +2 -0
- data/lib/facets/class_extension.rb +114 -0
- data/lib/facets/classmethods.rb +199 -0
- data/lib/facets/cloneable.rb +76 -0
- data/lib/facets/command.rb +422 -0
- data/lib/facets/comparable.rb +6 -0
- data/lib/facets/comparable/bound.rb +65 -0
- data/lib/facets/comparable/cmp.rb +38 -0
- data/lib/facets/comparable/comparable.rb +42 -0
- data/lib/facets/consoleutils.rb +113 -0
- data/lib/facets/continuation.rb +57 -0
- data/lib/facets/core.rb +50 -0
- data/lib/facets/coroutine.rb +158 -0
- data/lib/facets/crypt.rb +166 -0
- data/lib/facets/cssfilter.rb +254 -0
- data/lib/facets/daemonize.rb +44 -0
- data/lib/facets/date.rb +78 -0
- data/lib/facets/dependency.rb +151 -0
- data/lib/facets/dictionary.rb +474 -0
- data/lib/facets/dir.rb +9 -0
- data/lib/facets/dir/ascend.rb +59 -0
- data/lib/facets/dir/descend.rb +1 -0
- data/lib/{core/facets → facets}/dir/multiglob.rb +0 -0
- data/lib/facets/dir/parent.rb +13 -0
- data/lib/facets/dir/recurse.rb +29 -0
- data/lib/facets/downloader.rb +281 -0
- data/lib/facets/duplicable.rb +43 -0
- data/lib/facets/duration.rb +540 -0
- data/lib/facets/elementor.rb +133 -0
- data/lib/facets/elementwise.rb +61 -0
- data/lib/facets/enumerable.rb +19 -0
- data/lib/facets/enumerable/accumulate.rb +21 -0
- data/lib/facets/enumerable/cluster_by.rb +21 -0
- data/lib/facets/enumerable/collect.rb +54 -0
- data/lib/facets/enumerable/divide.rb +33 -0
- data/lib/facets/enumerable/duplicates.rb +38 -0
- data/lib/facets/enumerable/each_by.rb +33 -0
- data/lib/facets/enumerable/inject.rb +31 -0
- data/lib/facets/enumerable/map_send.rb +12 -0
- data/lib/facets/enumerable/mash.rb +32 -0
- data/lib/facets/enumerable/mode.rb +15 -0
- data/lib/facets/enumerable/modulate.rb +22 -0
- data/lib/facets/enumerable/occur.rb +38 -0
- data/lib/facets/enumerable/probability.rb +133 -0
- data/lib/facets/enumerable/split.rb +23 -0
- data/lib/facets/enumerable/sum.rb +16 -0
- data/lib/facets/enumerable/uniq_by.rb +18 -0
- data/lib/facets/enumerablepass.rb +217 -0
- data/lib/facets/equatable.rb +120 -0
- data/lib/facets/eventhook.rb +132 -0
- data/lib/{core/facets → facets}/exception.rb +0 -0
- data/lib/facets/exception/detail.rb +19 -0
- data/lib/facets/expirable.rb +82 -0
- data/lib/facets/file.rb +7 -0
- data/lib/facets/file/null.rb +21 -0
- data/lib/facets/file/read.rb +41 -0
- data/lib/facets/file/rewrite.rb +54 -0
- data/lib/facets/file/rootname.rb +23 -0
- data/lib/facets/file/write.rb +64 -0
- data/lib/facets/fileable.rb +162 -0
- data/lib/facets/filelist.rb +499 -0
- data/lib/facets/fileshell.rb +200 -0
- data/lib/facets/filetest.rb +3 -0
- data/lib/facets/filetest/root.rb +17 -0
- data/lib/facets/fileutils.rb +27 -0
- data/lib/facets/fileutils/head.rb +1 -0
- data/lib/facets/fileutils/safe_ln.rb +28 -0
- data/lib/facets/fileutils/slice.rb +141 -0
- data/lib/facets/fileutils/tail.rb +1 -0
- data/lib/facets/fileutils/wc.rb +114 -0
- data/lib/facets/fileutils/whereis.rb +63 -0
- data/lib/facets/fileutils/which.rb +101 -0
- data/lib/facets/float/round.rb +36 -0
- data/lib/facets/functor.rb +77 -0
- data/lib/facets/getoptlong.rb +71 -0
- data/lib/facets/hash.rb +25 -0
- data/lib/facets/hash/alias.rb +31 -0
- data/lib/facets/hash/argumentize.rb +21 -0
- data/lib/facets/hash/at.rb +8 -0
- data/lib/facets/hash/autonew.rb +42 -0
- data/lib/facets/hash/collate.rb +45 -0
- data/lib/facets/hash/delete.rb +47 -0
- data/lib/facets/hash/diff.rb +11 -0
- data/lib/{core/facets → facets}/hash/except.rb +0 -0
- data/lib/facets/hash/insert.rb +19 -0
- data/lib/facets/hash/inverse.rb +27 -0
- data/lib/facets/hash/join.rb +14 -0
- data/lib/facets/hash/keys.rb +45 -0
- data/lib/facets/hash/mash.rb +18 -0
- data/lib/facets/hash/merge.rb +74 -0
- data/lib/facets/hash/op.rb +85 -0
- data/lib/facets/hash/rekey.rb +59 -0
- data/lib/{core/facets → facets}/hash/select.rb +0 -0
- data/lib/{core/facets → facets}/hash/slice.rb +0 -0
- data/lib/facets/hash/stringify_keys.rb +1 -0
- data/lib/facets/hash/swap.rb +17 -0
- data/lib/facets/hash/symbolize_keys.rb +95 -0
- data/lib/facets/hash/to_h.rb +1 -0
- data/lib/facets/hash/to_proc.rb +41 -0
- data/lib/facets/hash/to_struct.rb +17 -0
- data/lib/facets/hash/traverse.rb +41 -0
- data/lib/facets/hash/update.rb +75 -0
- data/lib/{core/facets → facets}/hash/weave.rb +0 -0
- data/lib/facets/hash/zipnew.rb +2 -0
- data/lib/facets/heap.rb +22 -0
- data/lib/facets/htmlfilter.rb +595 -0
- data/lib/facets/indexable.rb +242 -0
- data/lib/facets/infinity.rb +193 -0
- data/lib/facets/inheritor.rb +126 -0
- data/lib/facets/instantiable.rb +47 -0
- data/lib/facets/instantise.rb +92 -0
- data/lib/facets/integer.rb +7 -0
- data/lib/facets/integer/factorial.rb +30 -0
- data/lib/facets/integer/multiple.rb +15 -0
- data/lib/facets/integer/of.rb +18 -0
- data/lib/facets/integer/ordinal.rb +24 -0
- data/lib/facets/interval.rb +282 -0
- data/lib/facets/ioredirect.rb +130 -0
- data/lib/facets/iteration.rb +65 -0
- data/lib/facets/kernel.rb +22 -0
- data/lib/facets/kernel/__dir__.rb +12 -0
- data/lib/facets/kernel/as.rb +100 -0
- data/lib/facets/kernel/ask.rb +27 -0
- data/lib/facets/kernel/attr_singleton.rb +62 -0
- data/lib/facets/kernel/complete.rb +18 -0
- data/lib/{core/facets → facets}/kernel/constant.rb +0 -0
- data/lib/facets/kernel/d.rb +26 -0
- data/lib/facets/kernel/deep_copy.rb +13 -0
- data/lib/facets/kernel/demo.rb +23 -0
- data/lib/facets/kernel/ergo.rb +42 -0
- data/lib/facets/kernel/here.rb +12 -0
- data/lib/facets/kernel/in.rb +13 -0
- data/lib/facets/kernel/instance.rb +73 -0
- data/lib/facets/kernel/instance_exec.rb +19 -0
- data/lib/facets/kernel/load.rb +41 -0
- data/lib/facets/kernel/maybe.rb +18 -0
- data/lib/facets/kernel/not_nil.rb +17 -0
- data/lib/facets/kernel/object.rb +53 -0
- data/lib/facets/kernel/p.rb +24 -0
- data/lib/facets/kernel/populate.rb +73 -0
- data/lib/facets/kernel/resc.rb +16 -0
- data/lib/facets/kernel/respond.rb +23 -0
- data/lib/facets/kernel/returning.rb +23 -0
- data/lib/facets/kernel/silence.rb +69 -0
- data/lib/facets/kernel/singleton_class.rb +14 -0
- data/lib/facets/kernel/try.rb +23 -0
- data/lib/facets/kernel/val.rb +19 -0
- data/lib/facets/kernel/with.rb +20 -0
- data/lib/facets/lazy.rb +238 -0
- data/lib/facets/linkedlist.rb +222 -0
- data/lib/facets/logger.rb +291 -0
- data/lib/facets/lrucache.rb +157 -0
- data/lib/facets/main.rb +70 -0
- data/lib/facets/matchdata.rb +6 -0
- data/lib/facets/matchdata/match.rb +15 -0
- data/lib/facets/matchdata/matchset.rb +44 -0
- data/lib/facets/memoize.rb +116 -0
- data/lib/facets/meta.rb +23 -0
- data/lib/facets/metaid.rb +145 -0
- data/lib/facets/methodspace.rb +141 -0
- data/lib/facets/minitar.rb +1063 -0
- data/lib/facets/module.rb +19 -0
- data/lib/facets/module/abstract.rb +21 -0
- data/lib/facets/module/alias.rb +115 -0
- data/lib/facets/module/ancestor.rb +16 -0
- data/lib/facets/module/can.rb +14 -0
- data/lib/facets/module/class.rb +14 -0
- data/lib/facets/module/clone.rb +57 -0
- data/lib/facets/module/conflict.rb +56 -0
- data/lib/facets/module/include_function_module.rb +25 -0
- data/lib/facets/module/instance_methods.rb +40 -0
- data/lib/facets/module/is.rb +57 -0
- data/lib/facets/module/module_load.rb +56 -0
- data/lib/facets/module/nesting.rb +84 -0
- data/lib/facets/module/op.rb +95 -0
- data/lib/facets/module/pathize.rb +19 -0
- data/lib/facets/module/prepend.rb +25 -0
- data/lib/facets/module/revise.rb +168 -0
- data/lib/facets/multipliers.rb +109 -0
- data/lib/facets/multiton.rb +386 -0
- data/lib/facets/nackclass.rb +41 -0
- data/lib/{more/facets → facets/net}/smtp_tls.rb +0 -0
- data/lib/facets/nilclass.rb +3 -0
- data/lib/facets/nilstatus.rb +47 -0
- data/lib/facets/nullclass.rb +74 -0
- data/lib/facets/numeric.rb +5 -0
- data/lib/facets/numeric/approx.rb +15 -0
- data/lib/facets/numeric/distance.rb +14 -0
- data/lib/facets/numeric/round.rb +51 -0
- data/lib/facets/opencascade.rb +92 -0
- data/lib/facets/opencollection.rb +43 -0
- data/lib/facets/openhash.rb +38 -0
- data/lib/facets/openobject.rb +261 -0
- data/lib/facets/opesc.rb +60 -0
- data/lib/facets/orderedhash.rb +37 -0
- data/lib/facets/ostruct.rb +222 -0
- data/lib/facets/overload.rb +94 -0
- data/lib/facets/pathlist.rb +112 -0
- data/lib/facets/pathname.rb +112 -0
- data/lib/facets/pool.rb +91 -0
- data/lib/facets/pqueue.rb +449 -0
- data/lib/facets/proc.rb +6 -0
- data/lib/facets/proc/bind.rb +22 -0
- data/lib/facets/proc/compose.rb +42 -0
- data/lib/facets/proc/curry.rb +31 -0
- data/lib/facets/proc/partial.rb +37 -0
- data/lib/facets/proc/to_method.rb +33 -0
- data/lib/facets/proc/update.rb +9 -0
- data/lib/facets/progressbar.rb +253 -0
- data/lib/facets/prototype.rb +88 -0
- data/lib/facets/random.rb +448 -0
- data/lib/facets/range.rb +6 -0
- data/lib/facets/range/combine.rb +47 -0
- data/lib/facets/range/overlap.rb +13 -0
- data/lib/facets/range/to_r.rb +26 -0
- data/lib/facets/range/umbrella.rb +1 -0
- data/lib/facets/range/within.rb +66 -0
- data/lib/facets/rbconfig.rb +45 -0
- data/lib/facets/rbsystem.rb +222 -0
- data/lib/facets/recorder.rb +109 -0
- data/lib/facets/reference.rb +99 -0
- data/lib/facets/reflection.rb +98 -0
- data/lib/facets/regexp.rb +5 -0
- data/lib/facets/regexp/arity.rb +17 -0
- data/lib/facets/regexp/to_re.rb +28 -0
- data/lib/facets/registerable.rb +35 -0
- data/lib/facets/ruby.rb +485 -0
- data/lib/facets/rwdelegator.rb +74 -0
- data/lib/facets/semaphore.rb +92 -0
- data/lib/{more/facets → facets}/set.rb +0 -0
- data/lib/facets/settings.rb +248 -0
- data/lib/facets/shellwords.rb +89 -0
- data/lib/facets/snapshot.rb +209 -0
- data/lib/facets/stackable.rb +86 -0
- data/lib/facets/string.rb +16 -0
- data/lib/facets/string/align.rb +106 -0
- data/lib/facets/string/bracket.rb +105 -0
- data/lib/facets/string/camelcase.rb +26 -0
- data/lib/facets/string/capitalized.rb +46 -0
- data/lib/facets/string/chomp.rb +33 -0
- data/lib/facets/string/cleave.rb +36 -0
- data/lib/facets/string/divide.rb +21 -0
- data/lib/facets/string/fold.rb +39 -0
- data/lib/facets/string/interpolate.rb +20 -0
- data/lib/facets/string/line_wrap.rb +21 -0
- data/lib/facets/string/mscan.rb +19 -0
- data/lib/{core/facets → facets}/string/natcmp.rb +0 -0
- data/lib/facets/string/nchar.rb +28 -0
- data/lib/facets/string/range.rb +77 -0
- data/lib/facets/string/rewrite.rb +28 -0
- data/lib/facets/string/shatter.rb +22 -0
- data/lib/facets/string/snakecase.rb +21 -0
- data/lib/facets/string/splice.rb +25 -0
- data/lib/facets/string/stylize.rb +73 -0
- data/lib/facets/string/subtract.rb +14 -0
- data/lib/facets/string/tab.rb +103 -0
- data/lib/facets/string/titlecase.rb +15 -0
- data/lib/facets/string/to_re.rb +26 -0
- data/lib/facets/string/to_time.rb +23 -0
- data/lib/facets/string/underscore.rb +28 -0
- data/lib/facets/string/words.rb +173 -0
- data/lib/facets/string/xor.rb +22 -0
- data/lib/facets/style.rb +235 -0
- data/lib/facets/succ.rb +44 -0
- data/lib/facets/symbol.rb +5 -0
- data/lib/facets/symbol/chomp.rb +24 -0
- data/lib/facets/symbol/generate.rb +24 -0
- data/lib/facets/symbol/not.rb +29 -0
- data/lib/facets/syncarray.rb +114 -0
- data/lib/facets/synchash.rb +157 -0
- data/lib/facets/thread.rb +51 -0
- data/lib/facets/time.rb +6 -0
- data/lib/facets/time/ago.rb +1 -0
- data/lib/facets/time/change.rb +99 -0
- data/lib/{core/facets → facets}/time/elapse.rb +0 -0
- data/lib/facets/time/hence.rb +56 -0
- data/lib/facets/time/set.rb +1 -0
- data/lib/facets/time/stamp.rb +46 -0
- data/lib/facets/timer.rb +274 -0
- data/lib/facets/times.rb +431 -0
- data/lib/facets/to_hash.rb +87 -0
- data/lib/facets/tracepoint.rb +209 -0
- data/lib/facets/tuple.rb +325 -0
- data/lib/facets/typecast.rb +260 -0
- data/lib/facets/unboundmethod.rb +4 -0
- data/lib/{core/facets → facets}/unboundmethod/arguments.rb +0 -0
- data/lib/facets/uninheritable.rb +50 -0
- data/lib/facets/uploadutils.rb +464 -0
- data/lib/facets/uri.rb +249 -0
- data/lib/facets/version.rb +122 -0
- data/lib/facets/xmlhash.rb +112 -0
- data/lib/facets/xoxo.rb +259 -0
- data/lib/facets/yaml.rb +66 -0
- data/lib/facets/ziputils.rb +349 -0
- data/log/Changelog.txt +314 -0
- data/log/Fixme.txt +7 -13
- data/log/Testlog.txt +202 -185
- data/log/Todo.txt +177 -257
- data/meta/contact +1 -0
- data/meta/corelibs +49 -0
- data/meta/created +1 -0
- data/meta/download +1 -0
- data/meta/homepage +1 -0
- data/meta/mailinglist +1 -0
- data/meta/project.yaml +3 -14
- data/meta/slogan +1 -0
- data/meta/unixname +1 -0
- data/meta/version +1 -0
- data/script/conflicts +38 -0
- data/script/document +231 -0
- data/script/methods +60 -0
- data/script/test +37 -0
- data/setup.rb +1478 -0
- data/test/array/test_delete.rb +30 -0
- data/test/array/test_indexable.rb +118 -0
- data/test/array/test_merge.rb +22 -0
- data/test/{core/array → array}/test_only.rb +0 -0
- data/test/array/test_pad.rb +33 -0
- data/test/array/test_product.rb +25 -0
- data/test/array/test_rotate.rb +23 -0
- data/test/array/test_select.rb +17 -0
- data/test/{core/array → array}/test_stackable.rb +0 -0
- data/test/binding/test_caller.rb +44 -0
- data/test/binding/test_defined.rb +18 -0
- data/test/binding/test_local_variables.rb +18 -0
- data/test/binding/test_opvars.rb +24 -0
- data/test/binding/test_self.rb +18 -0
- data/test/class/test_descendents.rb +14 -0
- data/test/comparable/test_bound.rb +41 -0
- data/test/comparable/test_cmp.rb +35 -0
- data/test/comparable/test_comparable.rb +52 -0
- data/test/dir/test_ascend.rb +40 -0
- data/test/dir/test_descend.rb +25 -0
- data/test/dir/test_multiglob.rb +41 -0
- data/test/dir/test_parent.rb +11 -0
- data/test/dir/test_recurse.rb +41 -0
- data/test/enumerable/test_cluster_by.rb +22 -0
- data/test/enumerable/test_collect.rb +39 -0
- data/test/enumerable/test_each_by.rb +55 -0
- data/test/enumerable/test_inject.rb +18 -0
- data/test/enumerable/test_mash.rb +38 -0
- data/test/enumerable/test_occur.rb +15 -0
- data/test/{core/enumerable → enumerable}/test_probability.rb +0 -0
- data/test/enumerable/test_uniq_by.rb +13 -0
- data/test/exception/test_exception.rb +17 -0
- data/test/file/test_file.rb +161 -0
- data/test/filetest/test_filetest.rb +10 -0
- data/test/hash/test_alias.rb +16 -0
- data/test/hash/test_at.rb +13 -0
- data/test/hash/test_autonew.rb +11 -0
- data/test/hash/test_collate.rb +33 -0
- data/test/hash/test_delete.rb +28 -0
- data/test/hash/test_insert.rb +13 -0
- data/test/hash/test_inverse.rb +15 -0
- data/test/hash/test_keys.rb +24 -0
- data/test/hash/test_mash.rb +20 -0
- data/test/hash/test_merge.rb +14 -0
- data/test/hash/test_op.rb +42 -0
- data/test/hash/test_rekey.rb +41 -0
- data/test/hash/test_rekey2.rb +37 -0
- data/test/hash/test_select.rb +35 -0
- data/test/hash/test_stringify_keys.rb +21 -0
- data/test/hash/test_swap.rb +11 -0
- data/test/hash/test_symbolize_keys.rb +20 -0
- data/test/hash/test_traverse.rb +22 -0
- data/test/hash/test_update.rb +40 -0
- data/test/{core/hash → hash}/test_weave.rb +0 -0
- data/test/hash/test_zipnew.rb +13 -0
- data/test/integer/test_bitmask.rb +53 -0
- data/test/integer/test_factorial.rb +15 -0
- data/test/integer/test_multiple.rb +14 -0
- data/test/integer/test_of.rb +19 -0
- data/test/integer/test_ordinal.rb +14 -0
- data/test/kernel/test_as.rb +50 -0
- data/test/kernel/test_attr_singleton.rb +41 -0
- data/test/kernel/test_callstack.rb +10 -0
- data/test/kernel/test_constant.rb +18 -0
- data/test/kernel/test_deepcopy.rb +27 -0
- data/test/kernel/test_here.rb +15 -0
- data/test/kernel/test_in.rb +11 -0
- data/test/kernel/test_instance.rb +24 -0
- data/test/kernel/test_not_nil.rb +13 -0
- data/test/{core/kernel → kernel}/test_object.rb +0 -0
- data/test/kernel/test_populate.rb +46 -0
- data/test/kernel/test_resc.rb +12 -0
- data/test/{core/kernel → kernel}/test_returning.rb +0 -0
- data/test/{core/kernel → kernel}/test_silence.rb +0 -0
- data/test/kernel/test_val.rb +27 -0
- data/test/{core/matchdata → matchdata}/test_match.rb +0 -0
- data/test/matchdata/test_matchset.rb +21 -0
- data/test/{core/module → module}/test_abstract.rb +0 -0
- data/test/module/test_alias.rb +44 -0
- data/test/module/test_ancestor.rb +11 -0
- data/test/{core/module → module}/test_clone.rb +0 -0
- data/test/module/test_nesting.rb +38 -0
- data/test/module/test_op.rb +44 -0
- data/test/module/test_pathize.rb +15 -0
- data/test/module/test_revise.rb +174 -0
- data/test/numeric/test_approx.rb +13 -0
- data/test/numeric/test_distance.rb +13 -0
- data/test/numeric/test_round.rb +49 -0
- data/test/proc/test_bind.rb +26 -0
- data/test/proc/test_compose.rb +20 -0
- data/test/proc/test_curry.rb +25 -0
- data/test/proc/test_partial.rb +27 -0
- data/test/proc/test_to_method.rb +26 -0
- data/test/range/test_combine.rb +18 -0
- data/test/range/test_overlap.rb +15 -0
- data/test/range/test_to_r.rb +17 -0
- data/test/range/test_within.rb +36 -0
- data/test/regexp/test_arity.rb +17 -0
- data/test/regexp/test_to_re.rb +17 -0
- data/test/{core/string → string}/test_align.rb +0 -0
- data/test/{core/string → string}/test_bracket.rb +0 -0
- data/test/string/test_camelcase.rb +42 -0
- data/test/string/test_capitalized.rb +27 -0
- data/test/string/test_cleave.rb +32 -0
- data/test/string/test_divide.rb +14 -0
- data/test/string/test_fold.rb +18 -0
- data/test/{core/string → string}/test_interpolate.rb +0 -0
- data/test/string/test_line_wrap.rb +12 -0
- data/test/string/test_mscan.rb +15 -0
- data/test/{core/string → string}/test_natcmp.rb +0 -0
- data/test/string/test_nchar.rb +14 -0
- data/test/string/test_range.rb +23 -0
- data/test/string/test_shatter.rb +14 -0
- data/test/string/test_snakecase.rb +14 -0
- data/test/string/test_stylize.rb +52 -0
- data/test/string/test_subtract.rb +13 -0
- data/test/string/test_tab.rb +234 -0
- data/test/string/test_titlecase.rb +13 -0
- data/test/string/test_to_re.rb +27 -0
- data/test/string/test_to_time.rb +24 -0
- data/test/string/test_underscore.rb +13 -0
- data/test/string/test_words.rb +82 -0
- data/test/string/test_xor.rb +13 -0
- data/test/symbol/test_chomp.rb +15 -0
- data/test/symbol/test_generate.rb +20 -0
- data/test/symbol/test_not.rb +13 -0
- data/test/{core/test_1stclassmethod.rb → test_1stclassmethod.rb} +0 -0
- data/test/test_advisable.rb +71 -0
- data/test/test_annotations.rb +120 -0
- data/test/{more/test_ansicode.rb → test_ansicode.rb} +0 -0
- data/test/test_arguments.rb +56 -0
- data/test/{class/test_association.rb → test_association.rb} +0 -0
- data/test/{class/test_autoarray.rb → test_autoarray.rb} +0 -0
- data/test/{class/test_basicobject.rb → test_basicobject.rb} +0 -0
- data/test/{more/test_bbcode.rb → test_bbcode.rb} +0 -0
- data/test/{mixin/test_binreadable.rb → test_binreadable.rb} +0 -0
- data/test/test_blank.rb +12 -0
- data/test/{core/test_boolean.rb → test_boolean.rb} +0 -0
- data/test/test_buildable.rb +73 -0
- data/test/{more/test_bytes.rb → test_bytes.rb} +0 -0
- data/test/test_cattr.rb +47 -0
- data/test/{more/test_class_extension.rb → test_class_extension.rb} +0 -0
- data/test/{more/test_classmethods.rb → test_classmethods.rb} +0 -0
- data/test/{mixin/test_cloneable.rb → test_cloneable.rb} +0 -0
- data/test/test_command.rb +71 -0
- data/test/{more/test_continuation.rb → test_continuation.rb} +0 -0
- data/test/{class/test_coroutine.rb → test_coroutine.rb} +0 -0
- data/test/{more/test_crypt.rb → test_crypt.rb} +0 -0
- data/test/{more/test_date.rb → test_date.rb} +0 -0
- data/test/{more/test_dependency.rb → test_dependency.rb} +0 -0
- data/test/{class/test_dictionary.rb → test_dictionary.rb} +0 -0
- data/test/test_elementor.rb +39 -0
- data/test/test_elementwise.rb +25 -0
- data/test/{mixin/test_enumerablepass.rb → test_enumerablepass.rb} +0 -0
- data/test/test_equatable.rb +42 -0
- data/test/{core/test_functor.rb → test_functor.rb} +0 -0
- data/test/{more/test_getoptlong.rb → test_getoptlong.rb} +0 -0
- data/test/{class/test_infinity.rb → test_infinity.rb} +0 -0
- data/test/{more/test_inheritor.rb → test_inheritor.rb} +0 -0
- data/test/test_instantiable.rb +37 -0
- data/test/{more/test_instantise.rb → test_instantise.rb} +0 -0
- data/test/{class/test_interval.rb → test_interval.rb} +0 -0
- data/test/{class/test_linkedlist.rb → test_linkedlist.rb} +0 -0
- data/test/{class/test_lrucache.rb → test_lrucache.rb} +0 -0
- data/test/{more/test_memoize.rb → test_memoize.rb} +0 -0
- data/test/test_metaid.rb +39 -0
- data/test/test_methodspace.rb +78 -0
- data/test/{more/test_multipliers.rb → test_multipliers.rb} +0 -0
- data/test/{mixin/test_multiton.rb → test_multiton.rb} +0 -0
- data/test/{class/test_opencascade.rb → test_opencascade.rb} +0 -0
- data/test/{class/test_openobject.rb → test_openobject.rb} +0 -0
- data/test/{more/test_ostruct.rb → test_ostruct.rb} +0 -0
- data/test/test_overload.rb +120 -0
- data/test/{more/test_prototype.rb → test_prototype.rb} +0 -0
- data/test/{more/test_random.rb → test_random.rb} +0 -0
- data/test/{class/test_recorder.rb → test_recorder.rb} +0 -0
- data/test/test_ruby.rb +198 -0
- data/test/test_ruby/array/test_combination.rb +29 -0
- data/test/test_ruby/array/test_permutation.rb +14 -0
- data/test/test_ruby/array/test_product.rb +23 -0
- data/test/test_ruby/kernel/test_tap.rb +19 -0
- data/test/test_ruby/symbol/test_succ.rb +13 -0
- data/test/{more/test_snapshot.rb → test_snapshot.rb} +0 -0
- data/test/test_style.rb +50 -0
- data/test/test_succ.rb +35 -0
- data/test/{class/test_syncarray.rb → test_syncarray.rb} +0 -0
- data/test/{class/test_synchash.rb → test_synchash.rb} +0 -0
- data/test/test_thread.rb +22 -0
- data/test/{class/test_timer.rb → test_timer.rb} +0 -0
- data/test/{more/test_times.rb → test_times.rb} +0 -0
- data/test/test_to_hash.rb +58 -0
- data/test/{class/test_tuple.rb → test_tuple.rb} +0 -0
- data/test/test_typecast.rb +54 -0
- data/test/{mixin/test_uninheritable.rb → test_uninheritable.rb} +0 -0
- data/test/test_uri.rb +36 -0
- data/test/test_xoxo.rb +274 -0
- data/test/time/test_change.rb +15 -0
- data/test/time/test_elapse.rb +13 -0
- data/test/time/test_stamp.rb +28 -0
- metadata +1503 -1127
- data/Rakefile +0 -26
- data/lib/class/facets/association.rb +0 -157
- data/lib/class/facets/autoarray.rb +0 -59
- data/lib/class/facets/basicobject.rb +0 -234
- data/lib/class/facets/buildingblock.rb +0 -219
- data/lib/class/facets/cachedelegator.rb +0 -93
- data/lib/class/facets/coroutine.rb +0 -120
- data/lib/class/facets/dictionary.rb +0 -435
- data/lib/class/facets/downloader.rb +0 -279
- data/lib/class/facets/filelist.rb +0 -493
- data/lib/class/facets/fileshell.rb +0 -198
- data/lib/class/facets/hashbuilder.rb +0 -97
- data/lib/class/facets/heap.rb +0 -27
- data/lib/class/facets/infinity.rb +0 -183
- data/lib/class/facets/interval.rb +0 -266
- data/lib/class/facets/ioredirect.rb +0 -133
- data/lib/class/facets/linkedlist.rb +0 -214
- data/lib/class/facets/lrucache.rb +0 -156
- data/lib/class/facets/minitar.rb +0 -999
- data/lib/class/facets/nackclass.rb +0 -43
- data/lib/class/facets/nullclass.rb +0 -79
- data/lib/class/facets/opencascade.rb +0 -92
- data/lib/class/facets/opencollection.rb +0 -46
- data/lib/class/facets/openhash.rb +0 -41
- data/lib/class/facets/openobject.rb +0 -241
- data/lib/class/facets/orderedhash.rb +0 -42
- data/lib/class/facets/pathlist.rb +0 -106
- data/lib/class/facets/pool.rb +0 -97
- data/lib/class/facets/pqueue.rb +0 -468
- data/lib/class/facets/progressbar.rb +0 -245
- data/lib/class/facets/recorder.rb +0 -97
- data/lib/class/facets/reference.rb +0 -100
- data/lib/class/facets/rwdelegator.rb +0 -79
- data/lib/class/facets/semaphore.rb +0 -97
- data/lib/class/facets/syncarray.rb +0 -122
- data/lib/class/facets/synchash.rb +0 -149
- data/lib/class/facets/timer.rb +0 -247
- data/lib/class/facets/tuple.rb +0 -310
- data/lib/class/facets/version.rb +0 -127
- data/lib/core/facets.rb +0 -1
- data/lib/core/facets/1stclassmethod.rb +0 -117
- data/lib/core/facets/array.rb +0 -12
- data/lib/core/facets/array/conjoin.rb +0 -47
- data/lib/core/facets/array/contains.rb +0 -1
- data/lib/core/facets/array/delete.rb +0 -57
- data/lib/core/facets/array/delete_unless.rb +0 -1
- data/lib/core/facets/array/delete_values.rb +0 -1
- data/lib/core/facets/array/delete_values_at.rb +0 -1
- data/lib/core/facets/array/each_iteration.rb +0 -1
- data/lib/core/facets/array/first.rb +0 -1
- data/lib/core/facets/array/indexable.rb +0 -132
- data/lib/core/facets/array/join_sentence.rb +0 -1
- data/lib/core/facets/array/last.rb +0 -1
- data/lib/core/facets/array/merge.rb +0 -23
- data/lib/core/facets/array/only.rb +0 -20
- data/lib/core/facets/array/pad.rb +0 -45
- data/lib/core/facets/array/poke.rb +0 -1
- data/lib/core/facets/array/pull.rb +0 -1
- data/lib/core/facets/array/rotate.rb +0 -41
- data/lib/core/facets/array/select.rb +0 -15
- data/lib/core/facets/array/splice.rb +0 -30
- data/lib/core/facets/array/stackable.rb +0 -30
- data/lib/core/facets/array/store.rb +0 -1
- data/lib/core/facets/array/to_b.rb +0 -1
- data/lib/core/facets/array/to_h.rb +0 -1
- data/lib/core/facets/array/to_path.rb +0 -1
- data/lib/core/facets/binding.rb +0 -7
- data/lib/core/facets/binding/__DIR__.rb +0 -1
- data/lib/core/facets/binding/__FILE__.rb +0 -1
- data/lib/core/facets/binding/__LINE__.rb +0 -1
- data/lib/core/facets/binding/__callee__.rb +0 -1
- data/lib/core/facets/binding/__method__.rb +0 -1
- data/lib/core/facets/binding/call_stack.rb +0 -1
- data/lib/core/facets/binding/called.rb +0 -1
- data/lib/core/facets/binding/caller.rb +0 -72
- data/lib/core/facets/binding/defined.rb +0 -10
- data/lib/core/facets/binding/eval.rb +0 -17
- data/lib/core/facets/binding/here.rb +0 -1
- data/lib/core/facets/binding/included.rb +0 -1
- data/lib/core/facets/binding/local_variables.rb +0 -1
- data/lib/core/facets/binding/methodname.rb +0 -1
- data/lib/core/facets/binding/op_fetch.rb +0 -1
- data/lib/core/facets/binding/self.rb +0 -12
- data/lib/core/facets/binding/vars.rb +0 -41
- data/lib/core/facets/boolean.rb +0 -161
- data/lib/core/facets/class.rb +0 -6
- data/lib/core/facets/class/cattr.rb +0 -1
- data/lib/core/facets/class/cattr_accessor.rb +0 -1
- data/lib/core/facets/class/cattr_reader.rb +0 -1
- data/lib/core/facets/class/cattr_writer.rb +0 -1
- data/lib/core/facets/class/class_load.rb +0 -1
- data/lib/core/facets/class/class_require.rb +0 -1
- data/lib/core/facets/class/descendents.rb +0 -41
- data/lib/core/facets/class/initializer.rb +0 -36
- data/lib/core/facets/class/mattr.rb +0 -1
- data/lib/core/facets/class/mattr_accessor.rb +0 -1
- data/lib/core/facets/class/mattr_reader.rb +0 -1
- data/lib/core/facets/class/mattr_writer.rb +0 -1
- data/lib/core/facets/class/remove_descendents.rb +0 -19
- data/lib/core/facets/class/remove_subclasses.rb +0 -1
- data/lib/core/facets/class/subclasses.rb +0 -1
- data/lib/core/facets/class/to_proc.rb +0 -1
- data/lib/core/facets/comparable.rb +0 -2
- data/lib/core/facets/comparable/at_least.rb +0 -1
- data/lib/core/facets/comparable/at_most.rb +0 -1
- data/lib/core/facets/comparable/bound.rb +0 -58
- data/lib/core/facets/comparable/cap.rb +0 -1
- data/lib/core/facets/comparable/clip.rb +0 -1
- data/lib/core/facets/comparable/cmp.rb +0 -92
- data/lib/core/facets/conversion.rb +0 -495
- data/lib/core/facets/dir.rb +0 -4
- data/lib/core/facets/dir/ancestor.rb +0 -1
- data/lib/core/facets/dir/ascend.rb +0 -1
- data/lib/core/facets/dir/descend.rb +0 -1
- data/lib/core/facets/dir/ls_r.rb +0 -1
- data/lib/core/facets/dir/multiglob_r.rb +0 -1
- data/lib/core/facets/dir/parent.rb +0 -12
- data/lib/core/facets/dir/recurse.rb +0 -28
- data/lib/core/facets/dir/traverse.rb +0 -56
- data/lib/core/facets/enumerable.rb +0 -9
- data/lib/core/facets/enumerable/cart.rb +0 -1
- data/lib/core/facets/enumerable/cartesian.rb +0 -62
- data/lib/core/facets/enumerable/cartesian_product.rb +0 -1
- data/lib/core/facets/enumerable/cluster_by.rb +0 -1
- data/lib/core/facets/enumerable/collate.rb +0 -0
- data/lib/core/facets/enumerable/collect.rb +0 -164
- data/lib/core/facets/enumerable/collect_if.rb +0 -1
- data/lib/core/facets/enumerable/collect_with_index.rb +0 -1
- data/lib/core/facets/enumerable/combination.rb +0 -114
- data/lib/core/facets/enumerable/combinations.rb +0 -1
- data/lib/core/facets/enumerable/combos.rb +0 -48
- data/lib/core/facets/enumerable/commonality.rb +0 -1
- data/lib/core/facets/enumerable/compact_collect.rb +0 -1
- data/lib/core/facets/enumerable/compact_map.rb +0 -1
- data/lib/core/facets/enumerable/count.rb +0 -175
- data/lib/core/facets/enumerable/divide.rb +0 -1
- data/lib/core/facets/enumerable/duplicates.rb +0 -1
- data/lib/core/facets/enumerable/each.rb +0 -86
- data/lib/core/facets/enumerable/each_by.rb +0 -1
- data/lib/core/facets/enumerable/each_combination.rb +0 -1
- data/lib/core/facets/enumerable/each_combo.rb +0 -1
- data/lib/core/facets/enumerable/each_pair.rb +0 -1
- data/lib/core/facets/enumerable/each_permutation.rb +0 -1
- data/lib/core/facets/enumerable/each_unique_pair.rb +0 -1
- data/lib/core/facets/enumerable/eachn.rb +0 -1
- data/lib/core/facets/enumerable/entropy.rb +0 -1
- data/lib/core/facets/enumerable/filter_collect.rb +0 -1
- data/lib/core/facets/enumerable/filter_map.rb +0 -1
- data/lib/core/facets/enumerable/frequency.rb +0 -1
- data/lib/core/facets/enumerable/graph.rb +0 -1
- data/lib/core/facets/enumerable/group_by.rb +0 -1
- data/lib/core/facets/enumerable/ideal_entropy.rb +0 -1
- data/lib/core/facets/enumerable/inject.rb +0 -1
- data/lib/core/facets/enumerable/injecting.rb +0 -1
- data/lib/core/facets/enumerable/map_if.rb +0 -1
- data/lib/core/facets/enumerable/map_send.rb +0 -1
- data/lib/core/facets/enumerable/map_with_index.rb +0 -1
- data/lib/core/facets/enumerable/mash.rb +0 -50
- data/lib/core/facets/enumerable/mode.rb +0 -1
- data/lib/core/facets/enumerable/modulate.rb +0 -1
- data/lib/core/facets/enumerable/none.rb +0 -1
- data/lib/core/facets/enumerable/nonuniq.rb +0 -1
- data/lib/core/facets/enumerable/occur.rb +0 -1
- data/lib/core/facets/enumerable/one.rb +0 -1
- data/lib/core/facets/enumerable/op_pow.rb +0 -1
- data/lib/core/facets/enumerable/partition_by.rb +0 -1
- data/lib/core/facets/enumerable/permutation.rb +0 -101
- data/lib/core/facets/enumerable/permutation_number.rb +0 -1
- data/lib/core/facets/enumerable/permute.rb +0 -1
- data/lib/core/facets/enumerable/probability.rb +0 -144
- data/lib/core/facets/enumerable/split.rb +0 -113
- data/lib/core/facets/enumerable/sum.rb +0 -1
- data/lib/core/facets/enumerable/to_h.rb +0 -1
- data/lib/core/facets/enumerable/to_hash.rb +0 -1
- data/lib/core/facets/enumerable/uniq_by.rb +0 -1
- data/lib/core/facets/exception/detail.rb +0 -19
- data/lib/core/facets/facets.rb +0 -49
- data/lib/core/facets/file.rb +0 -6
- data/lib/core/facets/file/append.rb +0 -1
- data/lib/core/facets/file/create.rb +0 -1
- data/lib/core/facets/file/null.rb +0 -20
- data/lib/core/facets/file/read.rb +0 -29
- data/lib/core/facets/file/read_binary.rb +0 -1
- data/lib/core/facets/file/read_list.rb +0 -1
- data/lib/core/facets/file/rewrite.rb +0 -1
- data/lib/core/facets/file/rootname.rb +0 -22
- data/lib/core/facets/file/sanitize.rb +0 -14
- data/lib/core/facets/file/split_all.rb +0 -19
- data/lib/core/facets/file/write.rb +0 -113
- data/lib/core/facets/file/writelines.rb +0 -1
- data/lib/core/facets/filetest.rb +0 -1
- data/lib/core/facets/filetest/root.rb +0 -16
- data/lib/core/facets/float.rb +0 -1
- data/lib/core/facets/float/round.rb +0 -8
- data/lib/core/facets/float/round_at.rb +0 -1
- data/lib/core/facets/float/round_off.rb +0 -1
- data/lib/core/facets/float/round_to.rb +0 -1
- data/lib/core/facets/functor.rb +0 -64
- data/lib/core/facets/hash.rb +0 -24
- data/lib/core/facets/hash/alias.rb +0 -28
- data/lib/core/facets/hash/at.rb +0 -7
- data/lib/core/facets/hash/autonew.rb +0 -26
- data/lib/core/facets/hash/collate.rb +0 -44
- data/lib/core/facets/hash/delete.rb +0 -46
- data/lib/core/facets/hash/delete_at.rb +0 -1
- data/lib/core/facets/hash/delete_unless.rb +0 -1
- data/lib/core/facets/hash/delete_values.rb +0 -1
- data/lib/core/facets/hash/delete_values_at.rb +0 -1
- data/lib/core/facets/hash/diff.rb +0 -15
- data/lib/core/facets/hash/each_with_key.rb +0 -12
- data/lib/core/facets/hash/graph.rb +0 -1
- data/lib/core/facets/hash/has_keys.rb +0 -31
- data/lib/core/facets/hash/has_only_keys.rb +0 -1
- data/lib/core/facets/hash/insert.rb +0 -19
- data/lib/core/facets/hash/inverse.rb +0 -27
- data/lib/core/facets/hash/join.rb +0 -14
- data/lib/core/facets/hash/mash.rb +0 -1
- data/lib/core/facets/hash/op.rb +0 -97
- data/lib/core/facets/hash/op_and.rb +0 -1
- data/lib/core/facets/hash/op_div.rb +0 -10
- data/lib/core/facets/hash/op_lshift.rb +0 -1
- data/lib/core/facets/hash/op_minus.rb +0 -1
- data/lib/core/facets/hash/op_mul.rb +0 -1
- data/lib/core/facets/hash/op_or.rb +0 -1
- data/lib/core/facets/hash/op_plus.rb +0 -1
- data/lib/core/facets/hash/pairs_at.rb +0 -15
- data/lib/core/facets/hash/rekey.rb +0 -58
- data/lib/core/facets/hash/replace_each.rb +0 -1
- data/lib/core/facets/hash/reverse_merge.rb +0 -29
- data/lib/core/facets/hash/reverse_update.rb +0 -1
- data/lib/core/facets/hash/swap.rb +0 -36
- data/lib/core/facets/hash/to_h.rb +0 -1
- data/lib/core/facets/hash/to_proc.rb +0 -1
- data/lib/core/facets/hash/to_proc_with_reponse.rb +0 -1
- data/lib/core/facets/hash/to_struct.rb +0 -1
- data/lib/core/facets/hash/traverse.rb +0 -41
- data/lib/core/facets/hash/update.rb +0 -63
- data/lib/core/facets/hash/update_each.rb +0 -1
- data/lib/core/facets/hash/update_keys.rb +0 -1
- data/lib/core/facets/hash/update_values.rb +0 -1
- data/lib/core/facets/hash/zipnew.rb +0 -18
- data/lib/core/facets/indexable.rb +0 -241
- data/lib/core/facets/integer.rb +0 -4
- data/lib/core/facets/integer/bit.rb +0 -1
- data/lib/core/facets/integer/clear_bit.rb +0 -1
- data/lib/core/facets/integer/even.rb +0 -1
- data/lib/core/facets/integer/fac.rb +0 -1
- data/lib/core/facets/integer/factorial.rb +0 -29
- data/lib/core/facets/integer/multiple.rb +0 -44
- data/lib/core/facets/integer/odd.rb +0 -1
- data/lib/core/facets/integer/of.rb +0 -22
- data/lib/core/facets/integer/times_collect.rb +0 -1
- data/lib/core/facets/integer/times_map.rb +0 -1
- data/lib/core/facets/kernel.rb +0 -23
- data/lib/core/facets/kernel/Bit.rb +0 -1
- data/lib/core/facets/kernel/__DIR__.rb +0 -1
- data/lib/core/facets/kernel/__assign__.rb +0 -1
- data/lib/core/facets/kernel/__callee__.rb +0 -1
- data/lib/core/facets/kernel/__class__.rb +0 -1
- data/lib/core/facets/kernel/__get__.rb +0 -1
- data/lib/core/facets/kernel/__method__.rb +0 -1
- data/lib/core/facets/kernel/__real__.rb +0 -1
- data/lib/core/facets/kernel/__set__.rb +0 -1
- data/lib/core/facets/kernel/__singleton_class__.rb +0 -1
- data/lib/core/facets/kernel/as.rb +0 -1
- data/lib/core/facets/kernel/ask.rb +0 -26
- data/lib/core/facets/kernel/assign_from.rb +0 -1
- data/lib/core/facets/kernel/assign_with.rb +0 -1
- data/lib/core/facets/kernel/bitmask.rb +0 -1
- data/lib/core/facets/kernel/bool.rb +0 -1
- data/lib/core/facets/kernel/call_stack.rb +0 -1
- data/lib/core/facets/kernel/called.rb +0 -1
- data/lib/core/facets/kernel/callee.rb +0 -1
- data/lib/core/facets/kernel/callstack.rb +0 -88
- data/lib/core/facets/kernel/class_def.rb +0 -1
- data/lib/core/facets/kernel/complete.rb +0 -1
- data/lib/core/facets/kernel/copy.rb +0 -1
- data/lib/core/facets/kernel/d.rb +0 -1
- data/lib/core/facets/kernel/deep_clone.rb +0 -1
- data/lib/core/facets/kernel/deep_copy.rb +0 -1
- data/lib/core/facets/kernel/deepcopy.rb +0 -59
- data/lib/core/facets/kernel/demo.rb +0 -1
- data/lib/core/facets/kernel/dir.rb +0 -14
- data/lib/core/facets/kernel/eigenclass.rb +0 -1
- data/lib/core/facets/kernel/enable_warnings.rb +0 -1
- data/lib/core/facets/kernel/ergo.rb +0 -40
- data/lib/core/facets/kernel/false.rb +0 -1
- data/lib/core/facets/kernel/fn.rb +0 -1
- data/lib/core/facets/kernel/here.rb +0 -9
- data/lib/core/facets/kernel/in.rb +0 -1
- data/lib/core/facets/kernel/instance.rb +0 -176
- data/lib/core/facets/kernel/instance_assign.rb +0 -1
- data/lib/core/facets/kernel/instance_assume.rb +0 -1
- data/lib/core/facets/kernel/instance_class.rb +0 -1
- data/lib/core/facets/kernel/instance_exec.rb +0 -1
- data/lib/core/facets/kernel/instance_send.rb +0 -1
- data/lib/core/facets/kernel/instance_values.rb +0 -1
- data/lib/core/facets/kernel/is.rb +0 -1
- data/lib/core/facets/kernel/load_local.rb +0 -1
- data/lib/core/facets/kernel/meta.rb +0 -1
- data/lib/core/facets/kernel/meta_alias.rb +0 -1
- data/lib/core/facets/kernel/meta_class.rb +0 -1
- data/lib/core/facets/kernel/meta_def.rb +0 -1
- data/lib/core/facets/kernel/meta_eval.rb +0 -1
- data/lib/core/facets/kernel/metaclass.rb +0 -1
- data/lib/core/facets/kernel/metaid.rb +0 -160
- data/lib/core/facets/kernel/method.rb +0 -1
- data/lib/core/facets/kernel/non_nil.rb +0 -1
- data/lib/core/facets/kernel/not_nil.rb +0 -1
- data/lib/core/facets/kernel/object.rb +0 -68
- data/lib/core/facets/kernel/object_class.rb +0 -1
- data/lib/core/facets/kernel/object_clone.rb +0 -1
- data/lib/core/facets/kernel/object_dup.rb +0 -1
- data/lib/core/facets/kernel/object_hexid.rb +0 -1
- data/lib/core/facets/kernel/object_send.rb +0 -1
- data/lib/core/facets/kernel/op_esc.rb +0 -62
- data/lib/core/facets/kernel/p.rb +0 -1
- data/lib/core/facets/kernel/populate.rb +0 -136
- data/lib/core/facets/kernel/pp_call_stack.rb +0 -1
- data/lib/core/facets/kernel/pp_exception.rb +0 -1
- data/lib/core/facets/kernel/qua_class.rb +0 -1
- data/lib/core/facets/kernel/report.rb +0 -98
- data/lib/core/facets/kernel/require.rb +0 -55
- data/lib/core/facets/kernel/require_all.rb +0 -1
- data/lib/core/facets/kernel/require_local.rb +0 -1
- data/lib/core/facets/kernel/resc.rb +0 -1
- data/lib/core/facets/kernel/respond.rb +0 -23
- data/lib/core/facets/kernel/respond_with_value.rb +0 -1
- data/lib/core/facets/kernel/returning.rb +0 -50
- data/lib/core/facets/kernel/send_as.rb +0 -1
- data/lib/core/facets/kernel/set_from.rb +0 -1
- data/lib/core/facets/kernel/set_with.rb +0 -1
- data/lib/core/facets/kernel/silence.rb +0 -79
- data/lib/core/facets/kernel/silence_stderr.rb +0 -1
- data/lib/core/facets/kernel/silence_stream.rb +0 -1
- data/lib/core/facets/kernel/silence_warnings.rb +0 -1
- data/lib/core/facets/kernel/singleton.rb +0 -1
- data/lib/core/facets/kernel/singleton_class.rb +0 -1
- data/lib/core/facets/kernel/super.rb +0 -158
- data/lib/core/facets/kernel/super_at.rb +0 -1
- data/lib/core/facets/kernel/super_method.rb +0 -1
- data/lib/core/facets/kernel/superior.rb +0 -1
- data/lib/core/facets/kernel/supermethod.rb +0 -1
- data/lib/core/facets/kernel/suppress.rb +0 -1
- data/lib/core/facets/kernel/tap.rb +0 -34
- data/lib/core/facets/kernel/this.rb +0 -1
- data/lib/core/facets/kernel/to_b.rb +0 -1
- data/lib/core/facets/kernel/to_bool.rb +0 -1
- data/lib/core/facets/kernel/true.rb +0 -1
- data/lib/core/facets/kernel/val.rb +0 -40
- data/lib/core/facets/kernel/warn_with_line.rb +0 -1
- data/lib/core/facets/kernel/with.rb +0 -1
- data/lib/core/facets/kernel/with_accessor.rb +0 -1
- data/lib/core/facets/kernel/with_reader.rb +0 -1
- data/lib/core/facets/kernel/with_writer.rb +0 -1
- data/lib/core/facets/kernel/withattr.rb +0 -53
- data/lib/core/facets/matchdata.rb +0 -2
- data/lib/core/facets/matchdata/match.rb +0 -16
- data/lib/core/facets/matchdata/matchset.rb +0 -43
- data/lib/core/facets/matchdata/matchtree.rb +0 -1
- data/lib/core/facets/module.rb +0 -13
- data/lib/core/facets/module/abstract.rb +0 -21
- data/lib/core/facets/module/alias.rb +0 -139
- data/lib/core/facets/module/alias_accessor.rb +0 -1
- data/lib/core/facets/module/alias_method_chain.rb +0 -1
- data/lib/core/facets/module/alias_module_function.rb +0 -1
- data/lib/core/facets/module/alias_reader.rb +0 -1
- data/lib/core/facets/module/alias_setter.rb +0 -1
- data/lib/core/facets/module/alias_switcher.rb +0 -1
- data/lib/core/facets/module/alias_tester.rb +0 -1
- data/lib/core/facets/module/alias_toggler.rb +0 -1
- data/lib/core/facets/module/alias_validator.rb +0 -1
- data/lib/core/facets/module/alias_writer.rb +0 -1
- data/lib/core/facets/module/all_instance_methods.rb +0 -1
- data/lib/core/facets/module/ancestor.rb +0 -1
- data/lib/core/facets/module/attr_accessor.rb +0 -1
- data/lib/core/facets/module/attr_reader.rb +0 -1
- data/lib/core/facets/module/attr_setter.rb +0 -1
- data/lib/core/facets/module/attr_switcher.rb +0 -1
- data/lib/core/facets/module/attr_tester.rb +0 -1
- data/lib/core/facets/module/attr_toggler.rb +0 -1
- data/lib/core/facets/module/attr_validator.rb +0 -1
- data/lib/core/facets/module/attr_writer.rb +0 -1
- data/lib/core/facets/module/basename.rb +0 -1
- data/lib/core/facets/module/by_name.rb +0 -1
- data/lib/core/facets/module/can.rb +0 -1
- data/lib/core/facets/module/cattr.rb +0 -110
- data/lib/core/facets/module/class.rb +0 -1
- data/lib/core/facets/module/class_def.rb +0 -1
- data/lib/core/facets/module/clone.rb +0 -50
- data/lib/core/facets/module/clone_removing.rb +0 -1
- data/lib/core/facets/module/clone_renaming.rb +0 -1
- data/lib/core/facets/module/clone_using.rb +0 -1
- data/lib/core/facets/module/conflict.rb +0 -1
- data/lib/core/facets/module/dirname.rb +0 -1
- data/lib/core/facets/module/include.rb +0 -179
- data/lib/core/facets/module/include_and_extend.rb +0 -1
- data/lib/core/facets/module/include_as.rb +0 -1
- data/lib/core/facets/module/include_function_module.rb +0 -1
- data/lib/core/facets/module/instance_method.rb +0 -1
- data/lib/core/facets/module/instance_method_defined.rb +0 -1
- data/lib/core/facets/module/integrate.rb +0 -1
- data/lib/core/facets/module/is.rb +0 -1
- data/lib/core/facets/module/methods.rb +0 -36
- data/lib/core/facets/module/modify.rb +0 -173
- data/lib/core/facets/module/modspace.rb +0 -1
- data/lib/core/facets/module/module_load.rb +0 -1
- data/lib/core/facets/module/module_method.rb +0 -1
- data/lib/core/facets/module/module_method_defined.rb +0 -1
- data/lib/core/facets/module/module_require.rb +0 -1
- data/lib/core/facets/module/name.rb +0 -122
- data/lib/core/facets/module/nesting.rb +0 -1
- data/lib/core/facets/module/nodef.rb +0 -1
- data/lib/core/facets/module/on_included.rb +0 -1
- data/lib/core/facets/module/op_minus.rb +0 -1
- data/lib/core/facets/module/op_mul.rb +0 -1
- data/lib/core/facets/module/op_plus.rb +0 -1
- data/lib/core/facets/module/private_conflict.rb +0 -1
- data/lib/core/facets/module/protected_conflict.rb +0 -1
- data/lib/core/facets/module/public_conflict.rb +0 -1
- data/lib/core/facets/module/redef.rb +0 -1
- data/lib/core/facets/module/redefine_method.rb +0 -1
- data/lib/core/facets/module/redirect.rb +0 -1
- data/lib/core/facets/module/redirect_method.rb +0 -1
- data/lib/core/facets/module/remove.rb +0 -1
- data/lib/core/facets/module/rename.rb +0 -1
- data/lib/core/facets/module/rename_method.rb +0 -1
- data/lib/core/facets/module/require.rb +0 -57
- data/lib/core/facets/module/revisal.rb +0 -1
- data/lib/core/facets/module/traits.rb +0 -146
- data/lib/core/facets/module/wrap.rb +0 -1
- data/lib/core/facets/module/wrap_method.rb +0 -1
- data/lib/core/facets/nilclass.rb +0 -2
- data/lib/core/facets/nilclass/ergo.rb +0 -1
- data/lib/core/facets/nilclass/status.rb +0 -47
- data/lib/core/facets/nilclass/to_bool.rb +0 -1
- data/lib/core/facets/nilclass/to_f.rb +0 -1
- data/lib/core/facets/nilclass/to_h.rb +0 -1
- data/lib/core/facets/numeric.rb +0 -2
- data/lib/core/facets/numeric/approx.rb +0 -1
- data/lib/core/facets/numeric/distance.rb +0 -1
- data/lib/core/facets/numeric/pred.rb +0 -1
- data/lib/core/facets/numeric/round.rb +0 -78
- data/lib/core/facets/numeric/round_at.rb +0 -1
- data/lib/core/facets/numeric/round_to.rb +0 -1
- data/lib/core/facets/numeric/succ.rb +0 -1
- data/lib/core/facets/numeric/to_b.rb +0 -1
- data/lib/core/facets/proc.rb +0 -4
- data/lib/core/facets/proc/bind.rb +0 -64
- data/lib/core/facets/proc/compose.rb +0 -41
- data/lib/core/facets/proc/fn.rb +0 -12
- data/lib/core/facets/proc/op_mul.rb +0 -1
- data/lib/core/facets/proc/to_h.rb +0 -1
- data/lib/core/facets/proc/to_method.rb +0 -1
- data/lib/core/facets/proc/update.rb +0 -9
- data/lib/core/facets/range.rb +0 -2
- data/lib/core/facets/range/combine.rb +0 -47
- data/lib/core/facets/range/overlap.rb +0 -74
- data/lib/core/facets/range/to_r.rb +0 -1
- data/lib/core/facets/range/to_range.rb +0 -1
- data/lib/core/facets/range/umbrella.rb +0 -1
- data/lib/core/facets/range/within.rb +0 -1
- data/lib/core/facets/regexp.rb +0 -1
- data/lib/core/facets/regexp/arity.rb +0 -17
- data/lib/core/facets/regexp/to_re.rb +0 -1
- data/lib/core/facets/regexp/to_regexp.rb +0 -1
- data/lib/core/facets/stackable.rb +0 -86
- data/lib/core/facets/string.rb +0 -20
- data/lib/core/facets/string/_crypt.rb +0 -1
- data/lib/core/facets/string/align.rb +0 -92
- data/lib/core/facets/string/align_center.rb +0 -1
- data/lib/core/facets/string/align_left.rb +0 -1
- data/lib/core/facets/string/align_right.rb +0 -1
- data/lib/core/facets/string/at.rb +0 -1
- data/lib/core/facets/string/blank.rb +0 -16
- data/lib/core/facets/string/bracket.rb +0 -103
- data/lib/core/facets/string/brief.rb +0 -1
- data/lib/core/facets/string/bytes.rb +0 -1
- data/lib/core/facets/string/camelcase.rb +0 -1
- data/lib/core/facets/string/capitalized.rb +0 -1
- data/lib/core/facets/string/case.rb +0 -84
- data/lib/core/facets/string/chars.rb +0 -1
- data/lib/core/facets/string/cleave.rb +0 -1
- data/lib/core/facets/string/cmp.rb +0 -1
- data/lib/core/facets/string/crypt.rb +0 -22
- data/lib/core/facets/string/dequote.rb +0 -1
- data/lib/core/facets/string/divide.rb +0 -1
- data/lib/core/facets/string/downcase.rb +0 -1
- data/lib/core/facets/string/each_char.rb +0 -1
- data/lib/core/facets/string/each_character.rb +0 -1
- data/lib/core/facets/string/each_word.rb +0 -1
- data/lib/core/facets/string/ends_with.rb +0 -1
- data/lib/core/facets/string/expand_tabs.rb +0 -1
- data/lib/core/facets/string/filter.rb +0 -60
- data/lib/core/facets/string/first.rb +0 -1
- data/lib/core/facets/string/fold.rb +0 -1
- data/lib/core/facets/string/format.rb +0 -1
- data/lib/core/facets/string/indent.rb +0 -1
- data/lib/core/facets/string/index_all.rb +0 -1
- data/lib/core/facets/string/indexable.rb +0 -165
- data/lib/core/facets/string/interpolate.rb +0 -35
- data/lib/core/facets/string/last.rb +0 -1
- data/lib/core/facets/string/lchomp.rb +0 -1
- data/lib/core/facets/string/line_wrap.rb +0 -1
- data/lib/core/facets/string/lines.rb +0 -1
- data/lib/core/facets/string/lowercase.rb +0 -1
- data/lib/core/facets/string/margin.rb +0 -1
- data/lib/core/facets/string/mscan.rb +0 -1
- data/lib/core/facets/string/nchar.rb +0 -80
- data/lib/core/facets/string/op.rb +0 -13
- data/lib/core/facets/string/op_minus.rb +0 -1
- data/lib/core/facets/string/outdent.rb +0 -1
- data/lib/core/facets/string/partitions.rb +0 -78
- data/lib/core/facets/string/peek.rb +0 -1
- data/lib/core/facets/string/poke.rb +0 -1
- data/lib/core/facets/string/pop.rb +0 -1
- data/lib/core/facets/string/pull.rb +0 -1
- data/lib/core/facets/string/push.rb +0 -1
- data/lib/core/facets/string/quote.rb +0 -1
- data/lib/core/facets/string/range.rb +0 -54
- data/lib/core/facets/string/range_all.rb +0 -1
- data/lib/core/facets/string/range_of_line.rb +0 -1
- data/lib/core/facets/string/regesc.rb +0 -30
- data/lib/core/facets/string/rewrite.rb +0 -1
- data/lib/core/facets/string/scan.rb +0 -54
- data/lib/core/facets/string/shatter.rb +0 -1
- data/lib/core/facets/string/shift.rb +0 -1
- data/lib/core/facets/string/snakecase.rb +0 -1
- data/lib/core/facets/string/splice.rb +0 -24
- data/lib/core/facets/string/sprintf.rb +0 -1
- data/lib/core/facets/string/stackable.rb +0 -181
- data/lib/core/facets/string/starts_with.rb +0 -1
- data/lib/core/facets/string/store.rb +0 -1
- data/lib/core/facets/string/succ.rb +0 -1
- data/lib/core/facets/string/tab.rb +0 -1
- data/lib/core/facets/string/taballto.rb +0 -1
- data/lib/core/facets/string/tabs.rb +0 -99
- data/lib/core/facets/string/tabto.rb +0 -1
- data/lib/core/facets/string/titlecase.rb +0 -1
- data/lib/core/facets/string/to_b.rb +0 -1
- data/lib/core/facets/string/to_const.rb +0 -1
- data/lib/core/facets/string/to_date.rb +0 -1
- data/lib/core/facets/string/to_proc.rb +0 -1
- data/lib/core/facets/string/to_re.rb +0 -1
- data/lib/core/facets/string/to_rx.rb +0 -1
- data/lib/core/facets/string/to_time.rb +0 -1
- data/lib/core/facets/string/unbracket.rb +0 -1
- data/lib/core/facets/string/unshift.rb +0 -1
- data/lib/core/facets/string/upcase.rb +0 -1
- data/lib/core/facets/string/uppercase.rb +0 -1
- data/lib/core/facets/string/whitespace.rb +0 -1
- data/lib/core/facets/string/word_filter.rb +0 -1
- data/lib/core/facets/string/word_wrap.rb +0 -1
- data/lib/core/facets/string/words.rb +0 -1
- data/lib/core/facets/string/wrap.rb +0 -189
- data/lib/core/facets/symbol.rb +0 -8
- data/lib/core/facets/symbol/chomp.rb +0 -23
- data/lib/core/facets/symbol/generate.rb +0 -20
- data/lib/core/facets/symbol/lchomp.rb +0 -1
- data/lib/core/facets/symbol/not.rb +0 -28
- data/lib/core/facets/symbol/op_tilde.rb +0 -1
- data/lib/core/facets/symbol/pad.rb +0 -1
- data/lib/core/facets/symbol/shadow.rb +0 -23
- data/lib/core/facets/symbol/succ.rb +0 -20
- data/lib/core/facets/symbol/to_const.rb +0 -1
- data/lib/core/facets/symbol/to_proc.rb +0 -39
- data/lib/core/facets/time.rb +0 -3
- data/lib/core/facets/time/change.rb +0 -28
- data/lib/core/facets/time/stamp.rb +0 -47
- data/lib/core/facets/time/to_date.rb +0 -1
- data/lib/core/facets/time/to_s.rb +0 -1
- data/lib/core/facets/time/to_time.rb +0 -1
- data/lib/core/facets/unboundmethod.rb +0 -5
- data/lib/core/facets/unboundmethod/name.rb +0 -26
- data/lib/mixin/facets/binreadable.rb +0 -224
- data/lib/mixin/facets/buildable.rb +0 -82
- data/lib/mixin/facets/cloneable.rb +0 -90
- data/lib/mixin/facets/enumerablepass.rb +0 -204
- data/lib/mixin/facets/expirable.rb +0 -89
- data/lib/mixin/facets/fileable.rb +0 -155
- data/lib/mixin/facets/instantiable.rb +0 -45
- data/lib/mixin/facets/multiton.rb +0 -357
- data/lib/mixin/facets/registerable.rb +0 -36
- data/lib/mixin/facets/tasksystem.rb +0 -350
- data/lib/mixin/facets/uninheritable.rb +0 -55
- data/lib/mixin/facets/validation.rb +0 -445
- data/lib/more/facets/advice.rb +0 -159
- data/lib/more/facets/annotations.rb +0 -154
- data/lib/more/facets/ansicode.rb +0 -268
- data/lib/more/facets/aop.rb +0 -205
- data/lib/more/facets/arguments.rb +0 -322
- data/lib/more/facets/attributes.rb +0 -133
- data/lib/more/facets/autoreload.rb +0 -150
- data/lib/more/facets/bbcode.rb +0 -346
- data/lib/more/facets/behavior.rb +0 -91
- data/lib/more/facets/bytes.rb +0 -164
- data/lib/more/facets/capsule.rb +0 -254
- data/lib/more/facets/class_extension.rb +0 -94
- data/lib/more/facets/classmethods.rb +0 -157
- data/lib/more/facets/command.rb +0 -479
- data/lib/more/facets/compare_on.rb +0 -91
- data/lib/more/facets/console.rb +0 -107
- data/lib/more/facets/continuation.rb +0 -54
- data/lib/more/facets/crypt.rb +0 -428
- data/lib/more/facets/curry.rb +0 -67
- data/lib/more/facets/cut.rb +0 -190
- data/lib/more/facets/daemonize.rb +0 -50
- data/lib/more/facets/date.rb +0 -79
- data/lib/more/facets/dependency.rb +0 -135
- data/lib/more/facets/duration.rb +0 -534
- data/lib/more/facets/elementor.rb +0 -221
- data/lib/more/facets/eventhook.rb +0 -121
- data/lib/more/facets/fileutils.rb +0 -443
- data/lib/more/facets/getoptlong.rb +0 -83
- data/lib/more/facets/hash/keyize.rb +0 -181
- data/lib/more/facets/inheritor.rb +0 -108
- data/lib/more/facets/instantise.rb +0 -85
- data/lib/more/facets/interface.rb +0 -230
- data/lib/more/facets/lazy.rb +0 -245
- data/lib/more/facets/let.rb +0 -71
- data/lib/more/facets/logger.rb +0 -202
- data/lib/more/facets/main.rb +0 -77
- data/lib/more/facets/memoize.rb +0 -110
- data/lib/more/facets/multipliers.rb +0 -99
- data/lib/more/facets/namespace.rb +0 -113
- data/lib/more/facets/ostruct.rb +0 -226
- data/lib/more/facets/overload.rb +0 -100
- data/lib/more/facets/paramix.rb +0 -148
- data/lib/more/facets/pathname.rb +0 -120
- data/lib/more/facets/prepend.rb +0 -92
- data/lib/more/facets/prototype.rb +0 -89
- data/lib/more/facets/random.rb +0 -373
- data/lib/more/facets/rbconfig.rb +0 -55
- data/lib/more/facets/rbsystem.rb +0 -227
- data/lib/more/facets/recursive.rb +0 -67
- data/lib/more/facets/reflection.rb +0 -103
- data/lib/more/facets/settings.rb +0 -250
- data/lib/more/facets/shellwords.rb +0 -43
- data/lib/more/facets/snapshot.rb +0 -183
- data/lib/more/facets/stylize.rb +0 -213
- data/lib/more/facets/thread.rb +0 -55
- data/lib/more/facets/times.rb +0 -346
- data/lib/more/facets/tracepoint.rb +0 -194
- data/lib/more/facets/typecast.rb +0 -233
- data/lib/more/facets/uploadutils.rb +0 -441
- data/lib/more/facets/yaml.rb +0 -40
- data/lib/more/facets/ziputils.rb +0 -357
- data/meta/MANIFEST +0 -947
- data/meta/VERSION +0 -1
- data/task/install +0 -98
- data/task/rdoc +0 -5
- data/task/test +0 -40
- data/test/class/test_buildingblock.rb +0 -36
- data/test/core/array/test_delete.rb +0 -38
- data/test/core/array/test_indexable.rb +0 -126
- data/test/core/array/test_merge.rb +0 -29
- data/test/core/array/test_pad.rb +0 -35
- data/test/core/array/test_rotate.rb +0 -31
- data/test/core/array/test_select.rb +0 -20
- data/test/core/binding/test_caller.rb +0 -47
- data/test/core/binding/test_defined.rb +0 -17
- data/test/core/binding/test_eval.rb +0 -17
- data/test/core/binding/test_here.rb +0 -17
- data/test/core/binding/test_self.rb +0 -17
- data/test/core/binding/test_vars.rb +0 -31
- data/test/core/class/test_descendents.rb +0 -17
- data/test/core/class/test_initializer.rb +0 -19
- data/test/core/class/test_remove_descendents.rb +0 -19
- data/test/core/comparable/test_bound.rb +0 -43
- data/test/core/comparable/test_cmp.rb +0 -63
- data/test/core/dir/test_parent.rb +0 -14
- data/test/core/dir/test_recurse.rb +0 -32
- data/test/core/dir/test_traverse.rb +0 -30
- data/test/core/enumerable/test_cartesian.rb +0 -39
- data/test/core/enumerable/test_collect.rb +0 -63
- data/test/core/enumerable/test_combination.rb +0 -48
- data/test/core/enumerable/test_count.rb +0 -63
- data/test/core/enumerable/test_each.rb +0 -77
- data/test/core/enumerable/test_mash.rb +0 -51
- data/test/core/enumerable/test_permutation.rb +0 -16
- data/test/core/enumerable/test_split.rb +0 -52
- data/test/core/exception/test_detail.rb +0 -19
- data/test/core/file/test_null.rb +0 -12
- data/test/core/file/test_read.rb +0 -34
- data/test/core/file/test_sanitize.rb +0 -52
- data/test/core/file/test_split_all.rb +0 -32
- data/test/core/file/test_write.rb +0 -76
- data/test/core/filetest/test_root.rb +0 -14
- data/test/core/hash/test_alias.rb +0 -18
- data/test/core/hash/test_at.rb +0 -17
- data/test/core/hash/test_autonew.rb +0 -13
- data/test/core/hash/test_collate.rb +0 -33
- data/test/core/hash/test_delete.rb +0 -30
- data/test/core/hash/test_each_with_key.rb +0 -16
- data/test/core/hash/test_has_keys.rb +0 -19
- data/test/core/hash/test_insert.rb +0 -15
- data/test/core/hash/test_inverse.rb +0 -17
- data/test/core/hash/test_op.rb +0 -51
- data/test/core/hash/test_rekey.rb +0 -39
- data/test/core/hash/test_reverse_merge.rb +0 -16
- data/test/core/hash/test_select.rb +0 -43
- data/test/core/hash/test_swap.rb +0 -21
- data/test/core/hash/test_traverse.rb +0 -24
- data/test/core/hash/test_update.rb +0 -35
- data/test/core/hash/test_zipnew.rb +0 -15
- data/test/core/integer/test_bitmask.rb +0 -53
- data/test/core/integer/test_factorial.rb +0 -17
- data/test/core/integer/test_multiple.rb +0 -37
- data/test/core/integer/test_of.rb +0 -21
- data/test/core/kernel/test_callstack.rb +0 -21
- data/test/core/kernel/test_constant.rb +0 -21
- data/test/core/kernel/test_deepcopy.rb +0 -30
- data/test/core/kernel/test_instance.rb +0 -63
- data/test/core/kernel/test_metaid.rb +0 -47
- data/test/core/kernel/test_populate.rb +0 -49
- data/test/core/kernel/test_report.rb +0 -9
- data/test/core/kernel/test_super.rb +0 -53
- data/test/core/kernel/test_tap.rb +0 -21
- data/test/core/kernel/test_val.rb +0 -42
- data/test/core/kernel/test_withattr.rb +0 -38
- data/test/core/matchdata/test_matchset.rb +0 -24
- data/test/core/module/test_alias.rb +0 -47
- data/test/core/module/test_cattr.rb +0 -50
- data/test/core/module/test_include.rb +0 -43
- data/test/core/module/test_modify.rb +0 -177
- data/test/core/module/test_name.rb +0 -47
- data/test/core/module/test_traits.rb +0 -51
- data/test/core/numeric/test_round.rb +0 -59
- data/test/core/proc/test_bind.rb +0 -38
- data/test/core/proc/test_compose.rb +0 -28
- data/test/core/range/test_combine.rb +0 -21
- data/test/core/range/test_overlap.rb +0 -39
- data/test/core/regexp/test_arity.rb +0 -20
- data/test/core/string/test_blank.rb +0 -18
- data/test/core/string/test_case.rb +0 -29
- data/test/core/string/test_crypt.rb +0 -17
- data/test/core/string/test_filter.rb +0 -21
- data/test/core/string/test_indexable.rb +0 -68
- data/test/core/string/test_nchar.rb +0 -16
- data/test/core/string/test_op.rb +0 -14
- data/test/core/string/test_partitions.rb +0 -52
- data/test/core/string/test_range.rb +0 -25
- data/test/core/string/test_regesc.rb +0 -21
- data/test/core/string/test_scan.rb +0 -31
- data/test/core/string/test_stackable.rb +0 -94
- data/test/core/string/test_tabs.rb +0 -236
- data/test/core/string/test_wrap.rb +0 -82
- data/test/core/symbol/test_chomp.rb +0 -17
- data/test/core/symbol/test_generate.rb +0 -13
- data/test/core/symbol/test_not.rb +0 -16
- data/test/core/symbol/test_shadow.rb +0 -14
- data/test/core/symbol/test_succ.rb +0 -15
- data/test/core/symbol/test_to_proc.rb +0 -35
- data/test/core/test_conversion.rb +0 -207
- data/test/core/time/test_change.rb +0 -17
- data/test/core/time/test_elapse.rb +0 -16
- data/test/core/time/test_stamp.rb +0 -28
- data/test/mixin/test_buildable.rb +0 -40
- data/test/mixin/test_instantiable.rb +0 -24
- data/test/more/hash/test_keyize.rb +0 -45
- data/test/more/test_advice.rb +0 -71
- data/test/more/test_annotations.rb +0 -99
- data/test/more/test_aop.rb +0 -49
- data/test/more/test_arguments.rb +0 -56
- data/test/more/test_attributes.rb +0 -26
- data/test/more/test_compare_on.rb +0 -44
- data/test/more/test_curry.rb +0 -28
- data/test/more/test_cut.rb +0 -22
- data/test/more/test_elementor.rb +0 -59
- data/test/more/test_interface.rb +0 -84
- data/test/more/test_let.rb +0 -18
- data/test/more/test_namespace.rb +0 -78
- data/test/more/test_overload.rb +0 -44
- data/test/more/test_paramix.rb +0 -86
- data/test/more/test_stylize.rb +0 -139
- data/test/more/test_thread.rb +0 -23
- data/test/more/test_typecast.rb +0 -56
@@ -0,0 +1,206 @@
|
|
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: Pool</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 />Pool</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/pool_rb.html">lib/facets/pool.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
Array
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
<div class="description"><h1><a href="Pool.html">Pool</a></h1>
|
79
|
+
<p>
|
80
|
+
Generalized object pool implementation. Implemented as a thread safe stack.
|
81
|
+
Exclusive locking is needed both for <a href="Pool.html#M000491">push</a>
|
82
|
+
and <a href="Pool.html#M000492">pop</a>.
|
83
|
+
</p>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
<div class="sectiontitle">Methods</div>
|
89
|
+
<ul>
|
90
|
+
<li><a href="#M000490">new</a></li>
|
91
|
+
<li><a href="#M000493">obtain</a></li>
|
92
|
+
<li><a href="#M000492">pop</a></li>
|
93
|
+
<li><a href="#M000491">push</a></li>
|
94
|
+
</ul>
|
95
|
+
|
96
|
+
<div class="sectiontitle">Included Modules</div>
|
97
|
+
<ul>
|
98
|
+
<li>MonitorMixin</li>
|
99
|
+
</ul>
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<div class="sectiontitle">Public Class methods</div>
|
106
|
+
<div class="method">
|
107
|
+
<div class="title">
|
108
|
+
<a name="M000490"></a><b>new</b>()
|
109
|
+
</div>
|
110
|
+
<div class="sourcecode">
|
111
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000490_source')" id="l_M000490_source">show source</a> ]</p>
|
112
|
+
<div id="M000490_source" class="dyn-source">
|
113
|
+
<pre>
|
114
|
+
<span class="ruby-comment cmt"># File lib/facets/pool.rb, line 39</span>
|
115
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
116
|
+
<span class="ruby-keyword kw">super</span>
|
117
|
+
<span class="ruby-ivar">@cv</span> = <span class="ruby-identifier">new_cond</span>()
|
118
|
+
<span class="ruby-keyword kw">end</span>
|
119
|
+
</pre>
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
<div class="sectiontitle">Public Instance methods</div>
|
124
|
+
<div class="method">
|
125
|
+
<div class="title">
|
126
|
+
<a name="M000493"></a><b>obtain</b>() {|obj| ...}
|
127
|
+
</div>
|
128
|
+
<div class="description">
|
129
|
+
<p>
|
130
|
+
Obtains an object, passes it to a block for processing and restores it to
|
131
|
+
the pool.
|
132
|
+
</p>
|
133
|
+
</div>
|
134
|
+
<div class="sourcecode">
|
135
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000493_source')" id="l_M000493_source">show source</a> ]</p>
|
136
|
+
<div id="M000493_source" class="dyn-source">
|
137
|
+
<pre>
|
138
|
+
<span class="ruby-comment cmt"># File lib/facets/pool.rb, line 65</span>
|
139
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">obtain</span>
|
140
|
+
<span class="ruby-identifier">result</span> = <span class="ruby-keyword kw">nil</span>
|
141
|
+
<span class="ruby-keyword kw">begin</span>
|
142
|
+
<span class="ruby-identifier">obj</span> = <span class="ruby-identifier">pop</span>()
|
143
|
+
<span class="ruby-identifier">result</span> = <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">obj</span>)
|
144
|
+
<span class="ruby-keyword kw">ensure</span>
|
145
|
+
<span class="ruby-identifier">push</span>(<span class="ruby-identifier">obj</span>)
|
146
|
+
<span class="ruby-keyword kw">end</span>
|
147
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span>
|
148
|
+
<span class="ruby-keyword kw">end</span>
|
149
|
+
</pre>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
<div class="method">
|
154
|
+
<div class="title">
|
155
|
+
<a name="M000492"></a><b>pop</b>()
|
156
|
+
</div>
|
157
|
+
<div class="description">
|
158
|
+
<p>
|
159
|
+
Obtain an object from the pool.
|
160
|
+
</p>
|
161
|
+
</div>
|
162
|
+
<div class="sourcecode">
|
163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000492_source')" id="l_M000492_source">show source</a> ]</p>
|
164
|
+
<div id="M000492_source" class="dyn-source">
|
165
|
+
<pre>
|
166
|
+
<span class="ruby-comment cmt"># File lib/facets/pool.rb, line 55</span>
|
167
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
|
168
|
+
<span class="ruby-identifier">synchronize</span> <span class="ruby-keyword kw">do</span>
|
169
|
+
<span class="ruby-ivar">@cv</span>.<span class="ruby-identifier">wait_while</span> { <span class="ruby-identifier">empty?</span> }
|
170
|
+
<span class="ruby-keyword kw">super</span>
|
171
|
+
<span class="ruby-keyword kw">end</span>
|
172
|
+
<span class="ruby-keyword kw">end</span>
|
173
|
+
</pre>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
<div class="method">
|
178
|
+
<div class="title">
|
179
|
+
<a name="M000491"></a><b>push</b>(obj)
|
180
|
+
</div>
|
181
|
+
<div class="description">
|
182
|
+
<p>
|
183
|
+
Add, restore an object to the pool.
|
184
|
+
</p>
|
185
|
+
</div>
|
186
|
+
<div class="sourcecode">
|
187
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000491_source')" id="l_M000491_source">show source</a> ]</p>
|
188
|
+
<div id="M000491_source" class="dyn-source">
|
189
|
+
<pre>
|
190
|
+
<span class="ruby-comment cmt"># File lib/facets/pool.rb, line 46</span>
|
191
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">obj</span>)
|
192
|
+
<span class="ruby-identifier">synchronize</span> <span class="ruby-keyword kw">do</span>
|
193
|
+
<span class="ruby-keyword kw">super</span>
|
194
|
+
<span class="ruby-ivar">@cv</span>.<span class="ruby-identifier">signal</span>()
|
195
|
+
<span class="ruby-keyword kw">end</span>
|
196
|
+
<span class="ruby-keyword kw">end</span>
|
197
|
+
</pre>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
</body>
|
206
|
+
</html>
|
@@ -0,0 +1,138 @@
|
|
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: Proc</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 />Proc</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/openobject_rb.html">lib/facets/openobject.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
Object
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div class="sectiontitle">Methods</div>
|
82
|
+
<ul>
|
83
|
+
<li><a href="#M000334">to_openobject</a></li>
|
84
|
+
</ul>
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<div class="sectiontitle">Public Instance methods</div>
|
92
|
+
<div class="method">
|
93
|
+
<div class="title">
|
94
|
+
<a name="M000334"></a><b>to_openobject</b>()
|
95
|
+
</div>
|
96
|
+
<div class="description">
|
97
|
+
<p>
|
98
|
+
Translates a <a href="Proc.html">Proc</a> into an <a
|
99
|
+
href="OpenObject.html">OpenObject</a>. By droping an <a
|
100
|
+
href="OpenObject.html">OpenObject</a> into the <a
|
101
|
+
href="Proc.html">Proc</a>, the resulting assignments incured as the
|
102
|
+
procedure is evaluated produce the <a
|
103
|
+
href="OpenObject.html">OpenObject</a>. This technique is simlar to that of
|
104
|
+
MethodProbe.
|
105
|
+
</p>
|
106
|
+
<pre>
|
107
|
+
p = lambda { |x|
|
108
|
+
x.word = "Hello"
|
109
|
+
}
|
110
|
+
o = p.to_openobject
|
111
|
+
o.word #=> "Hello"
|
112
|
+
</pre>
|
113
|
+
<p>
|
114
|
+
NOTE The <a href="Proc.html">Proc</a> must have an arity of one —no
|
115
|
+
more and no less.
|
116
|
+
</p>
|
117
|
+
</div>
|
118
|
+
<div class="sourcecode">
|
119
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000334_source')" id="l_M000334_source">show source</a> ]</p>
|
120
|
+
<div id="M000334_source" class="dyn-source">
|
121
|
+
<pre>
|
122
|
+
<span class="ruby-comment cmt"># File lib/facets/openobject.rb, line 254</span>
|
123
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_openobject</span>
|
124
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'bad arity for converting Proc to openobject'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">arity</span> <span class="ruby-operator">!=</span> <span class="ruby-value">1</span>
|
125
|
+
<span class="ruby-identifier">o</span> = <span class="ruby-constant">OpenObject</span>.<span class="ruby-identifier">new</span>
|
126
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">o</span> )
|
127
|
+
<span class="ruby-identifier">o</span>
|
128
|
+
<span class="ruby-keyword kw">end</span>
|
129
|
+
</pre>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
</body>
|
138
|
+
</html>
|
@@ -0,0 +1,683 @@
|
|
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: ProgressBar</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 />ProgressBar</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/progressbar_rb.html">lib/facets/progressbar.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
Object
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
<div class="description"><h1><a href="ProgressBar.html">ProgressBar</a></h1>
|
79
|
+
<p>
|
80
|
+
<a href="ProgressBar.html">ProgressBar</a> is a text-based progressbar
|
81
|
+
library.
|
82
|
+
</p>
|
83
|
+
<pre>
|
84
|
+
pbar = ProgressBar.new( "Demo", 100 )
|
85
|
+
100.times { pbar.inc }
|
86
|
+
pbar.finish
|
87
|
+
</pre>
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<div class="sectiontitle">Methods</div>
|
93
|
+
<ul>
|
94
|
+
<li><a href="#M000205">bar</a></li>
|
95
|
+
<li><a href="#M000213">bar_mark=</a></li>
|
96
|
+
<li><a href="#M000198">bytes</a></li>
|
97
|
+
<li><a href="#M000196">convert_bytes</a></li>
|
98
|
+
<li><a href="#M000201">elapsed</a></li>
|
99
|
+
<li><a href="#M000204">eol</a></li>
|
100
|
+
<li><a href="#M000200">eta</a></li>
|
101
|
+
<li><a href="#M000211">file_transfer_mode</a></li>
|
102
|
+
<li><a href="#M000217">finish</a></li>
|
103
|
+
<li><a href="#M000218">flush</a></li>
|
104
|
+
<li><a href="#M000215">format=</a></li>
|
105
|
+
<li><a href="#M000216">format_arguments=</a></li>
|
106
|
+
<li><a href="#M000199">format_time</a></li>
|
107
|
+
<li><a href="#M000208">get_width</a></li>
|
108
|
+
<li><a href="#M000219">halt</a></li>
|
109
|
+
<li><a href="#M000221">inc</a></li>
|
110
|
+
<li><a href="#M000222">inspect</a></li>
|
111
|
+
<li><a href="#M000195">new</a></li>
|
112
|
+
<li><a href="#M000206">percentage</a></li>
|
113
|
+
<li><a href="#M000220">set</a></li>
|
114
|
+
<li><a href="#M000209">show</a></li>
|
115
|
+
<li><a href="#M000210">show_progress</a></li>
|
116
|
+
<li><a href="#M000202">stat</a></li>
|
117
|
+
<li><a href="#M000203">stat_for_file_transfer</a></li>
|
118
|
+
<li><a href="#M000207">title</a></li>
|
119
|
+
<li><a href="#M000212">title=</a></li>
|
120
|
+
<li><a href="#M000214">total_overflow=</a></li>
|
121
|
+
<li><a href="#M000197">transfer_rate</a></li>
|
122
|
+
</ul>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<div class="sectiontitle">Public Class methods</div>
|
130
|
+
<div class="method">
|
131
|
+
<div class="title">
|
132
|
+
<a name="M000195"></a><b>new</b>(title, total, out = STDERR)
|
133
|
+
</div>
|
134
|
+
<div class="sourcecode">
|
135
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000195_source')" id="l_M000195_source">show source</a> ]</p>
|
136
|
+
<div id="M000195_source" class="dyn-source">
|
137
|
+
<pre>
|
138
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 38</span>
|
139
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>, <span class="ruby-identifier">total</span>, <span class="ruby-identifier">out</span> = <span class="ruby-constant">STDERR</span>)
|
140
|
+
<span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
|
141
|
+
<span class="ruby-ivar">@total</span> = <span class="ruby-identifier">total</span>
|
142
|
+
<span class="ruby-ivar">@out</span> = <span class="ruby-identifier">out</span>
|
143
|
+
<span class="ruby-ivar">@bar_length</span> = <span class="ruby-value">80</span>
|
144
|
+
<span class="ruby-ivar">@bar_mark</span> = <span class="ruby-value str">"o"</span>
|
145
|
+
<span class="ruby-ivar">@total_overflow</span> = <span class="ruby-keyword kw">true</span>
|
146
|
+
<span class="ruby-ivar">@current</span> = <span class="ruby-value">0</span>
|
147
|
+
<span class="ruby-ivar">@previous</span> = <span class="ruby-value">0</span>
|
148
|
+
<span class="ruby-ivar">@is_finished</span> = <span class="ruby-keyword kw">false</span>
|
149
|
+
<span class="ruby-ivar">@start_time</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>
|
150
|
+
<span class="ruby-ivar">@format</span> = <span class="ruby-value str">"%-14s %3d%% %s %s"</span>
|
151
|
+
<span class="ruby-ivar">@format_arguments</span> = [<span class="ruby-identifier">:title</span>, <span class="ruby-identifier">:percentage</span>, <span class="ruby-identifier">:bar</span>, <span class="ruby-identifier">:stat</span>]
|
152
|
+
<span class="ruby-identifier">show_progress</span>
|
153
|
+
<span class="ruby-keyword kw">end</span>
|
154
|
+
</pre>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
<div class="sectiontitle">Public Instance methods</div>
|
159
|
+
<div class="method">
|
160
|
+
<div class="title">
|
161
|
+
<a name="M000213"></a><b>bar_mark=</b>(mark)
|
162
|
+
</div>
|
163
|
+
<div class="sourcecode">
|
164
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000213_source')" id="l_M000213_source">show source</a> ]</p>
|
165
|
+
<div id="M000213_source" class="dyn-source">
|
166
|
+
<pre>
|
167
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 189</span>
|
168
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bar_mark=</span>(<span class="ruby-identifier">mark</span>)
|
169
|
+
<span class="ruby-ivar">@bar_mark</span> = <span class="ruby-constant">String</span>(<span class="ruby-identifier">mark</span>)[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">0</span>]
|
170
|
+
<span class="ruby-keyword kw">end</span>
|
171
|
+
</pre>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
<div class="method">
|
176
|
+
<div class="title">
|
177
|
+
<a name="M000211"></a><b>file_transfer_mode</b>()
|
178
|
+
</div>
|
179
|
+
<div class="sourcecode">
|
180
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">show source</a> ]</p>
|
181
|
+
<div id="M000211_source" class="dyn-source">
|
182
|
+
<pre>
|
183
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 181</span>
|
184
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">file_transfer_mode</span>
|
185
|
+
<span class="ruby-ivar">@format_arguments</span> = [<span class="ruby-identifier">:title</span>, <span class="ruby-identifier">:percentage</span>, <span class="ruby-identifier">:bar</span>, <span class="ruby-identifier">:stat_for_file_transfer</span>]
|
186
|
+
<span class="ruby-keyword kw">end</span>
|
187
|
+
</pre>
|
188
|
+
</div>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
<div class="method">
|
192
|
+
<div class="title">
|
193
|
+
<a name="M000217"></a><b>finish</b>()
|
194
|
+
</div>
|
195
|
+
<div class="sourcecode">
|
196
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000217_source')" id="l_M000217_source">show source</a> ]</p>
|
197
|
+
<div id="M000217_source" class="dyn-source">
|
198
|
+
<pre>
|
199
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 205</span>
|
200
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">finish</span>
|
201
|
+
<span class="ruby-ivar">@current</span> = <span class="ruby-ivar">@total</span>
|
202
|
+
<span class="ruby-ivar">@is_finished</span> = <span class="ruby-keyword kw">true</span>
|
203
|
+
<span class="ruby-identifier">show_progress</span>
|
204
|
+
<span class="ruby-keyword kw">end</span>
|
205
|
+
</pre>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
</div>
|
209
|
+
<div class="method">
|
210
|
+
<div class="title">
|
211
|
+
<a name="M000218"></a><b>flush</b>()
|
212
|
+
</div>
|
213
|
+
<div class="sourcecode">
|
214
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">show source</a> ]</p>
|
215
|
+
<div id="M000218_source" class="dyn-source">
|
216
|
+
<pre>
|
217
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 211</span>
|
218
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">flush</span>
|
219
|
+
<span class="ruby-ivar">@out</span>.<span class="ruby-identifier">flush</span>
|
220
|
+
<span class="ruby-keyword kw">end</span>
|
221
|
+
</pre>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
<div class="method">
|
226
|
+
<div class="title">
|
227
|
+
<a name="M000215"></a><b>format=</b>(format)
|
228
|
+
</div>
|
229
|
+
<div class="sourcecode">
|
230
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000215_source')" id="l_M000215_source">show source</a> ]</p>
|
231
|
+
<div id="M000215_source" class="dyn-source">
|
232
|
+
<pre>
|
233
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 197</span>
|
234
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format=</span>(<span class="ruby-identifier">format</span>)
|
235
|
+
<span class="ruby-ivar">@format</span> = <span class="ruby-identifier">format</span>
|
236
|
+
<span class="ruby-keyword kw">end</span>
|
237
|
+
</pre>
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
</div>
|
241
|
+
<div class="method">
|
242
|
+
<div class="title">
|
243
|
+
<a name="M000216"></a><b>format_arguments=</b>(arguments)
|
244
|
+
</div>
|
245
|
+
<div class="sourcecode">
|
246
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000216_source')" id="l_M000216_source">show source</a> ]</p>
|
247
|
+
<div id="M000216_source" class="dyn-source">
|
248
|
+
<pre>
|
249
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 201</span>
|
250
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_arguments=</span>(<span class="ruby-identifier">arguments</span>)
|
251
|
+
<span class="ruby-ivar">@format_arguments</span> = <span class="ruby-identifier">arguments</span>
|
252
|
+
<span class="ruby-keyword kw">end</span>
|
253
|
+
</pre>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
<div class="method">
|
258
|
+
<div class="title">
|
259
|
+
<a name="M000219"></a><b>halt</b>()
|
260
|
+
</div>
|
261
|
+
<div class="sourcecode">
|
262
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000219_source')" id="l_M000219_source">show source</a> ]</p>
|
263
|
+
<div id="M000219_source" class="dyn-source">
|
264
|
+
<pre>
|
265
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 215</span>
|
266
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">halt</span>
|
267
|
+
<span class="ruby-ivar">@is_finished</span> = <span class="ruby-keyword kw">true</span>
|
268
|
+
<span class="ruby-identifier">show_progress</span>
|
269
|
+
<span class="ruby-keyword kw">end</span>
|
270
|
+
</pre>
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
<div class="method">
|
275
|
+
<div class="title">
|
276
|
+
<a name="M000221"></a><b>inc</b>(step = 1)
|
277
|
+
</div>
|
278
|
+
<div class="sourcecode">
|
279
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000221_source')" id="l_M000221_source">show source</a> ]</p>
|
280
|
+
<div id="M000221_source" class="dyn-source">
|
281
|
+
<pre>
|
282
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 235</span>
|
283
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inc</span>(<span class="ruby-identifier">step</span> = <span class="ruby-value">1</span>)
|
284
|
+
<span class="ruby-ivar">@current</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">step</span>
|
285
|
+
<span class="ruby-ivar">@current</span> = <span class="ruby-ivar">@total</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@current</span> <span class="ruby-operator">></span> <span class="ruby-ivar">@total</span>
|
286
|
+
<span class="ruby-identifier">show_progress</span>
|
287
|
+
<span class="ruby-ivar">@previous</span> = <span class="ruby-ivar">@current</span>
|
288
|
+
<span class="ruby-keyword kw">end</span>
|
289
|
+
</pre>
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
<div class="method">
|
294
|
+
<div class="title">
|
295
|
+
<a name="M000222"></a><b>inspect</b>()
|
296
|
+
</div>
|
297
|
+
<div class="sourcecode">
|
298
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000222_source')" id="l_M000222_source">show source</a> ]</p>
|
299
|
+
<div id="M000222_source" class="dyn-source">
|
300
|
+
<pre>
|
301
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 242</span>
|
302
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
303
|
+
<span class="ruby-node">"(ProgressBar: #{@current}/#{@total})"</span>
|
304
|
+
<span class="ruby-keyword kw">end</span>
|
305
|
+
</pre>
|
306
|
+
</div>
|
307
|
+
</div>
|
308
|
+
</div>
|
309
|
+
<div class="method">
|
310
|
+
<div class="title">
|
311
|
+
<a name="M000220"></a><b>set</b>(count)
|
312
|
+
</div>
|
313
|
+
<div class="sourcecode">
|
314
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000220_source')" id="l_M000220_source">show source</a> ]</p>
|
315
|
+
<div id="M000220_source" class="dyn-source">
|
316
|
+
<pre>
|
317
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 220</span>
|
318
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">count</span>)
|
319
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">count</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
320
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-node">"invalid count less than zero: #{count}"</span>
|
321
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">count</span> <span class="ruby-operator">></span> <span class="ruby-ivar">@total</span>
|
322
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@total_overflow</span>
|
323
|
+
<span class="ruby-ivar">@total</span> = <span class="ruby-identifier">count</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
324
|
+
<span class="ruby-keyword kw">else</span>
|
325
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-node">"invalid count greater than total: #{count}"</span>
|
326
|
+
<span class="ruby-keyword kw">end</span>
|
327
|
+
<span class="ruby-keyword kw">end</span>
|
328
|
+
<span class="ruby-ivar">@current</span> = <span class="ruby-identifier">count</span>
|
329
|
+
<span class="ruby-identifier">show_progress</span>
|
330
|
+
<span class="ruby-ivar">@previous</span> = <span class="ruby-ivar">@current</span>
|
331
|
+
<span class="ruby-keyword kw">end</span>
|
332
|
+
</pre>
|
333
|
+
</div>
|
334
|
+
</div>
|
335
|
+
</div>
|
336
|
+
<div class="method">
|
337
|
+
<div class="title">
|
338
|
+
<a name="M000212"></a><b>title=</b>(str)
|
339
|
+
</div>
|
340
|
+
<div class="sourcecode">
|
341
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">show source</a> ]</p>
|
342
|
+
<div id="M000212_source" class="dyn-source">
|
343
|
+
<pre>
|
344
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 185</span>
|
345
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">title=</span>(<span class="ruby-identifier">str</span>)
|
346
|
+
<span class="ruby-ivar">@title</span> = <span class="ruby-identifier">str</span>
|
347
|
+
<span class="ruby-keyword kw">end</span>
|
348
|
+
</pre>
|
349
|
+
</div>
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
<div class="method">
|
353
|
+
<div class="title">
|
354
|
+
<a name="M000214"></a><b>total_overflow=</b>(boolv)
|
355
|
+
</div>
|
356
|
+
<div class="sourcecode">
|
357
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000214_source')" id="l_M000214_source">show source</a> ]</p>
|
358
|
+
<div id="M000214_source" class="dyn-source">
|
359
|
+
<pre>
|
360
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 193</span>
|
361
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_overflow=</span>(<span class="ruby-identifier">boolv</span>)
|
362
|
+
<span class="ruby-ivar">@total_overflow</span> = <span class="ruby-identifier">boolv</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">false</span>
|
363
|
+
<span class="ruby-keyword kw">end</span>
|
364
|
+
</pre>
|
365
|
+
</div>
|
366
|
+
</div>
|
367
|
+
</div>
|
368
|
+
<div class="sectiontitle">Private Instance methods</div>
|
369
|
+
<div class="method">
|
370
|
+
<div class="title">
|
371
|
+
<a name="M000205"></a><b>bar</b>()
|
372
|
+
</div>
|
373
|
+
<div class="sourcecode">
|
374
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">show source</a> ]</p>
|
375
|
+
<div id="M000205_source" class="dyn-source">
|
376
|
+
<pre>
|
377
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 116</span>
|
378
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bar</span>
|
379
|
+
<span class="ruby-identifier">len</span> = <span class="ruby-identifier">percentage</span> <span class="ruby-operator">*</span> <span class="ruby-ivar">@bar_length</span> <span class="ruby-operator">/</span> <span class="ruby-value">100</span>
|
380
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"|%s%s|"</span>, <span class="ruby-ivar">@bar_mark</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">len</span>, <span class="ruby-value str">" "</span> <span class="ruby-operator">*</span> (<span class="ruby-ivar">@bar_length</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">len</span>))
|
381
|
+
<span class="ruby-keyword kw">end</span>
|
382
|
+
</pre>
|
383
|
+
</div>
|
384
|
+
</div>
|
385
|
+
</div>
|
386
|
+
<div class="method">
|
387
|
+
<div class="title">
|
388
|
+
<a name="M000198"></a><b>bytes</b>()
|
389
|
+
</div>
|
390
|
+
<div class="sourcecode">
|
391
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">show source</a> ]</p>
|
392
|
+
<div id="M000198_source" class="dyn-source">
|
393
|
+
<pre>
|
394
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 72</span>
|
395
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>
|
396
|
+
<span class="ruby-identifier">convert_bytes</span>(<span class="ruby-ivar">@current</span>)
|
397
|
+
<span class="ruby-keyword kw">end</span>
|
398
|
+
</pre>
|
399
|
+
</div>
|
400
|
+
</div>
|
401
|
+
</div>
|
402
|
+
<div class="method">
|
403
|
+
<div class="title">
|
404
|
+
<a name="M000196"></a><b>convert_bytes</b>(bytes)
|
405
|
+
</div>
|
406
|
+
<div class="sourcecode">
|
407
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000196_source')" id="l_M000196_source">show source</a> ]</p>
|
408
|
+
<div id="M000196_source" class="dyn-source">
|
409
|
+
<pre>
|
410
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 55</span>
|
411
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_bytes</span> (<span class="ruby-identifier">bytes</span>)
|
412
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bytes</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span>
|
413
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%6dB"</span>, <span class="ruby-identifier">bytes</span>)
|
414
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">bytes</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000</span> <span class="ruby-comment cmt"># 1000kb</span>
|
415
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%5.1fKB"</span>, <span class="ruby-identifier">bytes</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span>)
|
416
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">bytes</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000</span> <span class="ruby-comment cmt"># 1000mb</span>
|
417
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%5.1fMB"</span>, <span class="ruby-identifier">bytes</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span>)
|
418
|
+
<span class="ruby-keyword kw">else</span>
|
419
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%5.1fGB"</span>, <span class="ruby-identifier">bytes</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span> <span class="ruby-operator">/</span> <span class="ruby-value">1024</span>)
|
420
|
+
<span class="ruby-keyword kw">end</span>
|
421
|
+
<span class="ruby-keyword kw">end</span>
|
422
|
+
</pre>
|
423
|
+
</div>
|
424
|
+
</div>
|
425
|
+
</div>
|
426
|
+
<div class="method">
|
427
|
+
<div class="title">
|
428
|
+
<a name="M000201"></a><b>elapsed</b>()
|
429
|
+
</div>
|
430
|
+
<div class="sourcecode">
|
431
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">show source</a> ]</p>
|
432
|
+
<div id="M000201_source" class="dyn-source">
|
433
|
+
<pre>
|
434
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 95</span>
|
435
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">elapsed</span>
|
436
|
+
<span class="ruby-identifier">elapsed</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@start_time</span>
|
437
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"Time: %s"</span>, <span class="ruby-identifier">format_time</span>(<span class="ruby-identifier">elapsed</span>))
|
438
|
+
<span class="ruby-keyword kw">end</span>
|
439
|
+
</pre>
|
440
|
+
</div>
|
441
|
+
</div>
|
442
|
+
</div>
|
443
|
+
<div class="method">
|
444
|
+
<div class="title">
|
445
|
+
<a name="M000204"></a><b>eol</b>()
|
446
|
+
</div>
|
447
|
+
<div class="sourcecode">
|
448
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">show source</a> ]</p>
|
449
|
+
<div id="M000204_source" class="dyn-source">
|
450
|
+
<pre>
|
451
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 112</span>
|
452
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eol</span>
|
453
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@is_finished</span> <span class="ruby-keyword kw">then</span> <span class="ruby-value str">"\n"</span> <span class="ruby-keyword kw">else</span> <span class="ruby-value str">"\r"</span> <span class="ruby-keyword kw">end</span>
|
454
|
+
<span class="ruby-keyword kw">end</span>
|
455
|
+
</pre>
|
456
|
+
</div>
|
457
|
+
</div>
|
458
|
+
</div>
|
459
|
+
<div class="method">
|
460
|
+
<div class="title">
|
461
|
+
<a name="M000200"></a><b>eta</b>()
|
462
|
+
</div>
|
463
|
+
<div class="description">
|
464
|
+
<p>
|
465
|
+
ETA stands for Estimated Time of Arrival.
|
466
|
+
</p>
|
467
|
+
</div>
|
468
|
+
<div class="sourcecode">
|
469
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">show source</a> ]</p>
|
470
|
+
<div id="M000200_source" class="dyn-source">
|
471
|
+
<pre>
|
472
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 85</span>
|
473
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eta</span>
|
474
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@current</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
475
|
+
<span class="ruby-value str">"ETA: --:--:--"</span>
|
476
|
+
<span class="ruby-keyword kw">else</span>
|
477
|
+
<span class="ruby-identifier">elapsed</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@start_time</span>
|
478
|
+
<span class="ruby-identifier">eta</span> = <span class="ruby-identifier">elapsed</span> <span class="ruby-operator">*</span> <span class="ruby-ivar">@total</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@current</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">elapsed</span>;
|
479
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"ETA: %s"</span>, <span class="ruby-identifier">format_time</span>(<span class="ruby-identifier">eta</span>))
|
480
|
+
<span class="ruby-keyword kw">end</span>
|
481
|
+
<span class="ruby-keyword kw">end</span>
|
482
|
+
</pre>
|
483
|
+
</div>
|
484
|
+
</div>
|
485
|
+
</div>
|
486
|
+
<div class="method">
|
487
|
+
<div class="title">
|
488
|
+
<a name="M000199"></a><b>format_time</b>(t)
|
489
|
+
</div>
|
490
|
+
<div class="sourcecode">
|
491
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">show source</a> ]</p>
|
492
|
+
<div id="M000199_source" class="dyn-source">
|
493
|
+
<pre>
|
494
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 76</span>
|
495
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_time</span>(<span class="ruby-identifier">t</span>)
|
496
|
+
<span class="ruby-identifier">t</span> = <span class="ruby-identifier">t</span>.<span class="ruby-identifier">to_i</span>
|
497
|
+
<span class="ruby-identifier">sec</span> = <span class="ruby-identifier">t</span> <span class="ruby-operator">%</span> <span class="ruby-value">60</span>
|
498
|
+
<span class="ruby-identifier">min</span> = (<span class="ruby-identifier">t</span> <span class="ruby-operator">/</span> <span class="ruby-value">60</span>) <span class="ruby-operator">%</span> <span class="ruby-value">60</span>
|
499
|
+
<span class="ruby-identifier">hour</span> = <span class="ruby-identifier">t</span> <span class="ruby-operator">/</span> <span class="ruby-value">3600</span>
|
500
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%02d:%02d:%02d"</span>, <span class="ruby-identifier">hour</span>, <span class="ruby-identifier">min</span>, <span class="ruby-identifier">sec</span>);
|
501
|
+
<span class="ruby-keyword kw">end</span>
|
502
|
+
</pre>
|
503
|
+
</div>
|
504
|
+
</div>
|
505
|
+
</div>
|
506
|
+
<div class="method">
|
507
|
+
<div class="title">
|
508
|
+
<a name="M000208"></a><b>get_width</b>()
|
509
|
+
</div>
|
510
|
+
<div class="sourcecode">
|
511
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">show source</a> ]</p>
|
512
|
+
<div id="M000208_source" class="dyn-source">
|
513
|
+
<pre>
|
514
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 133</span>
|
515
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_width</span>
|
516
|
+
<span class="ruby-comment cmt"># FIXME: I don't know how portable it is.</span>
|
517
|
+
<span class="ruby-identifier">default_width</span> = <span class="ruby-value">80</span>
|
518
|
+
<span class="ruby-keyword kw">begin</span>
|
519
|
+
<span class="ruby-identifier">tiocgwinsz</span> = <span class="ruby-value">0x5413</span>
|
520
|
+
<span class="ruby-identifier">data</span> = [<span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-value">0</span>, <span class="ruby-value">0</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">"SSSS"</span>)
|
521
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@out</span>.<span class="ruby-identifier">ioctl</span>(<span class="ruby-identifier">tiocgwinsz</span>, <span class="ruby-identifier">data</span>) <span class="ruby-operator">>=</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
|
522
|
+
<span class="ruby-identifier">rows</span>, <span class="ruby-identifier">cols</span>, <span class="ruby-identifier">xpixels</span>, <span class="ruby-identifier">ypixels</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">"SSSS"</span>)
|
523
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cols</span> <span class="ruby-operator">>=</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">cols</span> <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">default_width</span> <span class="ruby-keyword kw">end</span>
|
524
|
+
<span class="ruby-keyword kw">else</span>
|
525
|
+
<span class="ruby-identifier">default_width</span>
|
526
|
+
<span class="ruby-keyword kw">end</span>
|
527
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span>
|
528
|
+
<span class="ruby-identifier">default_width</span>
|
529
|
+
<span class="ruby-keyword kw">end</span>
|
530
|
+
<span class="ruby-keyword kw">end</span>
|
531
|
+
</pre>
|
532
|
+
</div>
|
533
|
+
</div>
|
534
|
+
</div>
|
535
|
+
<div class="method">
|
536
|
+
<div class="title">
|
537
|
+
<a name="M000206"></a><b>percentage</b>()
|
538
|
+
</div>
|
539
|
+
<div class="sourcecode">
|
540
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000206_source')" id="l_M000206_source">show source</a> ]</p>
|
541
|
+
<div id="M000206_source" class="dyn-source">
|
542
|
+
<pre>
|
543
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 121</span>
|
544
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">percentage</span>
|
545
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@total</span>.<span class="ruby-identifier">zero?</span>
|
546
|
+
<span class="ruby-value">100</span>
|
547
|
+
<span class="ruby-keyword kw">else</span>
|
548
|
+
<span class="ruby-ivar">@current</span> <span class="ruby-operator">*</span> <span class="ruby-value">100</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@total</span>
|
549
|
+
<span class="ruby-keyword kw">end</span>
|
550
|
+
<span class="ruby-keyword kw">end</span>
|
551
|
+
</pre>
|
552
|
+
</div>
|
553
|
+
</div>
|
554
|
+
</div>
|
555
|
+
<div class="method">
|
556
|
+
<div class="title">
|
557
|
+
<a name="M000209"></a><b>show</b>()
|
558
|
+
</div>
|
559
|
+
<div class="sourcecode">
|
560
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000209_source')" id="l_M000209_source">show source</a> ]</p>
|
561
|
+
<div id="M000209_source" class="dyn-source">
|
562
|
+
<pre>
|
563
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 150</span>
|
564
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span>
|
565
|
+
<span class="ruby-identifier">arguments</span> = <span class="ruby-ivar">@format_arguments</span>.<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">method</span><span class="ruby-operator">|</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">method</span>)}
|
566
|
+
<span class="ruby-identifier">line</span> = <span class="ruby-identifier">sprintf</span>(<span class="ruby-ivar">@format</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">arguments</span>)
|
567
|
+
|
568
|
+
<span class="ruby-identifier">width</span> = <span class="ruby-identifier">get_width</span>
|
569
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">width</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
|
570
|
+
<span class="ruby-ivar">@out</span>.<span class="ruby-identifier">print</span>(<span class="ruby-identifier">line</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">eol</span>)
|
571
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">width</span>
|
572
|
+
<span class="ruby-ivar">@bar_length</span> = [<span class="ruby-ivar">@bar_length</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-identifier">width</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>), <span class="ruby-value">0</span>].<span class="ruby-identifier">max</span>
|
573
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@bar_length</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span> <span class="ruby-ivar">@out</span>.<span class="ruby-identifier">print</span>(<span class="ruby-identifier">line</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">eol</span>) <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">show</span> <span class="ruby-keyword kw">end</span>
|
574
|
+
<span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt">#line.length < width - 1</span>
|
575
|
+
<span class="ruby-ivar">@bar_length</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">width</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>
|
576
|
+
<span class="ruby-identifier">show</span>
|
577
|
+
<span class="ruby-keyword kw">end</span>
|
578
|
+
<span class="ruby-keyword kw">end</span>
|
579
|
+
</pre>
|
580
|
+
</div>
|
581
|
+
</div>
|
582
|
+
</div>
|
583
|
+
<div class="method">
|
584
|
+
<div class="title">
|
585
|
+
<a name="M000210"></a><b>show_progress</b>()
|
586
|
+
</div>
|
587
|
+
<div class="sourcecode">
|
588
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000210_source')" id="l_M000210_source">show source</a> ]</p>
|
589
|
+
<div id="M000210_source" class="dyn-source">
|
590
|
+
<pre>
|
591
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 166</span>
|
592
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show_progress</span>
|
593
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@total</span>.<span class="ruby-identifier">zero?</span>
|
594
|
+
<span class="ruby-identifier">cur_percentage</span> = <span class="ruby-value">100</span>
|
595
|
+
<span class="ruby-identifier">prev_percentage</span> = <span class="ruby-value">0</span>
|
596
|
+
<span class="ruby-keyword kw">else</span>
|
597
|
+
<span class="ruby-identifier">cur_percentage</span> = (<span class="ruby-ivar">@current</span> <span class="ruby-operator">*</span> <span class="ruby-value">100</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@total</span>).<span class="ruby-identifier">to_i</span>
|
598
|
+
<span class="ruby-identifier">prev_percentage</span> = (<span class="ruby-ivar">@previous</span> <span class="ruby-operator">*</span> <span class="ruby-value">100</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@total</span>).<span class="ruby-identifier">to_i</span>
|
599
|
+
<span class="ruby-keyword kw">end</span>
|
600
|
+
|
601
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cur_percentage</span> <span class="ruby-operator">></span> <span class="ruby-identifier">prev_percentage</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@is_finished</span>
|
602
|
+
<span class="ruby-identifier">show</span>
|
603
|
+
<span class="ruby-keyword kw">end</span>
|
604
|
+
<span class="ruby-keyword kw">end</span>
|
605
|
+
</pre>
|
606
|
+
</div>
|
607
|
+
</div>
|
608
|
+
</div>
|
609
|
+
<div class="method">
|
610
|
+
<div class="title">
|
611
|
+
<a name="M000202"></a><b>stat</b>()
|
612
|
+
</div>
|
613
|
+
<div class="sourcecode">
|
614
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">show source</a> ]</p>
|
615
|
+
<div id="M000202_source" class="dyn-source">
|
616
|
+
<pre>
|
617
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 100</span>
|
618
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stat</span>
|
619
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@is_finished</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">elapsed</span> <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">eta</span> <span class="ruby-keyword kw">end</span>
|
620
|
+
<span class="ruby-keyword kw">end</span>
|
621
|
+
</pre>
|
622
|
+
</div>
|
623
|
+
</div>
|
624
|
+
</div>
|
625
|
+
<div class="method">
|
626
|
+
<div class="title">
|
627
|
+
<a name="M000203"></a><b>stat_for_file_transfer</b>()
|
628
|
+
</div>
|
629
|
+
<div class="sourcecode">
|
630
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">show source</a> ]</p>
|
631
|
+
<div id="M000203_source" class="dyn-source">
|
632
|
+
<pre>
|
633
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 104</span>
|
634
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stat_for_file_transfer</span>
|
635
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@is_finished</span> <span class="ruby-keyword kw">then</span>
|
636
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%s %s %s"</span>, <span class="ruby-identifier">bytes</span>, <span class="ruby-identifier">transfer_rate</span>, <span class="ruby-identifier">elapsed</span>)
|
637
|
+
<span class="ruby-keyword kw">else</span>
|
638
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%s %s %s"</span>, <span class="ruby-identifier">bytes</span>, <span class="ruby-identifier">transfer_rate</span>, <span class="ruby-identifier">eta</span>)
|
639
|
+
<span class="ruby-keyword kw">end</span>
|
640
|
+
<span class="ruby-keyword kw">end</span>
|
641
|
+
</pre>
|
642
|
+
</div>
|
643
|
+
</div>
|
644
|
+
</div>
|
645
|
+
<div class="method">
|
646
|
+
<div class="title">
|
647
|
+
<a name="M000207"></a><b>title</b>()
|
648
|
+
</div>
|
649
|
+
<div class="sourcecode">
|
650
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000207_source')" id="l_M000207_source">show source</a> ]</p>
|
651
|
+
<div id="M000207_source" class="dyn-source">
|
652
|
+
<pre>
|
653
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 129</span>
|
654
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">title</span>
|
655
|
+
<span class="ruby-ivar">@title</span>[<span class="ruby-value">0</span>,<span class="ruby-value">13</span>] <span class="ruby-operator">+</span> <span class="ruby-value str">":"</span>
|
656
|
+
<span class="ruby-keyword kw">end</span>
|
657
|
+
</pre>
|
658
|
+
</div>
|
659
|
+
</div>
|
660
|
+
</div>
|
661
|
+
<div class="method">
|
662
|
+
<div class="title">
|
663
|
+
<a name="M000197"></a><b>transfer_rate</b>()
|
664
|
+
</div>
|
665
|
+
<div class="sourcecode">
|
666
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">show source</a> ]</p>
|
667
|
+
<div id="M000197_source" class="dyn-source">
|
668
|
+
<pre>
|
669
|
+
<span class="ruby-comment cmt"># File lib/facets/progressbar.rb, line 67</span>
|
670
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">transfer_rate</span>
|
671
|
+
<span class="ruby-identifier">bytes_per_second</span> = <span class="ruby-ivar">@current</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> (<span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span> <span class="ruby-operator">-</span> <span class="ruby-ivar">@start_time</span>)
|
672
|
+
<span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">"%s/s"</span>, <span class="ruby-identifier">convert_bytes</span>(<span class="ruby-identifier">bytes_per_second</span>))
|
673
|
+
<span class="ruby-keyword kw">end</span>
|
674
|
+
</pre>
|
675
|
+
</div>
|
676
|
+
</div>
|
677
|
+
</div>
|
678
|
+
</div>
|
679
|
+
|
680
|
+
</div>
|
681
|
+
|
682
|
+
</body>
|
683
|
+
</html>
|