facets 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +3 -0
- data/CHANGES +41 -1569
- data/COPYING +6 -4
- data/MANIFEST +114 -25
- data/README +12 -2
- data/RELEASE +37 -0
- data/Rakefile +4 -0
- data/VERSION +1 -0
- data/demo/bench/general/comment_loading/bench.rb +46 -0
- data/demo/bench/general/comment_loading/comments_begin.rb +109 -0
- data/demo/bench/general/comment_loading/comments_end.rb +127 -0
- data/demo/bench/general/comment_loading/comments_none.rb +1 -0
- data/demo/bench/general/comment_loading/comments_sharp.rb +125 -0
- data/doc/archive/changelog-0.rdoc +239 -0
- data/doc/archive/changelog-1.rdoc +450 -0
- data/doc/news/{news-2.0.5 → RELEASE-2.0.5} +0 -0
- data/doc/news/{news-2.1.0 → RELEASE-2.1.0} +0 -0
- data/doc/news/{news-2.1.1 → RELEASE-2.1.1} +0 -0
- data/doc/news/{news-2.1.2 → RELEASE-2.1.2} +0 -0
- data/doc/news/{news-2.1.3 → RELEASE-2.1.3} +0 -0
- data/doc/news/{news-2.2.0 → RELEASE-2.2.0} +0 -0
- data/doc/news/{news-2.2.1 → RELEASE-2.2.1} +0 -0
- data/doc/news/{news-2.3.0 → RELEASE-2.3.0} +0 -0
- data/doc/news/{news-2.4.0 → RELEASE-2.4.0} +0 -0
- data/doc/news/{news-2.4.1 → RELEASE-2.4.1} +0 -0
- data/doc/news/{news-2.4.2 → RELEASE-2.4.2} +0 -0
- data/doc/news/{news-2.4.3 → RELEASE-2.4.3} +0 -0
- data/{NEWS → doc/news/RELEASE-2.4.4} +0 -2
- data/doc/rdoc/core/classes/Array.html +115 -115
- data/doc/rdoc/core/classes/Binding.html +47 -49
- data/doc/rdoc/core/classes/Class.html +172 -24
- data/doc/rdoc/core/classes/Comparable.html +28 -30
- data/doc/rdoc/core/classes/Dir.html +16 -18
- data/doc/rdoc/core/classes/Enumerable.html +146 -143
- data/doc/rdoc/core/classes/Exception.html +10 -12
- data/doc/rdoc/core/classes/FalseClass.html +10 -12
- data/doc/rdoc/core/classes/File.html +70 -69
- data/doc/rdoc/core/classes/FileTest.html +6 -8
- data/doc/rdoc/core/classes/Float.html +10 -12
- data/doc/rdoc/core/classes/Friend.html +4 -6
- data/doc/rdoc/core/classes/Functor.html +14 -16
- data/doc/rdoc/core/classes/Hash.html +182 -180
- data/doc/rdoc/core/classes/Indexable.html +145 -122
- data/doc/rdoc/core/classes/InstanceVariables.html +24 -26
- data/doc/rdoc/core/classes/Integer.html +43 -43
- data/doc/rdoc/core/classes/Kernel.html +331 -333
- data/doc/rdoc/core/classes/Lazy.html +2 -2
- data/doc/rdoc/core/classes/Lazy/Future.html +2 -2
- data/doc/rdoc/core/classes/Lazy/Promise.html +3 -3
- data/doc/rdoc/core/classes/Lazy/PromiseSafe.html +2 -2
- data/doc/rdoc/core/classes/MatchData.html +17 -19
- data/doc/rdoc/core/classes/Module.html +175 -166
- data/doc/rdoc/core/classes/NilClass.html +24 -26
- data/doc/rdoc/core/classes/Numeric.html +29 -31
- data/doc/rdoc/core/classes/Object.html +10 -12
- data/doc/rdoc/core/classes/Proc.html +24 -26
- data/doc/rdoc/core/classes/Range.html +16 -18
- data/doc/rdoc/core/classes/Regexp.html +9 -11
- data/doc/rdoc/core/classes/Stackable.html +33 -35
- data/doc/rdoc/core/classes/String.html +332 -275
- data/doc/rdoc/core/classes/Symbol.html +72 -45
- data/doc/rdoc/core/classes/Time.html +26 -28
- data/doc/rdoc/core/classes/TrueClass.html +10 -12
- data/doc/rdoc/core/classes/UnboundMethod.html +13 -15
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +25 -10
- data/doc/rdoc/core/files/doc/README_core.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/combination_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/array/conjoin_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/delete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/index_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/array/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/not_empty_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/only_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/pad_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/permutation_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/recursively_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/rotate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/select_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/splice_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/stackable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array/traverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding/self_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/bitmask_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/blank_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/callstack_rb.html +2 -2
- data/doc/rdoc/{more/files/lib/more/facets/rope_rb.html → core/files/lib/core/facets/cattr_rb.html} +11 -9
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_accessor_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_reader_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/cattr_writer_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/bound_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/cmp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable/comparable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/ascend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/descend_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/multiglob_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/dir/parent_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir/recurse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/inject_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/append_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/create_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file/null_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/read_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/rewrite_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/file/rootname_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/file/write_rb.html +13 -3
- data/doc/rdoc/core/files/lib/core/facets/file/writelines_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/float_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/functor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/alias_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/argumentize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/at_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/delete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/join_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/keys_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/mash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/op_add_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_or_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/op_push_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/op_rb.html +12 -3
- data/doc/rdoc/core/files/lib/core/facets/hash/op_sub_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/recursively_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/rekey_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/select_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/weave_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/indexable_rb.html +4 -4
- data/doc/rdoc/core/files/lib/core/facets/integer/even_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/factorial_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/multiple_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/odd_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/integer/of_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer/ordinal_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__class___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__dir___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__get___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__method___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/as_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/attr_singleton_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/constant_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/d_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/deep_copy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/demo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/ergo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/here_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/in_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_variables_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/maybe_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_hexid_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/object_send_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/p_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/respond_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/silence_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/val_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/lazy_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata/match_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata/matchset_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/basename_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/can_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/class_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/is_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/modspace_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/op_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass/ergo_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/approx_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/compose_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc/update_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/combine_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/overlap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/to_r_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/umbrella_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range/within_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/range_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp/arity_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp/to_re_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/stackable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/divide_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/fold_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/lines_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/modulize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/mscan_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/natcmp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/op_sub_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/pathize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/range_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/splice_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/tab_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/variablize_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/chomp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/generate_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/not_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/plain_rb.html +3 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol/query_rb.html +2 -2
- data/doc/rdoc/{more/files/lib/more/facets/string/style_rb.html → core/files/lib/core/facets/symbol/re_s_rb.html} +7 -7
- data/doc/rdoc/core/files/lib/core/facets/symbol/setter_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/succ_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/to_proc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol/variablize_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/ago_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/round_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/time_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/arguments_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +2 -2
- data/doc/rdoc/core/fr_class_index.html +3 -3
- data/doc/rdoc/core/fr_file_index.html +18 -3
- data/doc/rdoc/core/fr_method_index.html +359 -352
- data/doc/rdoc/core/rdoc-style.css +18 -16
- data/doc/rdoc/lore/classes/Array.html +9 -11
- data/doc/rdoc/lore/classes/CGI.html +10 -12
- data/doc/rdoc/lore/classes/Config.html +6 -8
- data/doc/rdoc/lore/classes/Continuation.html +4 -6
- data/doc/rdoc/lore/classes/Date.html +40 -42
- data/doc/rdoc/lore/classes/DateTime.html +39 -41
- data/doc/rdoc/lore/classes/File.html +4 -6
- data/doc/rdoc/lore/classes/FileUtils.html +16 -18
- data/doc/rdoc/lore/classes/GetoptLong.html +4 -6
- data/doc/rdoc/lore/classes/GetoptLong/DSL.html +12 -14
- data/doc/rdoc/lore/classes/Kernel.html +10 -12
- data/doc/rdoc/lore/classes/Logger.html +8 -10
- data/doc/rdoc/lore/classes/Logger/Ansicolor.html +22 -24
- data/doc/rdoc/lore/classes/Logger/LogDevice.html +4 -6
- data/doc/rdoc/lore/classes/NilClass.html +4 -6
- data/doc/rdoc/lore/classes/OpenStruct.html +63 -44
- data/doc/rdoc/lore/classes/Pathname.html +25 -27
- data/doc/rdoc/lore/classes/Set.html +4 -6
- data/doc/rdoc/lore/classes/Shellwords.html +4 -6
- data/doc/rdoc/lore/classes/String.html +6 -8
- data/doc/rdoc/lore/classes/Time.html +6 -8
- data/doc/rdoc/lore/classes/URI.html +24 -26
- data/doc/rdoc/lore/classes/URI/Hash.html +4 -6
- data/doc/rdoc/lore/classes/URI/Kernel.html +6 -8
- data/doc/rdoc/lore/classes/Zlib.html +188 -0
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +25 -10
- data/doc/rdoc/lore/files/doc/README_lore.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/head_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/safe_ln_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/slice_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/tail_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/wc_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/whereis_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils/which_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/fileutils_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/getoptlong_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/logger_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +3 -3
- data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +3 -3
- data/doc/rdoc/lore/files/lib/lore/facets/rbconfig_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/set_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/shellwords_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/uri_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/zlib_rb.html +97 -0
- data/doc/rdoc/lore/fr_class_index.html +4 -3
- data/doc/rdoc/lore/fr_file_index.html +4 -3
- data/doc/rdoc/lore/fr_method_index.html +19 -15
- data/doc/rdoc/lore/rdoc-style.css +18 -16
- data/doc/rdoc/more/classes/ANSICode.html +68 -70
- data/doc/rdoc/more/classes/Advisable.html +39 -41
- data/doc/rdoc/more/classes/Advisable/Method.html +22 -24
- data/doc/rdoc/more/classes/Archive.html +2 -2
- data/doc/rdoc/more/classes/Archive/Tar.html +2 -2
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +29 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +30 -32
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +21 -23
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +33 -35
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +35 -37
- data/doc/rdoc/more/classes/Argvector.html +78 -80
- data/doc/rdoc/more/classes/Association.html +30 -32
- data/doc/rdoc/more/classes/Association/Kernel.html +10 -12
- data/doc/rdoc/more/classes/Autoarray.html +8 -10
- data/doc/rdoc/more/classes/BBCode.html +36 -38
- data/doc/rdoc/more/classes/BaseX.html +18 -20
- data/doc/rdoc/more/classes/BiCrypt.html +69 -71
- data/doc/rdoc/more/classes/BigDuration.html +32 -34
- data/doc/rdoc/more/classes/BinReadable.html +87 -89
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +27 -29
- data/doc/rdoc/more/classes/Binding.html +10 -12
- data/doc/rdoc/more/classes/BlankSlate.html +4 -6
- data/doc/rdoc/more/classes/Buildable.html +6 -8
- data/doc/rdoc/more/classes/BuildingBlock.html +18 -20
- data/doc/rdoc/more/classes/CLI.html +2 -2
- data/doc/rdoc/more/classes/CLI/Arguments.html +78 -80
- data/doc/rdoc/more/classes/CLI/Command.html +24 -26
- data/doc/rdoc/more/classes/CLI/Command/UniversalOptions.html +2 -2
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +6 -8
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +6 -8
- data/doc/rdoc/more/classes/CacheDecorator.html +23 -25
- data/doc/rdoc/more/classes/Capsule.html +43 -45
- data/doc/rdoc/more/classes/Capsule/MissingFile.html +2 -2
- data/doc/rdoc/more/classes/Chain.html +19 -21
- data/doc/rdoc/more/classes/Cloneable.html +6 -8
- data/doc/rdoc/more/classes/ConsoleUtils.html +20 -22
- data/doc/rdoc/more/classes/Coroutine.html +30 -32
- data/doc/rdoc/more/classes/Crypt.html +18 -20
- data/doc/rdoc/more/classes/CssFilter.html +24 -26
- data/doc/rdoc/more/classes/CssTree.html +10 -12
- data/doc/rdoc/more/classes/Dictionary.html +230 -232
- data/doc/rdoc/more/classes/DictionaryMatcher.html +40 -42
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +6 -8
- data/doc/rdoc/more/classes/Downloader.html +26 -28
- data/doc/rdoc/more/classes/Duration.html +70 -72
- data/doc/rdoc/more/classes/Enumerable.html +46 -48
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +18 -20
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +6 -8
- data/doc/rdoc/more/classes/EnumerablePass.html +17 -19
- data/doc/rdoc/more/classes/Equatable.html +18 -20
- data/doc/rdoc/more/classes/EventHook.html +10 -12
- data/doc/rdoc/more/classes/Expirable.html +19 -21
- data/doc/rdoc/more/classes/FileList.html +54 -56
- data/doc/rdoc/more/classes/FileShell.html +149 -151
- data/doc/rdoc/more/classes/Fileable.html +16 -18
- data/doc/rdoc/more/classes/Fileable/DSL.html +43 -45
- data/doc/rdoc/more/classes/Hash.html +36 -38
- data/doc/rdoc/more/classes/Hash2Xml.html +6 -8
- data/doc/rdoc/more/classes/HtmlFilter.html +11 -13
- data/doc/rdoc/more/classes/IORedirect.html +10 -12
- data/doc/rdoc/more/classes/InfinityClass.html +38 -40
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +25 -27
- data/doc/rdoc/more/classes/Ini.html +39 -41
- data/doc/rdoc/more/classes/Instantiable.html +11 -13
- data/doc/rdoc/more/classes/Instantize.html +10 -12
- data/doc/rdoc/more/classes/Interval.html +189 -191
- data/doc/rdoc/more/classes/It.html +14 -16
- data/doc/rdoc/more/classes/LRUCache.html +40 -42
- data/doc/rdoc/more/classes/LRUCache/Item.html +2 -2
- data/doc/rdoc/more/classes/LRUCache/Sentinel.html +2 -2
- data/doc/rdoc/more/classes/LinkedList.html +70 -72
- data/doc/rdoc/more/classes/LinkedList/Node.html +6 -8
- data/doc/rdoc/more/classes/MissingArgument.html +2 -2
- data/doc/rdoc/more/classes/Module.html +173 -175
- data/doc/rdoc/more/classes/Multiton.html +14 -16
- data/doc/rdoc/more/classes/Multiton/Inclusive.html +2 -2
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +30 -32
- data/doc/rdoc/more/classes/NackClass.html +2 -2
- data/doc/rdoc/more/classes/Net.html +2 -2
- data/doc/rdoc/more/classes/Net/SMTP.html +10 -12
- data/doc/rdoc/more/classes/NullClass.html +26 -28
- data/doc/rdoc/more/classes/ObjectReflection.html +8 -10
- data/doc/rdoc/more/classes/OpEsc.html +7 -9
- data/doc/rdoc/more/classes/OpenCascade.html +48 -13
- data/doc/rdoc/more/classes/OpenCollection.html +10 -12
- data/doc/rdoc/more/classes/OpenHash.html +11 -13
- data/doc/rdoc/more/classes/OpenObject.html +97 -99
- data/doc/rdoc/more/classes/PQueue.html +86 -88
- data/doc/rdoc/more/classes/Paramix.html +13 -15
- data/doc/rdoc/more/classes/Paramix/Delegator.html +18 -20
- data/doc/rdoc/more/classes/PathList.html +10 -12
- data/doc/rdoc/more/classes/PathList/Finder.html +10 -12
- data/doc/rdoc/more/classes/Platform.html +24 -26
- data/doc/rdoc/more/classes/Pool.html +20 -22
- data/doc/rdoc/more/classes/Proc.html +11 -13
- data/doc/rdoc/more/classes/ProgressBar.html +54 -56
- data/doc/rdoc/more/classes/Prototype.html +30 -32
- data/doc/rdoc/more/classes/RWDelegator.html +18 -20
- data/doc/rdoc/more/classes/Random.html +7 -9
- data/doc/rdoc/more/classes/Random/Array.html +39 -41
- data/doc/rdoc/more/classes/Random/Hash.html +54 -56
- data/doc/rdoc/more/classes/Random/Object.html +6 -8
- data/doc/rdoc/more/classes/Random/String.html +36 -38
- data/doc/rdoc/more/classes/Random/String/Self.html +11 -13
- data/doc/rdoc/more/classes/Recorder.html +18 -20
- data/doc/rdoc/more/classes/RecursiveDependency.html +2 -2
- data/doc/rdoc/more/classes/Reference.html +21 -23
- data/doc/rdoc/more/classes/Registerable.html +15 -17
- data/doc/rdoc/more/classes/Semaphore.html +38 -40
- data/doc/rdoc/more/classes/Settings.html +30 -32
- data/doc/rdoc/more/classes/Settings/Setting.html +15 -17
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +6 -8
- data/doc/rdoc/more/classes/SimpleStringIO.html +10 -12
- data/doc/rdoc/more/classes/Snapshot.html +8 -10
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +8 -10
- data/doc/rdoc/more/classes/String/Mask.html +74 -76
- data/doc/rdoc/more/classes/String/Words.html +33 -35
- data/doc/rdoc/more/classes/Struct.html +6 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -6
- data/doc/rdoc/more/classes/SyncHash.html +4 -6
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +16 -18
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +16 -18
- data/doc/rdoc/more/classes/System.html +255 -257
- data/doc/rdoc/more/classes/TagIterator.html +581 -0
- data/doc/rdoc/more/classes/Timer.html +50 -52
- data/doc/rdoc/more/classes/Timer/Dummy.html +11 -13
- data/doc/rdoc/more/classes/TracePoint.html +60 -62
- data/doc/rdoc/more/classes/Tuple.html +172 -174
- data/doc/rdoc/more/classes/TypeCast.html +2 -2
- data/doc/rdoc/more/classes/TypeCast/Class.html +9 -11
- data/doc/rdoc/more/classes/TypeCast/Object.html +7 -9
- data/doc/rdoc/more/classes/TypeCastException.html +2 -2
- data/doc/rdoc/more/classes/Uninheritable.html +8 -10
- data/doc/rdoc/more/classes/UploadUtils.html +51 -53
- data/doc/rdoc/more/classes/VersionNumber.html +59 -61
- data/doc/rdoc/more/classes/Weekdays.html +30 -32
- data/doc/rdoc/more/classes/XOXO.html +11 -13
- data/doc/rdoc/more/classes/ZipUtils.html +60 -62
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +30 -32
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +30 -32
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +30 -32
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +25 -10
- data/doc/rdoc/more/files/doc/README_more.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/1stclassmethod_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/advisable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +3 -3
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/argvector_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/attr_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/autoarray_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/autoreload_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/basex_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bbcode_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/binreadable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/blankslate_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cachedecorator_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/capsule_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cattr_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/chain_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/class_extension_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/classmethods_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cloneable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/consoleutils_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/crypt_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/cssfilter_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/daemonize_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dependency_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/dictionarymatcher_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/downloader_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/duplicable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/duration_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/elementwise_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/enumerablepass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/equatable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/eventhook_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/expirable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/fileable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/filelist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/heap_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/infinity_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ini_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantiable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/instantize_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ioredirect_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/iteration_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/linkedlist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/lrucache_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/main_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/memoize_rb.html +4 -6
- data/doc/rdoc/more/files/lib/more/facets/methodspace_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/minitar_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/multiton_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nackclass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/net/smtp_tls_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/nullclass_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/opencascade_rb.html +4 -46
- data/doc/rdoc/more/files/lib/more/facets/opencollection_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/openhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/opesc_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/orderedhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/overload_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/partial_rb.html +4 -6
- data/doc/rdoc/more/files/lib/more/facets/pathlist_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/platform_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/pool_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/pqueue_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/progressbar_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/prototype_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/random_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/rbsystem_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/reference_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/registerable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/semaphore_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/settings_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/mask_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/succ_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/syncarray_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/synchash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tagiterator_rb.html +111 -0
- data/doc/rdoc/more/files/lib/more/facets/thread_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/times_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/tuple_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +5 -4
- data/doc/rdoc/more/files/lib/more/facets/uninheritable_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/uploadutils_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/version_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/ziputils_rb.html +2 -2
- data/doc/rdoc/more/fr_class_index.html +4 -5
- data/doc/rdoc/more/fr_file_index.html +4 -5
- data/doc/rdoc/more/fr_method_index.html +917 -941
- data/doc/rdoc/more/rdoc-style.css +18 -16
- data/lib/core/facets/array/combination.rb +15 -16
- data/lib/core/facets/array/index.rb +31 -6
- data/lib/core/facets/cattr.rb +2 -0
- data/lib/{more/facets → core/facets/class}/cattr.rb +18 -44
- data/lib/core/facets/class/cattr_accessor.rb +1 -0
- data/lib/core/facets/class/cattr_reader.rb +1 -0
- data/lib/core/facets/class/cattr_writer.rb +1 -0
- data/lib/core/facets/enumerable/mode.rb +5 -4
- data/lib/core/facets/enumerable/split.rb +6 -2
- data/lib/core/facets/file/append.rb +14 -0
- data/lib/core/facets/file/create.rb +21 -0
- data/lib/core/facets/file/rewrite.rb +6 -6
- data/lib/core/facets/file/write.rb +5 -47
- data/lib/core/facets/file/writelines.rb +24 -0
- data/lib/core/facets/hash/op.rb +6 -84
- data/lib/core/facets/hash/op_add.rb +12 -0
- data/lib/core/facets/hash/op_and.rb +33 -0
- data/lib/core/facets/hash/op_mul.rb +18 -0
- data/lib/core/facets/hash/op_or.rb +12 -0
- data/lib/core/facets/hash/op_sub.rb +26 -0
- data/lib/core/facets/indexable.rb +34 -26
- data/lib/core/facets/integer/odd.rb +8 -6
- data/lib/core/facets/module/class.rb +1 -3
- data/lib/core/facets/module/conflict.rb +10 -3
- data/lib/core/facets/module/prepend.rb +1 -0
- data/lib/core/facets/string/methodize.rb +6 -1
- data/lib/core/facets/string/modulize.rb +21 -0
- data/lib/core/facets/string/pathize.rb +6 -2
- data/lib/core/facets/string/splice.rb +19 -7
- data/lib/core/facets/string/variablize.rb +2 -1
- data/lib/core/facets/symbol/plain.rb +0 -27
- data/lib/core/facets/symbol/re_s.rb +18 -0
- data/lib/lore/facets/ostruct.rb +26 -10
- data/lib/lore/facets/pathname.rb +1 -1
- data/lib/lore/facets/zlib.rb +38 -0
- data/lib/more/facets/ansicode.rb +0 -5
- data/lib/more/facets/opencascade.rb +34 -32
- data/lib/more/facets/tagiter.rb +366 -0
- data/lib/more/facets/typecast.rb +5 -4
- data/task/conflicts +63 -0
- data/task/coverage.rake +37 -0
- data/task/methods +49 -0
- data/task/rdoc.rake +17 -0
- data/task/setup.rake +30 -0
- data/task/test.rake +47 -0
- data/test/{more → core/class}/test_cattr.rb +1 -1
- data/test/core/class/test_cattr_accessor.rb +2 -0
- data/test/core/class/test_cattr_reader.rb +1 -0
- data/test/core/class/test_cattr_writer.rb +1 -0
- data/test/core/file/test_create.rb +31 -0
- data/test/core/file/test_file.rb +0 -76
- data/test/core/file/test_null.rb +12 -0
- data/test/core/file/test_rewrite.rb +32 -0
- data/test/core/file/test_write.rb +31 -0
- data/test/core/file/test_writelines.rb +22 -0
- data/test/core/hash/test_op.rb +1 -42
- data/test/core/hash/test_op_add.rb +14 -0
- data/test/core/hash/test_op_and.rb +28 -0
- data/test/core/hash/test_op_mul.rb +14 -0
- data/test/core/hash/test_op_or.rb +14 -0
- data/test/core/hash/test_op_push.rb +23 -0
- data/test/core/hash/test_op_sub.rb +21 -0
- data/test/core/integer/test_even.rb +0 -9
- data/test/core/integer/test_odd.rb +16 -0
- data/test/core/module/test_alias_accessor.rb +22 -0
- data/test/core/module/test_alias_method_chain.rb +30 -0
- data/test/core/module/test_alias_module_function.rb +19 -0
- data/test/core/module/test_can.rb +19 -0
- data/test/core/module/test_class.rb +21 -0
- data/test/core/module/test_conflict.rb +19 -0
- data/test/core/module/test_integrate.rb +23 -0
- data/test/core/module/test_is.rb +19 -0
- data/test/core/module/test_methodize.rb +11 -0
- data/test/core/module/test_prepend.rb +29 -0
- data/test/core/module/test_redefine_method.rb +27 -0
- data/test/core/module/test_redirect_method.rb +25 -0
- data/test/core/module/test_rename_method.rb +27 -0
- data/test/core/module/test_revise.rb +2 -125
- data/test/core/module/test_wrap_method.rb +24 -0
- data/test/core/string/test_end_with.rb +12 -0
- data/test/core/string/test_lchomp.rb +18 -0
- data/test/core/string/test_methodize.rb +25 -0
- data/test/core/string/test_modulize.rb +25 -0
- data/test/core/string/test_op_sub.rb +12 -0
- data/test/core/string/test_pathize.rb +25 -0
- data/test/core/string/test_rewrite.rb +14 -0
- data/test/core/string/test_splice.rb +32 -0
- data/test/core/string/test_start_with.rb +12 -0
- data/test/core/string/test_variablize.rb +12 -0
- data/test/core/symbol/test_plain.rb +14 -0
- data/test/core/symbol/test_query.rb +14 -0
- data/test/core/symbol/test_setter.rb +14 -0
- data/test/core/unboundmethod/test_arguments.rb +21 -0
- data/test/core/unboundmethod/test_name.rb +15 -0
- metadata +174 -35
- data/METADATA +0 -28
- data/doc/rdoc/more/classes/Rope.html +0 -434
- data/doc/rdoc/more/classes/String/Style.html +0 -803
- data/lib/more/facets/rope.rb +0 -131
- data/lib/more/facets/string/style.rb +0 -317
- data/test/core/module/test_alias.rb +0 -45
- data/test/more/test_style.rb +0 -50
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -81,19 +81,17 @@ Object
|
|
81
81
|
|
82
82
|
|
83
83
|
<div class="sectiontitle">Methods</div>
|
84
|
-
<
|
85
|
-
<
|
86
|
-
<
|
87
|
-
<
|
88
|
-
<
|
89
|
-
<
|
90
|
-
<
|
91
|
-
<
|
92
|
-
<
|
93
|
-
<
|
94
|
-
<
|
95
|
-
<li><a href="#M000060">values</a></li>
|
96
|
-
</ul>
|
84
|
+
<span style="padding-right: 5px;"><a href="#M000056"><<</a></span>
|
85
|
+
<span style="padding-right: 5px;"><a href="#M000054">[]</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M000055">[]=</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M000052">each</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M000051">instance_delegate</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M000058">keys</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000059">names</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000050">new</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000053">to_hash</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000057">update</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000060">values</a></span>
|
97
95
|
|
98
96
|
<div class="sectiontitle">Included Modules</div>
|
99
97
|
<ul>
|
@@ -110,7 +108,7 @@ Object
|
|
110
108
|
<a name="M000050"></a><b>new</b>(delegate)
|
111
109
|
</div>
|
112
110
|
<div class="sourcecode">
|
113
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source"
|
111
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">+</a> ]</p>
|
114
112
|
<div id="M000050_source" class="dyn-source">
|
115
113
|
<pre>
|
116
114
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 14</span>
|
@@ -127,7 +125,7 @@ Object
|
|
127
125
|
<a name="M000056"></a><b><<</b>(pair)
|
128
126
|
</div>
|
129
127
|
<div class="sourcecode">
|
130
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source"
|
128
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">+</a> ]</p>
|
131
129
|
<div id="M000056_source" class="dyn-source">
|
132
130
|
<pre>
|
133
131
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 46</span>
|
@@ -145,7 +143,7 @@ Object
|
|
145
143
|
<a name="M000054"></a><b>[]</b>(name)
|
146
144
|
</div>
|
147
145
|
<div class="sourcecode">
|
148
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source"
|
146
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">+</a> ]</p>
|
149
147
|
<div id="M000054_source" class="dyn-source">
|
150
148
|
<pre>
|
151
149
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 36</span>
|
@@ -162,7 +160,7 @@ Object
|
|
162
160
|
<a name="M000055"></a><b>[]=</b>(name, value)
|
163
161
|
</div>
|
164
162
|
<div class="sourcecode">
|
165
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source"
|
163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">+</a> ]</p>
|
166
164
|
<div id="M000055_source" class="dyn-source">
|
167
165
|
<pre>
|
168
166
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 41</span>
|
@@ -179,7 +177,7 @@ Object
|
|
179
177
|
<a name="M000052"></a><b>each</b>() {|name[1..-1].to_sym, @delegate.instance_variable_get(name)| ...}
|
180
178
|
</div>
|
181
179
|
<div class="sourcecode">
|
182
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source"
|
180
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">+</a> ]</p>
|
183
181
|
<div id="M000052_source" class="dyn-source">
|
184
182
|
<pre>
|
185
183
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 22</span>
|
@@ -197,7 +195,7 @@ Object
|
|
197
195
|
<a name="M000051"></a><b>instance_delegate</b>()
|
198
196
|
</div>
|
199
197
|
<div class="sourcecode">
|
200
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source"
|
198
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">+</a> ]</p>
|
201
199
|
<div id="M000051_source" class="dyn-source">
|
202
200
|
<pre>
|
203
201
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 18</span>
|
@@ -213,7 +211,7 @@ Object
|
|
213
211
|
<a name="M000058"></a><b>keys</b>()
|
214
212
|
</div>
|
215
213
|
<div class="sourcecode">
|
216
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source"
|
214
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">+</a> ]</p>
|
217
215
|
<div id="M000058_source" class="dyn-source">
|
218
216
|
<pre>
|
219
217
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 58</span>
|
@@ -231,7 +229,7 @@ Object
|
|
231
229
|
<a name="M000059"></a><b>names</b>()
|
232
230
|
</div>
|
233
231
|
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source"
|
232
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">+</a> ]</p>
|
235
233
|
<div id="M000059_source" class="dyn-source">
|
236
234
|
<pre>
|
237
235
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 64</span>
|
@@ -249,7 +247,7 @@ Object
|
|
249
247
|
<a name="M000053"></a><b>to_hash</b>()
|
250
248
|
</div>
|
251
249
|
<div class="sourcecode">
|
252
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source"
|
250
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">+</a> ]</p>
|
253
251
|
<div id="M000053_source" class="dyn-source">
|
254
252
|
<pre>
|
255
253
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 28</span>
|
@@ -269,7 +267,7 @@ Object
|
|
269
267
|
<a name="M000057"></a><b>update</b>(hash)
|
270
268
|
</div>
|
271
269
|
<div class="sourcecode">
|
272
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source"
|
270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">+</a> ]</p>
|
273
271
|
<div id="M000057_source" class="dyn-source">
|
274
272
|
<pre>
|
275
273
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 52</span>
|
@@ -287,7 +285,7 @@ Object
|
|
287
285
|
<a name="M000060"></a><b>values</b>()
|
288
286
|
</div>
|
289
287
|
<div class="sourcecode">
|
290
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source"
|
288
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">+</a> ]</p>
|
291
289
|
<div id="M000060_source" class="dyn-source">
|
292
290
|
<pre>
|
293
291
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 70</span>
|
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -87,27 +87,25 @@ Object
|
|
87
87
|
|
88
88
|
|
89
89
|
<div class="sectiontitle">Methods</div>
|
90
|
-
<
|
91
|
-
<
|
92
|
-
<
|
93
|
-
<
|
94
|
-
<
|
95
|
-
<
|
96
|
-
<
|
97
|
-
<
|
98
|
-
<
|
99
|
-
<
|
100
|
-
<
|
101
|
-
<
|
102
|
-
<
|
103
|
-
<
|
104
|
-
<
|
105
|
-
<
|
106
|
-
<
|
107
|
-
<
|
108
|
-
<
|
109
|
-
<li><a href="#M000018">times_map</a></li>
|
110
|
-
</ul>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M000021">bit</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M000022">bit!</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M000024">bit?</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M000025">bitmask</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M000026">bitmask!</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M000027">bitmask?</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M000023">clear_bit</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M000013">even?</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M000015">fac</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M000014">factorial</a></span>
|
100
|
+
<span style="padding-right: 5px;"><a href="#M000009">multiple?</a></span>
|
101
|
+
<span style="padding-right: 5px;"><a href="#M000012">odd?</a></span>
|
102
|
+
<span style="padding-right: 5px;"><a href="#M000016">of</a></span>
|
103
|
+
<span style="padding-right: 5px;"><a href="#M000010">ordinal</a></span>
|
104
|
+
<span style="padding-right: 5px;"><a href="#M000011">ordinalize</a></span>
|
105
|
+
<span style="padding-right: 5px;"><a href="#M000019">round_at</a></span>
|
106
|
+
<span style="padding-right: 5px;"><a href="#M000020">round_to</a></span>
|
107
|
+
<span style="padding-right: 5px;"><a href="#M000017">times_collect</a></span>
|
108
|
+
<span style="padding-right: 5px;"><a href="#M000018">times_map</a></span>
|
111
109
|
|
112
110
|
|
113
111
|
|
@@ -143,7 +141,7 @@ href="Integer.html#M000021">bit</a>.
|
|
143
141
|
<a href="Integer.html#M000022">bit!</a>
|
144
142
|
</div>
|
145
143
|
<div class="sourcecode">
|
146
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source"
|
144
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">+</a> ]</p>
|
147
145
|
<div id="M000021_source" class="dyn-source">
|
148
146
|
<pre>
|
149
147
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 15</span>
|
@@ -187,7 +185,7 @@ Is a <a href="Integer.html#M000021">bit</a> set?
|
|
187
185
|
</pre>
|
188
186
|
</div>
|
189
187
|
<div class="sourcecode">
|
190
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source"
|
188
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">+</a> ]</p>
|
191
189
|
<div id="M000024_source" class="dyn-source">
|
192
190
|
<pre>
|
193
191
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 45</span>
|
@@ -225,7 +223,7 @@ Using a inverted <a href="Integer.html#M000025">bitmask</a> clears bits.
|
|
225
223
|
<a href="Integer.html#M000026">bitmask!</a>
|
226
224
|
</div>
|
227
225
|
<div class="sourcecode">
|
228
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source"
|
226
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">+</a> ]</p>
|
229
227
|
<div id="M000025_source" class="dyn-source">
|
230
228
|
<pre>
|
231
229
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 61</span>
|
@@ -267,7 +265,7 @@ Is <a href="Integer.html#M000025">bitmask</a> set?
|
|
267
265
|
</pre>
|
268
266
|
</div>
|
269
267
|
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source"
|
268
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">+</a> ]</p>
|
271
269
|
<div id="M000027_source" class="dyn-source">
|
272
270
|
<pre>
|
273
271
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 80</span>
|
@@ -291,7 +289,7 @@ Clear <a href="Integer.html#M000021">bit</a>.
|
|
291
289
|
</pre>
|
292
290
|
</div>
|
293
291
|
<div class="sourcecode">
|
294
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source"
|
292
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">+</a> ]</p>
|
295
293
|
<div id="M000023_source" class="dyn-source">
|
296
294
|
<pre>
|
297
295
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 32</span>
|
@@ -315,16 +313,17 @@ Returns true if this integer is even, false otherwise.
|
|
315
313
|
2.even? #=> true
|
316
314
|
3.even? #=> false
|
317
315
|
|
318
|
-
CREDIT:
|
316
|
+
CREDIT: Daniel Schierbeck
|
319
317
|
</pre>
|
320
318
|
</div>
|
321
319
|
<div class="sourcecode">
|
322
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source"
|
320
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">+</a> ]</p>
|
323
321
|
<div id="M000013_source" class="dyn-source">
|
324
322
|
<pre>
|
325
|
-
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line
|
323
|
+
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 27</span>
|
326
324
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">even?</span>
|
327
|
-
<span class="ruby-
|
325
|
+
<span class="ruby-comment cmt">#self % 2 == 0</span>
|
326
|
+
<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>
|
328
327
|
<span class="ruby-keyword kw">end</span>
|
329
328
|
</pre>
|
330
329
|
</div>
|
@@ -362,7 +361,7 @@ href="Integer.html#M000016">of</a> an integer.
|
|
362
361
|
<a href="Integer.html#M000015">fac</a>
|
363
362
|
</div>
|
364
363
|
<div class="sourcecode">
|
365
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source"
|
364
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">+</a> ]</p>
|
366
365
|
<div id="M000014_source" class="dyn-source">
|
367
366
|
<pre>
|
368
367
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/factorial.rb, line 11</span>
|
@@ -392,7 +391,7 @@ Is is a multiple <a href="Integer.html#M000016">of</a> a given number?
|
|
392
391
|
</pre>
|
393
392
|
</div>
|
394
393
|
<div class="sourcecode">
|
395
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source"
|
394
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">+</a> ]</p>
|
396
395
|
<div id="M000009_source" class="dyn-source">
|
397
396
|
<pre>
|
398
397
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/multiple.rb, line 10</span>
|
@@ -418,16 +417,17 @@ Returns true if this integer is odd, false otherwise.
|
|
418
417
|
-99.odd? # -> true
|
419
418
|
-98.odd? # -> false
|
420
419
|
|
421
|
-
|
420
|
+
CREDIT: Daniel Schierbeck
|
422
421
|
</pre>
|
423
422
|
</div>
|
424
423
|
<div class="sourcecode">
|
425
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source"
|
424
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">+</a> ]</p>
|
426
425
|
<div id="M000012_source" class="dyn-source">
|
427
426
|
<pre>
|
428
427
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/odd.rb, line 15</span>
|
429
428
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">odd?</span>
|
430
|
-
<span class="ruby-
|
429
|
+
<span class="ruby-comment cmt">#self % 2 == 1</span>
|
430
|
+
<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>
|
431
431
|
<span class="ruby-keyword kw">end</span>
|
432
432
|
</pre>
|
433
433
|
</div>
|
@@ -453,7 +453,7 @@ the yield results.
|
|
453
453
|
<a href="Integer.html#M000018">times_map</a>
|
454
454
|
</div>
|
455
455
|
<div class="sourcecode">
|
456
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source"
|
456
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">+</a> ]</p>
|
457
457
|
<div id="M000016_source" class="dyn-source">
|
458
458
|
<pre>
|
459
459
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/of.rb, line 9</span>
|
@@ -473,7 +473,7 @@ the yield results.
|
|
473
473
|
<a href="Integer.html#M000011">ordinalize</a>
|
474
474
|
</div>
|
475
475
|
<div class="sourcecode">
|
476
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source"
|
476
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">+</a> ]</p>
|
477
477
|
<div id="M000010_source" class="dyn-source">
|
478
478
|
<pre>
|
479
479
|
<span class="ruby-comment cmt"># File lib/core/facets/integer/ordinal.rb, line 3</span>
|
@@ -513,11 +513,11 @@ Alias for <a href="Integer.html#M000010">ordinal</a>
|
|
513
513
|
</div>
|
514
514
|
<div class="description">
|
515
515
|
<p>
|
516
|
-
See <a href="Float.html#
|
516
|
+
See <a href="Float.html#M000202">Float#round_at</a>.
|
517
517
|
</p>
|
518
518
|
</div>
|
519
519
|
<div class="sourcecode">
|
520
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source"
|
520
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">+</a> ]</p>
|
521
521
|
<div id="M000019_source" class="dyn-source">
|
522
522
|
<pre>
|
523
523
|
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 27</span>
|
@@ -534,11 +534,11 @@ See <a href="Float.html#M000197">Float#round_at</a>.
|
|
534
534
|
</div>
|
535
535
|
<div class="description">
|
536
536
|
<p>
|
537
|
-
See <a href="Float.html#
|
537
|
+
See <a href="Float.html#M000203">Float#round_to</a>.
|
538
538
|
</p>
|
539
539
|
</div>
|
540
540
|
<div class="sourcecode">
|
541
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source"
|
541
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">+</a> ]</p>
|
542
542
|
<div id="M000020_source" class="dyn-source">
|
543
543
|
<pre>
|
544
544
|
<span class="ruby-comment cmt"># File lib/core/facets/numeric/round.rb, line 33</span>
|
@@ -32,12 +32,12 @@
|
|
32
32
|
if( elem.style.display == "block" )
|
33
33
|
{
|
34
34
|
elem.style.display = "none"
|
35
|
-
link.innerHTML = "
|
35
|
+
link.innerHTML = "+"
|
36
36
|
}
|
37
37
|
else
|
38
38
|
{
|
39
39
|
elem.style.display = "block"
|
40
|
-
link.innerHTML = "
|
40
|
+
link.innerHTML = "-"
|
41
41
|
}
|
42
42
|
}
|
43
43
|
|
@@ -117,74 +117,72 @@
|
|
117
117
|
|
118
118
|
|
119
119
|
<div class="sectiontitle">Methods</div>
|
120
|
-
<
|
121
|
-
<
|
122
|
-
<
|
123
|
-
<
|
124
|
-
<
|
125
|
-
<
|
126
|
-
<
|
127
|
-
<
|
128
|
-
<
|
129
|
-
<
|
130
|
-
<
|
131
|
-
<
|
132
|
-
<
|
133
|
-
<
|
134
|
-
<
|
135
|
-
<
|
136
|
-
<
|
137
|
-
<
|
138
|
-
<
|
139
|
-
<
|
140
|
-
<
|
141
|
-
<
|
142
|
-
<
|
143
|
-
<
|
144
|
-
<
|
145
|
-
<
|
146
|
-
<
|
147
|
-
<
|
148
|
-
<
|
149
|
-
<
|
150
|
-
<
|
151
|
-
<
|
152
|
-
<
|
153
|
-
<
|
154
|
-
<
|
155
|
-
<
|
156
|
-
<
|
157
|
-
<
|
158
|
-
<
|
159
|
-
<
|
160
|
-
<
|
161
|
-
<
|
162
|
-
<
|
163
|
-
<
|
164
|
-
<
|
165
|
-
<
|
166
|
-
<
|
167
|
-
<
|
168
|
-
<
|
169
|
-
<
|
170
|
-
<
|
171
|
-
<
|
172
|
-
<
|
173
|
-
<
|
174
|
-
<
|
175
|
-
<
|
176
|
-
<
|
177
|
-
<
|
178
|
-
<
|
179
|
-
<
|
180
|
-
<
|
181
|
-
<
|
182
|
-
<
|
183
|
-
<
|
184
|
-
<
|
185
|
-
<
|
186
|
-
<li><a href="#M000372">with</a></li>
|
187
|
-
</ul>
|
120
|
+
<span style="padding-right: 5px;"><a href="#M000350">Bit</a></span>
|
121
|
+
<span style="padding-right: 5px;"><a href="#M000390">__DIR__</a></span>
|
122
|
+
<span style="padding-right: 5px;"><a href="#M000380">__HERE__</a></span>
|
123
|
+
<span style="padding-right: 5px;"><a href="#M000351">as</a></span>
|
124
|
+
<span style="padding-right: 5px;"><a href="#M000355">ask</a></span>
|
125
|
+
<span style="padding-right: 5px;"><a href="#M000385">attr_singleton_accessor</a></span>
|
126
|
+
<span style="padding-right: 5px;"><a href="#M000383">attr_singleton_reader</a></span>
|
127
|
+
<span style="padding-right: 5px;"><a href="#M000384">attr_singleton_writer</a></span>
|
128
|
+
<span style="padding-right: 5px;"><a href="#M000402">blank?</a></span>
|
129
|
+
<span style="padding-right: 5px;"><a href="#M000349">bool?</a></span>
|
130
|
+
<span style="padding-right: 5px;"><a href="#M000401">callstack</a></span>
|
131
|
+
<span style="padding-right: 5px;"><a href="#M000363">complete</a></span>
|
132
|
+
<span style="padding-right: 5px;"><a href="#M000395">constant</a></span>
|
133
|
+
<span style="padding-right: 5px;"><a href="#M000381">d</a></span>
|
134
|
+
<span style="padding-right: 5px;"><a href="#M000366">deep_copy</a></span>
|
135
|
+
<span style="padding-right: 5px;"><a href="#M000344">demand</a></span>
|
136
|
+
<span style="padding-right: 5px;"><a href="#M000356">demo</a></span>
|
137
|
+
<span style="padding-right: 5px;"><a href="#M000342">eigenclass</a></span>
|
138
|
+
<span style="padding-right: 5px;"><a href="#M000372">enable_warnings</a></span>
|
139
|
+
<span style="padding-right: 5px;"><a href="#M000362">ergo</a></span>
|
140
|
+
<span style="padding-right: 5px;"><a href="#M000348">false?</a></span>
|
141
|
+
<span style="padding-right: 5px;"><a href="#M000345">future</a></span>
|
142
|
+
<span style="padding-right: 5px;"><a href="#M000400">in?</a></span>
|
143
|
+
<span style="padding-right: 5px;"><a href="#M000360">instance</a></span>
|
144
|
+
<span style="padding-right: 5px;"><a href="#M000378">instance_assign</a></span>
|
145
|
+
<span style="padding-right: 5px;"><a href="#M000382">instance_class</a></span>
|
146
|
+
<span style="padding-right: 5px;"><a href="#M000377">instance_values</a></span>
|
147
|
+
<span style="padding-right: 5px;"><a href="#M000376">instance_vars</a></span>
|
148
|
+
<span style="padding-right: 5px;"><a href="#M000397">load_local</a></span>
|
149
|
+
<span style="padding-right: 5px;"><a href="#M000357">maybe</a></span>
|
150
|
+
<span style="padding-right: 5px;"><a href="#M000337">meta_alias</a></span>
|
151
|
+
<span style="padding-right: 5px;"><a href="#M000340">meta_class</a></span>
|
152
|
+
<span style="padding-right: 5px;"><a href="#M000339">meta_def</a></span>
|
153
|
+
<span style="padding-right: 5px;"><a href="#M000338">meta_eval</a></span>
|
154
|
+
<span style="padding-right: 5px;"><a href="#M000341">metaclass</a></span>
|
155
|
+
<span style="padding-right: 5px;"><a href="#M000365">non_nil?</a></span>
|
156
|
+
<span style="padding-right: 5px;"><a href="#M000364">not_nil?</a></span>
|
157
|
+
<span style="padding-right: 5px;"><a href="#M000358">object_hexid</a></span>
|
158
|
+
<span style="padding-right: 5px;"><a href="#M000361">object_send</a></span>
|
159
|
+
<span style="padding-right: 5px;"><a href="#M000386">p</a></span>
|
160
|
+
<span style="padding-right: 5px;"><a href="#M000392">populate</a></span>
|
161
|
+
<span style="padding-right: 5px;"><a href="#M000343">promise</a></span>
|
162
|
+
<span style="padding-right: 5px;"><a href="#M000374">qua_class</a></span>
|
163
|
+
<span style="padding-right: 5px;"><a href="#M000373">require_all</a></span>
|
164
|
+
<span style="padding-right: 5px;"><a href="#M000396">require_local</a></span>
|
165
|
+
<span style="padding-right: 5px;"><a href="#M000375">resc</a></span>
|
166
|
+
<span style="padding-right: 5px;"><a href="#M000398">respond</a></span>
|
167
|
+
<span style="padding-right: 5px;"><a href="#M000399">respond_with_value</a></span>
|
168
|
+
<span style="padding-right: 5px;"><a href="#M000391">returning</a></span>
|
169
|
+
<span style="padding-right: 5px;"><a href="#M000352">send_as</a></span>
|
170
|
+
<span style="padding-right: 5px;"><a href="#M000393">set_from</a></span>
|
171
|
+
<span style="padding-right: 5px;"><a href="#M000368">silence_stderr</a></span>
|
172
|
+
<span style="padding-right: 5px;"><a href="#M000369">silence_stdout</a></span>
|
173
|
+
<span style="padding-right: 5px;"><a href="#M000367">silence_stream</a></span>
|
174
|
+
<span style="padding-right: 5px;"><a href="#M000371">silence_warnings</a></span>
|
175
|
+
<span style="padding-right: 5px;"><a href="#M000370">silently</a></span>
|
176
|
+
<span style="padding-right: 5px;"><a href="#M000388">singleton</a></span>
|
177
|
+
<span style="padding-right: 5px;"><a href="#M000387">singleton_class</a></span>
|
178
|
+
<span style="padding-right: 5px;"><a href="#M000354">super_as</a></span>
|
179
|
+
<span style="padding-right: 5px;"><a href="#M000353">super_method</a></span>
|
180
|
+
<span style="padding-right: 5px;"><a href="#M000359">tap</a></span>
|
181
|
+
<span style="padding-right: 5px;"><a href="#M000346">to_b</a></span>
|
182
|
+
<span style="padding-right: 5px;"><a href="#M000347">true?</a></span>
|
183
|
+
<span style="padding-right: 5px;"><a href="#M000389">try</a></span>
|
184
|
+
<span style="padding-right: 5px;"><a href="#M000394">val?</a></span>
|
185
|
+
<span style="padding-right: 5px;"><a href="#M000379">with</a></span>
|
188
186
|
|
189
187
|
|
190
188
|
|
@@ -194,7 +192,7 @@
|
|
194
192
|
<div class="sectiontitle">Public Instance methods</div>
|
195
193
|
<div class="method">
|
196
194
|
<div class="title">
|
197
|
-
<a name="
|
195
|
+
<a name="M000350"></a><b>Bit</b>(n)
|
198
196
|
</div>
|
199
197
|
<div class="description">
|
200
198
|
<p>
|
@@ -214,8 +212,8 @@ This is equivalent to n-shift: "1 << n".
|
|
214
212
|
</pre>
|
215
213
|
</div>
|
216
214
|
<div class="sourcecode">
|
217
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
218
|
-
<div id="
|
215
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000350_source')" id="l_M000350_source">+</a> ]</p>
|
216
|
+
<div id="M000350_source" class="dyn-source">
|
219
217
|
<pre>
|
220
218
|
<span class="ruby-comment cmt"># File lib/core/facets/bitmask.rb, line 100</span>
|
221
219
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Bit</span>(<span class="ruby-identifier">n</span>)
|
@@ -227,7 +225,7 @@ This is equivalent to n-shift: "1 << n".
|
|
227
225
|
</div>
|
228
226
|
<div class="method">
|
229
227
|
<div class="title">
|
230
|
-
<a name="
|
228
|
+
<a name="M000390"></a><b>__DIR__</b>()
|
231
229
|
</div>
|
232
230
|
<div class="description">
|
233
231
|
<p>
|
@@ -239,8 +237,8 @@ CREDIT: Trans
|
|
239
237
|
</p>
|
240
238
|
</div>
|
241
239
|
<div class="sourcecode">
|
242
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
243
|
-
<div id="
|
240
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000390_source')" id="l_M000390_source">+</a> ]</p>
|
241
|
+
<div id="M000390_source" class="dyn-source">
|
244
242
|
<pre>
|
245
243
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/__dir__.rb, line 8</span>
|
246
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__DIR__</span>
|
@@ -252,11 +250,11 @@ CREDIT: Trans
|
|
252
250
|
</div>
|
253
251
|
<div class="method">
|
254
252
|
<div class="title">
|
255
|
-
<a name="
|
253
|
+
<a name="M000380"></a><b>__HERE__</b>()
|
256
254
|
</div>
|
257
255
|
<div class="sourcecode">
|
258
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
259
|
-
<div id="
|
256
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000380_source')" id="l_M000380_source">+</a> ]</p>
|
257
|
+
<div id="M000380_source" class="dyn-source">
|
260
258
|
<pre>
|
261
259
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/d.rb, line 3</span>
|
262
260
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__HERE__</span>
|
@@ -268,7 +266,7 @@ CREDIT: Trans
|
|
268
266
|
</div>
|
269
267
|
<div class="method">
|
270
268
|
<div class="title">
|
271
|
-
<a name="
|
269
|
+
<a name="M000351"></a><b>as</b>(ancestor, &blk)
|
272
270
|
</div>
|
273
271
|
<div class="description">
|
274
272
|
<p>
|
@@ -292,8 +290,8 @@ directly of the given object.
|
|
292
290
|
</pre>
|
293
291
|
</div>
|
294
292
|
<div class="sourcecode">
|
295
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
296
|
-
<div id="
|
293
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000351_source')" id="l_M000351_source">+</a> ]</p>
|
294
|
+
<div id="M000351_source" class="dyn-source">
|
297
295
|
<pre>
|
298
296
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 22</span>
|
299
297
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">as</span>(<span class="ruby-identifier">ancestor</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -311,7 +309,7 @@ directly of the given object.
|
|
311
309
|
</div>
|
312
310
|
<div class="method">
|
313
311
|
<div class="title">
|
314
|
-
<a name="
|
312
|
+
<a name="M000355"></a><b>ask</b>(question, answers=nil)
|
315
313
|
</div>
|
316
314
|
<div class="description">
|
317
315
|
<p>
|
@@ -333,13 +331,13 @@ Responding:
|
|
333
331
|
$ Are you happy? [Yn] Y <ENTER>
|
334
332
|
</pre>
|
335
333
|
<p>
|
336
|
-
The <a href="Kernel.html#
|
334
|
+
The <a href="Kernel.html#M000355">ask</a> method would return
|
337
335
|
"Y".
|
338
336
|
</p>
|
339
337
|
</div>
|
340
338
|
<div class="sourcecode">
|
341
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
342
|
-
<div id="
|
339
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000355_source')" id="l_M000355_source">+</a> ]</p>
|
340
|
+
<div id="M000355_source" class="dyn-source">
|
343
341
|
<pre>
|
344
342
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/ask.rb, line 19</span>
|
345
343
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ask</span>(<span class="ruby-identifier">question</span>, <span class="ruby-identifier">answers</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -354,12 +352,12 @@ The <a href="Kernel.html#M000348">ask</a> method would return
|
|
354
352
|
</div>
|
355
353
|
<div class="method">
|
356
354
|
<div class="title">
|
357
|
-
<a name="
|
355
|
+
<a name="M000385"></a><b>attr_singleton_accessor</b>(*args)
|
358
356
|
</div>
|
359
357
|
<div class="description">
|
360
358
|
<p>
|
361
|
-
Takes an array or hash <a href="Kernel.html#
|
362
|
-
values and creates <a href="Kernel.html#
|
359
|
+
Takes an array or hash <a href="Kernel.html#M000379">with</a> default
|
360
|
+
values and creates <a href="Kernel.html#M000388">singleton</a>
|
363
361
|
attr_accessors for each.
|
364
362
|
</p>
|
365
363
|
<pre>
|
@@ -375,8 +373,8 @@ attr_accessors for each.
|
|
375
373
|
</pre>
|
376
374
|
</div>
|
377
375
|
<div class="sourcecode">
|
378
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
379
|
-
<div id="
|
376
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000385_source')" id="l_M000385_source">+</a> ]</p>
|
377
|
+
<div id="M000385_source" class="dyn-source">
|
380
378
|
<pre>
|
381
379
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 54</span>
|
382
380
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_accessor</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -391,12 +389,12 @@ attr_accessors for each.
|
|
391
389
|
</div>
|
392
390
|
<div class="method">
|
393
391
|
<div class="title">
|
394
|
-
<a name="
|
392
|
+
<a name="M000383"></a><b>attr_singleton_reader</b>(*args)
|
395
393
|
</div>
|
396
394
|
<div class="description">
|
397
395
|
<p>
|
398
|
-
Takes an array or a hash <a href="Kernel.html#
|
399
|
-
values and creates <a href="Kernel.html#
|
396
|
+
Takes an array or a hash <a href="Kernel.html#M000379">with</a> default
|
397
|
+
values and creates <a href="Kernel.html#M000388">singleton</a> attr_readers
|
400
398
|
for each.
|
401
399
|
</p>
|
402
400
|
<pre>
|
@@ -410,8 +408,8 @@ for each.
|
|
410
408
|
</pre>
|
411
409
|
</div>
|
412
410
|
<div class="sourcecode">
|
413
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
414
|
-
<div id="
|
411
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000383_source')" id="l_M000383_source">+</a> ]</p>
|
412
|
+
<div id="M000383_source" class="dyn-source">
|
415
413
|
<pre>
|
416
414
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 14</span>
|
417
415
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_reader</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -426,12 +424,12 @@ for each.
|
|
426
424
|
</div>
|
427
425
|
<div class="method">
|
428
426
|
<div class="title">
|
429
|
-
<a name="
|
427
|
+
<a name="M000384"></a><b>attr_singleton_writer</b>(*args)
|
430
428
|
</div>
|
431
429
|
<div class="description">
|
432
430
|
<p>
|
433
|
-
Takes an array or a hash <a href="Kernel.html#
|
434
|
-
values and creates <a href="Kernel.html#
|
431
|
+
Takes an array or a hash <a href="Kernel.html#M000379">with</a> default
|
432
|
+
values and creates <a href="Kernel.html#M000388">singleton</a> attr_writers
|
435
433
|
for each.
|
436
434
|
</p>
|
437
435
|
<pre>
|
@@ -447,8 +445,8 @@ for each.
|
|
447
445
|
</pre>
|
448
446
|
</div>
|
449
447
|
<div class="sourcecode">
|
450
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
451
|
-
<div id="
|
448
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000384_source')" id="l_M000384_source">+</a> ]</p>
|
449
|
+
<div id="M000384_source" class="dyn-source">
|
452
450
|
<pre>
|
453
451
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/attr_singleton.rb, line 34</span>
|
454
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_singleton_writer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -463,7 +461,7 @@ for each.
|
|
463
461
|
</div>
|
464
462
|
<div class="method">
|
465
463
|
<div class="title">
|
466
|
-
<a name="
|
464
|
+
<a name="M000402"></a><b>blank?</b>()
|
467
465
|
</div>
|
468
466
|
<div class="description">
|
469
467
|
<p>
|
@@ -484,8 +482,8 @@ to
|
|
484
482
|
</pre>
|
485
483
|
</div>
|
486
484
|
<div class="sourcecode">
|
487
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
488
|
-
<div id="
|
485
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000402_source')" id="l_M000402_source">+</a> ]</p>
|
486
|
+
<div id="M000402_source" class="dyn-source">
|
489
487
|
<pre>
|
490
488
|
<span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 14</span>
|
491
489
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
|
@@ -497,7 +495,7 @@ to
|
|
497
495
|
</div>
|
498
496
|
<div class="method">
|
499
497
|
<div class="title">
|
500
|
-
<a name="
|
498
|
+
<a name="M000349"></a><b>bool?</b>()
|
501
499
|
</div>
|
502
500
|
<div class="description">
|
503
501
|
<p>
|
@@ -511,8 +509,8 @@ or <a href="FalseClass.html">FalseClass</a>, otherwise false.
|
|
511
509
|
</pre>
|
512
510
|
</div>
|
513
511
|
<div class="sourcecode">
|
514
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
515
|
-
<div id="
|
512
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000349_source')" id="l_M000349_source">+</a> ]</p>
|
513
|
+
<div id="M000349_source" class="dyn-source">
|
516
514
|
<pre>
|
517
515
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 127</span>
|
518
516
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bool?</span>
|
@@ -524,12 +522,12 @@ or <a href="FalseClass.html">FalseClass</a>, otherwise false.
|
|
524
522
|
</div>
|
525
523
|
<div class="method">
|
526
524
|
<div class="title">
|
527
|
-
<a name="
|
525
|
+
<a name="M000401"></a><b>callstack</b>( level = 1 )
|
528
526
|
</div>
|
529
527
|
<div class="description">
|
530
528
|
<p>
|
531
529
|
Parse a caller string and break it into its components, <a
|
532
|
-
href="Kernel.html#
|
530
|
+
href="Kernel.html#M000391">returning</a> an array. Returns:
|
533
531
|
</p>
|
534
532
|
<ul>
|
535
533
|
<li>file (<a href="String.html">String</a>)
|
@@ -568,8 +566,8 @@ be indeterminate.
|
|
568
566
|
</pre>
|
569
567
|
</div>
|
570
568
|
<div class="sourcecode">
|
571
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
572
|
-
<div id="
|
569
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000401_source')" id="l_M000401_source">+</a> ]</p>
|
570
|
+
<div id="M000401_source" class="dyn-source">
|
573
571
|
<pre>
|
574
572
|
<span class="ruby-comment cmt"># File lib/core/facets/callstack.rb, line 27</span>
|
575
573
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callstack</span>( <span class="ruby-identifier">level</span> = <span class="ruby-value">1</span> )
|
@@ -590,7 +588,7 @@ be indeterminate.
|
|
590
588
|
</div>
|
591
589
|
<div class="method">
|
592
590
|
<div class="title">
|
593
|
-
<a name="
|
591
|
+
<a name="M000363"></a><b>complete</b>() {|| ...}
|
594
592
|
</div>
|
595
593
|
<div class="description">
|
596
594
|
<p>
|
@@ -607,8 +605,8 @@ Repeat loop until it yeilds false or nil.
|
|
607
605
|
</pre>
|
608
606
|
</div>
|
609
607
|
<div class="sourcecode">
|
610
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
611
|
-
<div id="
|
608
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000363_source')" id="l_M000363_source">+</a> ]</p>
|
609
|
+
<div id="M000363_source" class="dyn-source">
|
612
610
|
<pre>
|
613
611
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/complete.rb, line 13</span>
|
614
612
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">complete</span>
|
@@ -620,7 +618,7 @@ Repeat loop until it yeilds false or nil.
|
|
620
618
|
</div>
|
621
619
|
<div class="method">
|
622
620
|
<div class="title">
|
623
|
-
<a name="
|
621
|
+
<a name="M000395"></a><b>constant</b>(const)
|
624
622
|
</div>
|
625
623
|
<div class="description">
|
626
624
|
<p>
|
@@ -642,8 +640,8 @@ unlike <tt>const_get</tt>, can handle module hierarchy.
|
|
642
640
|
</pre>
|
643
641
|
</div>
|
644
642
|
<div class="sourcecode">
|
645
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
646
|
-
<div id="
|
643
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000395_source')" id="l_M000395_source">+</a> ]</p>
|
644
|
+
<div id="M000395_source" class="dyn-source">
|
647
645
|
<pre>
|
648
646
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/constant.rb, line 18</span>
|
649
647
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">constant</span>(<span class="ruby-identifier">const</span>)
|
@@ -657,11 +655,11 @@ unlike <tt>const_get</tt>, can handle module hierarchy.
|
|
657
655
|
</div>
|
658
656
|
<div class="method">
|
659
657
|
<div class="title">
|
660
|
-
<a name="
|
658
|
+
<a name="M000381"></a><b>d</b>(*x)
|
661
659
|
</div>
|
662
660
|
<div class="description">
|
663
661
|
<p>
|
664
|
-
Like <a href="Kernel.html#
|
662
|
+
Like <a href="Kernel.html#M000386">p</a> but gives file and line number.
|
665
663
|
</p>
|
666
664
|
<pre>
|
667
665
|
d("hi")
|
@@ -681,8 +679,8 @@ TODO: This is borderline "prime". Keep here?
|
|
681
679
|
</pre>
|
682
680
|
</div>
|
683
681
|
<div class="sourcecode">
|
684
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
685
|
-
<div id="
|
682
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000381_source')" id="l_M000381_source">+</a> ]</p>
|
683
|
+
<div id="M000381_source" class="dyn-source">
|
686
684
|
<pre>
|
687
685
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/d.rb, line 19</span>
|
688
686
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">d</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>)
|
@@ -696,20 +694,20 @@ TODO: This is borderline "prime". Keep here?
|
|
696
694
|
</div>
|
697
695
|
<div class="method">
|
698
696
|
<div class="title">
|
699
|
-
<a name="
|
697
|
+
<a name="M000366"></a><b>deep_copy</b>()
|
700
698
|
</div>
|
701
699
|
<div class="description">
|
702
700
|
<p>
|
703
701
|
Anything that can be marshaled can be copied in totality. This is also
|
704
|
-
commonly called a <a href="Kernel.html#
|
702
|
+
commonly called a <a href="Kernel.html#M000366">deep_copy</a>.
|
705
703
|
</p>
|
706
704
|
<pre>
|
707
705
|
"ABC".copy #=> "ABC"
|
708
706
|
</pre>
|
709
707
|
</div>
|
710
708
|
<div class="sourcecode">
|
711
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
712
|
-
<div id="
|
709
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000366_source')" id="l_M000366_source">+</a> ]</p>
|
710
|
+
<div id="M000366_source" class="dyn-source">
|
713
711
|
<pre>
|
714
712
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/deep_copy.rb, line 8</span>
|
715
713
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deep_copy</span>
|
@@ -721,24 +719,24 @@ commonly called a <a href="Kernel.html#M000359">deep_copy</a>.
|
|
721
719
|
</div>
|
722
720
|
<div class="method">
|
723
721
|
<div class="title">
|
724
|
-
<a name="
|
722
|
+
<a name="M000344"></a><b>demand</b>( promise )
|
725
723
|
</div>
|
726
724
|
<div class="description">
|
727
725
|
<p>
|
728
|
-
Forces the result of a <a href="Kernel.html#
|
726
|
+
Forces the result of a <a href="Kernel.html#M000343">promise</a> to be
|
729
727
|
computed (if necessary) and returns the bare result object. Once evaluated,
|
730
|
-
the result of the <a href="Kernel.html#
|
728
|
+
the result of the <a href="Kernel.html#M000343">promise</a> will be cached.
|
731
729
|
Nested promises will be evaluated together, until the first non-<a
|
732
|
-
href="Kernel.html#
|
730
|
+
href="Kernel.html#M000343">promise</a> result.
|
733
731
|
</p>
|
734
732
|
<p>
|
735
733
|
If called on a value that is not a <a
|
736
|
-
href="Kernel.html#
|
734
|
+
href="Kernel.html#M000343">promise</a>, it will simply return it.
|
737
735
|
</p>
|
738
736
|
</div>
|
739
737
|
<div class="sourcecode">
|
740
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
741
|
-
<div id="
|
738
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000344_source')" id="l_M000344_source">+</a> ]</p>
|
739
|
+
<div id="M000344_source" class="dyn-source">
|
742
740
|
<pre>
|
743
741
|
<span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 219</span>
|
744
742
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">demand</span>( <span class="ruby-identifier">promise</span> )
|
@@ -754,7 +752,7 @@ href="Kernel.html#M000336">promise</a>, it will simply return it.
|
|
754
752
|
</div>
|
755
753
|
<div class="method">
|
756
754
|
<div class="title">
|
757
|
-
<a name="
|
755
|
+
<a name="M000356"></a><b>demo</b>(out=$stdout,&block)
|
758
756
|
</div>
|
759
757
|
<div class="description">
|
760
758
|
<p>
|
@@ -779,8 +777,8 @@ Produces:
|
|
779
777
|
</pre>
|
780
778
|
</div>
|
781
779
|
<div class="sourcecode">
|
782
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
783
|
-
<div id="
|
780
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000356_source')" id="l_M000356_source">+</a> ]</p>
|
781
|
+
<div id="M000356_source" class="dyn-source">
|
784
782
|
<pre>
|
785
783
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/demo.rb, line 19</span>
|
786
784
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">demo</span>(<span class="ruby-identifier">out</span>=<span class="ruby-identifier">$stdout</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -792,13 +790,13 @@ Produces:
|
|
792
790
|
</div>
|
793
791
|
<div class="method">
|
794
792
|
<div class="title">
|
795
|
-
<a name="
|
793
|
+
<a name="M000342"></a><b>eigenclass</b>()
|
796
794
|
</div>
|
797
795
|
<div class="description">
|
798
796
|
<p>
|
799
797
|
During this trying time when no one can get their techie catchwords to
|
800
798
|
stick to the refrigerator no matter how hard they slap it # <a
|
801
|
-
href="Kernel.html#
|
799
|
+
href="Kernel.html#M000379">with</a> the enchanted magnetic spatula, it’s
|
802
800
|
good to know that the contrived phrases really do fly, graceful and
|
803
801
|
unclasped and bearing north toward chilled shrimp. I know what my
|
804
802
|
Hallowe’en pumpkin is going to say.
|
@@ -810,8 +808,8 @@ Hallowe’en pumpkin is going to say.
|
|
810
808
|
</pre>
|
811
809
|
</div>
|
812
810
|
<div class="sourcecode">
|
813
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
814
|
-
<div id="
|
811
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000342_source')" id="l_M000342_source">+</a> ]</p>
|
812
|
+
<div id="M000342_source" class="dyn-source">
|
815
813
|
<pre>
|
816
814
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 69</span>
|
817
815
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eigenclass</span>
|
@@ -823,7 +821,7 @@ Hallowe’en pumpkin is going to say.
|
|
823
821
|
</div>
|
824
822
|
<div class="method">
|
825
823
|
<div class="title">
|
826
|
-
<a name="
|
824
|
+
<a name="M000372"></a><b>enable_warnings</b>() {|| ...}
|
827
825
|
</div>
|
828
826
|
<div class="description">
|
829
827
|
<p>
|
@@ -835,8 +833,8 @@ original value afterwards.
|
|
835
833
|
</pre>
|
836
834
|
</div>
|
837
835
|
<div class="sourcecode">
|
838
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
839
|
-
<div id="
|
836
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000372_source')" id="l_M000372_source">+</a> ]</p>
|
837
|
+
<div id="M000372_source" class="dyn-source">
|
840
838
|
<pre>
|
841
839
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 67</span>
|
842
840
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enable_warnings</span>
|
@@ -851,7 +849,7 @@ original value afterwards.
|
|
851
849
|
</div>
|
852
850
|
<div class="method">
|
853
851
|
<div class="title">
|
854
|
-
<a name="
|
852
|
+
<a name="M000362"></a><b>ergo</b>() {|self| ...}
|
855
853
|
</div>
|
856
854
|
<div class="description">
|
857
855
|
<p>
|
@@ -865,16 +863,16 @@ Yield self -or- return self.
|
|
865
863
|
nil.ergo{ |o| o.foobar } #=> nil
|
866
864
|
</pre>
|
867
865
|
<p>
|
868
|
-
This is like <a href="Kernel.html#
|
869
|
-
href="Kernel.html#
|
866
|
+
This is like <a href="Kernel.html#M000359">tap</a>, but <a
|
867
|
+
href="Kernel.html#M000359">tap</a> yields self -and- returns self.
|
870
868
|
</p>
|
871
869
|
<pre>
|
872
870
|
CREDIT: Daniel DeLorme
|
873
871
|
</pre>
|
874
872
|
</div>
|
875
873
|
<div class="sourcecode">
|
876
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
877
|
-
<div id="
|
874
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000362_source')" id="l_M000362_source">+</a> ]</p>
|
875
|
+
<div id="M000362_source" class="dyn-source">
|
878
876
|
<pre>
|
879
877
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/ergo.rb, line 17</span>
|
880
878
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ergo</span> <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
@@ -890,7 +888,7 @@ href="Kernel.html#M000352">tap</a> yields self -and- returns self.
|
|
890
888
|
</div>
|
891
889
|
<div class="method">
|
892
890
|
<div class="title">
|
893
|
-
<a name="
|
891
|
+
<a name="M000348"></a><b>false?</b>()
|
894
892
|
</div>
|
895
893
|
<div class="description">
|
896
894
|
<p>
|
@@ -904,8 +902,8 @@ href="FalseClass.html">FalseClass</a>, otherwise false.
|
|
904
902
|
</pre>
|
905
903
|
</div>
|
906
904
|
<div class="sourcecode">
|
907
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
908
|
-
<div id="
|
905
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">+</a> ]</p>
|
906
|
+
<div id="M000348_source" class="dyn-source">
|
909
907
|
<pre>
|
910
908
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 116</span>
|
911
909
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">false?</span>
|
@@ -917,25 +915,25 @@ href="FalseClass.html">FalseClass</a>, otherwise false.
|
|
917
915
|
</div>
|
918
916
|
<div class="method">
|
919
917
|
<div class="title">
|
920
|
-
<a name="
|
918
|
+
<a name="M000345"></a><b>future</b>( ) {|result| ...}
|
921
919
|
</div>
|
922
920
|
<div class="description">
|
923
921
|
<p>
|
924
922
|
Schedules a computation to be run asynchronously in a background thread and
|
925
|
-
returns a <a href="Kernel.html#
|
926
|
-
attempt to <a href="Kernel.html#
|
927
|
-
href="Kernel.html#
|
923
|
+
returns a <a href="Kernel.html#M000343">promise</a> for its result. An
|
924
|
+
attempt to <a href="Kernel.html#M000344">demand</a> the result of the <a
|
925
|
+
href="Kernel.html#M000343">promise</a> will block until the computation
|
928
926
|
finishes.
|
929
927
|
</p>
|
930
928
|
<p>
|
931
|
-
As <a href="Kernel.html#
|
932
|
-
href="Kernel.html#
|
933
|
-
href="Kernel.html#
|
929
|
+
As <a href="Kernel.html#M000379">with</a> <a
|
930
|
+
href="Kernel.html#M000343">Kernel.promise</a>, this passes the block a <a
|
931
|
+
href="Kernel.html#M000343">promise</a> for its own result. Use wisely.
|
934
932
|
</p>
|
935
933
|
</div>
|
936
934
|
<div class="sourcecode">
|
937
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
938
|
-
<div id="
|
935
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000345_source')" id="l_M000345_source">+</a> ]</p>
|
936
|
+
<div id="M000345_source" class="dyn-source">
|
939
937
|
<pre>
|
940
938
|
<span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 234</span>
|
941
939
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">future</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">computation</span> ) <span class="ruby-comment cmt">#:yields: result</span>
|
@@ -947,7 +945,7 @@ href="Kernel.html#M000336">promise</a> for its own result. Use wisely.
|
|
947
945
|
</div>
|
948
946
|
<div class="method">
|
949
947
|
<div class="title">
|
950
|
-
<a name="
|
948
|
+
<a name="M000400"></a><b>in?</b>(other)
|
951
949
|
</div>
|
952
950
|
<div class="description">
|
953
951
|
<p>
|
@@ -959,8 +957,8 @@ Is self included in other?
|
|
959
957
|
</pre>
|
960
958
|
</div>
|
961
959
|
<div class="sourcecode">
|
962
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
963
|
-
<div id="
|
960
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000400_source')" id="l_M000400_source">+</a> ]</p>
|
961
|
+
<div id="M000400_source" class="dyn-source">
|
964
962
|
<pre>
|
965
963
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/in.rb, line 8</span>
|
966
964
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">in?</span>(<span class="ruby-identifier">other</span>)
|
@@ -972,12 +970,12 @@ Is self included in other?
|
|
972
970
|
</div>
|
973
971
|
<div class="method">
|
974
972
|
<div class="title">
|
975
|
-
<a name="
|
973
|
+
<a name="M000360"></a><b>instance</b>()
|
976
974
|
</div>
|
977
975
|
<div class="description">
|
978
976
|
<p>
|
979
|
-
Access internals of an object <a href="Kernel.html#
|
980
|
-
href="Kernel.html#
|
977
|
+
Access internals of an object <a href="Kernel.html#M000351">as</a> if <a
|
978
|
+
href="Kernel.html#M000379">with</a> private access.
|
981
979
|
</p>
|
982
980
|
<pre>
|
983
981
|
class X
|
@@ -986,8 +984,8 @@ href="Kernel.html#M000372">with</a> private access.
|
|
986
984
|
</pre>
|
987
985
|
</div>
|
988
986
|
<div class="sourcecode">
|
989
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
990
|
-
<div id="
|
987
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000360_source')" id="l_M000360_source">+</a> ]</p>
|
988
|
+
<div id="M000360_source" class="dyn-source">
|
991
989
|
<pre>
|
992
990
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance.rb, line 12</span>
|
993
991
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance</span>
|
@@ -1001,11 +999,11 @@ href="Kernel.html#M000372">with</a> private access.
|
|
1001
999
|
</div>
|
1002
1000
|
<div class="method">
|
1003
1001
|
<div class="title">
|
1004
|
-
<a name="
|
1002
|
+
<a name="M000378"></a><b>instance_assign</b>(hash)
|
1005
1003
|
</div>
|
1006
1004
|
<div class="description">
|
1007
1005
|
<p>
|
1008
|
-
Set <a href="Kernel.html#
|
1006
|
+
Set <a href="Kernel.html#M000360">instance</a> variables using a hash.
|
1009
1007
|
</p>
|
1010
1008
|
<pre>
|
1011
1009
|
instance_assign('@a'=>1, '@b'=>2)
|
@@ -1013,13 +1011,13 @@ Set <a href="Kernel.html#M000353">instance</a> variables using a hash.
|
|
1013
1011
|
@b #=> 2
|
1014
1012
|
</pre>
|
1015
1013
|
<p>
|
1016
|
-
WARNING: <a href="Kernel.html#
|
1014
|
+
WARNING: <a href="Kernel.html#M000378">instance_assign</a> will be
|
1017
1015
|
deprecated. Use instance_vars.update instead.
|
1018
1016
|
</p>
|
1019
1017
|
</div>
|
1020
1018
|
<div class="sourcecode">
|
1021
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1022
|
-
<div id="
|
1019
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000378_source')" id="l_M000378_source">+</a> ]</p>
|
1020
|
+
<div id="M000378_source" class="dyn-source">
|
1023
1021
|
<pre>
|
1024
1022
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_assign.rb, line 32</span>
|
1025
1023
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_assign</span>(<span class="ruby-identifier">hash</span>)
|
@@ -1035,14 +1033,14 @@ deprecated. Use instance_vars.update instead.
|
|
1035
1033
|
</div>
|
1036
1034
|
<div class="method">
|
1037
1035
|
<div class="title">
|
1038
|
-
<a name="
|
1036
|
+
<a name="M000382"></a><b>instance_class</b>(&block)
|
1039
1037
|
</div>
|
1040
1038
|
<div class="description">
|
1041
1039
|
<p>
|
1042
1040
|
Easy access to an object qua class, otherwise known <a
|
1043
|
-
href="Kernel.html#
|
1044
|
-
href="Kernel.html#
|
1045
|
-
href="Kernel.html#
|
1041
|
+
href="Kernel.html#M000351">as</a> the object‘s <a
|
1042
|
+
href="Kernel.html#M000341">metaclass</a> or <a
|
1043
|
+
href="Kernel.html#M000388">singleton</a> class. This implemnetation alwasy
|
1046
1044
|
returns the class, even if a block is provided to eval against it.
|
1047
1045
|
</p>
|
1048
1046
|
<pre>
|
@@ -1052,8 +1050,8 @@ returns the class, even if a block is provided to eval against it.
|
|
1052
1050
|
</pre>
|
1053
1051
|
</div>
|
1054
1052
|
<div class="sourcecode">
|
1055
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1056
|
-
<div id="
|
1053
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000382_source')" id="l_M000382_source">+</a> ]</p>
|
1054
|
+
<div id="M000382_source" class="dyn-source">
|
1057
1055
|
<pre>
|
1058
1056
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_class.rb, line 19</span>
|
1059
1057
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_class</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1066,11 +1064,11 @@ returns the class, even if a block is provided to eval against it.
|
|
1066
1064
|
</div>
|
1067
1065
|
<div class="method">
|
1068
1066
|
<div class="title">
|
1069
|
-
<a name="
|
1067
|
+
<a name="M000377"></a><b>instance_values</b>()
|
1070
1068
|
</div>
|
1071
1069
|
<div class="description">
|
1072
1070
|
<p>
|
1073
|
-
Return <a href="Kernel.html#
|
1071
|
+
Return <a href="Kernel.html#M000360">instance</a> variable values in an
|
1074
1072
|
array.
|
1075
1073
|
</p>
|
1076
1074
|
<pre>
|
@@ -1085,13 +1083,13 @@ array.
|
|
1085
1083
|
x.instance_values #=> { "a"=>1, "b"=>2 }
|
1086
1084
|
</pre>
|
1087
1085
|
<p>
|
1088
|
-
WARNING: <a href="Kernel.html#
|
1086
|
+
WARNING: <a href="Kernel.html#M000377">instance_values</a> will be
|
1089
1087
|
deprecated. Use instance_vars.to_hash instead.
|
1090
1088
|
</p>
|
1091
1089
|
</div>
|
1092
1090
|
<div class="sourcecode">
|
1093
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1094
|
-
<div id="
|
1091
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000377_source')" id="l_M000377_source">+</a> ]</p>
|
1092
|
+
<div id="M000377_source" class="dyn-source">
|
1095
1093
|
<pre>
|
1096
1094
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_assign.rb, line 17</span>
|
1097
1095
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_values</span>
|
@@ -1106,11 +1104,11 @@ deprecated. Use instance_vars.to_hash instead.
|
|
1106
1104
|
</div>
|
1107
1105
|
<div class="method">
|
1108
1106
|
<div class="title">
|
1109
|
-
<a name="
|
1107
|
+
<a name="M000376"></a><b>instance_vars</b>()
|
1110
1108
|
</div>
|
1111
1109
|
<div class="sourcecode">
|
1112
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1113
|
-
<div id="
|
1110
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000376_source')" id="l_M000376_source">+</a> ]</p>
|
1111
|
+
<div id="M000376_source" class="dyn-source">
|
1114
1112
|
<pre>
|
1115
1113
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/instance_variables.rb, line 3</span>
|
1116
1114
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_vars</span>
|
@@ -1122,11 +1120,11 @@ deprecated. Use instance_vars.to_hash instead.
|
|
1122
1120
|
</div>
|
1123
1121
|
<div class="method">
|
1124
1122
|
<div class="title">
|
1125
|
-
<a name="
|
1123
|
+
<a name="M000397"></a><b>load_local</b>(fname, safe=nil)
|
1126
1124
|
</div>
|
1127
1125
|
<div class="description">
|
1128
1126
|
<p>
|
1129
|
-
Load file from same dir <a href="Kernel.html#
|
1127
|
+
Load file from same dir <a href="Kernel.html#M000351">as</a> calling
|
1130
1128
|
script.
|
1131
1129
|
</p>
|
1132
1130
|
<pre>
|
@@ -1134,8 +1132,8 @@ script.
|
|
1134
1132
|
</pre>
|
1135
1133
|
</div>
|
1136
1134
|
<div class="sourcecode">
|
1137
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1138
|
-
<div id="
|
1135
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000397_source')" id="l_M000397_source">+</a> ]</p>
|
1136
|
+
<div id="M000397_source" class="dyn-source">
|
1139
1137
|
<pre>
|
1140
1138
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/require_local.rb, line 17</span>
|
1141
1139
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_local</span>(<span class="ruby-identifier">fname</span>, <span class="ruby-identifier">safe</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -1149,7 +1147,7 @@ script.
|
|
1149
1147
|
</div>
|
1150
1148
|
<div class="method">
|
1151
1149
|
<div class="title">
|
1152
|
-
<a name="
|
1150
|
+
<a name="M000357"></a><b>maybe</b>(chance = 0.5) {|if rand < chance| ...}
|
1153
1151
|
</div>
|
1154
1152
|
<div class="description">
|
1155
1153
|
<p>
|
@@ -1162,8 +1160,8 @@ a 50/50 chance to being executed.
|
|
1162
1160
|
</pre>
|
1163
1161
|
</div>
|
1164
1162
|
<div class="sourcecode">
|
1165
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1166
|
-
<div id="
|
1163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000357_source')" id="l_M000357_source">+</a> ]</p>
|
1164
|
+
<div id="M000357_source" class="dyn-source">
|
1167
1165
|
<pre>
|
1168
1166
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/maybe.rb, line 9</span>
|
1169
1167
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">maybe</span>(<span class="ruby-identifier">chance</span> = <span class="ruby-value">0</span><span class="ruby-value">.5</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1179,12 +1177,12 @@ a 50/50 chance to being executed.
|
|
1179
1177
|
</div>
|
1180
1178
|
<div class="method">
|
1181
1179
|
<div class="title">
|
1182
|
-
<a name="
|
1180
|
+
<a name="M000337"></a><b>meta_alias</b>(*args)
|
1183
1181
|
</div>
|
1184
1182
|
<div class="description">
|
1185
1183
|
<p>
|
1186
|
-
Alias a method defined in the <a href="Kernel.html#
|
1187
|
-
(ie. <a href="Kernel.html#
|
1184
|
+
Alias a method defined in the <a href="Kernel.html#M000341">metaclass</a>
|
1185
|
+
(ie. <a href="Kernel.html#M000388">singleton</a> class).
|
1188
1186
|
</p>
|
1189
1187
|
<pre>
|
1190
1188
|
def X.y?; "y?" ; end
|
@@ -1195,8 +1193,8 @@ Alias a method defined in the <a href="Kernel.html#M000334">metaclass</a>
|
|
1195
1193
|
</pre>
|
1196
1194
|
</div>
|
1197
1195
|
<div class="sourcecode">
|
1198
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1199
|
-
<div id="
|
1196
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000337_source')" id="l_M000337_source">+</a> ]</p>
|
1197
|
+
<div id="M000337_source" class="dyn-source">
|
1200
1198
|
<pre>
|
1201
1199
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 11</span>
|
1202
1200
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_alias</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -1210,23 +1208,23 @@ Alias a method defined in the <a href="Kernel.html#M000334">metaclass</a>
|
|
1210
1208
|
</div>
|
1211
1209
|
<div class="method">
|
1212
1210
|
<div class="title">
|
1213
|
-
<a name="
|
1211
|
+
<a name="M000340"></a><b>meta_class</b>(&block)
|
1214
1212
|
</div>
|
1215
1213
|
<div class="description">
|
1216
1214
|
<p>
|
1217
1215
|
Easy access to an object‘s "special" class, otherwise known
|
1218
|
-
<a href="Kernel.html#
|
1219
|
-
href="Kernel.html#
|
1220
|
-
href="Kernel.html#
|
1216
|
+
<a href="Kernel.html#M000351">as</a> it‘s <a
|
1217
|
+
href="Kernel.html#M000341">metaclass</a> or <a
|
1218
|
+
href="Kernel.html#M000388">singleton</a> class.
|
1221
1219
|
</p>
|
1222
1220
|
</div>
|
1223
1221
|
<div class="aka">
|
1224
1222
|
This method is also aliased as
|
1225
|
-
<a href="Kernel.html#
|
1223
|
+
<a href="Kernel.html#M000341">metaclass</a>
|
1226
1224
|
</div>
|
1227
1225
|
<div class="sourcecode">
|
1228
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1229
|
-
<div id="
|
1226
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000340_source')" id="l_M000340_source">+</a> ]</p>
|
1227
|
+
<div id="M000340_source" class="dyn-source">
|
1230
1228
|
<pre>
|
1231
1229
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 47</span>
|
1232
1230
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_class</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1242,12 +1240,12 @@ href="Kernel.html#M000381">singleton</a> class.
|
|
1242
1240
|
</div>
|
1243
1241
|
<div class="method">
|
1244
1242
|
<div class="title">
|
1245
|
-
<a name="
|
1243
|
+
<a name="M000339"></a><b>meta_def</b>( name, &block )
|
1246
1244
|
</div>
|
1247
1245
|
<div class="description">
|
1248
1246
|
<p>
|
1249
1247
|
Add method to a meta-class —i.e. a <a
|
1250
|
-
href="Kernel.html#
|
1248
|
+
href="Kernel.html#M000388">singleton</a> method.
|
1251
1249
|
</p>
|
1252
1250
|
<pre>
|
1253
1251
|
class X; end
|
@@ -1258,8 +1256,8 @@ href="Kernel.html#M000381">singleton</a> method.
|
|
1258
1256
|
</pre>
|
1259
1257
|
</div>
|
1260
1258
|
<div class="sourcecode">
|
1261
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1262
|
-
<div id="
|
1259
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000339_source')" id="l_M000339_source">+</a> ]</p>
|
1260
|
+
<div id="M000339_source" class="dyn-source">
|
1263
1261
|
<pre>
|
1264
1262
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 38</span>
|
1265
1263
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_def</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -1273,11 +1271,11 @@ href="Kernel.html#M000381">singleton</a> method.
|
|
1273
1271
|
</div>
|
1274
1272
|
<div class="method">
|
1275
1273
|
<div class="title">
|
1276
|
-
<a name="
|
1274
|
+
<a name="M000338"></a><b>meta_eval</b>(str=nil, &blk)
|
1277
1275
|
</div>
|
1278
1276
|
<div class="description">
|
1279
1277
|
<p>
|
1280
|
-
Evaluate code in a <a href="Kernel.html#
|
1278
|
+
Evaluate code in a <a href="Kernel.html#M000341">metaclass</a>. This is
|
1281
1279
|
equivalent to ‘meta_class.instance_eval’.
|
1282
1280
|
</p>
|
1283
1281
|
<pre>
|
@@ -1285,8 +1283,8 @@ equivalent to ‘meta_class.instance_eval’.
|
|
1285
1283
|
</pre>
|
1286
1284
|
</div>
|
1287
1285
|
<div class="sourcecode">
|
1288
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1289
|
-
<div id="
|
1286
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000338_source')" id="l_M000338_source">+</a> ]</p>
|
1287
|
+
<div id="M000338_source" class="dyn-source">
|
1290
1288
|
<pre>
|
1291
1289
|
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 22</span>
|
1292
1290
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta_eval</span>(<span class="ruby-identifier">str</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1302,17 +1300,17 @@ equivalent to ‘meta_class.instance_eval’.
|
|
1302
1300
|
</div>
|
1303
1301
|
<div class="method">
|
1304
1302
|
<div class="title">
|
1305
|
-
<a name="
|
1303
|
+
<a name="M000341"></a><b>metaclass</b>(&block)
|
1306
1304
|
</div>
|
1307
1305
|
<div class="description">
|
1308
1306
|
<p>
|
1309
|
-
Alias for <a href="Kernel.html#
|
1307
|
+
Alias for <a href="Kernel.html#M000340">meta_class</a>
|
1310
1308
|
</p>
|
1311
1309
|
</div>
|
1312
1310
|
</div>
|
1313
1311
|
<div class="method">
|
1314
1312
|
<div class="title">
|
1315
|
-
<a name="
|
1313
|
+
<a name="M000365"></a><b>non_nil?</b>()
|
1316
1314
|
</div>
|
1317
1315
|
<div class="description">
|
1318
1316
|
<p>
|
@@ -1322,7 +1320,7 @@ Alias for not_nil?
|
|
1322
1320
|
</div>
|
1323
1321
|
<div class="method">
|
1324
1322
|
<div class="title">
|
1325
|
-
<a name="
|
1323
|
+
<a name="M000364"></a><b>not_nil?</b>()
|
1326
1324
|
</div>
|
1327
1325
|
<div class="description">
|
1328
1326
|
<p>
|
@@ -1337,11 +1335,11 @@ The opposite of nil?.
|
|
1337
1335
|
</div>
|
1338
1336
|
<div class="aka">
|
1339
1337
|
This method is also aliased as
|
1340
|
-
<a href="Kernel.html#
|
1338
|
+
<a href="Kernel.html#M000365">non_nil?</a>
|
1341
1339
|
</div>
|
1342
1340
|
<div class="sourcecode">
|
1343
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1344
|
-
<div id="
|
1341
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000364_source')" id="l_M000364_source">+</a> ]</p>
|
1342
|
+
<div id="M000364_source" class="dyn-source">
|
1345
1343
|
<pre>
|
1346
1344
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/not_nil.rb, line 10</span>
|
1347
1345
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">not_nil?</span>
|
@@ -1353,21 +1351,21 @@ The opposite of nil?.
|
|
1353
1351
|
</div>
|
1354
1352
|
<div class="method">
|
1355
1353
|
<div class="title">
|
1356
|
-
<a name="
|
1354
|
+
<a name="M000358"></a><b>object_hexid</b>()
|
1357
1355
|
</div>
|
1358
1356
|
<div class="description">
|
1359
1357
|
<p>
|
1360
|
-
Returns the object id <a href="Kernel.html#
|
1358
|
+
Returns the object id <a href="Kernel.html#M000351">as</a> a string in
|
1361
1359
|
hexideciaml, which is how Ruby reports them <a
|
1362
|
-
href="Kernel.html#
|
1360
|
+
href="Kernel.html#M000379">with</a> inspect.
|
1363
1361
|
</p>
|
1364
1362
|
<pre>
|
1365
1363
|
"ABC".object_hexid #=> "0x402d359c"
|
1366
1364
|
</pre>
|
1367
1365
|
</div>
|
1368
1366
|
<div class="sourcecode">
|
1369
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1370
|
-
<div id="
|
1367
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000358_source')" id="l_M000358_source">+</a> ]</p>
|
1368
|
+
<div id="M000358_source" class="dyn-source">
|
1371
1369
|
<pre>
|
1372
1370
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/object_hexid.rb, line 8</span>
|
1373
1371
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_hexid</span>
|
@@ -1379,7 +1377,7 @@ href="Kernel.html#M000372">with</a> inspect.
|
|
1379
1377
|
</div>
|
1380
1378
|
<div class="method">
|
1381
1379
|
<div class="title">
|
1382
|
-
<a name="
|
1380
|
+
<a name="M000361"></a><b>object_send</b>(name,*args,&blk)
|
1383
1381
|
</div>
|
1384
1382
|
<div class="description">
|
1385
1383
|
<p>
|
@@ -1395,7 +1393,7 @@ Send only to public methods.
|
|
1395
1393
|
=> NoMethodError: private method `foo' called for #<X:0xb7ac6ba8>
|
1396
1394
|
</pre>
|
1397
1395
|
<p>
|
1398
|
-
TODO: <a href="Kernel.html#
|
1396
|
+
TODO: <a href="Kernel.html#M000361">object_send</a> needs to change for
|
1399
1397
|
1.9.
|
1400
1398
|
</p>
|
1401
1399
|
<pre>
|
@@ -1403,8 +1401,8 @@ TODO: <a href="Kernel.html#M000354">object_send</a> needs to change for
|
|
1403
1401
|
</pre>
|
1404
1402
|
</div>
|
1405
1403
|
<div class="sourcecode">
|
1406
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1407
|
-
<div id="
|
1404
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000361_source')" id="l_M000361_source">+</a> ]</p>
|
1405
|
+
<div id="M000361_source" class="dyn-source">
|
1408
1406
|
<pre>
|
1409
1407
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/object_send.rb, line 20</span>
|
1410
1408
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_send</span>(<span class="ruby-identifier">name</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1423,11 +1421,11 @@ TODO: <a href="Kernel.html#M000354">object_send</a> needs to change for
|
|
1423
1421
|
</div>
|
1424
1422
|
<div class="method">
|
1425
1423
|
<div class="title">
|
1426
|
-
<a name="
|
1424
|
+
<a name="M000386"></a><b>p</b>(*x)
|
1427
1425
|
</div>
|
1428
1426
|
<div class="description">
|
1429
1427
|
<p>
|
1430
|
-
Alternate to standard <a href="Kernel.html#
|
1428
|
+
Alternate to standard <a href="Kernel.html#M000386">p</a> method that
|
1431
1429
|
outputs Kernel#inspect to stdout, but also passes through the orginal
|
1432
1430
|
argument(s).
|
1433
1431
|
</p>
|
@@ -1444,13 +1442,13 @@ produces
|
|
1444
1442
|
5
|
1445
1443
|
</pre>
|
1446
1444
|
<p>
|
1447
|
-
DEPRECATE AS OF 1.9, <em>if</em> <a href="Kernel.html#
|
1445
|
+
DEPRECATE AS OF 1.9, <em>if</em> <a href="Kernel.html#M000386">p</a> will
|
1448
1446
|
then do this too.
|
1449
1447
|
</p>
|
1450
1448
|
</div>
|
1451
1449
|
<div class="sourcecode">
|
1452
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1453
|
-
<div id="
|
1450
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000386_source')" id="l_M000386_source">+</a> ]</p>
|
1451
|
+
<div id="M000386_source" class="dyn-source">
|
1454
1452
|
<pre>
|
1455
1453
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/p.rb, line 18</span>
|
1456
1454
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">p</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">x</span>)
|
@@ -1463,7 +1461,7 @@ then do this too.
|
|
1463
1461
|
</div>
|
1464
1462
|
<div class="method">
|
1465
1463
|
<div class="title">
|
1466
|
-
<a name="
|
1464
|
+
<a name="M000392"></a><b>populate</b>(data=nil) {|| ...}
|
1467
1465
|
</div>
|
1468
1466
|
<div class="description">
|
1469
1467
|
<p>
|
@@ -1477,7 +1475,7 @@ Assign via accessor methods using a hash, associative array or block.
|
|
1477
1475
|
object.populate{ |s| s.a = 1; s.b = 2 }
|
1478
1476
|
</pre>
|
1479
1477
|
<p>
|
1480
|
-
These are all the same <a href="Kernel.html#
|
1478
|
+
These are all the same <a href="Kernel.html#M000351">as</a> doing:
|
1481
1479
|
</p>
|
1482
1480
|
<pre>
|
1483
1481
|
object.a = 1
|
@@ -1495,8 +1493,8 @@ TODO: Better name, set_with ?
|
|
1495
1493
|
</p>
|
1496
1494
|
</div>
|
1497
1495
|
<div class="sourcecode">
|
1498
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1499
|
-
<div id="
|
1496
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000392_source')" id="l_M000392_source">+</a> ]</p>
|
1497
|
+
<div id="M000392_source" class="dyn-source">
|
1500
1498
|
<pre>
|
1501
1499
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/populate.rb, line 25</span>
|
1502
1500
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">populate</span>(<span class="ruby-identifier">data</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#:yield:</span>
|
@@ -1514,34 +1512,34 @@ TODO: Better name, set_with ?
|
|
1514
1512
|
</div>
|
1515
1513
|
<div class="method">
|
1516
1514
|
<div class="title">
|
1517
|
-
<a name="
|
1515
|
+
<a name="M000343"></a><b>promise</b>( ) {|result| ...}
|
1518
1516
|
</div>
|
1519
1517
|
<div class="description">
|
1520
1518
|
<p>
|
1521
|
-
The <a href="Kernel.html#
|
1522
|
-
<a href="Kernel.html#
|
1523
|
-
href="Kernel.html#
|
1524
|
-
returns a <a href="Kernel.html#
|
1525
|
-
provided block at a <a href="Kernel.html#
|
1519
|
+
The <a href="Kernel.html#M000343">promise</a>() function is used together
|
1520
|
+
<a href="Kernel.html#M000379">with</a> <a
|
1521
|
+
href="Kernel.html#M000344">demand</a>() to implement lazy evaluation. It
|
1522
|
+
returns a <a href="Kernel.html#M000343">promise</a> to evaluate the
|
1523
|
+
provided block at a <a href="Kernel.html#M000345">future</a> time.
|
1526
1524
|
Evaluation can be demanded and the block‘s result obtained via the <a
|
1527
|
-
href="Kernel.html#
|
1525
|
+
href="Kernel.html#M000344">demand</a>() function.
|
1528
1526
|
</p>
|
1529
1527
|
<p>
|
1530
1528
|
Implicit evaluation is also supported: the first message sent to it will <a
|
1531
|
-
href="Kernel.html#
|
1529
|
+
href="Kernel.html#M000344">demand</a> evaluation, after which that message
|
1532
1530
|
and any subsequent messages will be forwarded to the result object.
|
1533
1531
|
</p>
|
1534
1532
|
<p>
|
1535
1533
|
As an aid to circular programming, the block will be passed a <a
|
1536
|
-
href="Kernel.html#
|
1534
|
+
href="Kernel.html#M000343">promise</a> for its own result when it is
|
1537
1535
|
evaluated. Be careful not to force that <a
|
1538
|
-
href="Kernel.html#
|
1536
|
+
href="Kernel.html#M000343">promise</a> during the computation, lest the
|
1539
1537
|
computation diverge.
|
1540
1538
|
</p>
|
1541
1539
|
</div>
|
1542
1540
|
<div class="sourcecode">
|
1543
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1544
|
-
<div id="
|
1541
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000343_source')" id="l_M000343_source">+</a> ]</p>
|
1542
|
+
<div id="M000343_source" class="dyn-source">
|
1545
1543
|
<pre>
|
1546
1544
|
<span class="ruby-comment cmt"># File lib/core/facets/lazy.rb, line 208</span>
|
1547
1545
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">promise</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">computation</span> ) <span class="ruby-comment cmt">#:yields: result</span>
|
@@ -1553,13 +1551,13 @@ computation diverge.
|
|
1553
1551
|
</div>
|
1554
1552
|
<div class="method">
|
1555
1553
|
<div class="title">
|
1556
|
-
<a name="
|
1554
|
+
<a name="M000374"></a><b>qua_class</b>(&block)
|
1557
1555
|
</div>
|
1558
1556
|
<div class="description">
|
1559
1557
|
<p>
|
1560
1558
|
Easy access to an object qua class, otherwise known <a
|
1561
|
-
href="Kernel.html#
|
1562
|
-
href="Kernel.html#
|
1559
|
+
href="Kernel.html#M000351">as</a> the object‘s <a
|
1560
|
+
href="Kernel.html#M000388">singleton</a> class.
|
1563
1561
|
</p>
|
1564
1562
|
<p>
|
1565
1563
|
Yes, another one.
|
@@ -1569,8 +1567,8 @@ Yes, another one.
|
|
1569
1567
|
</pre>
|
1570
1568
|
</div>
|
1571
1569
|
<div class="sourcecode">
|
1572
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1573
|
-
<div id="
|
1570
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000374_source')" id="l_M000374_source">+</a> ]</p>
|
1571
|
+
<div id="M000374_source" class="dyn-source">
|
1574
1572
|
<pre>
|
1575
1573
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/qua_class.rb, line 10</span>
|
1576
1574
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">qua_class</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1586,20 +1584,20 @@ Yes, another one.
|
|
1586
1584
|
</div>
|
1587
1585
|
<div class="method">
|
1588
1586
|
<div class="title">
|
1589
|
-
<a name="
|
1587
|
+
<a name="M000373"></a><b>require_all</b>(pat)
|
1590
1588
|
</div>
|
1591
1589
|
<div class="description">
|
1592
1590
|
<p>
|
1593
1591
|
Require a pattern of files. This make is easy to require an entire
|
1594
|
-
directory, for <a href="Kernel.html#
|
1592
|
+
directory, for <a href="Kernel.html#M000360">instance</a>.
|
1595
1593
|
</p>
|
1596
1594
|
<pre>
|
1597
1595
|
require_all 'facets/time/*'
|
1598
1596
|
</pre>
|
1599
1597
|
</div>
|
1600
1598
|
<div class="sourcecode">
|
1601
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1602
|
-
<div id="
|
1599
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000373_source')" id="l_M000373_source">+</a> ]</p>
|
1600
|
+
<div id="M000373_source" class="dyn-source">
|
1603
1601
|
<pre>
|
1604
1602
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/require_all.rb, line 8</span>
|
1605
1603
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_all</span>(<span class="ruby-identifier">pat</span>)
|
@@ -1619,11 +1617,11 @@ directory, for <a href="Kernel.html#M000353">instance</a>.
|
|
1619
1617
|
</div>
|
1620
1618
|
<div class="method">
|
1621
1619
|
<div class="title">
|
1622
|
-
<a name="
|
1620
|
+
<a name="M000396"></a><b>require_local</b>(fname)
|
1623
1621
|
</div>
|
1624
1622
|
<div class="description">
|
1625
1623
|
<p>
|
1626
|
-
Require file from same dir <a href="Kernel.html#
|
1624
|
+
Require file from same dir <a href="Kernel.html#M000351">as</a> calling
|
1627
1625
|
script.
|
1628
1626
|
</p>
|
1629
1627
|
<pre>
|
@@ -1631,8 +1629,8 @@ script.
|
|
1631
1629
|
</pre>
|
1632
1630
|
</div>
|
1633
1631
|
<div class="sourcecode">
|
1634
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1635
|
-
<div id="
|
1632
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000396_source')" id="l_M000396_source">+</a> ]</p>
|
1633
|
+
<div id="M000396_source" class="dyn-source">
|
1636
1634
|
<pre>
|
1637
1635
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/require_local.rb, line 7</span>
|
1638
1636
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_local</span>(<span class="ruby-identifier">fname</span>)
|
@@ -1646,7 +1644,7 @@ script.
|
|
1646
1644
|
</div>
|
1647
1645
|
<div class="method">
|
1648
1646
|
<div class="title">
|
1649
|
-
<a name="
|
1647
|
+
<a name="M000375"></a><b>resc</b>(str)
|
1650
1648
|
</div>
|
1651
1649
|
<div class="description">
|
1652
1650
|
<p>
|
@@ -1661,8 +1659,8 @@ Provides a shortcut to the Regexp.escape module method.
|
|
1661
1659
|
</pre>
|
1662
1660
|
</div>
|
1663
1661
|
<div class="sourcecode">
|
1664
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1665
|
-
<div id="
|
1662
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000375_source')" id="l_M000375_source">+</a> ]</p>
|
1663
|
+
<div id="M000375_source" class="dyn-source">
|
1666
1664
|
<pre>
|
1667
1665
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/resc.rb, line 11</span>
|
1668
1666
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resc</span>(<span class="ruby-identifier">str</span>)
|
@@ -1674,12 +1672,12 @@ Provides a shortcut to the Regexp.escape module method.
|
|
1674
1672
|
</div>
|
1675
1673
|
<div class="method">
|
1676
1674
|
<div class="title">
|
1677
|
-
<a name="
|
1675
|
+
<a name="M000398"></a><b>respond</b>(sym, *args)
|
1678
1676
|
</div>
|
1679
1677
|
<div class="description">
|
1680
1678
|
<p>
|
1681
1679
|
Like respond_to? but returns the result of the call if it does indeed <a
|
1682
|
-
href="Kernel.html#
|
1680
|
+
href="Kernel.html#M000398">respond</a>.
|
1683
1681
|
</p>
|
1684
1682
|
<pre>
|
1685
1683
|
class X
|
@@ -1695,11 +1693,11 @@ href="Kernel.html#M000391">respond</a>.
|
|
1695
1693
|
</div>
|
1696
1694
|
<div class="aka">
|
1697
1695
|
This method is also aliased as
|
1698
|
-
<a href="Kernel.html#
|
1696
|
+
<a href="Kernel.html#M000399">respond_with_value</a>
|
1699
1697
|
</div>
|
1700
1698
|
<div class="sourcecode">
|
1701
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1702
|
-
<div id="
|
1699
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000398_source')" id="l_M000398_source">+</a> ]</p>
|
1700
|
+
<div id="M000398_source" class="dyn-source">
|
1703
1701
|
<pre>
|
1704
1702
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/respond.rb, line 16</span>
|
1705
1703
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -1712,17 +1710,17 @@ href="Kernel.html#M000391">respond</a>.
|
|
1712
1710
|
</div>
|
1713
1711
|
<div class="method">
|
1714
1712
|
<div class="title">
|
1715
|
-
<a name="
|
1713
|
+
<a name="M000399"></a><b>respond_with_value</b>(sym, *args)
|
1716
1714
|
</div>
|
1717
1715
|
<div class="description">
|
1718
1716
|
<p>
|
1719
|
-
Alias for <a href="Kernel.html#
|
1717
|
+
Alias for <a href="Kernel.html#M000398">respond</a>
|
1720
1718
|
</p>
|
1721
1719
|
</div>
|
1722
1720
|
</div>
|
1723
1721
|
<div class="method">
|
1724
1722
|
<div class="title">
|
1725
|
-
<a name="
|
1723
|
+
<a name="M000391"></a><b>returning</b>(obj=self) {|| ...}
|
1726
1724
|
</div>
|
1727
1725
|
<div class="description">
|
1728
1726
|
<p>
|
@@ -1735,11 +1733,11 @@ A Ruby-ized realization of the K combinator.
|
|
1735
1733
|
end
|
1736
1734
|
</pre>
|
1737
1735
|
<p>
|
1738
|
-
Technically, <a href="Kernel.html#
|
1736
|
+
Technically, <a href="Kernel.html#M000391">returning</a> probably should
|
1739
1737
|
force the return of the stated object irregardless of any return statements
|
1740
1738
|
that might appear within it‘s block. This might differentiate <a
|
1741
|
-
href="Kernel.html#
|
1742
|
-
href="Kernel.html#
|
1739
|
+
href="Kernel.html#M000391">returning</a> from <a
|
1740
|
+
href="Kernel.html#M000379">with</a>, however it also would require
|
1743
1741
|
implementation in Ruby itself.
|
1744
1742
|
</p>
|
1745
1743
|
<pre>
|
@@ -1747,8 +1745,8 @@ implementation in Ruby itself.
|
|
1747
1745
|
</pre>
|
1748
1746
|
</div>
|
1749
1747
|
<div class="sourcecode">
|
1750
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1751
|
-
<div id="
|
1748
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000391_source')" id="l_M000391_source">+</a> ]</p>
|
1749
|
+
<div id="M000391_source" class="dyn-source">
|
1752
1750
|
<pre>
|
1753
1751
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/returning.rb, line 18</span>
|
1754
1752
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">returning</span>(<span class="ruby-identifier">obj</span>=<span class="ruby-keyword kw">self</span>) <span class="ruby-comment cmt">#:yield:</span>
|
@@ -1761,7 +1759,7 @@ implementation in Ruby itself.
|
|
1761
1759
|
</div>
|
1762
1760
|
<div class="method">
|
1763
1761
|
<div class="title">
|
1764
|
-
<a name="
|
1762
|
+
<a name="M000352"></a><b>send_as</b>(ancestor, sym, *args, &blk)
|
1765
1763
|
</div>
|
1766
1764
|
<div class="description">
|
1767
1765
|
<p>
|
@@ -1772,8 +1770,8 @@ TODO: Does this have the proper scope for send?
|
|
1772
1770
|
</p>
|
1773
1771
|
</div>
|
1774
1772
|
<div class="sourcecode">
|
1775
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1776
|
-
<div id="
|
1773
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000352_source')" id="l_M000352_source">+</a> ]</p>
|
1774
|
+
<div id="M000352_source" class="dyn-source">
|
1777
1775
|
<pre>
|
1778
1776
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 36</span>
|
1779
1777
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_as</span>(<span class="ruby-identifier">ancestor</span>, <span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1785,7 +1783,7 @@ TODO: Does this have the proper scope for send?
|
|
1785
1783
|
</div>
|
1786
1784
|
<div class="method">
|
1787
1785
|
<div class="title">
|
1788
|
-
<a name="
|
1786
|
+
<a name="M000393"></a><b>set_from</b>(obj, *fields)
|
1789
1787
|
</div>
|
1790
1788
|
<div class="description">
|
1791
1789
|
<p>
|
@@ -1812,8 +1810,8 @@ TODO: pepulate_from(obj) ?
|
|
1812
1810
|
</p>
|
1813
1811
|
</div>
|
1814
1812
|
<div class="sourcecode">
|
1815
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1816
|
-
<div id="
|
1813
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000393_source')" id="l_M000393_source">+</a> ]</p>
|
1814
|
+
<div id="M000393_source" class="dyn-source">
|
1817
1815
|
<pre>
|
1818
1816
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/populate.rb, line 54</span>
|
1819
1817
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_from</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">fields</span>)
|
@@ -1839,11 +1837,11 @@ TODO: pepulate_from(obj) ?
|
|
1839
1837
|
</div>
|
1840
1838
|
<div class="method">
|
1841
1839
|
<div class="title">
|
1842
|
-
<a name="
|
1840
|
+
<a name="M000368"></a><b>silence_stderr</b>( {|| ...}
|
1843
1841
|
</div>
|
1844
1842
|
<div class="sourcecode">
|
1845
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1846
|
-
<div id="
|
1843
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000368_source')" id="l_M000368_source">+</a> ]</p>
|
1844
|
+
<div id="M000368_source" class="dyn-source">
|
1847
1845
|
<pre>
|
1848
1846
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 27</span>
|
1849
1847
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stderr</span> <span class="ruby-comment cmt">#:yeild:</span>
|
@@ -1855,11 +1853,11 @@ TODO: pepulate_from(obj) ?
|
|
1855
1853
|
</div>
|
1856
1854
|
<div class="method">
|
1857
1855
|
<div class="title">
|
1858
|
-
<a name="
|
1856
|
+
<a name="M000369"></a><b>silence_stdout</b>( {|| ...}
|
1859
1857
|
</div>
|
1860
1858
|
<div class="sourcecode">
|
1861
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1862
|
-
<div id="
|
1859
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000369_source')" id="l_M000369_source">+</a> ]</p>
|
1860
|
+
<div id="M000369_source" class="dyn-source">
|
1863
1861
|
<pre>
|
1864
1862
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 32</span>
|
1865
1863
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stdout</span> <span class="ruby-comment cmt">#:yeild:</span>
|
@@ -1871,7 +1869,7 @@ TODO: pepulate_from(obj) ?
|
|
1871
1869
|
</div>
|
1872
1870
|
<div class="method">
|
1873
1871
|
<div class="title">
|
1874
|
-
<a name="
|
1872
|
+
<a name="M000367"></a><b>silence_stream</b>(*streams) {|| ...}
|
1875
1873
|
</div>
|
1876
1874
|
<div class="description">
|
1877
1875
|
<p>
|
@@ -1888,8 +1886,8 @@ Silences any stream for the duration of the block.
|
|
1888
1886
|
</pre>
|
1889
1887
|
</div>
|
1890
1888
|
<div class="sourcecode">
|
1891
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1892
|
-
<div id="
|
1889
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000367_source')" id="l_M000367_source">+</a> ]</p>
|
1890
|
+
<div id="M000367_source" class="dyn-source">
|
1893
1891
|
<pre>
|
1894
1892
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 13</span>
|
1895
1893
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_stream</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">streams</span>) <span class="ruby-comment cmt">#:yeild:</span>
|
@@ -1910,7 +1908,7 @@ Silences any stream for the duration of the block.
|
|
1910
1908
|
</div>
|
1911
1909
|
<div class="method">
|
1912
1910
|
<div class="title">
|
1913
|
-
<a name="
|
1911
|
+
<a name="M000371"></a><b>silence_warnings</b>() {|| ...}
|
1914
1912
|
</div>
|
1915
1913
|
<div class="description">
|
1916
1914
|
<p>
|
@@ -1928,8 +1926,8 @@ value afterwards.
|
|
1928
1926
|
</pre>
|
1929
1927
|
</div>
|
1930
1928
|
<div class="sourcecode">
|
1931
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1932
|
-
<div id="
|
1929
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000371_source')" id="l_M000371_source">+</a> ]</p>
|
1930
|
+
<div id="M000371_source" class="dyn-source">
|
1933
1931
|
<pre>
|
1934
1932
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 55</span>
|
1935
1933
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silence_warnings</span>
|
@@ -1944,17 +1942,17 @@ value afterwards.
|
|
1944
1942
|
</div>
|
1945
1943
|
<div class="method">
|
1946
1944
|
<div class="title">
|
1947
|
-
<a name="
|
1945
|
+
<a name="M000370"></a><b>silently</b>(*streams) {|| ...}
|
1948
1946
|
</div>
|
1949
1947
|
<div class="description">
|
1950
1948
|
<p>
|
1951
|
-
Just like <a href="Kernel.html#
|
1949
|
+
Just like <a href="Kernel.html#M000367">silence_stream</a>, but will
|
1952
1950
|
default to STDOUT, STDERR if no streams are given.
|
1953
1951
|
</p>
|
1954
1952
|
</div>
|
1955
1953
|
<div class="sourcecode">
|
1956
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1957
|
-
<div id="
|
1954
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000370_source')" id="l_M000370_source">+</a> ]</p>
|
1955
|
+
<div id="M000370_source" class="dyn-source">
|
1958
1956
|
<pre>
|
1959
1957
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/silence.rb, line 39</span>
|
1960
1958
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silently</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">streams</span>) <span class="ruby-comment cmt">#:yeild:</span>
|
@@ -1967,17 +1965,17 @@ default to STDOUT, STDERR if no streams are given.
|
|
1967
1965
|
</div>
|
1968
1966
|
<div class="method">
|
1969
1967
|
<div class="title">
|
1970
|
-
<a name="
|
1968
|
+
<a name="M000388"></a><b>singleton</b>(&block)
|
1971
1969
|
</div>
|
1972
1970
|
<div class="description">
|
1973
1971
|
<p>
|
1974
|
-
Alias for <a href="Kernel.html#
|
1972
|
+
Alias for <a href="Kernel.html#M000387">singleton_class</a>
|
1975
1973
|
</p>
|
1976
1974
|
</div>
|
1977
1975
|
</div>
|
1978
1976
|
<div class="method">
|
1979
1977
|
<div class="title">
|
1980
|
-
<a name="
|
1978
|
+
<a name="M000387"></a><b>singleton_class</b>(&block)
|
1981
1979
|
</div>
|
1982
1980
|
<div class="description">
|
1983
1981
|
<p>
|
@@ -1989,11 +1987,11 @@ One day these names must be reconciled!
|
|
1989
1987
|
</div>
|
1990
1988
|
<div class="aka">
|
1991
1989
|
This method is also aliased as
|
1992
|
-
<a href="Kernel.html#
|
1990
|
+
<a href="Kernel.html#M000388">singleton</a>
|
1993
1991
|
</div>
|
1994
1992
|
<div class="sourcecode">
|
1995
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1996
|
-
<div id="
|
1993
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000387_source')" id="l_M000387_source">+</a> ]</p>
|
1994
|
+
<div id="M000387_source" class="dyn-source">
|
1997
1995
|
<pre>
|
1998
1996
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/singleton_class.rb, line 7</span>
|
1999
1997
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_class</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -2009,7 +2007,7 @@ One day these names must be reconciled!
|
|
2009
2007
|
</div>
|
2010
2008
|
<div class="method">
|
2011
2009
|
<div class="title">
|
2012
|
-
<a name="
|
2010
|
+
<a name="M000354"></a><b>super_as</b>(klass=self.class.superclass, *args, &blk)
|
2013
2011
|
</div>
|
2014
2012
|
<div class="description">
|
2015
2013
|
<p>
|
@@ -2032,8 +2030,8 @@ Like super but skips to a specific ancestor module or class.
|
|
2032
2030
|
</pre>
|
2033
2031
|
</div>
|
2034
2032
|
<div class="sourcecode">
|
2035
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2036
|
-
<div id="
|
2033
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000354_source')" id="l_M000354_source">+</a> ]</p>
|
2034
|
+
<div id="M000354_source" class="dyn-source">
|
2037
2035
|
<pre>
|
2038
2036
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 73</span>
|
2039
2037
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">super_as</span>(<span class="ruby-identifier">klass</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">superclass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -2049,7 +2047,7 @@ Like super but skips to a specific ancestor module or class.
|
|
2049
2047
|
</div>
|
2050
2048
|
<div class="method">
|
2051
2049
|
<div class="title">
|
2052
|
-
<a name="
|
2050
|
+
<a name="M000353"></a><b>super_method</b>(klass, meth)
|
2053
2051
|
</div>
|
2054
2052
|
<div class="description">
|
2055
2053
|
<p>
|
@@ -2057,8 +2055,8 @@ Returns method of a parent class bound to self.
|
|
2057
2055
|
</p>
|
2058
2056
|
</div>
|
2059
2057
|
<div class="sourcecode">
|
2060
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2061
|
-
<div id="
|
2058
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">+</a> ]</p>
|
2059
|
+
<div id="M000353_source" class="dyn-source">
|
2062
2060
|
<pre>
|
2063
2061
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/as.rb, line 50</span>
|
2064
2062
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">super_method</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">meth</span>)
|
@@ -2073,17 +2071,17 @@ Returns method of a parent class bound to self.
|
|
2073
2071
|
</div>
|
2074
2072
|
<div class="method">
|
2075
2073
|
<div class="title">
|
2076
|
-
<a name="
|
2074
|
+
<a name="M000359"></a><b>tap</b>() {|self| ...}
|
2077
2075
|
</div>
|
2078
2076
|
<div class="description">
|
2079
2077
|
<p>
|
2080
|
-
The <a href="Kernel.html#
|
2078
|
+
The <a href="Kernel.html#M000359">tap</a> K-Combinator. This yields self
|
2081
2079
|
-and- returns self.
|
2082
2080
|
</p>
|
2083
2081
|
</div>
|
2084
2082
|
<div class="sourcecode">
|
2085
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2086
|
-
<div id="
|
2083
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000359_source')" id="l_M000359_source">+</a> ]</p>
|
2084
|
+
<div id="M000359_source" class="dyn-source">
|
2087
2085
|
<pre>
|
2088
2086
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/tap.rb, line 7</span>
|
2089
2087
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tap</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -2098,7 +2096,7 @@ The <a href="Kernel.html#M000352">tap</a> K-Combinator. This yields self
|
|
2098
2096
|
</div>
|
2099
2097
|
<div class="method">
|
2100
2098
|
<div class="title">
|
2101
|
-
<a name="
|
2099
|
+
<a name="M000346"></a><b>to_b</b>()
|
2102
2100
|
</div>
|
2103
2101
|
<div class="description">
|
2104
2102
|
<p>
|
@@ -2113,8 +2111,8 @@ this to suite the particular need.
|
|
2113
2111
|
</pre>
|
2114
2112
|
</div>
|
2115
2113
|
<div class="sourcecode">
|
2116
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2117
|
-
<div id="
|
2114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000346_source')" id="l_M000346_source">+</a> ]</p>
|
2115
|
+
<div id="M000346_source" class="dyn-source">
|
2118
2116
|
<pre>
|
2119
2117
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 94</span>
|
2120
2118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
|
@@ -2126,7 +2124,7 @@ this to suite the particular need.
|
|
2126
2124
|
</div>
|
2127
2125
|
<div class="method">
|
2128
2126
|
<div class="title">
|
2129
|
-
<a name="
|
2127
|
+
<a name="M000347"></a><b>true?</b>()
|
2130
2128
|
</div>
|
2131
2129
|
<div class="description">
|
2132
2130
|
<p>
|
@@ -2140,8 +2138,8 @@ otherwise false.
|
|
2140
2138
|
</pre>
|
2141
2139
|
</div>
|
2142
2140
|
<div class="sourcecode">
|
2143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2144
|
-
<div id="
|
2141
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000347_source')" id="l_M000347_source">+</a> ]</p>
|
2142
|
+
<div id="M000347_source" class="dyn-source">
|
2145
2143
|
<pre>
|
2146
2144
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 105</span>
|
2147
2145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">true?</span>
|
@@ -2153,7 +2151,7 @@ otherwise false.
|
|
2153
2151
|
</div>
|
2154
2152
|
<div class="method">
|
2155
2153
|
<div class="title">
|
2156
|
-
<a name="
|
2154
|
+
<a name="M000389"></a><b>try</b>(method, default=nil)
|
2157
2155
|
</div>
|
2158
2156
|
<div class="description">
|
2159
2157
|
<p>
|
@@ -2172,8 +2170,8 @@ vs
|
|
2172
2170
|
</pre>
|
2173
2171
|
</div>
|
2174
2172
|
<div class="sourcecode">
|
2175
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2176
|
-
<div id="
|
2173
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000389_source')" id="l_M000389_source">+</a> ]</p>
|
2174
|
+
<div id="M000389_source" class="dyn-source">
|
2177
2175
|
<pre>
|
2178
2176
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/try.rb, line 10</span>
|
2179
2177
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">try</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">default</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -2189,7 +2187,7 @@ vs
|
|
2189
2187
|
</div>
|
2190
2188
|
<div class="method">
|
2191
2189
|
<div class="title">
|
2192
|
-
<a name="
|
2190
|
+
<a name="M000394"></a><b>val?</b>()
|
2193
2191
|
</div>
|
2194
2192
|
<div class="description">
|
2195
2193
|
<p>
|
@@ -2204,8 +2202,8 @@ if it is not nil? and if it responds to empty?, is not empty.
|
|
2204
2202
|
</pre>
|
2205
2203
|
</div>
|
2206
2204
|
<div class="sourcecode">
|
2207
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2208
|
-
<div id="
|
2205
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000394_source')" id="l_M000394_source">+</a> ]</p>
|
2206
|
+
<div id="M000394_source" class="dyn-source">
|
2209
2207
|
<pre>
|
2210
2208
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/val.rb, line 12</span>
|
2211
2209
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">val?</span>
|
@@ -2219,11 +2217,11 @@ if it is not nil? and if it responds to empty?, is not empty.
|
|
2219
2217
|
</div>
|
2220
2218
|
<div class="method">
|
2221
2219
|
<div class="title">
|
2222
|
-
<a name="
|
2220
|
+
<a name="M000379"></a><b>with</b>(obj=self, &block)
|
2223
2221
|
</div>
|
2224
2222
|
<div class="description">
|
2225
2223
|
<p>
|
2226
|
-
Like <a href="Kernel.html#
|
2224
|
+
Like <a href="Kernel.html#M000391">returning</a> but exectures the block
|
2227
2225
|
via instance_eval.
|
2228
2226
|
</p>
|
2229
2227
|
<pre>
|
@@ -2238,8 +2236,8 @@ via instance_eval.
|
|
2238
2236
|
</pre>
|
2239
2237
|
</div>
|
2240
2238
|
<div class="sourcecode">
|
2241
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2242
|
-
<div id="
|
2239
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000379_source')" id="l_M000379_source">+</a> ]</p>
|
2240
|
+
<div id="M000379_source" class="dyn-source">
|
2243
2241
|
<pre>
|
2244
2242
|
<span class="ruby-comment cmt"># File lib/core/facets/kernel/with.rb, line 15</span>
|
2245
2243
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">obj</span>=<span class="ruby-keyword kw">self</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|