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,306 +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: InstanceVariables</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 />InstanceVariables</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/core/facets/kernel/instance_variables_rb.html">lib/core/facets/kernel/instance_variables.rb</a>
|
61
|
-
</td>
|
62
|
-
</tr>
|
63
|
-
<tr>
|
64
|
-
<td>Parent:</td>
|
65
|
-
<td>
|
66
|
-
<a href="Object.html">
|
67
|
-
Object
|
68
|
-
</a>
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</td>
|
73
|
-
</tr>
|
74
|
-
</table>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
<div id="content">
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
<div class="sectiontitle">Methods</div>
|
84
|
-
<span style="padding-right: 5px;"><a href="#M000055"><<</a></span>
|
85
|
-
<span style="padding-right: 5px;"><a href="#M000053">[]</a></span>
|
86
|
-
<span style="padding-right: 5px;"><a href="#M000054">[]=</a></span>
|
87
|
-
<span style="padding-right: 5px;"><a href="#M000051">each</a></span>
|
88
|
-
<span style="padding-right: 5px;"><a href="#M000050">instance_delegate</a></span>
|
89
|
-
<span style="padding-right: 5px;"><a href="#M000057">keys</a></span>
|
90
|
-
<span style="padding-right: 5px;"><a href="#M000058">names</a></span>
|
91
|
-
<span style="padding-right: 5px;"><a href="#M000049">new</a></span>
|
92
|
-
<span style="padding-right: 5px;"><a href="#M000052">to_hash</a></span>
|
93
|
-
<span style="padding-right: 5px;"><a href="#M000056">update</a></span>
|
94
|
-
<span style="padding-right: 5px;"><a href="#M000059">values</a></span>
|
95
|
-
|
96
|
-
<div class="sectiontitle">Included Modules</div>
|
97
|
-
<ul>
|
98
|
-
<li><a href="Enumerable.html">Enumerable</a></li>
|
99
|
-
</ul>
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<div class="sectiontitle">Public Class methods</div>
|
106
|
-
<div class="method">
|
107
|
-
<div class="title">
|
108
|
-
<a name="M000049"></a><b>new</b>(delegate)
|
109
|
-
</div>
|
110
|
-
<div class="sourcecode">
|
111
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">+</a> ]</p>
|
112
|
-
<div id="M000049_source" class="dyn-source">
|
113
|
-
<pre>
|
114
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 14</span>
|
115
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">delegate</span>)
|
116
|
-
<span class="ruby-ivar">@delegate</span> = <span class="ruby-identifier">delegate</span>
|
117
|
-
<span class="ruby-keyword kw">end</span>
|
118
|
-
</pre>
|
119
|
-
</div>
|
120
|
-
</div>
|
121
|
-
</div>
|
122
|
-
<div class="sectiontitle">Public Instance methods</div>
|
123
|
-
<div class="method">
|
124
|
-
<div class="title">
|
125
|
-
<a name="M000055"></a><b><<</b>(pair)
|
126
|
-
</div>
|
127
|
-
<div class="sourcecode">
|
128
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">+</a> ]</p>
|
129
|
-
<div id="M000055_source" class="dyn-source">
|
130
|
-
<pre>
|
131
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 46</span>
|
132
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">pair</span>)
|
133
|
-
<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">pair</span>
|
134
|
-
<span class="ruby-identifier">name</span> = <span class="ruby-identifier">atize</span>(<span class="ruby-identifier">name</span>)
|
135
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_varaible_set</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
|
136
|
-
<span class="ruby-keyword kw">end</span>
|
137
|
-
</pre>
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
</div>
|
141
|
-
<div class="method">
|
142
|
-
<div class="title">
|
143
|
-
<a name="M000053"></a><b>[]</b>(name)
|
144
|
-
</div>
|
145
|
-
<div class="sourcecode">
|
146
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">+</a> ]</p>
|
147
|
-
<div id="M000053_source" class="dyn-source">
|
148
|
-
<pre>
|
149
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 36</span>
|
150
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">name</span>)
|
151
|
-
<span class="ruby-identifier">name</span> = <span class="ruby-identifier">atize</span>(<span class="ruby-identifier">name</span>)
|
152
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-identifier">name</span>)
|
153
|
-
<span class="ruby-keyword kw">end</span>
|
154
|
-
</pre>
|
155
|
-
</div>
|
156
|
-
</div>
|
157
|
-
</div>
|
158
|
-
<div class="method">
|
159
|
-
<div class="title">
|
160
|
-
<a name="M000054"></a><b>[]=</b>(name, value)
|
161
|
-
</div>
|
162
|
-
<div class="sourcecode">
|
163
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">+</a> ]</p>
|
164
|
-
<div id="M000054_source" class="dyn-source">
|
165
|
-
<pre>
|
166
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 41</span>
|
167
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
|
168
|
-
<span class="ruby-identifier">name</span> = <span class="ruby-identifier">atize</span>(<span class="ruby-identifier">name</span>)
|
169
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_varaible_set</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">value</span>)
|
170
|
-
<span class="ruby-keyword kw">end</span>
|
171
|
-
</pre>
|
172
|
-
</div>
|
173
|
-
</div>
|
174
|
-
</div>
|
175
|
-
<div class="method">
|
176
|
-
<div class="title">
|
177
|
-
<a name="M000051"></a><b>each</b>() {|name[1..-1].to_sym, @delegate.instance_variable_get(name)| ...}
|
178
|
-
</div>
|
179
|
-
<div class="sourcecode">
|
180
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">+</a> ]</p>
|
181
|
-
<div id="M000051_source" class="dyn-source">
|
182
|
-
<pre>
|
183
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 22</span>
|
184
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
185
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
186
|
-
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">name</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_sym</span>, <span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-identifier">name</span>))
|
187
|
-
<span class="ruby-keyword kw">end</span>
|
188
|
-
<span class="ruby-keyword kw">end</span>
|
189
|
-
</pre>
|
190
|
-
</div>
|
191
|
-
</div>
|
192
|
-
</div>
|
193
|
-
<div class="method">
|
194
|
-
<div class="title">
|
195
|
-
<a name="M000050"></a><b>instance_delegate</b>()
|
196
|
-
</div>
|
197
|
-
<div class="sourcecode">
|
198
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">+</a> ]</p>
|
199
|
-
<div id="M000050_source" class="dyn-source">
|
200
|
-
<pre>
|
201
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 18</span>
|
202
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_delegate</span>
|
203
|
-
<span class="ruby-ivar">@delegate</span>
|
204
|
-
<span class="ruby-keyword kw">end</span>
|
205
|
-
</pre>
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
</div>
|
209
|
-
<div class="method">
|
210
|
-
<div class="title">
|
211
|
-
<a name="M000057"></a><b>keys</b>()
|
212
|
-
</div>
|
213
|
-
<div class="sourcecode">
|
214
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">+</a> ]</p>
|
215
|
-
<div id="M000057_source" class="dyn-source">
|
216
|
-
<pre>
|
217
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 58</span>
|
218
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">keys</span>
|
219
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
220
|
-
<span class="ruby-identifier">name</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_sym</span>
|
221
|
-
<span class="ruby-keyword kw">end</span>
|
222
|
-
<span class="ruby-keyword kw">end</span>
|
223
|
-
</pre>
|
224
|
-
</div>
|
225
|
-
</div>
|
226
|
-
</div>
|
227
|
-
<div class="method">
|
228
|
-
<div class="title">
|
229
|
-
<a name="M000058"></a><b>names</b>()
|
230
|
-
</div>
|
231
|
-
<div class="sourcecode">
|
232
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">+</a> ]</p>
|
233
|
-
<div id="M000058_source" class="dyn-source">
|
234
|
-
<pre>
|
235
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 64</span>
|
236
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">names</span>
|
237
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
238
|
-
<span class="ruby-identifier">name</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
239
|
-
<span class="ruby-keyword kw">end</span>
|
240
|
-
<span class="ruby-keyword kw">end</span>
|
241
|
-
</pre>
|
242
|
-
</div>
|
243
|
-
</div>
|
244
|
-
</div>
|
245
|
-
<div class="method">
|
246
|
-
<div class="title">
|
247
|
-
<a name="M000052"></a><b>to_hash</b>()
|
248
|
-
</div>
|
249
|
-
<div class="sourcecode">
|
250
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">+</a> ]</p>
|
251
|
-
<div id="M000052_source" class="dyn-source">
|
252
|
-
<pre>
|
253
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 28</span>
|
254
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>
|
255
|
-
<span class="ruby-identifier">h</span> = {}
|
256
|
-
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
257
|
-
<span class="ruby-identifier">h</span>[<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">value</span>
|
258
|
-
<span class="ruby-keyword kw">end</span>
|
259
|
-
<span class="ruby-identifier">h</span>
|
260
|
-
<span class="ruby-keyword kw">end</span>
|
261
|
-
</pre>
|
262
|
-
</div>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
<div class="method">
|
266
|
-
<div class="title">
|
267
|
-
<a name="M000056"></a><b>update</b>(hash)
|
268
|
-
</div>
|
269
|
-
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">+</a> ]</p>
|
271
|
-
<div id="M000056_source" class="dyn-source">
|
272
|
-
<pre>
|
273
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 52</span>
|
274
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">hash</span>)
|
275
|
-
<span class="ruby-identifier">hash</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">pair</span><span class="ruby-operator">|</span>
|
276
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">pair</span>
|
277
|
-
<span class="ruby-keyword kw">end</span>
|
278
|
-
<span class="ruby-keyword kw">end</span>
|
279
|
-
</pre>
|
280
|
-
</div>
|
281
|
-
</div>
|
282
|
-
</div>
|
283
|
-
<div class="method">
|
284
|
-
<div class="title">
|
285
|
-
<a name="M000059"></a><b>values</b>()
|
286
|
-
</div>
|
287
|
-
<div class="sourcecode">
|
288
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">+</a> ]</p>
|
289
|
-
<div id="M000059_source" class="dyn-source">
|
290
|
-
<pre>
|
291
|
-
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 70</span>
|
292
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">values</span>
|
293
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variables</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
294
|
-
<span class="ruby-ivar">@delegate</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-identifier">name</span>)
|
295
|
-
<span class="ruby-keyword kw">end</span>
|
296
|
-
<span class="ruby-keyword kw">end</span>
|
297
|
-
</pre>
|
298
|
-
</div>
|
299
|
-
</div>
|
300
|
-
</div>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
</div>
|
304
|
-
|
305
|
-
</body>
|
306
|
-
</html>
|
@@ -1,583 +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: Integer</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 />Integer</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/core/facets/integer/multiple_rb.html">lib/core/facets/integer/multiple.rb</a>
|
61
|
-
<a href="../files/lib/core/facets/integer/ordinal_rb.html">lib/core/facets/integer/ordinal.rb</a>
|
62
|
-
<a href="../files/lib/core/facets/integer/odd_rb.html">lib/core/facets/integer/odd.rb</a>
|
63
|
-
<a href="../files/lib/core/facets/integer/factorial_rb.html">lib/core/facets/integer/factorial.rb</a>
|
64
|
-
<a href="../files/lib/core/facets/integer/of_rb.html">lib/core/facets/integer/of.rb</a>
|
65
|
-
<a href="../files/lib/core/facets/numeric/round_rb.html">lib/core/facets/numeric/round.rb</a>
|
66
|
-
<a href="../files/lib/core/facets/bitmask_rb.html">lib/core/facets/bitmask.rb</a>
|
67
|
-
</td>
|
68
|
-
</tr>
|
69
|
-
<tr>
|
70
|
-
<td>Parent:</td>
|
71
|
-
<td>
|
72
|
-
<a href="Object.html">
|
73
|
-
Object
|
74
|
-
</a>
|
75
|
-
</td>
|
76
|
-
</tr>
|
77
|
-
</table>
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
</table>
|
81
|
-
<!-- banner header -->
|
82
|
-
|
83
|
-
<div id="bodyContent">
|
84
|
-
<div id="content">
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<div class="sectiontitle">Methods</div>
|
90
|
-
<span style="padding-right: 5px;"><a href="#M000020">bit</a></span>
|
91
|
-
<span style="padding-right: 5px;"><a href="#M000021">bit!</a></span>
|
92
|
-
<span style="padding-right: 5px;"><a href="#M000023">bit?</a></span>
|
93
|
-
<span style="padding-right: 5px;"><a href="#M000024">bitmask</a></span>
|
94
|
-
<span style="padding-right: 5px;"><a href="#M000025">bitmask!</a></span>
|
95
|
-
<span style="padding-right: 5px;"><a href="#M000026">bitmask?</a></span>
|
96
|
-
<span style="padding-right: 5px;"><a href="#M000022">clear_bit</a></span>
|
97
|
-
<span style="padding-right: 5px;"><a href="#M000012">even?</a></span>
|
98
|
-
<span style="padding-right: 5px;"><a href="#M000014">fac</a></span>
|
99
|
-
<span style="padding-right: 5px;"><a href="#M000013">factorial</a></span>
|
100
|
-
<span style="padding-right: 5px;"><a href="#M000008">multiple?</a></span>
|
101
|
-
<span style="padding-right: 5px;"><a href="#M000011">odd?</a></span>
|
102
|
-
<span style="padding-right: 5px;"><a href="#M000015">of</a></span>
|
103
|
-
<span style="padding-right: 5px;"><a href="#M000009">ordinal</a></span>
|
104
|
-
<span style="padding-right: 5px;"><a href="#M000010">ordinalize</a></span>
|
105
|
-
<span style="padding-right: 5px;"><a href="#M000018">round_at</a></span>
|
106
|
-
<span style="padding-right: 5px;"><a href="#M000019">round_to</a></span>
|
107
|
-
<span style="padding-right: 5px;"><a href="#M000016">times_collect</a></span>
|
108
|
-
<span style="padding-right: 5px;"><a href="#M000017">times_map</a></span>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<div class="sectiontitle">Public Instance methods</div>
|
116
|
-
<div class="method">
|
117
|
-
<div class="title">
|
118
|
-
<a name="M000020"></a><b>bit</b>(bit)
|
119
|
-
</div>
|
120
|
-
<div class="description">
|
121
|
-
<p>
|
122
|
-
Set a <a href="Integer.html#M000020">bit</a>.
|
123
|
-
</p>
|
124
|
-
<pre>
|
125
|
-
0.bit!(4) #=> 8
|
126
|
-
</pre>
|
127
|
-
<p>
|
128
|
-
Using an inverted <a href="Integer.html#M000020">bit</a> will clear a <a
|
129
|
-
href="Integer.html#M000020">bit</a>.
|
130
|
-
</p>
|
131
|
-
<pre>
|
132
|
-
10.bit!(~3) #=> 2
|
133
|
-
0xb0100.bit(~3) #=> 0
|
134
|
-
</pre>
|
135
|
-
<p>
|
136
|
-
CREDIT: Thomas Sawyer, George Moschovitis
|
137
|
-
</p>
|
138
|
-
</div>
|
139
|
-
<div class="aka">
|
140
|
-
This method is also aliased as
|
141
|
-
<a href="Integer.html#M000021">bit!</a>
|
142
|
-
</div>
|
143
|
-
<div class="sourcecode">
|
144
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">+</a> ]</p>
|
145
|
-
<div id="M000020_source" class="dyn-source">
|
146
|
-
<pre>
|
147
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 14</span>
|
148
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit</span>(<span class="ruby-identifier">bit</span>)
|
149
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bit</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
150
|
-
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-operator">~</span><span class="ruby-identifier">bit</span>)
|
151
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-operator">~</span><span class="ruby-identifier">mask</span>
|
152
|
-
<span class="ruby-keyword kw">else</span>
|
153
|
-
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">bit</span>)
|
154
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">|</span> <span class="ruby-identifier">mask</span>
|
155
|
-
<span class="ruby-keyword kw">end</span>
|
156
|
-
<span class="ruby-keyword kw">end</span>
|
157
|
-
</pre>
|
158
|
-
</div>
|
159
|
-
</div>
|
160
|
-
</div>
|
161
|
-
<div class="method">
|
162
|
-
<div class="title">
|
163
|
-
<a name="M000021"></a><b>bit!</b>(bit)
|
164
|
-
</div>
|
165
|
-
<div class="description">
|
166
|
-
<p>
|
167
|
-
Alias for <a href="Integer.html#M000020">bit</a>
|
168
|
-
</p>
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
<div class="method">
|
172
|
-
<div class="title">
|
173
|
-
<a name="M000023"></a><b>bit?</b>(bit)
|
174
|
-
</div>
|
175
|
-
<div class="description">
|
176
|
-
<p>
|
177
|
-
Is a <a href="Integer.html#M000020">bit</a> set?
|
178
|
-
</p>
|
179
|
-
<pre>
|
180
|
-
8.bit?(3) #=> true
|
181
|
-
8.bit?(2) #=> false
|
182
|
-
</pre>
|
183
|
-
<p>
|
184
|
-
CREDIT: Thomas Sawyer, George Moschovitis
|
185
|
-
</p>
|
186
|
-
</div>
|
187
|
-
<div class="sourcecode">
|
188
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">+</a> ]</p>
|
189
|
-
<div id="M000023_source" class="dyn-source">
|
190
|
-
<pre>
|
191
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 43</span>
|
192
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit?</span>(<span class="ruby-identifier">bit</span>)
|
193
|
-
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">bit</span>)
|
194
|
-
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>) <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
195
|
-
<span class="ruby-keyword kw">end</span>
|
196
|
-
</pre>
|
197
|
-
</div>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
<div class="method">
|
201
|
-
<div class="title">
|
202
|
-
<a name="M000024"></a><b>bitmask</b>(mask)
|
203
|
-
</div>
|
204
|
-
<div class="description">
|
205
|
-
<p>
|
206
|
-
Apply a <a href="Integer.html#M000024">bitmask</a>.
|
207
|
-
</p>
|
208
|
-
<pre>
|
209
|
-
1.bitmask(6) #=> 7
|
210
|
-
</pre>
|
211
|
-
<p>
|
212
|
-
Using a inverted <a href="Integer.html#M000024">bitmask</a> clears bits.
|
213
|
-
</p>
|
214
|
-
<pre>
|
215
|
-
7.bitmask(~2) #=> 5
|
216
|
-
5.bitmask(~2) #=> 5
|
217
|
-
</pre>
|
218
|
-
<p>
|
219
|
-
CREDIT: George Moschovitis
|
220
|
-
</p>
|
221
|
-
</div>
|
222
|
-
<div class="aka">
|
223
|
-
This method is also aliased as
|
224
|
-
<a href="Integer.html#M000025">bitmask!</a>
|
225
|
-
</div>
|
226
|
-
<div class="sourcecode">
|
227
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">+</a> ]</p>
|
228
|
-
<div id="M000024_source" class="dyn-source">
|
229
|
-
<pre>
|
230
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 59</span>
|
231
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bitmask</span>(<span class="ruby-identifier">mask</span>)
|
232
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mask</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
233
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>
|
234
|
-
<span class="ruby-keyword kw">else</span>
|
235
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">|</span> <span class="ruby-identifier">mask</span>
|
236
|
-
<span class="ruby-keyword kw">end</span>
|
237
|
-
<span class="ruby-keyword kw">end</span>
|
238
|
-
</pre>
|
239
|
-
</div>
|
240
|
-
</div>
|
241
|
-
</div>
|
242
|
-
<div class="method">
|
243
|
-
<div class="title">
|
244
|
-
<a name="M000025"></a><b>bitmask!</b>(mask)
|
245
|
-
</div>
|
246
|
-
<div class="description">
|
247
|
-
<p>
|
248
|
-
Alias for <a href="Integer.html#M000024">bitmask</a>
|
249
|
-
</p>
|
250
|
-
</div>
|
251
|
-
</div>
|
252
|
-
<div class="method">
|
253
|
-
<div class="title">
|
254
|
-
<a name="M000026"></a><b>bitmask?</b>(mask)
|
255
|
-
</div>
|
256
|
-
<div class="description">
|
257
|
-
<p>
|
258
|
-
Is <a href="Integer.html#M000024">bitmask</a> set?
|
259
|
-
</p>
|
260
|
-
<pre>
|
261
|
-
7.bitmask?(7) #=> true
|
262
|
-
7.bitmask?(5) #=> true
|
263
|
-
8.bitmask?(3) #=> false
|
264
|
-
</pre>
|
265
|
-
<p>
|
266
|
-
CREDIT: George Moschovitis
|
267
|
-
</p>
|
268
|
-
</div>
|
269
|
-
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">+</a> ]</p>
|
271
|
-
<div id="M000026_source" class="dyn-source">
|
272
|
-
<pre>
|
273
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 78</span>
|
274
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bitmask?</span>(<span class="ruby-identifier">mask</span>)
|
275
|
-
(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>) <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
276
|
-
<span class="ruby-keyword kw">end</span>
|
277
|
-
</pre>
|
278
|
-
</div>
|
279
|
-
</div>
|
280
|
-
</div>
|
281
|
-
<div class="method">
|
282
|
-
<div class="title">
|
283
|
-
<a name="M000022"></a><b>clear_bit</b>(bit)
|
284
|
-
</div>
|
285
|
-
<div class="description">
|
286
|
-
<p>
|
287
|
-
Clear <a href="Integer.html#M000020">bit</a>.
|
288
|
-
</p>
|
289
|
-
<p>
|
290
|
-
CREDIT: George Moschovitis
|
291
|
-
</p>
|
292
|
-
</div>
|
293
|
-
<div class="sourcecode">
|
294
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">+</a> ]</p>
|
295
|
-
<div id="M000022_source" class="dyn-source">
|
296
|
-
<pre>
|
297
|
-
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 31</span>
|
298
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_bit</span>(<span class="ruby-identifier">bit</span>)
|
299
|
-
<span class="ruby-identifier">mask</span> = (<span class="ruby-value">1</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">bit</span>)
|
300
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-operator">~</span><span class="ruby-identifier">mask</span>
|
301
|
-
<span class="ruby-keyword kw">end</span>
|
302
|
-
</pre>
|
303
|
-
</div>
|
304
|
-
</div>
|
305
|
-
</div>
|
306
|
-
<div class="method">
|
307
|
-
<div class="title">
|
308
|
-
<a name="M000012"></a><b>even?</b>()
|
309
|
-
</div>
|
310
|
-
<div class="description">
|
311
|
-
<p>
|
312
|
-
Returns true if this integer is even, false otherwise.
|
313
|
-
</p>
|
314
|
-
<pre>
|
315
|
-
2.even? #=> true
|
316
|
-
3.even? #=> false
|
317
|
-
</pre>
|
318
|
-
<p>
|
319
|
-
CREDIT: Daniel Schierbeck
|
320
|
-
</p>
|
321
|
-
</div>
|
322
|
-
<div class="sourcecode">
|
323
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">+</a> ]</p>
|
324
|
-
<div id="M000012_source" class="dyn-source">
|
325
|
-
<pre>
|
326
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 27</span>
|
327
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">even?</span>
|
328
|
-
<span class="ruby-comment cmt">#self % 2 == 0</span>
|
329
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-value">1</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
330
|
-
<span class="ruby-keyword kw">end</span>
|
331
|
-
</pre>
|
332
|
-
</div>
|
333
|
-
</div>
|
334
|
-
</div>
|
335
|
-
<div class="method">
|
336
|
-
<div class="title">
|
337
|
-
<a name="M000014"></a><b>fac</b>()
|
338
|
-
</div>
|
339
|
-
<div class="description">
|
340
|
-
<p>
|
341
|
-
Alias for <a href="Integer.html#M000013">factorial</a>
|
342
|
-
</p>
|
343
|
-
</div>
|
344
|
-
</div>
|
345
|
-
<div class="method">
|
346
|
-
<div class="title">
|
347
|
-
<a name="M000013"></a><b>factorial</b>()
|
348
|
-
</div>
|
349
|
-
<div class="description">
|
350
|
-
<p>
|
351
|
-
Calculate the <a href="Integer.html#M000013">factorial</a> <a
|
352
|
-
href="Integer.html#M000015">of</a> an integer.
|
353
|
-
</p>
|
354
|
-
<pre>
|
355
|
-
2.factorial #=> 2
|
356
|
-
3.factorial #=> 6
|
357
|
-
3.factorial #=> 24
|
358
|
-
</pre>
|
359
|
-
<p>
|
360
|
-
CREDIT: Malte Milatz
|
361
|
-
</p>
|
362
|
-
</div>
|
363
|
-
<div class="aka">
|
364
|
-
This method is also aliased as
|
365
|
-
<a href="Integer.html#M000014">fac</a>
|
366
|
-
</div>
|
367
|
-
<div class="sourcecode">
|
368
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">+</a> ]</p>
|
369
|
-
<div id="M000013_source" class="dyn-source">
|
370
|
-
<pre>
|
371
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/factorial.rb, line 11</span>
|
372
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">factorial</span>
|
373
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">zero?</span>
|
374
|
-
<span class="ruby-identifier">f</span> = <span class="ruby-value">1</span>
|
375
|
-
<span class="ruby-value">2</span>.<span class="ruby-identifier">upto</span>(<span class="ruby-keyword kw">self</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span> <span class="ruby-operator">*=</span> <span class="ruby-identifier">n</span> }
|
376
|
-
<span class="ruby-identifier">f</span>
|
377
|
-
<span class="ruby-keyword kw">end</span>
|
378
|
-
</pre>
|
379
|
-
</div>
|
380
|
-
</div>
|
381
|
-
</div>
|
382
|
-
<div class="method">
|
383
|
-
<div class="title">
|
384
|
-
<a name="M000008"></a><b>multiple?</b>(number)
|
385
|
-
</div>
|
386
|
-
<div class="description">
|
387
|
-
<p>
|
388
|
-
Is is a multiple <a href="Integer.html#M000015">of</a> a given number?
|
389
|
-
</p>
|
390
|
-
<pre>
|
391
|
-
7.multiple?(2) #=> false
|
392
|
-
8.multiple?(2) #=> true
|
393
|
-
</pre>
|
394
|
-
<p>
|
395
|
-
CREDIT: Trans
|
396
|
-
</p>
|
397
|
-
</div>
|
398
|
-
<div class="sourcecode">
|
399
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">+</a> ]</p>
|
400
|
-
<div id="M000008_source" class="dyn-source">
|
401
|
-
<pre>
|
402
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/multiple.rb, line 10</span>
|
403
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiple?</span>(<span class="ruby-identifier">number</span>)
|
404
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">number</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
405
|
-
<span class="ruby-keyword kw">end</span>
|
406
|
-
</pre>
|
407
|
-
</div>
|
408
|
-
</div>
|
409
|
-
</div>
|
410
|
-
<div class="method">
|
411
|
-
<div class="title">
|
412
|
-
<a name="M000011"></a><b>odd?</b>()
|
413
|
-
</div>
|
414
|
-
<div class="description">
|
415
|
-
<p>
|
416
|
-
Returns true if this integer is odd, false otherwise.
|
417
|
-
</p>
|
418
|
-
<pre>
|
419
|
-
2.odd? #=> false
|
420
|
-
3.odd? #=> true
|
421
|
-
|
422
|
-
-99.odd? # -> true
|
423
|
-
-98.odd? # -> false
|
424
|
-
</pre>
|
425
|
-
<p>
|
426
|
-
CREDIT: Daniel Schierbeck
|
427
|
-
</p>
|
428
|
-
</div>
|
429
|
-
<div class="sourcecode">
|
430
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">+</a> ]</p>
|
431
|
-
<div id="M000011_source" class="dyn-source">
|
432
|
-
<pre>
|
433
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 15</span>
|
434
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">odd?</span>
|
435
|
-
<span class="ruby-comment cmt">#self % 2 == 1</span>
|
436
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-value">1</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
437
|
-
<span class="ruby-keyword kw">end</span>
|
438
|
-
</pre>
|
439
|
-
</div>
|
440
|
-
</div>
|
441
|
-
</div>
|
442
|
-
<div class="method">
|
443
|
-
<div class="title">
|
444
|
-
<a name="M000015"></a><b>of</b>(&block)
|
445
|
-
</div>
|
446
|
-
<div class="description">
|
447
|
-
<p>
|
448
|
-
Like times but returns a collection <a href="Integer.html#M000015">of</a>
|
449
|
-
the yield results.
|
450
|
-
</p>
|
451
|
-
<pre>
|
452
|
-
a = 3.of { |i| "#{i+1}" }
|
453
|
-
a => [ "1", "2", "3" ]
|
454
|
-
</pre>
|
455
|
-
</div>
|
456
|
-
<div class="aka">
|
457
|
-
This method is also aliased as
|
458
|
-
<a href="Integer.html#M000016">times_collect</a>
|
459
|
-
<a href="Integer.html#M000017">times_map</a>
|
460
|
-
</div>
|
461
|
-
<div class="sourcecode">
|
462
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">+</a> ]</p>
|
463
|
-
<div id="M000015_source" class="dyn-source">
|
464
|
-
<pre>
|
465
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/of.rb, line 9</span>
|
466
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">of</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
467
|
-
<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
468
|
-
<span class="ruby-keyword kw">end</span>
|
469
|
-
</pre>
|
470
|
-
</div>
|
471
|
-
</div>
|
472
|
-
</div>
|
473
|
-
<div class="method">
|
474
|
-
<div class="title">
|
475
|
-
<a name="M000009"></a><b>ordinal</b>()
|
476
|
-
</div>
|
477
|
-
<div class="aka">
|
478
|
-
This method is also aliased as
|
479
|
-
<a href="Integer.html#M000010">ordinalize</a>
|
480
|
-
</div>
|
481
|
-
<div class="sourcecode">
|
482
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">+</a> ]</p>
|
483
|
-
<div id="M000009_source" class="dyn-source">
|
484
|
-
<pre>
|
485
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/ordinal.rb, line 3</span>
|
486
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ordinal</span>
|
487
|
-
<span class="ruby-keyword kw">if</span> [<span class="ruby-value">11</span>,<span class="ruby-value">12</span>,<span class="ruby-value">13</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-keyword kw">self</span> <span class="ruby-operator">%</span> <span class="ruby-value">100</span>)
|
488
|
-
<span class="ruby-node">"#{self}th"</span>
|
489
|
-
<span class="ruby-keyword kw">else</span>
|
490
|
-
<span class="ruby-keyword kw">case</span> (<span class="ruby-keyword kw">self</span> <span class="ruby-operator">%</span> <span class="ruby-value">10</span>)
|
491
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span>
|
492
|
-
<span class="ruby-node">"#{self}st"</span>
|
493
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">2</span>
|
494
|
-
<span class="ruby-node">"#{self}nd"</span>
|
495
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">3</span>
|
496
|
-
<span class="ruby-node">"#{self}rd"</span>
|
497
|
-
<span class="ruby-keyword kw">else</span>
|
498
|
-
<span class="ruby-node">"#{self}th"</span>
|
499
|
-
<span class="ruby-keyword kw">end</span>
|
500
|
-
<span class="ruby-keyword kw">end</span>
|
501
|
-
<span class="ruby-keyword kw">end</span>
|
502
|
-
</pre>
|
503
|
-
</div>
|
504
|
-
</div>
|
505
|
-
</div>
|
506
|
-
<div class="method">
|
507
|
-
<div class="title">
|
508
|
-
<a name="M000010"></a><b>ordinalize</b>()
|
509
|
-
</div>
|
510
|
-
<div class="description">
|
511
|
-
<p>
|
512
|
-
Alias for <a href="Integer.html#M000009">ordinal</a>
|
513
|
-
</p>
|
514
|
-
</div>
|
515
|
-
</div>
|
516
|
-
<div class="method">
|
517
|
-
<div class="title">
|
518
|
-
<a name="M000018"></a><b>round_at</b>(*args)
|
519
|
-
</div>
|
520
|
-
<div class="description">
|
521
|
-
<p>
|
522
|
-
See <a href="Float.html#M000223">Float#round_at</a>.
|
523
|
-
</p>
|
524
|
-
</div>
|
525
|
-
<div class="sourcecode">
|
526
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">+</a> ]</p>
|
527
|
-
<div id="M000018_source" class="dyn-source">
|
528
|
-
<pre>
|
529
|
-
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 27</span>
|
530
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
531
|
-
<span class="ruby-identifier">to_f</span>.<span class="ruby-identifier">round_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
532
|
-
<span class="ruby-keyword kw">end</span>
|
533
|
-
</pre>
|
534
|
-
</div>
|
535
|
-
</div>
|
536
|
-
</div>
|
537
|
-
<div class="method">
|
538
|
-
<div class="title">
|
539
|
-
<a name="M000019"></a><b>round_to</b>(*args)
|
540
|
-
</div>
|
541
|
-
<div class="description">
|
542
|
-
<p>
|
543
|
-
See <a href="Float.html#M000224">Float#round_to</a>.
|
544
|
-
</p>
|
545
|
-
</div>
|
546
|
-
<div class="sourcecode">
|
547
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">+</a> ]</p>
|
548
|
-
<div id="M000019_source" class="dyn-source">
|
549
|
-
<pre>
|
550
|
-
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 33</span>
|
551
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">round_to</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
552
|
-
<span class="ruby-identifier">to_f</span>.<span class="ruby-identifier">round_to</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
553
|
-
<span class="ruby-keyword kw">end</span>
|
554
|
-
</pre>
|
555
|
-
</div>
|
556
|
-
</div>
|
557
|
-
</div>
|
558
|
-
<div class="method">
|
559
|
-
<div class="title">
|
560
|
-
<a name="M000016"></a><b>times_collect</b>(&block)
|
561
|
-
</div>
|
562
|
-
<div class="description">
|
563
|
-
<p>
|
564
|
-
Alias for <a href="Integer.html#M000015">of</a>
|
565
|
-
</p>
|
566
|
-
</div>
|
567
|
-
</div>
|
568
|
-
<div class="method">
|
569
|
-
<div class="title">
|
570
|
-
<a name="M000017"></a><b>times_map</b>(&block)
|
571
|
-
</div>
|
572
|
-
<div class="description">
|
573
|
-
<p>
|
574
|
-
Alias for <a href="Integer.html#M000015">of</a>
|
575
|
-
</p>
|
576
|
-
</div>
|
577
|
-
</div>
|
578
|
-
</div>
|
579
|
-
|
580
|
-
</div>
|
581
|
-
|
582
|
-
</body>
|
583
|
-
</html>
|