facets 2.5.2 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.rdoc +2245 -0
- data/MANIFEST +20 -725
- data/{README → README.rdoc} +0 -0
- data/RELEASE +37 -48
- data/doc/log/stats/index.html +39 -0
- data/doc/notes/CHANGES +2529 -0
- data/lib/{more → core}/facets/binding/opvars.rb +0 -0
- data/lib/core/facets/integer/length.rb +16 -0
- data/lib/core/facets/kernel/state.rb +50 -0
- data/lib/core/facets/module/extend.rb +2 -2
- data/lib/core/facets/string/camelcase.rb +33 -9
- data/lib/core/facets/string/lowercase.rb +1 -0
- data/lib/core/facets/string/methodize.rb +10 -1
- data/lib/core/facets/string/modulize.rb +8 -0
- data/lib/core/facets/string/pathize.rb +10 -0
- data/lib/core/facets/string/snakecase.rb +2 -2
- data/lib/core/facets/string/underscore.rb +21 -0
- data/lib/core/facets/string/uppercase.rb +23 -0
- data/lib/more/facets/censor.rb +97 -0
- data/lib/more/facets/minitar.rb +11 -11
- data/lib/more/facets/platform.rb +47 -0
- data/lib/more/facets/pry.rb +32 -0
- data/lib/more/facets/string/obfuscate.rb +65 -0
- data/lib/more/facets/string/stylize.rb +169 -0
- data/lib/more/facets/string/words.rb +10 -13
- data/meta/modified +1 -0
- data/meta/package +1 -0
- data/meta/version +1 -0
- data/test/core/integer/test_length.rb +12 -0
- metadata +41 -822
- data/CHANGES +0 -133
- data/VERSION +0 -1
- data/doc/changelogs/CHANGELOG-0.10.30 +0 -239
- data/doc/changelogs/CHANGELOG-1.8.54 +0 -450
- data/doc/changelogs/CHANGELOG-2.4.5 +0 -1654
- data/doc/rdoc/core/classes/Array.html +0 -1208
- data/doc/rdoc/core/classes/Binding.html +0 -364
- data/doc/rdoc/core/classes/Class.html +0 -444
- data/doc/rdoc/core/classes/Comparable.html +0 -250
- data/doc/rdoc/core/classes/Dir.html +0 -395
- data/doc/rdoc/core/classes/Enumerable.html +0 -1262
- data/doc/rdoc/core/classes/Enumerable/Enumerator.html +0 -243
- data/doc/rdoc/core/classes/Enumerator.html +0 -242
- data/doc/rdoc/core/classes/Exception.html +0 -163
- data/doc/rdoc/core/classes/FalseClass.html +0 -131
- data/doc/rdoc/core/classes/File.html +0 -576
- data/doc/rdoc/core/classes/FileTest.html +0 -116
- data/doc/rdoc/core/classes/Float.html +0 -159
- data/doc/rdoc/core/classes/Functor.html +0 -171
- data/doc/rdoc/core/classes/Hash.html +0 -2184
- data/doc/rdoc/core/classes/Indexable.html +0 -629
- data/doc/rdoc/core/classes/InstanceVariables.html +0 -306
- data/doc/rdoc/core/classes/Integer.html +0 -583
- data/doc/rdoc/core/classes/Kernel.html +0 -2269
- data/doc/rdoc/core/classes/Lazy.html +0 -96
- data/doc/rdoc/core/classes/Lazy/Future.html +0 -100
- data/doc/rdoc/core/classes/Lazy/Promise.html +0 -114
- data/doc/rdoc/core/classes/Lazy/PromiseSafe.html +0 -99
- data/doc/rdoc/core/classes/MatchData.html +0 -204
- data/doc/rdoc/core/classes/Module.html +0 -1316
- data/doc/rdoc/core/classes/NilClass.html +0 -217
- data/doc/rdoc/core/classes/Numeric.html +0 -251
- data/doc/rdoc/core/classes/Object.html +0 -161
- data/doc/rdoc/core/classes/ObjectSpace.html +0 -114
- data/doc/rdoc/core/classes/Proc.html +0 -302
- data/doc/rdoc/core/classes/Range.html +0 -360
- data/doc/rdoc/core/classes/Regexp.html +0 -191
- data/doc/rdoc/core/classes/Stackable.html +0 -262
- data/doc/rdoc/core/classes/String.html +0 -2332
- data/doc/rdoc/core/classes/Struct.html +0 -121
- data/doc/rdoc/core/classes/Symbol.html +0 -441
- data/doc/rdoc/core/classes/Time.html +0 -521
- data/doc/rdoc/core/classes/TrueClass.html +0 -131
- data/doc/rdoc/core/classes/UnboundMethod.html +0 -200
- data/doc/rdoc/core/created.rid +0 -1
- data/doc/rdoc/core/files/README.html +0 -287
- data/doc/rdoc/core/files/doc/README_core.html +0 -230
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +0 -101
- data/doc/rdoc/core/files/lib/core/facets/array/delete_unless_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/delete_values_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/index_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +0 -97
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/not_empty_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/recursively_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +0 -97
- data/doc/rdoc/core/files/lib/core/facets/array/traverse_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +0 -97
- data/doc/rdoc/core/files/lib/core/facets/binding/callstack_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/binding/self_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/blank_rb.html +0 -97
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +0 -126
- data/doc/rdoc/core/files/lib/core/facets/cattr_rb.html +0 -100
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_accessor_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_reader_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_writer_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_least_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/comparable/at_most_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/comparable/cap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/comparable/clip_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +0 -109
- data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/dir/descend_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/dir/parent_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +0 -101
- data/doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/graph_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/take_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/append_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/create_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/split_all_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +0 -102
- data/doc/rdoc/core/files/lib/core/facets/file/writelines_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/float_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/functor_rb.html +0 -151
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/argumentize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/at_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/dearray_values_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/mash_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/merge_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_add_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_or_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_push_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/op_rb.html +0 -101
- data/doc/rdoc/core/files/lib/core/facets/hash/op_sub_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/recursively_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/replace_each_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/stringify_keys_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/symbolize_keys_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/to_options_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/hash/to_proc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/update_each_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/update_keys_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +0 -103
- data/doc/rdoc/core/files/lib/core/facets/hash/update_values_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/indexable_rb.html +0 -113
- data/doc/rdoc/core/files/lib/core/facets/integer/even_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/integer/of_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/integer/ordinal_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/kernel/__class___rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__dir___rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__get___rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__here___rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__method___rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/callstack_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/deep_copy_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/kernel/here_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/in_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_send_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/maybe_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_hexid_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/val_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/lazy_rb.html +0 -120
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/can_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/class_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +0 -99
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/nilclass/ergo_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/objectspace/classes_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/objectspace_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/range/to_r_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/range/umbrella_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/range_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/regexp/to_re_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/stackable_rb.html +0 -120
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/compress_lines_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/contains_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/expand_tab_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/indent_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/margin_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/modulize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/op_sub_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/outdent_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/pathize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +0 -100
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +0 -99
- data/doc/rdoc/core/files/lib/core/facets/string/tabto_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/variablize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/struct/attributes_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/struct_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/plain_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/query_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/symbol/re_s_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/symbol/setter_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol/variablize_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/ago_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/time/round_rb.html +0 -96
- data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/time_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +0 -97
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +0 -92
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +0 -92
- data/doc/rdoc/core/fr_class_index.html +0 -85
- data/doc/rdoc/core/fr_file_index.html +0 -381
- data/doc/rdoc/core/fr_method_index.html +0 -520
- data/doc/rdoc/core/index.html +0 -26
- data/doc/rdoc/core/rdoc-style.css +0 -177
- data/doc/rdoc/more/classes/ANSICode.html +0 -493
- data/doc/rdoc/more/classes/Advisable.html +0 -269
- data/doc/rdoc/more/classes/Advisable/Method.html +0 -223
- data/doc/rdoc/more/classes/Archive.html +0 -89
- data/doc/rdoc/more/classes/Archive/Tar.html +0 -89
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +0 -469
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +0 -355
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +0 -216
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +0 -283
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +0 -378
- data/doc/rdoc/more/classes/Argvector.html +0 -487
- data/doc/rdoc/more/classes/Association.html +0 -319
- data/doc/rdoc/more/classes/Association/Kernel.html +0 -131
- data/doc/rdoc/more/classes/Autoarray.html +0 -166
- data/doc/rdoc/more/classes/BBCode.html +0 -532
- data/doc/rdoc/more/classes/BaseX.html +0 -194
- data/doc/rdoc/more/classes/BiCrypt.html +0 -541
- data/doc/rdoc/more/classes/BinReadable.html +0 -485
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +0 -223
- data/doc/rdoc/more/classes/Binding.html +0 -146
- data/doc/rdoc/more/classes/BlankSlate.html +0 -129
- data/doc/rdoc/more/classes/Buildable.html +0 -152
- data/doc/rdoc/more/classes/BuildingBlock.html +0 -360
- data/doc/rdoc/more/classes/Capsule.html +0 -408
- data/doc/rdoc/more/classes/Capsule/MissingFile.html +0 -96
- data/doc/rdoc/more/classes/Cloneable.html +0 -129
- data/doc/rdoc/more/classes/ConsoleUtils.html +0 -238
- data/doc/rdoc/more/classes/Coroutine.html +0 -285
- data/doc/rdoc/more/classes/Crypt.html +0 -275
- data/doc/rdoc/more/classes/CssFilter.html +0 -471
- data/doc/rdoc/more/classes/CssTree.html +0 -149
- data/doc/rdoc/more/classes/Dictionary.html +0 -1255
- data/doc/rdoc/more/classes/Downloader.html +0 -512
- data/doc/rdoc/more/classes/Duration.html +0 -691
- data/doc/rdoc/more/classes/Duration/Numeric.html +0 -389
- data/doc/rdoc/more/classes/Duration/Time.html +0 -124
- data/doc/rdoc/more/classes/Enumerable.html +0 -401
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +0 -170
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +0 -116
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +0 -246
- data/doc/rdoc/more/classes/EnumerablePass.html +0 -214
- data/doc/rdoc/more/classes/Enumerator.html +0 -95
- data/doc/rdoc/more/classes/Enumerator/Filter.html +0 -104
- data/doc/rdoc/more/classes/Equatable.html +0 -188
- data/doc/rdoc/more/classes/Expirable.html +0 -195
- data/doc/rdoc/more/classes/FileList.html +0 -955
- data/doc/rdoc/more/classes/Fileable.html +0 -178
- data/doc/rdoc/more/classes/Fileable/DSL.html +0 -303
- data/doc/rdoc/more/classes/Hash.html +0 -171
- data/doc/rdoc/more/classes/Hash2Xml.html +0 -105
- data/doc/rdoc/more/classes/Hook.html +0 -162
- data/doc/rdoc/more/classes/HtmlFilter.html +0 -329
- data/doc/rdoc/more/classes/IORedirect.html +0 -220
- data/doc/rdoc/more/classes/InfinityClass.html +0 -448
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +0 -195
- data/doc/rdoc/more/classes/Ini.html +0 -447
- data/doc/rdoc/more/classes/Instantiable.html +0 -140
- data/doc/rdoc/more/classes/Instantize.html +0 -160
- data/doc/rdoc/more/classes/Interval.html +0 -877
- data/doc/rdoc/more/classes/It.html +0 -185
- data/doc/rdoc/more/classes/LRUCache.html +0 -321
- data/doc/rdoc/more/classes/LRUCache/Item.html +0 -114
- data/doc/rdoc/more/classes/LRUCache/Sentinel.html +0 -100
- data/doc/rdoc/more/classes/LinkedList.html +0 -432
- data/doc/rdoc/more/classes/LinkedList/Node.html +0 -149
- data/doc/rdoc/more/classes/Matcher.html +0 -335
- data/doc/rdoc/more/classes/Matcher/MatchData.html +0 -115
- data/doc/rdoc/more/classes/Memoizer.html +0 -240
- data/doc/rdoc/more/classes/MissingArgument.html +0 -97
- data/doc/rdoc/more/classes/Module.html +0 -1224
- data/doc/rdoc/more/classes/Multiton.html +0 -205
- data/doc/rdoc/more/classes/Multiton/Inclusive.html +0 -93
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +0 -221
- data/doc/rdoc/more/classes/NackClass.html +0 -98
- data/doc/rdoc/more/classes/Net.html +0 -88
- data/doc/rdoc/more/classes/Net/SMTP.html +0 -140
- data/doc/rdoc/more/classes/NullClass.html +0 -202
- data/doc/rdoc/more/classes/Numeric/Multipliers.html +0 -456
- data/doc/rdoc/more/classes/ObjectReflection.html +0 -172
- data/doc/rdoc/more/classes/OpEsc.html +0 -137
- data/doc/rdoc/more/classes/OpenCascade.html +0 -179
- data/doc/rdoc/more/classes/OpenCollection.html +0 -138
- data/doc/rdoc/more/classes/OpenHash.html +0 -157
- data/doc/rdoc/more/classes/OpenModule.html +0 -135
- data/doc/rdoc/more/classes/OpenObject.html +0 -608
- data/doc/rdoc/more/classes/OpenStructable.html +0 -326
- data/doc/rdoc/more/classes/PQueue.html +0 -607
- data/doc/rdoc/more/classes/Paramix.html +0 -201
- data/doc/rdoc/more/classes/Paramix/Delegator.html +0 -215
- data/doc/rdoc/more/classes/PathList.html +0 -159
- data/doc/rdoc/more/classes/PathList/Finder.html +0 -135
- data/doc/rdoc/more/classes/Platform.html +0 -444
- data/doc/rdoc/more/classes/Pool.html +0 -204
- data/doc/rdoc/more/classes/Proc.html +0 -180
- data/doc/rdoc/more/classes/ProgressBar.html +0 -356
- data/doc/rdoc/more/classes/Prototype.html +0 -243
- data/doc/rdoc/more/classes/RWDelegator.html +0 -194
- data/doc/rdoc/more/classes/Random.html +0 -145
- data/doc/rdoc/more/classes/Random/Array.html +0 -339
- data/doc/rdoc/more/classes/Random/Hash.html +0 -378
- data/doc/rdoc/more/classes/Random/Object.html +0 -119
- data/doc/rdoc/more/classes/Random/String.html +0 -299
- data/doc/rdoc/more/classes/Random/String/Self.html +0 -153
- data/doc/rdoc/more/classes/Recorder.html +0 -203
- data/doc/rdoc/more/classes/Reference.html +0 -196
- data/doc/rdoc/more/classes/Registerable.html +0 -157
- data/doc/rdoc/more/classes/Semaphore.html +0 -260
- data/doc/rdoc/more/classes/Settings.html +0 -288
- data/doc/rdoc/more/classes/Settings/Setting.html +0 -223
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +0 -144
- data/doc/rdoc/more/classes/SimpleStringIO.html +0 -135
- data/doc/rdoc/more/classes/Snapshot.html +0 -194
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +0 -163
- data/doc/rdoc/more/classes/SparseArray.html +0 -1397
- data/doc/rdoc/more/classes/Stash.html +0 -232
- data/doc/rdoc/more/classes/String/Mask.html +0 -555
- data/doc/rdoc/more/classes/String/Words.html +0 -328
- data/doc/rdoc/more/classes/Struct.html +0 -130
- data/doc/rdoc/more/classes/SyncArray.html +0 -127
- data/doc/rdoc/more/classes/SyncHash.html +0 -158
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +0 -211
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +0 -211
- data/doc/rdoc/more/classes/System.html +0 -1117
- data/doc/rdoc/more/classes/Timer.html +0 -464
- data/doc/rdoc/more/classes/Timer/Dummy.html +0 -139
- data/doc/rdoc/more/classes/TracePoint.html +0 -455
- data/doc/rdoc/more/classes/Tuple.html +0 -900
- data/doc/rdoc/more/classes/TypeCast.html +0 -158
- data/doc/rdoc/more/classes/TypeCast/Class.html +0 -127
- data/doc/rdoc/more/classes/TypeCast/Object.html +0 -117
- data/doc/rdoc/more/classes/TypeCastException.html +0 -96
- data/doc/rdoc/more/classes/Uninheritable.html +0 -120
- data/doc/rdoc/more/classes/VersionNumber.html +0 -408
- data/doc/rdoc/more/classes/X.html +0 -117
- data/doc/rdoc/more/classes/XOXO.html +0 -189
- data/doc/rdoc/more/classes/ZipUtils.html +0 -568
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +0 -391
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +0 -391
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +0 -361
- data/doc/rdoc/more/created.rid +0 -1
- data/doc/rdoc/more/files/README.html +0 -286
- data/doc/rdoc/more/files/doc/README_more.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/1stclassmethod_rb.html +0 -181
- data/doc/rdoc/more/files/lib/more/facets/advisable_rb.html +0 -124
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +0 -200
- data/doc/rdoc/more/files/lib/more/facets/argvector_rb.html +0 -142
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +0 -158
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/autoarray_rb.html +0 -125
- data/doc/rdoc/more/files/lib/more/facets/autoreload_rb.html +0 -134
- data/doc/rdoc/more/files/lib/more/facets/basex_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/bbcode_rb.html +0 -138
- data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +0 -124
- data/doc/rdoc/more/files/lib/more/facets/binding/opvars_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/binreadable_rb.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/blankslate_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +0 -230
- data/doc/rdoc/more/files/lib/more/facets/capsule_rb.html +0 -143
- data/doc/rdoc/more/files/lib/more/facets/class_extension_rb.html +0 -155
- data/doc/rdoc/more/files/lib/more/facets/classmethods_rb.html +0 -213
- data/doc/rdoc/more/files/lib/more/facets/cloneable_rb.html +0 -134
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +0 -163
- data/doc/rdoc/more/files/lib/more/facets/crypt_rb.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/cssfilter_rb.html +0 -121
- data/doc/rdoc/more/files/lib/more/facets/daemonize_rb.html +0 -118
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +0 -158
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +0 -201
- data/doc/rdoc/more/files/lib/more/facets/downloader_rb.html +0 -137
- data/doc/rdoc/more/files/lib/more/facets/duplicable_rb.html +0 -100
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +0 -149
- data/doc/rdoc/more/files/lib/more/facets/elementwise_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +0 -154
- data/doc/rdoc/more/files/lib/more/facets/equatable_rb.html +0 -146
- data/doc/rdoc/more/files/lib/more/facets/expirable_rb.html +0 -116
- data/doc/rdoc/more/files/lib/more/facets/fileable_rb.html +0 -138
- data/doc/rdoc/more/files/lib/more/facets/filelist_rb.html +0 -165
- data/doc/rdoc/more/files/lib/more/facets/filter_rb.html +0 -97
- data/doc/rdoc/more/files/lib/more/facets/heap_rb.html +0 -132
- data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html +0 -153
- data/doc/rdoc/more/files/lib/more/facets/infinity_rb.html +0 -153
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +0 -124
- data/doc/rdoc/more/files/lib/more/facets/ini_rb.html +0 -105
- data/doc/rdoc/more/files/lib/more/facets/instantiable_rb.html +0 -119
- data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/instantize_rb.html +0 -160
- data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +0 -163
- data/doc/rdoc/more/files/lib/more/facets/ioredirect_rb.html +0 -133
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +0 -94
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/linkedlist_rb.html +0 -159
- data/doc/rdoc/more/files/lib/more/facets/lrucache_rb.html +0 -129
- data/doc/rdoc/more/files/lib/more/facets/main_rb.html +0 -126
- data/doc/rdoc/more/files/lib/more/facets/matcher_rb.html +0 -97
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +0 -164
- data/doc/rdoc/more/files/lib/more/facets/memoizer_rb.html +0 -152
- data/doc/rdoc/more/files/lib/more/facets/methodspace_rb.html +0 -138
- data/doc/rdoc/more/files/lib/more/facets/minitar_rb.html +0 -203
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +0 -132
- data/doc/rdoc/more/files/lib/more/facets/multiton_rb.html +0 -187
- data/doc/rdoc/more/files/lib/more/facets/nackclass_rb.html +0 -120
- data/doc/rdoc/more/files/lib/more/facets/net/smtp_tls_rb.html +0 -143
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/nullclass_rb.html +0 -122
- data/doc/rdoc/more/files/lib/more/facets/opencascade_rb.html +0 -114
- data/doc/rdoc/more/files/lib/more/facets/opencollection_rb.html +0 -123
- data/doc/rdoc/more/files/lib/more/facets/openhash_rb.html +0 -107
- data/doc/rdoc/more/files/lib/more/facets/openmodule_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +0 -169
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +0 -94
- data/doc/rdoc/more/files/lib/more/facets/orderedhash_rb.html +0 -143
- data/doc/rdoc/more/files/lib/more/facets/ostructable_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/overload_rb.html +0 -119
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +0 -135
- data/doc/rdoc/more/files/lib/more/facets/partial_rb.html +0 -124
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +0 -133
- data/doc/rdoc/more/files/lib/more/facets/platform_rb.html +0 -103
- data/doc/rdoc/more/files/lib/more/facets/pool_rb.html +0 -131
- data/doc/rdoc/more/files/lib/more/facets/pqueue_rb.html +0 -128
- data/doc/rdoc/more/files/lib/more/facets/progressbar_rb.html +0 -126
- data/doc/rdoc/more/files/lib/more/facets/prototype_rb.html +0 -102
- data/doc/rdoc/more/files/lib/more/facets/random_rb.html +0 -149
- data/doc/rdoc/more/files/lib/more/facets/rbsystem_rb.html +0 -144
- data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +0 -154
- data/doc/rdoc/more/files/lib/more/facets/reference_rb.html +0 -130
- data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +0 -134
- data/doc/rdoc/more/files/lib/more/facets/registerable_rb.html +0 -98
- data/doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html +0 -122
- data/doc/rdoc/more/files/lib/more/facets/semaphore_rb.html +0 -120
- data/doc/rdoc/more/files/lib/more/facets/settings_rb.html +0 -141
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +0 -177
- data/doc/rdoc/more/files/lib/more/facets/sparse_array_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/stash_rb.html +0 -166
- data/doc/rdoc/more/files/lib/more/facets/string/mask_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +0 -96
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +0 -92
- data/doc/rdoc/more/files/lib/more/facets/syncarray_rb.html +0 -125
- data/doc/rdoc/more/files/lib/more/facets/synchash_rb.html +0 -138
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +0 -132
- data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +0 -174
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +0 -172
- data/doc/rdoc/more/files/lib/more/facets/tuple_rb.html +0 -160
- data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +0 -215
- data/doc/rdoc/more/files/lib/more/facets/uninheritable_rb.html +0 -129
- data/doc/rdoc/more/files/lib/more/facets/version_rb.html +0 -132
- data/doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html +0 -97
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +0 -136
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +0 -105
- data/doc/rdoc/more/fr_class_index.html +0 -185
- data/doc/rdoc/more/fr_file_index.html +0 -156
- data/doc/rdoc/more/fr_method_index.html +0 -1132
- data/doc/rdoc/more/index.html +0 -26
- data/doc/rdoc/more/rdoc-style.css +0 -177
- data/lib/core/facets/kernel/__here__.rb +0 -8
- data/lib/more/facets/buildable.rb +0 -344
- data/lib/more/facets/cssfilter.rb +0 -254
- data/lib/more/facets/htmlfilter.rb +0 -595
- data/lib/more/facets/kernel/meta.rb +0 -32
- data/lib/more/facets/prototype.rb +0 -88
- data/lib/more/facets/rwdelegator.rb +0 -74
@@ -1,900 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Class: Tuple</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 = "+"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "-"
|
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 />Tuple</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/more/facets/tuple_rb.html">lib/more/facets/tuple.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="Tuple.html">Tuple</a></h1>
|
79
|
-
<p>
|
80
|
-
A tuple can be made using <a href="Tuple.html#M000629">new</a> or #[] just
|
81
|
-
as one builds an array, or using the <a href="Tuple.html#M000633">to_t</a>
|
82
|
-
method on a string or array. With a string tuple remembers the <a
|
83
|
-
href="Tuple.html#M000657">first</a> non-alphanumeric character as the tuple
|
84
|
-
<a href="Tuple.html#M000630">divider</a>.
|
85
|
-
</p>
|
86
|
-
<h2>Usage</h2>
|
87
|
-
<pre>
|
88
|
-
t1 = Tuple[1,2,3]
|
89
|
-
t2 = Tuple[2,3,4]
|
90
|
-
|
91
|
-
t1 < t2 #=> true
|
92
|
-
t1 > t2 #=> false
|
93
|
-
|
94
|
-
t1 = '1.2.3'.to_t
|
95
|
-
t2 = '1-2-3'.to_t
|
96
|
-
|
97
|
-
puts t1 #=> 1.2.3
|
98
|
-
puts t2 #=> 1-2-3
|
99
|
-
|
100
|
-
t1 == t2 #=> true
|
101
|
-
</pre>
|
102
|
-
<p>
|
103
|
-
Keep in mind that <a href="Tuple.html">Tuple</a>[1,2,3] is not the same as
|
104
|
-
<a
|
105
|
-
href="Tuple.html">Tuple</a>[‘1’,’2’,’3’].
|
106
|
-
</p>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
<div class="sectiontitle">Methods</div>
|
112
|
-
<span style="padding-right: 5px;"><a href="#M000647"><<</a></span>
|
113
|
-
<span style="padding-right: 5px;"><a href="#M000655"><=></a></span>
|
114
|
-
<span style="padding-right: 5px;"><a href="#M000656">=~</a></span>
|
115
|
-
<span style="padding-right: 5px;"><a href="#M000643">[]</a></span>
|
116
|
-
<span style="padding-right: 5px;"><a href="#M000663">[]</a></span>
|
117
|
-
<span style="padding-right: 5px;"><a href="#M000644">[]=</a></span>
|
118
|
-
<span style="padding-right: 5px;"><a href="#M000665">cast_from_array</a></span>
|
119
|
-
<span style="padding-right: 5px;"><a href="#M000664">cast_from_string</a></span>
|
120
|
-
<span style="padding-right: 5px;"><a href="#M000666">constraint_to_lambda</a></span>
|
121
|
-
<span style="padding-right: 5px;"><a href="#M000630">divider</a></span>
|
122
|
-
<span style="padding-right: 5px;"><a href="#M000641">each</a></span>
|
123
|
-
<span style="padding-right: 5px;"><a href="#M000642">each_index</a></span>
|
124
|
-
<span style="padding-right: 5px;"><a href="#M000640">empty?</a></span>
|
125
|
-
<span style="padding-right: 5px;"><a href="#M000654">eql?</a></span>
|
126
|
-
<span style="padding-right: 5px;"><a href="#M000657">first</a></span>
|
127
|
-
<span style="padding-right: 5px;"><a href="#M000662">hash</a></span>
|
128
|
-
<span style="padding-right: 5px;"><a href="#M000645">index</a></span>
|
129
|
-
<span style="padding-right: 5px;"><a href="#M000632">inspect</a></span>
|
130
|
-
<span style="padding-right: 5px;"><a href="#M000658">last</a></span>
|
131
|
-
<span style="padding-right: 5px;"><a href="#M000639">length</a></span>
|
132
|
-
<span style="padding-right: 5px;"><a href="#M000659">major</a></span>
|
133
|
-
<span style="padding-right: 5px;"><a href="#M000660">minor</a></span>
|
134
|
-
<span style="padding-right: 5px;"><a href="#M000628">multiton_id</a></span>
|
135
|
-
<span style="padding-right: 5px;"><a href="#M000629">new</a></span>
|
136
|
-
<span style="padding-right: 5px;"><a href="#M000667">parse_constraint</a></span>
|
137
|
-
<span style="padding-right: 5px;"><a href="#M000648">pop</a></span>
|
138
|
-
<span style="padding-right: 5px;"><a href="#M000651">pot</a></span>
|
139
|
-
<span style="padding-right: 5px;"><a href="#M000650">pull</a></span>
|
140
|
-
<span style="padding-right: 5px;"><a href="#M000649">push</a></span>
|
141
|
-
<span style="padding-right: 5px;"><a href="#M000646">rindex</a></span>
|
142
|
-
<span style="padding-right: 5px;"><a href="#M000653">shift</a></span>
|
143
|
-
<span style="padding-right: 5px;"><a href="#M000638">size</a></span>
|
144
|
-
<span style="padding-right: 5px;"><a href="#M000661">teeny</a></span>
|
145
|
-
<span style="padding-right: 5px;"><a href="#M000635">to_a</a></span>
|
146
|
-
<span style="padding-right: 5px;"><a href="#M000636">to_ary</a></span>
|
147
|
-
<span style="padding-right: 5px;"><a href="#M000637">to_s</a></span>
|
148
|
-
<span style="padding-right: 5px;"><a href="#M000633">to_t</a></span>
|
149
|
-
<span style="padding-right: 5px;"><a href="#M000634">to_tuple</a></span>
|
150
|
-
<span style="padding-right: 5px;"><a href="#M000652">unshift</a></span>
|
151
|
-
<span style="padding-right: 5px;"><a href="#M000631">values</a></span>
|
152
|
-
|
153
|
-
<div class="sectiontitle">Included Modules</div>
|
154
|
-
<ul>
|
155
|
-
<li><a href="Multiton.html">::Multiton</a></li>
|
156
|
-
<li><a href="Enumerable.html">::Enumerable</a></li>
|
157
|
-
<li>::Comparable</li>
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<div class="sectiontitle">Attributes</div>
|
164
|
-
<table border='0' cellpadding='5'>
|
165
|
-
<tr valign='top'>
|
166
|
-
<td class='attr-rw'>
|
167
|
-
[RW]
|
168
|
-
</td>
|
169
|
-
<td class='attr-name'>default</td>
|
170
|
-
<td class='attr-desc'></td>
|
171
|
-
</tr>
|
172
|
-
</table>
|
173
|
-
|
174
|
-
<div class="sectiontitle">Public Class methods</div>
|
175
|
-
<div class="method">
|
176
|
-
<div class="title">
|
177
|
-
<a name="M000663"></a><b>[]</b>( *args )
|
178
|
-
</div>
|
179
|
-
<div class="sourcecode">
|
180
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000663_source')" id="l_M000663_source">+</a> ]</p>
|
181
|
-
<div id="M000663_source" class="dyn-source">
|
182
|
-
<pre>
|
183
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 226</span>
|
184
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
185
|
-
<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">args</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="M000665"></a><b>cast_from_array</b>( arr )
|
194
|
-
</div>
|
195
|
-
<div class="sourcecode">
|
196
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000665_source')" id="l_M000665_source">+</a> ]</p>
|
197
|
-
<div id="M000665_source" class="dyn-source">
|
198
|
-
<pre>
|
199
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 257</span>
|
200
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from_array</span>( <span class="ruby-identifier">arr</span> )
|
201
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">arr</span> )
|
202
|
-
<span class="ruby-keyword kw">end</span>
|
203
|
-
</pre>
|
204
|
-
</div>
|
205
|
-
</div>
|
206
|
-
</div>
|
207
|
-
<div class="method">
|
208
|
-
<div class="title">
|
209
|
-
<a name="M000664"></a><b>cast_from_string</b>( str, &yld )
|
210
|
-
</div>
|
211
|
-
<div class="description">
|
212
|
-
<p>
|
213
|
-
Translates a string in the form on a set of numerical and/or alphanumerical
|
214
|
-
characters separated by non-word characters (eg \W+) into a <a
|
215
|
-
href="Tuple.html">Tuple</a>. The <a href="Tuple.html#M000631">values</a> of
|
216
|
-
the tuple will be converted to integers if they are purely numerical.
|
217
|
-
</p>
|
218
|
-
<pre>
|
219
|
-
Tuple.cast_from_string('1.2.3a') #=> [1,2,"3a"]
|
220
|
-
</pre>
|
221
|
-
<p>
|
222
|
-
<a href="It.html">It</a> you would like to control the interpretation of <a
|
223
|
-
href="Tuple.html#M000641">each</a> value as it is added to the tuple you
|
224
|
-
can supply a block.
|
225
|
-
</p>
|
226
|
-
<pre>
|
227
|
-
Tuple.cast_from_string('1.2.3a'){ |v| v.upcase } #=> ["1","2","3A"]
|
228
|
-
</pre>
|
229
|
-
<p>
|
230
|
-
This method is called by String#to_t.
|
231
|
-
</p>
|
232
|
-
</div>
|
233
|
-
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000664_source')" id="l_M000664_source">+</a> ]</p>
|
235
|
-
<div id="M000664_source" class="dyn-source">
|
236
|
-
<pre>
|
237
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 244</span>
|
238
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from_string</span>( <span class="ruby-identifier">str</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
239
|
-
<span class="ruby-identifier">args</span> = <span class="ruby-identifier">str</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\W+/</span>)
|
240
|
-
<span class="ruby-identifier">div</span> = <span class="ruby-regexp re">/\W+/</span>.<span class="ruby-identifier">match</span>( <span class="ruby-identifier">str</span>.<span class="ruby-identifier">to_s</span> )[<span class="ruby-value">0</span>]
|
241
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
242
|
-
<span class="ruby-identifier">args</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">collect</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">yld</span>[<span class="ruby-identifier">a</span>] }
|
243
|
-
<span class="ruby-keyword kw">else</span>
|
244
|
-
<span class="ruby-identifier">args</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-regexp re">/^[0-9]+$/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">i</span> <span class="ruby-value">? </span><span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">i</span> }
|
245
|
-
<span class="ruby-keyword kw">end</span>
|
246
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">args</span> ).<span class="ruby-identifier">divider</span>( <span class="ruby-identifier">div</span> )
|
247
|
-
<span class="ruby-keyword kw">end</span>
|
248
|
-
</pre>
|
249
|
-
</div>
|
250
|
-
</div>
|
251
|
-
</div>
|
252
|
-
<div class="method">
|
253
|
-
<div class="title">
|
254
|
-
<a name="M000666"></a><b>constraint_to_lambda</b>( constraint, &yld )
|
255
|
-
</div>
|
256
|
-
<div class="description">
|
257
|
-
<p>
|
258
|
-
Parses a constraint returning the operation as a lambda.
|
259
|
-
</p>
|
260
|
-
</div>
|
261
|
-
<div class="sourcecode">
|
262
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000666_source')" id="l_M000666_source">+</a> ]</p>
|
263
|
-
<div id="M000666_source" class="dyn-source">
|
264
|
-
<pre>
|
265
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 263</span>
|
266
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">constraint_to_lambda</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
267
|
-
<span class="ruby-identifier">op</span>, <span class="ruby-identifier">val</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">parse_constraint</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
268
|
-
<span class="ruby-identifier">lambda</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">op</span>, <span class="ruby-identifier">val</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="M000628"></a><b>multiton_id</b>(arg=0, default=0, &block)
|
277
|
-
</div>
|
278
|
-
<div class="sourcecode">
|
279
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000628_source')" id="l_M000628_source">+</a> ]</p>
|
280
|
-
<div id="M000628_source" class="dyn-source">
|
281
|
-
<pre>
|
282
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 83</span>
|
283
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">multiton_id</span>(<span class="ruby-identifier">arg</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">default</span>=<span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
284
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
285
|
-
<span class="ruby-identifier">values</span> = []
|
286
|
-
<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">times</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">values</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">block</span>[<span class="ruby-identifier">i</span>] }
|
287
|
-
<span class="ruby-identifier">elseif</span> <span class="ruby-constant">Integer</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">arg</span>
|
288
|
-
<span class="ruby-identifier">values</span> = [ <span class="ruby-identifier">default</span> ] <span class="ruby-operator">*</span> <span class="ruby-identifier">arg</span>
|
289
|
-
<span class="ruby-keyword kw">else</span>
|
290
|
-
<span class="ruby-identifier">values</span> = <span class="ruby-identifier">arg</span>.<span class="ruby-identifier">to_ary</span>
|
291
|
-
<span class="ruby-keyword kw">end</span>
|
292
|
-
<span class="ruby-identifier">values</span>
|
293
|
-
<span class="ruby-keyword kw">end</span>
|
294
|
-
</pre>
|
295
|
-
</div>
|
296
|
-
</div>
|
297
|
-
</div>
|
298
|
-
<div class="method">
|
299
|
-
<div class="title">
|
300
|
-
<a name="M000629"></a><b>new</b>(arg=0, default=0, &blk)
|
301
|
-
</div>
|
302
|
-
<div class="sourcecode">
|
303
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000629_source')" id="l_M000629_source">+</a> ]</p>
|
304
|
-
<div id="M000629_source" class="dyn-source">
|
305
|
-
<pre>
|
306
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 95</span>
|
307
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">arg</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">default</span>=<span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
308
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
309
|
-
<span class="ruby-ivar">@values</span> = []
|
310
|
-
<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">times</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@values</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">blk</span>[<span class="ruby-identifier">i</span>] }
|
311
|
-
<span class="ruby-identifier">elseif</span> <span class="ruby-constant">Integer</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">arg</span>
|
312
|
-
<span class="ruby-ivar">@values</span> = [ <span class="ruby-identifier">default</span> ] <span class="ruby-operator">*</span> <span class="ruby-identifier">arg</span>
|
313
|
-
<span class="ruby-keyword kw">else</span>
|
314
|
-
<span class="ruby-ivar">@values</span> = <span class="ruby-identifier">arg</span>.<span class="ruby-identifier">to_ary</span>
|
315
|
-
<span class="ruby-keyword kw">end</span>
|
316
|
-
<span class="ruby-ivar">@default</span> = <span class="ruby-identifier">default</span>
|
317
|
-
<span class="ruby-ivar">@divider</span> = <span class="ruby-value str">'.'</span>
|
318
|
-
<span class="ruby-keyword kw">end</span>
|
319
|
-
</pre>
|
320
|
-
</div>
|
321
|
-
</div>
|
322
|
-
</div>
|
323
|
-
<div class="method">
|
324
|
-
<div class="title">
|
325
|
-
<a name="M000667"></a><b>parse_constraint</b>( constraint, &yld )
|
326
|
-
</div>
|
327
|
-
<div class="sourcecode">
|
328
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000667_source')" id="l_M000667_source">+</a> ]</p>
|
329
|
-
<div id="M000667_source" class="dyn-source">
|
330
|
-
<pre>
|
331
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 268</span>
|
332
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_constraint</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
333
|
-
<span class="ruby-identifier">constraint</span> = <span class="ruby-identifier">constraint</span>.<span class="ruby-identifier">strip</span>
|
334
|
-
<span class="ruby-identifier">re</span> = <span class="ruby-regexp re">%r{^(=~|~>|<=|>=|==|=|<|>)?\s*(\d+(:?[-.]\d+)*)$}</span>
|
335
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">md</span> = <span class="ruby-identifier">re</span>.<span class="ruby-identifier">match</span>( <span class="ruby-identifier">constraint</span> )
|
336
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">op</span> = <span class="ruby-identifier">md</span>[<span class="ruby-value">1</span>]
|
337
|
-
<span class="ruby-identifier">op</span> = <span class="ruby-value str">'=~'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'~>'</span>
|
338
|
-
<span class="ruby-identifier">op</span> = <span class="ruby-value str">'=='</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'='</span>
|
339
|
-
<span class="ruby-identifier">val</span> = <span class="ruby-identifier">cast_from_string</span>( <span class="ruby-identifier">md</span>[<span class="ruby-value">2</span>], <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> ) <span class="ruby-comment cmt">#instance( md[2] )</span>
|
340
|
-
<span class="ruby-keyword kw">else</span>
|
341
|
-
<span class="ruby-identifier">op</span> = <span class="ruby-value str">'=='</span>
|
342
|
-
<span class="ruby-identifier">val</span> = <span class="ruby-identifier">cast_from_string</span>( <span class="ruby-identifier">constraint</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> ) <span class="ruby-comment cmt">#instance( constraint )</span>
|
343
|
-
<span class="ruby-keyword kw">end</span>
|
344
|
-
<span class="ruby-keyword kw">else</span>
|
345
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"invalid constraint"</span>
|
346
|
-
<span class="ruby-keyword kw">end</span>
|
347
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">op</span>, <span class="ruby-identifier">val</span>
|
348
|
-
<span class="ruby-keyword kw">end</span>
|
349
|
-
</pre>
|
350
|
-
</div>
|
351
|
-
</div>
|
352
|
-
</div>
|
353
|
-
<div class="sectiontitle">Public Instance methods</div>
|
354
|
-
<div class="method">
|
355
|
-
<div class="title">
|
356
|
-
<a name="M000647"></a><b><<</b>( obj )
|
357
|
-
</div>
|
358
|
-
<div class="description">
|
359
|
-
<p>
|
360
|
-
Unlike Array, <a href="Tuple.html">Tuple</a>#<< cannot act in place
|
361
|
-
becuase <a href="Tuple.html">Tuple</a>‘s are immutable.
|
362
|
-
</p>
|
363
|
-
</div>
|
364
|
-
<div class="sourcecode">
|
365
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000647_source')" id="l_M000647_source">+</a> ]</p>
|
366
|
-
<div id="M000647_source" class="dyn-source">
|
367
|
-
<pre>
|
368
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 164</span>
|
369
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>( <span class="ruby-identifier">obj</span> )
|
370
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">obj</span> )
|
371
|
-
<span class="ruby-keyword kw">end</span>
|
372
|
-
</pre>
|
373
|
-
</div>
|
374
|
-
</div>
|
375
|
-
</div>
|
376
|
-
<div class="method">
|
377
|
-
<div class="title">
|
378
|
-
<a name="M000655"></a><b><=></b>( other )
|
379
|
-
</div>
|
380
|
-
<div class="sourcecode">
|
381
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000655_source')" id="l_M000655_source">+</a> ]</p>
|
382
|
-
<div id="M000655_source" class="dyn-source">
|
383
|
-
<pre>
|
384
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 190</span>
|
385
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><=></span>( <span class="ruby-identifier">other</span> )
|
386
|
-
<span class="ruby-identifier">other</span> = <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_t</span>
|
387
|
-
[<span class="ruby-identifier">size</span>, <span class="ruby-identifier">other</span>.<span class="ruby-identifier">size</span>].<span class="ruby-identifier">max</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
388
|
-
<span class="ruby-identifier">c</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator"><=></span> <span class="ruby-identifier">other</span>[<span class="ruby-identifier">i</span>]
|
389
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">c</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">c</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
390
|
-
<span class="ruby-keyword kw">end</span>
|
391
|
-
<span class="ruby-value">0</span>
|
392
|
-
<span class="ruby-keyword kw">end</span>
|
393
|
-
</pre>
|
394
|
-
</div>
|
395
|
-
</div>
|
396
|
-
</div>
|
397
|
-
<div class="method">
|
398
|
-
<div class="title">
|
399
|
-
<a name="M000656"></a><b>=~</b>( other )
|
400
|
-
</div>
|
401
|
-
<div class="description">
|
402
|
-
<p>
|
403
|
-
For pessimistic constraint (like ’~>’ in gems)
|
404
|
-
</p>
|
405
|
-
</div>
|
406
|
-
<div class="sourcecode">
|
407
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000656_source')" id="l_M000656_source">+</a> ]</p>
|
408
|
-
<div id="M000656_source" class="dyn-source">
|
409
|
-
<pre>
|
410
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 200</span>
|
411
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">=~</span>( <span class="ruby-identifier">other</span> )
|
412
|
-
<span class="ruby-identifier">other</span> = <span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_t</span>
|
413
|
-
<span class="ruby-identifier">upver</span> = <span class="ruby-identifier">other</span>.<span class="ruby-identifier">dup</span>
|
414
|
-
<span class="ruby-identifier">upver</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
415
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">other</span> <span class="ruby-keyword kw">and</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">upver</span>
|
416
|
-
<span class="ruby-keyword kw">end</span>
|
417
|
-
</pre>
|
418
|
-
</div>
|
419
|
-
</div>
|
420
|
-
</div>
|
421
|
-
<div class="method">
|
422
|
-
<div class="title">
|
423
|
-
<a name="M000643"></a><b>[]</b>(i)
|
424
|
-
</div>
|
425
|
-
<div class="sourcecode">
|
426
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000643_source')" id="l_M000643_source">+</a> ]</p>
|
427
|
-
<div id="M000643_source" class="dyn-source">
|
428
|
-
<pre>
|
429
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 151</span>
|
430
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">i</span>)
|
431
|
-
<span class="ruby-ivar">@values</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">i</span>,<span class="ruby-ivar">@default</span>)
|
432
|
-
<span class="ruby-keyword kw">end</span>
|
433
|
-
</pre>
|
434
|
-
</div>
|
435
|
-
</div>
|
436
|
-
</div>
|
437
|
-
<div class="method">
|
438
|
-
<div class="title">
|
439
|
-
<a name="M000644"></a><b>[]=</b>(i,v)
|
440
|
-
</div>
|
441
|
-
<div class="sourcecode">
|
442
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000644_source')" id="l_M000644_source">+</a> ]</p>
|
443
|
-
<div id="M000644_source" class="dyn-source">
|
444
|
-
<pre>
|
445
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 155</span>
|
446
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">i</span>,<span class="ruby-identifier">v</span>)
|
447
|
-
<span class="ruby-ivar">@values</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-identifier">v</span>
|
448
|
-
<span class="ruby-keyword kw">end</span>
|
449
|
-
</pre>
|
450
|
-
</div>
|
451
|
-
</div>
|
452
|
-
</div>
|
453
|
-
<div class="method">
|
454
|
-
<div class="title">
|
455
|
-
<a name="M000630"></a><b>divider</b>( set=nil )
|
456
|
-
</div>
|
457
|
-
<div class="sourcecode">
|
458
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000630_source')" id="l_M000630_source">+</a> ]</p>
|
459
|
-
<div id="M000630_source" class="dyn-source">
|
460
|
-
<pre>
|
461
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 110</span>
|
462
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divider</span>( <span class="ruby-identifier">set</span>=<span class="ruby-keyword kw">nil</span> )
|
463
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@divider</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">set</span>
|
464
|
-
<span class="ruby-ivar">@divider</span> = <span class="ruby-identifier">set</span>
|
465
|
-
<span class="ruby-keyword kw">self</span>
|
466
|
-
<span class="ruby-keyword kw">end</span>
|
467
|
-
</pre>
|
468
|
-
</div>
|
469
|
-
</div>
|
470
|
-
</div>
|
471
|
-
<div class="method">
|
472
|
-
<div class="title">
|
473
|
-
<a name="M000641"></a><b>each</b>( &block )
|
474
|
-
</div>
|
475
|
-
<div class="sourcecode">
|
476
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000641_source')" id="l_M000641_source">+</a> ]</p>
|
477
|
-
<div id="M000641_source" class="dyn-source">
|
478
|
-
<pre>
|
479
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 143</span>
|
480
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
481
|
-
<span class="ruby-ivar">@values</span>.<span class="ruby-identifier">each</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
482
|
-
<span class="ruby-keyword kw">end</span>
|
483
|
-
</pre>
|
484
|
-
</div>
|
485
|
-
</div>
|
486
|
-
</div>
|
487
|
-
<div class="method">
|
488
|
-
<div class="title">
|
489
|
-
<a name="M000642"></a><b>each_index</b>( &block )
|
490
|
-
</div>
|
491
|
-
<div class="sourcecode">
|
492
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000642_source')" id="l_M000642_source">+</a> ]</p>
|
493
|
-
<div id="M000642_source" class="dyn-source">
|
494
|
-
<pre>
|
495
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 147</span>
|
496
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_index</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
497
|
-
<span class="ruby-ivar">@values</span>.<span class="ruby-identifier">each_index</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
498
|
-
<span class="ruby-keyword kw">end</span>
|
499
|
-
</pre>
|
500
|
-
</div>
|
501
|
-
</div>
|
502
|
-
</div>
|
503
|
-
<div class="method">
|
504
|
-
<div class="title">
|
505
|
-
<a name="M000640"></a><b>empty?</b>()
|
506
|
-
</div>
|
507
|
-
<div class="sourcecode">
|
508
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000640_source')" id="l_M000640_source">+</a> ]</p>
|
509
|
-
<div id="M000640_source" class="dyn-source">
|
510
|
-
<pre>
|
511
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 137</span>
|
512
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>()
|
513
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">empty?</span>
|
514
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@values</span> <span class="ruby-operator">==</span> [ <span class="ruby-ivar">@default</span> ] <span class="ruby-operator">*</span> <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">size</span>
|
515
|
-
<span class="ruby-keyword kw">false</span>
|
516
|
-
<span class="ruby-keyword kw">end</span>
|
517
|
-
</pre>
|
518
|
-
</div>
|
519
|
-
</div>
|
520
|
-
</div>
|
521
|
-
<div class="method">
|
522
|
-
<div class="title">
|
523
|
-
<a name="M000654"></a><b>eql?</b>( other )
|
524
|
-
</div>
|
525
|
-
<div class="description">
|
526
|
-
<p>
|
527
|
-
Returns true if two tuple references are for the very same tuple.
|
528
|
-
</p>
|
529
|
-
</div>
|
530
|
-
<div class="sourcecode">
|
531
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000654_source')" id="l_M000654_source">+</a> ]</p>
|
532
|
-
<div id="M000654_source" class="dyn-source">
|
533
|
-
<pre>
|
534
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 185</span>
|
535
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>( <span class="ruby-identifier">other</span> )
|
536
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object_id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">object_id</span>
|
537
|
-
<span class="ruby-comment cmt">#return true if values.eql? other.values</span>
|
538
|
-
<span class="ruby-keyword kw">end</span>
|
539
|
-
</pre>
|
540
|
-
</div>
|
541
|
-
</div>
|
542
|
-
</div>
|
543
|
-
<div class="method">
|
544
|
-
<div class="title">
|
545
|
-
<a name="M000657"></a><b>first</b>()
|
546
|
-
</div>
|
547
|
-
<div class="sourcecode">
|
548
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000657_source')" id="l_M000657_source">+</a> ]</p>
|
549
|
-
<div id="M000657_source" class="dyn-source">
|
550
|
-
<pre>
|
551
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 207</span>
|
552
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">first</span> <span class="ruby-keyword kw">end</span>
|
553
|
-
</pre>
|
554
|
-
</div>
|
555
|
-
</div>
|
556
|
-
</div>
|
557
|
-
<div class="method">
|
558
|
-
<div class="title">
|
559
|
-
<a name="M000662"></a><b>hash</b>()
|
560
|
-
</div>
|
561
|
-
<div class="description">
|
562
|
-
<p>
|
563
|
-
Unique <a href="Tuple.html#M000662">hash</a> value.
|
564
|
-
</p>
|
565
|
-
</div>
|
566
|
-
<div class="sourcecode">
|
567
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000662_source')" id="l_M000662_source">+</a> ]</p>
|
568
|
-
<div id="M000662_source" class="dyn-source">
|
569
|
-
<pre>
|
570
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 216</span>
|
571
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash</span>
|
572
|
-
<span class="ruby-comment cmt"># TODO This needs to take into account the default</span>
|
573
|
-
<span class="ruby-comment cmt"># and maybe the divider too.</span>
|
574
|
-
<span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">hash</span>
|
575
|
-
<span class="ruby-keyword kw">end</span>
|
576
|
-
</pre>
|
577
|
-
</div>
|
578
|
-
</div>
|
579
|
-
</div>
|
580
|
-
<div class="method">
|
581
|
-
<div class="title">
|
582
|
-
<a name="M000645"></a><b>index</b>()
|
583
|
-
</div>
|
584
|
-
<div class="sourcecode">
|
585
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000645_source')" id="l_M000645_source">+</a> ]</p>
|
586
|
-
<div id="M000645_source" class="dyn-source">
|
587
|
-
<pre>
|
588
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 159</span>
|
589
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">index</span> <span class="ruby-keyword kw">end</span>
|
590
|
-
</pre>
|
591
|
-
</div>
|
592
|
-
</div>
|
593
|
-
</div>
|
594
|
-
<div class="method">
|
595
|
-
<div class="title">
|
596
|
-
<a name="M000632"></a><b>inspect</b>()
|
597
|
-
</div>
|
598
|
-
<div class="sourcecode">
|
599
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000632_source')" id="l_M000632_source">+</a> ]</p>
|
600
|
-
<div id="M000632_source" class="dyn-source">
|
601
|
-
<pre>
|
602
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 122</span>
|
603
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>() <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">inspect</span> <span class="ruby-keyword kw">end</span>
|
604
|
-
</pre>
|
605
|
-
</div>
|
606
|
-
</div>
|
607
|
-
</div>
|
608
|
-
<div class="method">
|
609
|
-
<div class="title">
|
610
|
-
<a name="M000658"></a><b>last</b>()
|
611
|
-
</div>
|
612
|
-
<div class="sourcecode">
|
613
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000658_source')" id="l_M000658_source">+</a> ]</p>
|
614
|
-
<div id="M000658_source" class="dyn-source">
|
615
|
-
<pre>
|
616
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 208</span>
|
617
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">last</span> <span class="ruby-keyword kw">end</span>
|
618
|
-
</pre>
|
619
|
-
</div>
|
620
|
-
</div>
|
621
|
-
</div>
|
622
|
-
<div class="method">
|
623
|
-
<div class="title">
|
624
|
-
<a name="M000639"></a><b>length</b>()
|
625
|
-
</div>
|
626
|
-
<div class="sourcecode">
|
627
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000639_source')" id="l_M000639_source">+</a> ]</p>
|
628
|
-
<div id="M000639_source" class="dyn-source">
|
629
|
-
<pre>
|
630
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 135</span>
|
631
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">size</span> <span class="ruby-keyword kw">end</span>
|
632
|
-
</pre>
|
633
|
-
</div>
|
634
|
-
</div>
|
635
|
-
</div>
|
636
|
-
<div class="method">
|
637
|
-
<div class="title">
|
638
|
-
<a name="M000659"></a><b>major</b>()
|
639
|
-
</div>
|
640
|
-
<div class="description">
|
641
|
-
<p>
|
642
|
-
These are useful for using a <a href="Tuple.html">Tuple</a> as a version.
|
643
|
-
</p>
|
644
|
-
</div>
|
645
|
-
<div class="sourcecode">
|
646
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000659_source')" id="l_M000659_source">+</a> ]</p>
|
647
|
-
<div id="M000659_source" class="dyn-source">
|
648
|
-
<pre>
|
649
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 211</span>
|
650
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">major</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">first</span> <span class="ruby-keyword kw">end</span>
|
651
|
-
</pre>
|
652
|
-
</div>
|
653
|
-
</div>
|
654
|
-
</div>
|
655
|
-
<div class="method">
|
656
|
-
<div class="title">
|
657
|
-
<a name="M000660"></a><b>minor</b>()
|
658
|
-
</div>
|
659
|
-
<div class="sourcecode">
|
660
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000660_source')" id="l_M000660_source">+</a> ]</p>
|
661
|
-
<div id="M000660_source" class="dyn-source">
|
662
|
-
<pre>
|
663
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 212</span>
|
664
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minor</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">1</span>) <span class="ruby-keyword kw">end</span>
|
665
|
-
</pre>
|
666
|
-
</div>
|
667
|
-
</div>
|
668
|
-
</div>
|
669
|
-
<div class="method">
|
670
|
-
<div class="title">
|
671
|
-
<a name="M000648"></a><b>pop</b>()
|
672
|
-
</div>
|
673
|
-
<div class="sourcecode">
|
674
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000648_source')" id="l_M000648_source">+</a> ]</p>
|
675
|
-
<div id="M000648_source" class="dyn-source">
|
676
|
-
<pre>
|
677
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 168</span>
|
678
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>() <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">pop</span> ) <span class="ruby-keyword kw">end</span>
|
679
|
-
</pre>
|
680
|
-
</div>
|
681
|
-
</div>
|
682
|
-
</div>
|
683
|
-
<div class="method">
|
684
|
-
<div class="title">
|
685
|
-
<a name="M000651"></a><b>pot</b>( obj )
|
686
|
-
</div>
|
687
|
-
<div class="description">
|
688
|
-
<p>
|
689
|
-
Stands for "Put On Top". This method is the opposite of <a
|
690
|
-
href="Tuple.html#M000650">pull</a> and is otherwise known as <a
|
691
|
-
href="Tuple.html#M000652">unshift</a>.
|
692
|
-
</p>
|
693
|
-
</div>
|
694
|
-
<div class="aka">
|
695
|
-
This method is also aliased as
|
696
|
-
<a href="Tuple.html#M000652">unshift</a>
|
697
|
-
</div>
|
698
|
-
<div class="sourcecode">
|
699
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000651_source')" id="l_M000651_source">+</a> ]</p>
|
700
|
-
<div id="M000651_source" class="dyn-source">
|
701
|
-
<pre>
|
702
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 178</span>
|
703
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pot</span>( <span class="ruby-identifier">obj</span> ) <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-identifier">obj</span>) ) <span class="ruby-keyword kw">end</span>
|
704
|
-
</pre>
|
705
|
-
</div>
|
706
|
-
</div>
|
707
|
-
</div>
|
708
|
-
<div class="method">
|
709
|
-
<div class="title">
|
710
|
-
<a name="M000650"></a><b>pull</b>()
|
711
|
-
</div>
|
712
|
-
<div class="description">
|
713
|
-
<p>
|
714
|
-
Pulls a value off the beginning of a tuple. This method is otherwsie known
|
715
|
-
as <a href="Tuple.html#M000653">shift</a>.
|
716
|
-
</p>
|
717
|
-
</div>
|
718
|
-
<div class="aka">
|
719
|
-
This method is also aliased as
|
720
|
-
<a href="Tuple.html#M000653">shift</a>
|
721
|
-
</div>
|
722
|
-
<div class="sourcecode">
|
723
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000650_source')" id="l_M000650_source">+</a> ]</p>
|
724
|
-
<div id="M000650_source" class="dyn-source">
|
725
|
-
<pre>
|
726
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 174</span>
|
727
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>() <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">shift</span> ) <span class="ruby-keyword kw">end</span>
|
728
|
-
</pre>
|
729
|
-
</div>
|
730
|
-
</div>
|
731
|
-
</div>
|
732
|
-
<div class="method">
|
733
|
-
<div class="title">
|
734
|
-
<a name="M000649"></a><b>push</b>( obj )
|
735
|
-
</div>
|
736
|
-
<div class="sourcecode">
|
737
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000649_source')" id="l_M000649_source">+</a> ]</p>
|
738
|
-
<div id="M000649_source" class="dyn-source">
|
739
|
-
<pre>
|
740
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 170</span>
|
741
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>( <span class="ruby-identifier">obj</span> ) <span class="ruby-constant">Tuple</span>.<span class="ruby-identifier">instance</span>( <span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">obj</span>) ) <span class="ruby-keyword kw">end</span>
|
742
|
-
</pre>
|
743
|
-
</div>
|
744
|
-
</div>
|
745
|
-
</div>
|
746
|
-
<div class="method">
|
747
|
-
<div class="title">
|
748
|
-
<a name="M000646"></a><b>rindex</b>()
|
749
|
-
</div>
|
750
|
-
<div class="sourcecode">
|
751
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000646_source')" id="l_M000646_source">+</a> ]</p>
|
752
|
-
<div id="M000646_source" class="dyn-source">
|
753
|
-
<pre>
|
754
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 160</span>
|
755
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rindex</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">rindex</span> <span class="ruby-keyword kw">end</span>
|
756
|
-
</pre>
|
757
|
-
</div>
|
758
|
-
</div>
|
759
|
-
</div>
|
760
|
-
<div class="method">
|
761
|
-
<div class="title">
|
762
|
-
<a name="M000653"></a><b>shift</b>()
|
763
|
-
</div>
|
764
|
-
<div class="description">
|
765
|
-
<p>
|
766
|
-
Alias for <a href="Tuple.html#M000650">pull</a>
|
767
|
-
</p>
|
768
|
-
</div>
|
769
|
-
</div>
|
770
|
-
<div class="method">
|
771
|
-
<div class="title">
|
772
|
-
<a name="M000638"></a><b>size</b>()
|
773
|
-
</div>
|
774
|
-
<div class="sourcecode">
|
775
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000638_source')" id="l_M000638_source">+</a> ]</p>
|
776
|
-
<div id="M000638_source" class="dyn-source">
|
777
|
-
<pre>
|
778
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 134</span>
|
779
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">size</span> <span class="ruby-keyword kw">end</span>
|
780
|
-
</pre>
|
781
|
-
</div>
|
782
|
-
</div>
|
783
|
-
</div>
|
784
|
-
<div class="method">
|
785
|
-
<div class="title">
|
786
|
-
<a name="M000661"></a><b>teeny</b>()
|
787
|
-
</div>
|
788
|
-
<div class="sourcecode">
|
789
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000661_source')" id="l_M000661_source">+</a> ]</p>
|
790
|
-
<div id="M000661_source" class="dyn-source">
|
791
|
-
<pre>
|
792
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 213</span>
|
793
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teeny</span>() <span class="ruby-ivar">@values</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">2</span>) <span class="ruby-keyword kw">end</span>
|
794
|
-
</pre>
|
795
|
-
</div>
|
796
|
-
</div>
|
797
|
-
</div>
|
798
|
-
<div class="method">
|
799
|
-
<div class="title">
|
800
|
-
<a name="M000635"></a><b>to_a</b>()
|
801
|
-
</div>
|
802
|
-
<div class="sourcecode">
|
803
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000635_source')" id="l_M000635_source">+</a> ]</p>
|
804
|
-
<div id="M000635_source" class="dyn-source">
|
805
|
-
<pre>
|
806
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 127</span>
|
807
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>() <span class="ruby-constant">Array</span>(<span class="ruby-ivar">@values</span>) <span class="ruby-keyword kw">end</span>
|
808
|
-
</pre>
|
809
|
-
</div>
|
810
|
-
</div>
|
811
|
-
</div>
|
812
|
-
<div class="method">
|
813
|
-
<div class="title">
|
814
|
-
<a name="M000636"></a><b>to_ary</b>()
|
815
|
-
</div>
|
816
|
-
<div class="sourcecode">
|
817
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000636_source')" id="l_M000636_source">+</a> ]</p>
|
818
|
-
<div id="M000636_source" class="dyn-source">
|
819
|
-
<pre>
|
820
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 128</span>
|
821
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ary</span>() <span class="ruby-constant">Array</span>(<span class="ruby-ivar">@values</span>) <span class="ruby-keyword kw">end</span>
|
822
|
-
</pre>
|
823
|
-
</div>
|
824
|
-
</div>
|
825
|
-
</div>
|
826
|
-
<div class="method">
|
827
|
-
<div class="title">
|
828
|
-
<a name="M000637"></a><b>to_s</b>( divider=nil )
|
829
|
-
</div>
|
830
|
-
<div class="sourcecode">
|
831
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000637_source')" id="l_M000637_source">+</a> ]</p>
|
832
|
-
<div id="M000637_source" class="dyn-source">
|
833
|
-
<pre>
|
834
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 130</span>
|
835
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>( <span class="ruby-identifier">divider</span>=<span class="ruby-keyword kw">nil</span> )
|
836
|
-
<span class="ruby-ivar">@values</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">divider</span><span class="ruby-operator">||</span><span class="ruby-ivar">@divider</span>)
|
837
|
-
<span class="ruby-keyword kw">end</span>
|
838
|
-
</pre>
|
839
|
-
</div>
|
840
|
-
</div>
|
841
|
-
</div>
|
842
|
-
<div class="method">
|
843
|
-
<div class="title">
|
844
|
-
<a name="M000633"></a><b>to_t</b>()
|
845
|
-
</div>
|
846
|
-
<div class="sourcecode">
|
847
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000633_source')" id="l_M000633_source">+</a> ]</p>
|
848
|
-
<div id="M000633_source" class="dyn-source">
|
849
|
-
<pre>
|
850
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 124</span>
|
851
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_t</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
852
|
-
</pre>
|
853
|
-
</div>
|
854
|
-
</div>
|
855
|
-
</div>
|
856
|
-
<div class="method">
|
857
|
-
<div class="title">
|
858
|
-
<a name="M000634"></a><b>to_tuple</b>()
|
859
|
-
</div>
|
860
|
-
<div class="sourcecode">
|
861
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000634_source')" id="l_M000634_source">+</a> ]</p>
|
862
|
-
<div id="M000634_source" class="dyn-source">
|
863
|
-
<pre>
|
864
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 125</span>
|
865
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_tuple</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
866
|
-
</pre>
|
867
|
-
</div>
|
868
|
-
</div>
|
869
|
-
</div>
|
870
|
-
<div class="method">
|
871
|
-
<div class="title">
|
872
|
-
<a name="M000652"></a><b>unshift</b>( obj )
|
873
|
-
</div>
|
874
|
-
<div class="description">
|
875
|
-
<p>
|
876
|
-
Alias for <a href="Tuple.html#M000651">pot</a>
|
877
|
-
</p>
|
878
|
-
</div>
|
879
|
-
</div>
|
880
|
-
<div class="sectiontitle">Protected Instance methods</div>
|
881
|
-
<div class="method">
|
882
|
-
<div class="title">
|
883
|
-
<a name="M000631"></a><b>values</b>()
|
884
|
-
</div>
|
885
|
-
<div class="sourcecode">
|
886
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000631_source')" id="l_M000631_source">+</a> ]</p>
|
887
|
-
<div id="M000631_source" class="dyn-source">
|
888
|
-
<pre>
|
889
|
-
<span class="ruby-comment cmt"># File lib/more/facets/tuple.rb, line 118</span>
|
890
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>() <span class="ruby-ivar">@values</span> <span class="ruby-keyword kw">end</span>
|
891
|
-
</pre>
|
892
|
-
</div>
|
893
|
-
</div>
|
894
|
-
</div>
|
895
|
-
</div>
|
896
|
-
|
897
|
-
</div>
|
898
|
-
|
899
|
-
</body>
|
900
|
-
</html>
|