facets 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ProjectInfo +94 -0
- data/Reapfile +184 -0
- data/forge/README +13 -0
- data/forge/TODO +73 -0
- data/forge/autorequire.rb +83 -0
- data/forge/core/array/at_rand.rb +95 -0
- data/forge/core/array/each_slice.rb +23 -0
- data/forge/core/array/pick_values.rb +32 -0
- data/forge/core/array/rand_indexes.rb +33 -0
- data/forge/core/binding/class.rb +11 -0
- data/forge/core/binding/delegate-binding.rb +19 -0
- data/forge/core/binding/delegate.rb +15 -0
- data/forge/core/binding/proc.rb +6 -0
- data/forge/core/enumerable/op_fetch.rb +30 -0
- data/forge/core/fileutils/nl_convert.rb +133 -0
- data/forge/core/io/expect.rb +127 -0
- data/forge/core/kernel/__clone__.rb +4 -0
- data/forge/core/kernel/__dup__.rb +4 -0
- data/forge/core/kernel/call_line.rb +15 -0
- data/forge/core/kernel/does.rb +7 -0
- data/forge/core/kernel/message.rb +6 -0
- data/forge/core/kernel/query.rb +15 -0
- data/forge/core/kernel/taint.rb +10 -0
- data/forge/core/logger/clean_logger.rb +10 -0
- data/forge/core/module/attr-old.rb +308 -0
- data/forge/core/module/attr.rb +98 -0
- data/forge/core/module/attr_xxx.rb +22 -0
- data/forge/core/module/by_regexp.rb +21 -0
- data/forge/core/module/cast.rb +64 -0
- data/forge/core/module/class_attribute_accessors.rb +57 -0
- data/forge/core/module/inherit.rb +59 -0
- data/forge/core/module/let.rb +51 -0
- data/forge/core/module/meta_attr.rb +60 -0
- data/forge/core/module/module_attribute_accessors.rb +57 -0
- data/forge/core/module/permissions.rb +32 -0
- data/forge/core/module/preserved.rb +108 -0
- data/forge/core/module/sattr_accessor.rb +1 -0
- data/forge/core/module/sattr_reader.rb +1 -0
- data/forge/core/module/sattr_setter.rb +1 -0
- data/forge/core/module/sattr_tester.rb +1 -0
- data/forge/core/module/sattr_writer.rb +1 -0
- data/forge/core/module/tc_attr.rb +107 -0
- data/forge/core/module/version.rb +23 -0
- data/forge/core/string/op_add.rb +24 -0
- data/forge/core/string/op_div.rb +15 -0
- data/forge/core/string/pred.rb +217 -0
- data/forge/core/string/to_ary.rb +12 -0
- data/forge/core/string/word_wrap.rb +62 -0
- data/forge/more/autoarray.rb +29 -0
- data/forge/more/cache.rb +189 -0
- data/forge/more/class_inheritable_attributes.rb +120 -0
- data/forge/more/codepack.rb +58 -0
- data/forge/more/commandrunner.rb +101 -0
- data/forge/more/conditionals.rb +106 -0
- data/forge/more/contracts.rb +37 -0
- data/forge/more/daemon.rb +70 -0
- data/forge/more/datetime.rb +42 -0
- data/forge/more/detach.rb +423 -0
- data/forge/more/enumtype.rb +115 -0
- data/forge/more/fixnum_const.rb +55 -0
- data/forge/more/function.rb +278 -0
- data/forge/more/hookse.rb +107 -0
- data/forge/more/indexable.rb +85 -0
- data/forge/more/infinity.rb +123 -0
- data/forge/more/ioreactor.rb +671 -0
- data/forge/more/knowself.rb +42 -0
- data/forge/more/logger_sing.rb +207 -0
- data/forge/more/must.rb +37 -0
- data/forge/more/openproxy.rb +245 -0
- data/forge/more/ostructable.rb +212 -0
- data/forge/more/pairhash.rb +55 -0
- data/forge/more/pathname.rb +1309 -0
- data/forge/more/predicate.rb +181 -0
- data/forge/more/prereq.rb +36 -0
- data/forge/more/print_exception.rb +35 -0
- data/forge/more/rand.rb +412 -0
- data/forge/more/range.rb +383 -0
- data/forge/more/sanitize.rb +48 -0
- data/forge/more/service.rb +266 -0
- data/forge/more/superstruct.rb +735 -0
- data/forge/more/tag.rb +27 -0
- data/forge/more/testfacility.rb +80 -0
- data/forge/more/timer.rb +164 -0
- data/forge/more/toplevel.rb +76 -0
- data/forge/more/type.rb +232 -0
- data/forge/more/vars.rb +94 -0
- data/forge/more/version.rb +245 -0
- data/forge/more/world.rb +53 -0
- data/forge/reference/sys.rb +186 -0
- data/forge/reference/utils.rb +518 -0
- data/lib/facet/enumerable/mode.rb +1 -0
- data/lib/facets/core/enumerable/mode.rb +13 -0
- data/lib/facets/core/hash/to_ostruct.rb +1 -1
- data/lib/facets/core/hash/to_ostruct_recurse.rb +33 -6
- data/lib/facets/core/ostruct/__update__.rb +1 -0
- data/lib/facets/more/binaryreader.rb +3 -3
- data/lib/facets/more/taskable.rb +29 -0
- data/note/CHANGELOG +294 -0
- data/note/IMPORTANT +8 -0
- data/note/Rakefile.old +181 -0
- data/note/history/ANN-0.6.0 +40 -0
- data/note/history/ANN-0.6.1 +36 -0
- data/note/history/ANN-0.6.3 +43 -0
- data/note/history/ANN-0.7.0 +59 -0
- data/note/history/ANN-0.8.1 +127 -0
- data/note/history/INTRO +172 -0
- data/note/history/README +223 -0
- data/note/history/README-OLD +180 -0
- data/test/lib/facets/core/array/test_at_rand.rb +1 -1
- data/test/lib/facets/core/array/test_delete_unless.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values_at.rb +1 -1
- data/test/lib/facets/core/array/test_first.rb +1 -1
- data/test/lib/facets/core/array/test_head.rb +1 -1
- data/test/lib/facets/core/array/test_last_index.rb +1 -1
- data/test/lib/facets/core/array/test_merge.rb +1 -1
- data/test/lib/facets/core/array/test_mid.rb +1 -1
- data/test/lib/facets/core/array/test_middle.rb +1 -1
- data/test/lib/facets/core/array/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/array/test_op_store.rb +1 -1
- data/test/lib/facets/core/array/test_pick.rb +1 -1
- data/test/lib/facets/core/array/test_pos.rb +1 -1
- data/test/lib/facets/core/array/test_pot.rb +1 -1
- data/test/lib/facets/core/array/test_pull.rb +1 -1
- data/test/lib/facets/core/array/test_rand_index.rb +1 -1
- data/test/lib/facets/core/array/test_rand_subset.rb +1 -1
- data/test/lib/facets/core/array/test_range.rb +1 -1
- data/test/lib/facets/core/array/test_rotate.rb +1 -1
- data/test/lib/facets/core/array/test_select.rb +1 -1
- data/test/lib/facets/core/array/test_shuffle.rb +1 -1
- data/test/lib/facets/core/array/test_thru.rb +1 -1
- data/test/lib/facets/core/array/test_to_b.rb +1 -1
- data/test/lib/facets/core/array/test_to_h.rb +1 -1
- data/test/lib/facets/core/array/test_to_hash.rb +1 -1
- data/test/lib/facets/core/binding/self/test_of_caller.rb +1 -1
- data/test/lib/facets/core/binding/test___LINE__.rb +1 -1
- data/test/lib/facets/core/binding/test_call_stack.rb +1 -1
- data/test/lib/facets/core/binding/test_called.rb +1 -1
- data/test/lib/facets/core/binding/test_caller.rb +1 -1
- data/test/lib/facets/core/binding/test_defined.rb +1 -1
- data/test/lib/facets/core/binding/test_eval.rb +1 -1
- data/test/lib/facets/core/binding/test_local_variables.rb +1 -1
- data/test/lib/facets/core/binding/test_method_name.rb +1 -1
- data/test/lib/facets/core/binding/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/binding/test_op_store.rb +1 -1
- data/test/lib/facets/core/binding/test_self.rb +1 -1
- data/test/lib/facets/core/class/test_cattr.rb +1 -1
- data/test/lib/facets/core/class/test_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_method_name.rb +1 -1
- data/test/lib/facets/core/class/test_remove_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_unix_path.rb +1 -1
- data/test/lib/facets/core/comparable/test_at_least.rb +1 -1
- data/test/lib/facets/core/comparable/test_clip.rb +1 -1
- data/test/lib/facets/core/comparable/test_cmp.rb +1 -1
- data/test/lib/facets/core/continuation/self/test_create.rb +1 -1
- data/test/lib/facets/core/date/test_days_in_month.rb +1 -1
- data/test/lib/facets/core/date/test_days_of_month.rb +1 -1
- data/test/lib/facets/core/date/test_stamp.rb +1 -1
- data/test/lib/facets/core/date/test_to_date.rb +1 -1
- data/test/lib/facets/core/date/test_to_s.rb +1 -1
- data/test/lib/facets/core/date/test_to_time.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ancestor.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ascend.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_combinations.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_collect_with_index.rb +1 -1
- data/test/lib/facets/core/enumerable/test_commonality.rb +1 -1
- data/test/lib/facets/core/enumerable/test_compact_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_count.rb +1 -1
- data/test/lib/facets/core/enumerable/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_combination.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_slice.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_every.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ew.rb +1 -1
- data/test/lib/facets/core/enumerable/test_filter_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_find_collisions.rb +1 -1
- data/test/lib/facets/core/enumerable/test_frequency.rb +1 -1
- data/test/lib/facets/core/enumerable/test_graph.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_none.rb +1 -1
- data/test/lib/facets/core/enumerable/test_occur.rb +1 -1
- data/test/lib/facets/core/enumerable/test_one.rb +1 -1
- data/test/lib/facets/core/enumerable/test_op_pow.rb +1 -1
- data/test/lib/facets/core/enumerable/test_partition_by.rb +1 -1
- data/test/lib/facets/core/enumerable/test_permute.rb +1 -1
- data/test/lib/facets/core/enumerable/test_probability.rb +1 -1
- data/test/lib/facets/core/enumerable/test_to_h.rb +1 -1
- data/test/lib/facets/core/enumerable/test_uniq_by.rb +1 -1
- data/test/lib/facets/core/file/self/test_create.rb +1 -1
- data/test/lib/facets/core/file/self/test_open_as_string.rb +1 -1
- data/test/lib/facets/core/file/self/test_read_list.rb +1 -1
- data/test/lib/facets/core/file/self/test_sanitize.rb +1 -1
- data/test/lib/facets/core/file/self/test_split_all.rb +1 -1
- data/test/lib/facets/core/float/test_round_at.rb +1 -1
- data/test/lib/facets/core/float/test_round_to.rb +1 -1
- data/test/lib/facets/core/hash/self/test_zipnew.rb +1 -1
- data/test/lib/facets/core/hash/test_alias.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_at.rb +1 -1
- data/test/lib/facets/core/hash/test_collate.rb +1 -1
- data/test/lib/facets/core/hash/test_each.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_index.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_key.rb +1 -1
- data/test/lib/facets/core/hash/test_graph.rb +1 -1
- data/test/lib/facets/core/hash/test_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_inverse.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_s.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_sym.rb +1 -1
- data/test/lib/facets/core/hash/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/hash/test_op_lshift.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_key.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_pair.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_value.rb +1 -1
- data/test/lib/facets/core/hash/test_replace_each.rb +1 -1
- data/test/lib/facets/core/hash/test_shuffle.rb +1 -1
- data/test/lib/facets/core/hash/test_slice.rb +1 -1
- data/test/lib/facets/core/hash/test_swap.rb +1 -1
- data/test/lib/facets/core/hash/test_swapkey.rb +1 -1
- data/test/lib/facets/core/hash/test_to_h.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +15 -1
- data/test/lib/facets/core/hash/test_traverse.rb +1 -1
- data/test/lib/facets/core/hash/test_update_each.rb +1 -1
- data/test/lib/facets/core/hash/test_update_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_update_values.rb +1 -1
- data/test/lib/facets/core/hash/test_weave.rb +1 -1
- data/test/lib/facets/core/integer/test_factorial.rb +1 -1
- data/test/lib/facets/core/integer/test_multiple.rb +1 -1
- data/test/lib/facets/core/integer/test_ordinal.rb +1 -1
- data/test/lib/facets/core/integer/test_times_collect.rb +1 -1
- data/test/lib/facets/core/kernel/test___class__.rb +1 -1
- data/test/lib/facets/core/kernel/test_as.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_from.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_with.rb +1 -1
- data/test/lib/facets/core/kernel/test_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_bug.rb +1 -1
- data/test/lib/facets/core/kernel/test_call_stack.rb +1 -1
- data/test/lib/facets/core/kernel/test_called.rb +1 -1
- data/test/lib/facets/core/kernel/test_constant.rb +1 -1
- data/test/lib/facets/core/kernel/test_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_deep_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_demo.rb +1 -1
- data/test/lib/facets/core/kernel/test_fn.rb +1 -1
- data/test/lib/facets/core/kernel/test_generate_method_name.rb +1 -1
- data/test/lib/facets/core/kernel/test_get_by_id.rb +1 -1
- data/test/lib/facets/core/kernel/test_here.rb +1 -1
- data/test/lib/facets/core/kernel/test_in.rb +1 -1
- data/test/lib/facets/core/kernel/test_maybe.rb +1 -1
- data/test/lib/facets/core/kernel/test_metaclass.rb +1 -1
- data/test/lib/facets/core/kernel/test_method.rb +1 -1
- data/test/lib/facets/core/kernel/test_methodname.rb +1 -1
- data/test/lib/facets/core/kernel/test_methods.rb +1 -1
- data/test/lib/facets/core/kernel/test_new.rb +1 -1
- data/test/lib/facets/core/kernel/test_object_class.rb +1 -1
- data/test/lib/facets/core/kernel/test_object_hexid.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_all.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_esc.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_facet.rb +1 -1
- data/test/lib/facets/core/kernel/test_resc.rb +1 -1
- data/test/lib/facets/core/kernel/test_returning.rb +1 -1
- data/test/lib/facets/core/kernel/test_send_as.rb +1 -1
- data/test/lib/facets/core/kernel/test_set_from.rb +1 -1
- data/test/lib/facets/core/kernel/test_set_with.rb +1 -1
- data/test/lib/facets/core/kernel/test_silently.rb +1 -1
- data/test/lib/facets/core/kernel/test_singleton.rb +1 -1
- data/test/lib/facets/core/kernel/test_superior.rb +1 -1
- data/test/lib/facets/core/kernel/test_supermethod.rb +1 -1
- data/test/lib/facets/core/kernel/test_this.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_b.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_uri.rb +1 -1
- data/test/lib/facets/core/kernel/test_val.rb +1 -1
- data/test/lib/facets/core/kernel/test_with_accessor.rb +1 -1
- data/test/lib/facets/core/matchdata/test_match.rb +1 -1
- data/test/lib/facets/core/matchdata/test_matchtree.rb +1 -1
- data/test/lib/facets/core/module/test_abstract.rb +1 -1
- data/test/lib/facets/core/module/test_alias_module_function.rb +1 -1
- data/test/lib/facets/core/module/test_ancestor.rb +1 -1
- data/test/lib/facets/core/module/test_basename.rb +1 -1
- data/test/lib/facets/core/module/test_by_name.rb +1 -1
- data/test/lib/facets/core/module/test_clone_using.rb +1 -1
- data/test/lib/facets/core/module/test_dirname.rb +1 -1
- data/test/lib/facets/core/module/test_equate_on.rb +1 -1
- data/test/lib/facets/core/module/test_generate_instance_method_name.rb +1 -1
- data/test/lib/facets/core/module/test_include_as.rb +1 -1
- data/test/lib/facets/core/module/test_inherit.rb +1 -1
- data/test/lib/facets/core/module/test_initializer.rb +1 -1
- data/test/lib/facets/core/module/test_instance_methods.rb +1 -1
- data/test/lib/facets/core/module/test_integrate.rb +1 -1
- data/test/lib/facets/core/module/test_memoize.rb +1 -1
- data/test/lib/facets/core/module/test_modspace.rb +1 -1
- data/test/lib/facets/core/module/test_namespace.rb +1 -1
- data/test/lib/facets/core/module/test_nesting.rb +1 -1
- data/test/lib/facets/core/module/test_nodef.rb +1 -1
- data/test/lib/facets/core/module/test_on_included.rb +1 -1
- data/test/lib/facets/core/module/test_redef.rb +1 -1
- data/test/lib/facets/core/module/test_redefine_method.rb +1 -1
- data/test/lib/facets/core/module/test_redirect.rb +1 -1
- data/test/lib/facets/core/module/test_redirect_method.rb +1 -1
- data/test/lib/facets/core/module/test_remove.rb +1 -1
- data/test/lib/facets/core/module/test_rename.rb +1 -1
- data/test/lib/facets/core/module/test_rename_method.rb +1 -1
- data/test/lib/facets/core/module/test_revisal.rb +1 -1
- data/test/lib/facets/core/module/test_shadow_method.rb +1 -1
- data/test/lib/facets/core/module/test_sort_on.rb +1 -1
- data/test/lib/facets/core/module/test_this.rb +1 -1
- data/test/lib/facets/core/module/test_wrap.rb +1 -1
- data/test/lib/facets/core/module/test_wrap_method.rb +1 -1
- data/test/lib/facets/core/nilclass/test_blank.rb +1 -1
- data/test/lib/facets/core/nilclass/test_empty.rb +1 -1
- data/test/lib/facets/core/nilclass/test_include.rb +1 -1
- data/test/lib/facets/core/nilclass/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/nilclass/test_size.rb +1 -1
- data/test/lib/facets/core/nilclass/test_to_h.rb +1 -1
- data/test/lib/facets/core/numeric/test_approx.rb +1 -1
- data/test/lib/facets/core/numeric/test_ceil_multiple.rb +1 -1
- data/test/lib/facets/core/numeric/test_succ.rb +1 -1
- data/test/lib/facets/core/numeric/test_to_b.rb +1 -1
- data/test/lib/facets/core/ostruct/test___merge__.rb +1 -1
- data/test/lib/facets/core/ostruct/test___update__.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_store.rb +1 -1
- data/test/lib/facets/core/proc/test_compose.rb +1 -1
- data/test/lib/facets/core/proc/test_to_method.rb +1 -1
- data/test/lib/facets/core/range/test_to_r.rb +1 -1
- data/test/lib/facets/core/range/test_to_range.rb +1 -1
- data/test/lib/facets/core/range/test_umbrella.rb +1 -1
- data/test/lib/facets/core/range/test_within.rb +1 -1
- data/test/lib/facets/core/regexp/test_arity.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_re.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_regexp.rb +1 -1
- data/test/lib/facets/core/string/self/test_interpolate.rb +1 -1
- data/test/lib/facets/core/string/self/test_patterns.rb +1 -1
- data/test/lib/facets/core/string/self/test_rand_letter.rb +1 -1
- data/test/lib/facets/core/string/test_align_center.rb +1 -1
- data/test/lib/facets/core/string/test_at_rand.rb +1 -1
- data/test/lib/facets/core/string/test_basename.rb +1 -1
- data/test/lib/facets/core/string/test_blank.rb +1 -1
- data/test/lib/facets/core/string/test_bracket.rb +1 -1
- data/test/lib/facets/core/string/test_camelcase.rb +1 -1
- data/test/lib/facets/core/string/test_camelize.rb +1 -1
- data/test/lib/facets/core/string/test_capitalized.rb +1 -1
- data/test/lib/facets/core/string/test_chars.rb +1 -1
- data/test/lib/facets/core/string/test_cmp.rb +1 -1
- data/test/lib/facets/core/string/test_demodulize.rb +1 -1
- data/test/lib/facets/core/string/test_downcase.rb +1 -1
- data/test/lib/facets/core/string/test_dresner.rb +1 -1
- data/test/lib/facets/core/string/test_each_char.rb +1 -1
- data/test/lib/facets/core/string/test_each_word.rb +1 -1
- data/test/lib/facets/core/string/test_first.rb +1 -1
- data/test/lib/facets/core/string/test_fold.rb +1 -1
- data/test/lib/facets/core/string/test_frequency.rb +1 -1
- data/test/lib/facets/core/string/test_humanize.rb +1 -1
- data/test/lib/facets/core/string/test_indent.rb +1 -1
- data/test/lib/facets/core/string/test_index_all.rb +1 -1
- data/test/lib/facets/core/string/test_last.rb +1 -1
- data/test/lib/facets/core/string/test_line_wrap.rb +1 -1
- data/test/lib/facets/core/string/test_lines.rb +1 -1
- data/test/lib/facets/core/string/test_lowercase.rb +1 -1
- data/test/lib/facets/core/string/test_margin.rb +1 -1
- data/test/lib/facets/core/string/test_methodize.rb +1 -1
- data/test/lib/facets/core/string/test_modulize.rb +1 -1
- data/test/lib/facets/core/string/test_mscan.rb +1 -1
- data/test/lib/facets/core/string/test_natcmp.rb +1 -1
- data/test/lib/facets/core/string/test_nchar.rb +1 -1
- data/test/lib/facets/core/string/test_pathize.rb +1 -1
- data/test/lib/facets/core/string/test_pop.rb +1 -1
- data/test/lib/facets/core/string/test_pot.rb +1 -1
- data/test/lib/facets/core/string/test_probability.rb +1 -1
- data/test/lib/facets/core/string/test_push.rb +1 -1
- data/test/lib/facets/core/string/test_quote.rb +1 -1
- data/test/lib/facets/core/string/test_rand_byte.rb +1 -1
- data/test/lib/facets/core/string/test_rand_index.rb +1 -1
- data/test/lib/facets/core/string/test_range.rb +1 -1
- data/test/lib/facets/core/string/test_range_all.rb +1 -1
- data/test/lib/facets/core/string/test_range_of_line.rb +1 -1
- data/test/lib/facets/core/string/test_regesc.rb +1 -1
- data/test/lib/facets/core/string/test_shatter.rb +1 -1
- data/test/lib/facets/core/string/test_shift.rb +1 -1
- data/test/lib/facets/core/string/test_shuffle.rb +1 -1
- data/test/lib/facets/core/string/test_similarity.rb +1 -1
- data/test/lib/facets/core/string/test_singular.rb +1 -1
- data/test/lib/facets/core/string/test_soundex.rb +1 -1
- data/test/lib/facets/core/string/test_succ.rb +1 -1
- data/test/lib/facets/core/string/test_to_a.rb +1 -1
- data/test/lib/facets/core/string/test_to_b.rb +1 -1
- data/test/lib/facets/core/string/test_to_const.rb +1 -1
- data/test/lib/facets/core/string/test_to_date.rb +1 -1
- data/test/lib/facets/core/string/test_to_proc.rb +1 -1
- data/test/lib/facets/core/string/test_to_re.rb +1 -1
- data/test/lib/facets/core/string/test_to_time.rb +1 -1
- data/test/lib/facets/core/string/test_unix_crypt.rb +1 -1
- data/test/lib/facets/core/string/test_unpack.rb +1 -1
- data/test/lib/facets/core/string/test_unshift.rb +1 -1
- data/test/lib/facets/core/string/test_upcase.rb +1 -1
- data/test/lib/facets/core/string/test_whitespace.rb +1 -1
- data/test/lib/facets/core/string/test_word_filter.rb +1 -1
- data/test/lib/facets/core/string/test_word_wrap.rb +1 -1
- data/test/lib/facets/core/string/test_words.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalized.rb +1 -1
- data/test/lib/facets/core/symbol/test_downcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_not.rb +1 -1
- data/test/lib/facets/core/symbol/test_pad.rb +1 -1
- data/test/lib/facets/core/symbol/test_succ.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_const.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_proc.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_str.rb +1 -1
- data/test/lib/facets/core/symbol/test_underscore.rb +1 -1
- data/test/lib/facets/core/symbol/test_upcase.rb +1 -1
- data/test/lib/facets/core/time/test_change.rb +1 -1
- data/test/lib/facets/core/time/test_elapse.rb +1 -1
- data/test/lib/facets/core/time/test_stamp.rb +1 -1
- data/test/lib/facets/core/time/test_to_date.rb +1 -1
- data/test/lib/facets/core/time/test_to_s.rb +1 -1
- data/test/lib/facets/core/time/test_to_time.rb +1 -1
- data/test/lib/facets/more/test_annattr.rb +1 -1
- data/test/lib/facets/more/test_annotation.rb +1 -1
- data/test/lib/facets/more/test_ansicode.rb +1 -1
- data/test/lib/facets/more/test_association.rb +1 -1
- data/test/lib/facets/more/test_basicobject.rb +1 -1
- data/test/lib/facets/more/test_bbcode.rb +1 -1
- data/test/lib/facets/more/test_binaryreader.rb +1 -1
- data/test/lib/facets/more/test_bitmask.rb +1 -1
- data/test/lib/facets/more/test_bytes.rb +1 -1
- data/test/lib/facets/more/test_classinherit.rb +1 -1
- data/test/lib/facets/more/test_classmethods.rb +1 -1
- data/test/lib/facets/more/test_coroutine.rb +1 -1
- data/test/lib/facets/more/test_crypt.rb +1 -1
- data/test/lib/facets/more/test_dictionary.rb +1 -1
- data/test/lib/facets/more/test_elementor.rb +1 -1
- data/test/lib/facets/more/test_enumerablepass.rb +1 -1
- data/test/lib/facets/more/test_floatstring.rb +1 -1
- data/test/lib/facets/more/test_functor.rb +1 -1
- data/test/lib/facets/more/test_htmlbuilder.rb +1 -1
- data/test/lib/facets/more/test_inheritor.rb +1 -1
- data/test/lib/facets/more/test_interval.rb +1 -1
- data/test/lib/facets/more/test_json.rb +1 -1
- data/test/lib/facets/more/test_lisp.rb +1 -1
- data/test/lib/facets/more/test_lisp_format.rb +1 -1
- data/test/lib/facets/more/test_lrucache.rb +1 -1
- data/test/lib/facets/more/test_mathconstants.rb +1 -1
- data/test/lib/facets/more/test_methodprobe.rb +1 -1
- data/test/lib/facets/more/test_multipliers.rb +1 -1
- data/test/lib/facets/more/test_multiton.rb +1 -1
- data/test/lib/facets/more/test_nackclass.rb +1 -1
- data/test/lib/facets/more/test_nilcomparable.rb +1 -1
- data/test/lib/facets/more/test_opencascade.rb +1 -1
- data/test/lib/facets/more/test_openobject.rb +1 -1
- data/test/lib/facets/more/test_overload.rb +1 -1
- data/test/lib/facets/more/test_paramix.rb +1 -1
- data/test/lib/facets/more/test_pqueue.rb +1 -1
- data/test/lib/facets/more/test_preinitialize.rb +1 -1
- data/test/lib/facets/more/test_promoteself.rb +1 -1
- data/test/lib/facets/more/test_recorder.rb +1 -1
- data/test/lib/facets/more/test_snapshot.rb +1 -1
- data/test/lib/facets/more/test_statichash.rb +1 -1
- data/test/lib/facets/more/test_syncarray.rb +1 -1
- data/test/lib/facets/more/test_synchash.rb +1 -1
- data/test/lib/facets/more/test_tagiterator.rb +1 -1
- data/test/lib/facets/more/test_taskable.rb +19 -1
- data/test/lib/facets/more/test_timer.rb +1 -1
- data/test/lib/facets/more/test_times.rb +1 -1
- data/test/lib/facets/more/test_tuple.rb +1 -1
- data/test/lib/facets/more/test_typecast.rb +1 -1
- data/test/lib/facets/more/test_uninheritable.rb +1 -1
- data/test/lib/facets/more/test_units.rb +1 -1
- data/test/lib/facets/more/test_xmlbuilder.rb +1 -1
- data/test/lib/facets/more/test_xmlhelper.rb +1 -1
- data/test/lib/facets/more/test_xoxo.rb +1 -1
- data/test/lib/facets/more/test_yamlstruct.rb +1 -1
- data/web/doc/api/core/classes/Array.html +1356 -0
- data/web/doc/api/core/classes/Binding.html +538 -0
- data/web/doc/api/core/classes/Class.html +475 -0
- data/web/doc/api/core/classes/Comparable.html +231 -0
- data/web/doc/api/core/classes/Continuation.html +168 -0
- data/web/doc/api/core/classes/Date.html +219 -0
- data/web/doc/api/core/classes/Dir.html +208 -0
- data/web/doc/api/core/classes/Enumerable.html +1435 -0
- data/web/doc/api/core/classes/FalseClass.html +115 -0
- data/web/doc/api/core/classes/File.html +349 -0
- data/web/doc/api/core/classes/FileUtils.html +468 -0
- data/web/doc/api/core/classes/Float.html +157 -0
- data/web/doc/api/core/classes/Gem.html +171 -0
- data/web/doc/api/core/classes/Hash.html +1657 -0
- data/web/doc/api/core/classes/Integer.html +353 -0
- data/web/doc/api/core/classes/Kernal.html +86 -0
- data/web/doc/api/core/classes/Kernel.html +1972 -0
- data/web/doc/api/core/classes/Logger.html +157 -0
- data/web/doc/api/core/classes/MatchData.html +195 -0
- data/web/doc/api/core/classes/Module.html +1712 -0
- data/web/doc/api/core/classes/NackClass.html +92 -0
- data/web/doc/api/core/classes/NilClass.html +332 -0
- data/web/doc/api/core/classes/Numeric.html +306 -0
- data/web/doc/api/core/classes/Object.html +332 -0
- data/web/doc/api/core/classes/OpenStruct.html +315 -0
- data/web/doc/api/core/classes/Pathname.html +154 -0
- data/web/doc/api/core/classes/Proc.html +154 -0
- data/web/doc/api/core/classes/Range.html +235 -0
- data/web/doc/api/core/classes/Regexp.html +185 -0
- data/web/doc/api/core/classes/ScriptBug.html +92 -0
- data/web/doc/api/core/classes/String.html +3286 -0
- data/web/doc/api/core/classes/Symbol.html +463 -0
- data/web/doc/api/core/classes/Time.html +307 -0
- data/web/doc/api/core/classes/TrueClass.html +115 -0
- data/web/doc/api/core/classes/UnboundMethod.html +121 -0
- data/web/doc/api/core/created.rid +1 -0
- data/web/doc/api/core/files/AUTHORS.html +206 -0
- data/web/doc/api/core/files/COPYING.html +517 -0
- data/web/doc/api/core/files/README.html +386 -0
- data/web/doc/api/core/files/WARNING.html +151 -0
- data/web/doc/api/core/files/lib/facets/core/all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/at_rand_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/body_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_unless_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/each_with_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/first_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/foot_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/head_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/join_sentence_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/last_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/last_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/merge_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/mid_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/middle_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_fetch_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_mod_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_store_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/pick_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pos_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pot_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pull_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rand_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rand_subset_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rotate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/select_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/shuffle_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/store_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/tail_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/thru_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_hash_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/unzip_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__DIR___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__FILE___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__LINE___rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/call_stack_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/called_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/caller_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/defined_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/eval_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/binding/local_variables_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/method_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/op_fetch_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/op_store_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/self/of_caller_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/self_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding_rb.html +109 -0
- data/web/doc/api/core/files/lib/facets/core/class/by_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_accessor_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_reader_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_writer_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/descendents_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/remove_descendents_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/class/remove_subclasses_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/subclasses_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/to_proc_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/class/unix_path_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/at_least_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/at_most_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/cap_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/clip_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/continuation/self/create_rb.html +148 -0
- data/web/doc/api/core/files/lib/facets/core/date/days_in_month_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/days_of_month_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/stamp_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_date_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_s_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_time_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ancestor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ascend_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/descend_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ls_r_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/recurse_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/accumulate_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_if_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_counter_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/commonality_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_collect_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/count_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/cross_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_by_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_combination_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_pair_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_permutation_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_slice_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_unique_pair_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_with_counter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/elementwise_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/entropy_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/every_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/ew_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_collect_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/find_collisions_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/frequency_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/graph_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/ideal_entropy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_if_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_counter_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_index_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/mode_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/none_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/nonuniq_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/occur_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/one_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/op_pow_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/partition_by_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/permute_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/probability_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/project_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/combinations_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/cross_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/uniq_by_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/where_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/append_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/create_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/open_as_string_rb.html +118 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/read_binary_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/read_list_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/sanitize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/split_all_rb.html +101 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/write_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/head_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/safe_ln_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/slice_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/split_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/tail_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/wc_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/whereis_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/which_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/float/approx_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_at_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_off_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_to_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/active_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemdir_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gempath_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemspec_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/alias_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_keys_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_only_keys_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/collate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/delete_unless_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_index_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/graph_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/has_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/has_only_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/inverse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/join_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_iv_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_s_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_sym_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_fetch_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_lshift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_store_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_pair_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_value_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/replace_each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/self/zipnew_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/shuffle_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/slice_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/stringify_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/swap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/swapkey_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/symoblize_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_recurse_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/traverse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_values_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/variablize_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/weave_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/inflect_rb.html +117 -0
- data/web/doc/api/core/files/lib/facets/core/integer/even_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/fac_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/fact_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/factorial_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/multiple_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/odd_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/ordinal_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/times_collect_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/times_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__DIR___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__class___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__get___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__self___rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__set___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/adhoc_rb.html +99 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/as_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_from_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_with_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_files_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_glob_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/bool_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/bug_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/cache_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/call_stack_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/called_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/complete_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/constant_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/copy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/deep_copy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/demo_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/eigenclass_rb.html +103 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/false_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/fn_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/generate_method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/get_by_id_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/here_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/in_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/instance_assign_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/instvar_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/is_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/maybe_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/me_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/metaclass_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/method_name_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/methodname_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/methods_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/nack_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/new_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/object_class_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/object_hexid_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/op_esc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/own_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/p_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/pp_exception_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_esc_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_facet_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_local_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/resc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/respond_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/returning_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/send_as_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/set_from_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/set_with_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/silence_warnings_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/silently_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/singleton_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/superior_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/supermethod_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/this_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/to_bool_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/true_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/unuri_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/uri_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/val_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/warn_with_line_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_accessor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_reader_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_writer_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/logger/format_message_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/logger/format_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/match_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchset_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchtree_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/abstract_rb.html +105 -0
- data/web/doc/api/core/files/lib/facets/core/module/alias_module_function_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/ancestor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_query_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_setter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_tester_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_validator_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/basename_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/by_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/class_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_removing_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_renaming_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_using_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/dirname_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/equate_on_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/generate_instance_method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/include_as_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/inherit_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/initializer_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/instance_methods_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/integrate_rb.html +104 -0
- data/web/doc/api/core/files/lib/facets/core/module/is_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/memoize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/modspace_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/module/namespace_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/nesting_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/nodef_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/on_included_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redef_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/redefine_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redirect_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redirect_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/remove_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/rename_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/rename_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/revisal_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/shadow_all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/shadow_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/singleton_to_module_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/sort_on_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/this_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/wrap_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/wrap_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/nil_as_emptiness_rb.html +116 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/blank_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/empty_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/include_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/length_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_fetch_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/size_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/approx_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/ceil_multiple_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/pred_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__merge___rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__table___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__update___rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/instance_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_fetch_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_store_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct_rb.html +102 -0
- data/web/doc/api/core/files/lib/facets/core/pathname/ascend_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/pathname/descend_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/proc/compose_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/proc/op_mul_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/proc/to_method_rb.html +133 -0
- data/web/doc/api/core/files/lib/facets/core/random_rb.html +111 -0
- data/web/doc/api/core/files/lib/facets/core/range/to_r_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/to_range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/umbrella_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/within_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/arity_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/to_re_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/to_regexp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_center_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_left_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_right_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/at_rand_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/basename_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/blank_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/bracket_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/brief_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/bytes_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/camelcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/camelize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/capitalized_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/chars_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/demodulize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/dequote_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/downcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/dresner_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/each_char_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/each_word_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/ends_with_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/first_char_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/first_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/fold_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/format_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/frequency_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/humanize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/indent_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/index_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/last_char_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/last_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/line_wrap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/lines_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/lowercase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/margin_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/methodize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/modulize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/mscan_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/natcmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/nchar_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/ordinal_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/pathize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/plural_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/pop_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/pot_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/probability_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/pull_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/push_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/quote_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/rand_byte_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/rand_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_of_line_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/regesc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/format_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/interpolate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/patterns_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/rand_letter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/random_rb.html +99 -0
- data/web/doc/api/core/files/lib/facets/core/string/shatter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shell_escape_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shuffle_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/similarity_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/singular_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/soundex_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/starts_with_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/tab_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/tabto_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_a_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_const_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_date_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_re_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_rx_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_time_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/unbracket_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/underscore_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/unix_crypt_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/unpack_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/unshift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/upcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/uppercase_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/whitespace_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/word_filter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/word_wrap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/words_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string_as_array_rb.html +109 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/camelcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/camelize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalized_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/downcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/not_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/pad_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_const_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_str_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/underscore_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/upcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/change_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/elapse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/self/days_extrema_rb.html +114 -0
- data/web/doc/api/core/files/lib/facets/core/time/self/stamp_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/time/stamp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_date_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_s_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_time_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/unboundmethod/name_rb.html +92 -0
- data/web/doc/api/core/fr_class_index.html +80 -0
- data/web/doc/api/core/fr_file_index.html +521 -0
- data/web/doc/api/core/fr_method_index.html +555 -0
- data/web/doc/api/core/index.html +26 -0
- data/web/doc/api/core/rdoc-style.css +175 -0
- data/web/doc/api/more/classes/Annotation.html +258 -0
- data/web/doc/api/more/classes/Array.html +362 -0
- data/web/doc/api/more/classes/Aspect.html +159 -0
- data/web/doc/api/more/classes/Aspects.html +240 -0
- data/web/doc/api/more/classes/Aspects/ClassMethods.html +254 -0
- data/web/doc/api/more/classes/Association.html +289 -0
- data/web/doc/api/more/classes/BBCode.html +531 -0
- data/web/doc/api/more/classes/BasicObject.html +260 -0
- data/web/doc/api/more/classes/BasicObject/Self.html +142 -0
- data/web/doc/api/more/classes/BinaryReader.html +535 -0
- data/web/doc/api/more/classes/BinaryReader/ByteOrder.html +225 -0
- data/web/doc/api/more/classes/BuilderObject.html +248 -0
- data/web/doc/api/more/classes/Class.html +201 -0
- data/web/doc/api/more/classes/Client.html +1251 -0
- data/web/doc/api/more/classes/Cloneable.html +133 -0
- data/web/doc/api/more/classes/Console.html +105 -0
- data/web/doc/api/more/classes/Console/ANSICode.html +488 -0
- data/web/doc/api/more/classes/Console/Command.html +275 -0
- data/web/doc/api/more/classes/Console/ProgressBar.html +640 -0
- data/web/doc/api/more/classes/Coroutine.html +284 -0
- data/web/doc/api/more/classes/Crypt.html +270 -0
- data/web/doc/api/more/classes/DebugSocket.html +242 -0
- data/web/doc/api/more/classes/Dictionary.html +974 -0
- data/web/doc/api/more/classes/Downloader.html +515 -0
- data/web/doc/api/more/classes/Downloader/Checksum.html +96 -0
- data/web/doc/api/more/classes/Downloader/Mirror.html +134 -0
- data/web/doc/api/more/classes/Elementor.html +202 -0
- data/web/doc/api/more/classes/Enumerable.html +86 -0
- data/web/doc/api/more/classes/EnumerablePass.html +217 -0
- data/web/doc/api/more/classes/Expirable.html +197 -0
- data/web/doc/api/more/classes/FalseClass.html +119 -0
- data/web/doc/api/more/classes/FileList.html +971 -0
- data/web/doc/api/more/classes/Float.html +140 -0
- data/web/doc/api/more/classes/FloatString.html +413 -0
- data/web/doc/api/more/classes/Functor.html +203 -0
- data/web/doc/api/more/classes/HTMLBuilder.html +132 -0
- data/web/doc/api/more/classes/HTMLHelper.html +189 -0
- data/web/doc/api/more/classes/HTTP.html +154 -0
- data/web/doc/api/more/classes/HTTP/BadResponseError.html +94 -0
- data/web/doc/api/more/classes/HTTP/Error.html +96 -0
- data/web/doc/api/more/classes/HTTP/Message.html +633 -0
- data/web/doc/api/more/classes/HTTP/Message/Body.html +299 -0
- data/web/doc/api/more/classes/HTTP/Message/Headers.html +641 -0
- data/web/doc/api/more/classes/HTTP/Status.html +148 -0
- data/web/doc/api/more/classes/HTTPAccess.html +115 -0
- data/web/doc/api/more/classes/Hash.html +257 -0
- data/web/doc/api/more/classes/HashBuilder.html +216 -0
- data/web/doc/api/more/classes/Heap.html +535 -0
- data/web/doc/api/more/classes/Heap/EmptyHeapException.html +92 -0
- data/web/doc/api/more/classes/Heap/Max.html +133 -0
- data/web/doc/api/more/classes/Heap/Min.html +133 -0
- data/web/doc/api/more/classes/IORedirect.html +225 -0
- data/web/doc/api/more/classes/Integer.html +298 -0
- data/web/doc/api/more/classes/Interval.html +853 -0
- data/web/doc/api/more/classes/InvalidNackError.html +117 -0
- data/web/doc/api/more/classes/JSON.html +410 -0
- data/web/doc/api/more/classes/JSON/Parser.html +374 -0
- data/web/doc/api/more/classes/JSON/State.html +280 -0
- data/web/doc/api/more/classes/Kernel.html +400 -0
- data/web/doc/api/more/classes/LRUCache.html +461 -0
- data/web/doc/api/more/classes/LRUCache/Item.html +114 -0
- data/web/doc/api/more/classes/LRUCache/Sentinel.html +102 -0
- data/web/doc/api/more/classes/Lazy.html +96 -0
- data/web/doc/api/more/classes/Lazy/Future.html +100 -0
- data/web/doc/api/more/classes/Lazy/Promise.html +114 -0
- data/web/doc/api/more/classes/Lazy/PromiseSafe.html +99 -0
- data/web/doc/api/more/classes/Lisp.html +846 -0
- data/web/doc/api/more/classes/Lisp/DottedPair.html +289 -0
- data/web/doc/api/more/classes/Lisp/Format.html +147 -0
- data/web/doc/api/more/classes/Math.html +110 -0
- data/web/doc/api/more/classes/Math/Constants.html +691 -0
- data/web/doc/api/more/classes/Math/Constants/CGS.html +584 -0
- data/web/doc/api/more/classes/Method.html +170 -0
- data/web/doc/api/more/classes/Method/Probe.html +267 -0
- data/web/doc/api/more/classes/Mock.html +276 -0
- data/web/doc/api/more/classes/Module.html +691 -0
- data/web/doc/api/more/classes/Multiton.html +256 -0
- data/web/doc/api/more/classes/NackClass.html +245 -0
- data/web/doc/api/more/classes/NilClass.html +238 -0
- data/web/doc/api/more/classes/NullClass.html +202 -0
- data/web/doc/api/more/classes/Numeric.html +1104 -0
- data/web/doc/api/more/classes/ORMSupport.html +357 -0
- data/web/doc/api/more/classes/Object.html +323 -0
- data/web/doc/api/more/classes/OpenCascade.html +230 -0
- data/web/doc/api/more/classes/OpenObject.html +552 -0
- data/web/doc/api/more/classes/PQueue.html +471 -0
- data/web/doc/api/more/classes/PathList.html +162 -0
- data/web/doc/api/more/classes/PathList/Finder.html +137 -0
- data/web/doc/api/more/classes/Pool.html +207 -0
- data/web/doc/api/more/classes/Proc.html +140 -0
- data/web/doc/api/more/classes/PromoteSelf.html +138 -0
- data/web/doc/api/more/classes/Quaternion.html +1497 -0
- data/web/doc/api/more/classes/REXMLBuilder.html +357 -0
- data/web/doc/api/more/classes/REXMLBuilder/REXMLUtil.html +396 -0
- data/web/doc/api/more/classes/Recorder.html +208 -0
- data/web/doc/api/more/classes/Reference.html +201 -0
- data/web/doc/api/more/classes/RubyOneLiners.html +139 -0
- data/web/doc/api/more/classes/RubyTals.html +316 -0
- data/web/doc/api/more/classes/SSLSocketWrap.html +410 -0
- data/web/doc/api/more/classes/Semaphore.html +264 -0
- data/web/doc/api/more/classes/SimpleStringIO.html +139 -0
- data/web/doc/api/more/classes/Snapshot.html +191 -0
- data/web/doc/api/more/classes/StateMachine.html +248 -0
- data/web/doc/api/more/classes/StateParser.html +276 -0
- data/web/doc/api/more/classes/StateParser/Constants.html +109 -0
- data/web/doc/api/more/classes/StateParser/Marker.html +269 -0
- data/web/doc/api/more/classes/StateParser/State.html +448 -0
- data/web/doc/api/more/classes/StaticHash.html +144 -0
- data/web/doc/api/more/classes/String.html +278 -0
- data/web/doc/api/more/classes/StringIO.html +123 -0
- data/web/doc/api/more/classes/Struct.html +134 -0
- data/web/doc/api/more/classes/Symbol.html +116 -0
- data/web/doc/api/more/classes/SyncArray.html +131 -0
- data/web/doc/api/more/classes/SyncHash.html +135 -0
- data/web/doc/api/more/classes/SyncHash/Delegator.html +213 -0
- data/web/doc/api/more/classes/SyncHash/Inheritor.html +213 -0
- data/web/doc/api/more/classes/System.html +1055 -0
- data/web/doc/api/more/classes/TSort.html +123 -0
- data/web/doc/api/more/classes/TagIterator.html +706 -0
- data/web/doc/api/more/classes/Task.html +237 -0
- data/web/doc/api/more/classes/Task/Graph.html +165 -0
- data/web/doc/api/more/classes/Taskable.html +300 -0
- data/web/doc/api/more/classes/Time.html +746 -0
- data/web/doc/api/more/classes/Timer.html +471 -0
- data/web/doc/api/more/classes/Timer/Dummy.html +141 -0
- data/web/doc/api/more/classes/TracePoint.html +453 -0
- data/web/doc/api/more/classes/TrueClass.html +118 -0
- data/web/doc/api/more/classes/Tuple.html +861 -0
- data/web/doc/api/more/classes/URI.html +107 -0
- data/web/doc/api/more/classes/Uninheritable.html +130 -0
- data/web/doc/api/more/classes/Units.html +191 -0
- data/web/doc/api/more/classes/Units/Config.html +120 -0
- data/web/doc/api/more/classes/Units/Converter.html +808 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate.html +155 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/CachedXMethods.html +143 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/XMethods.html +197 -0
- data/web/doc/api/more/classes/Units/Unit.html +434 -0
- data/web/doc/api/more/classes/Units/Value.html +331 -0
- data/web/doc/api/more/classes/ValueHolder.html +167 -0
- data/web/doc/api/more/classes/WebAgent.html +103 -0
- data/web/doc/api/more/classes/WebAgent/Cookie.html +513 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager.html +515 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/Error.html +96 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/ErrorOverrideOK.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/NoDotError.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/SpecialError.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieUtils.html +171 -0
- data/web/doc/api/more/classes/XMLBuilder.html +132 -0
- data/web/doc/api/more/classes/XMLHelper.html +428 -0
- data/web/doc/api/more/classes/XOXO.html +252 -0
- data/web/doc/api/more/classes/YAMLStruct.html +166 -0
- data/web/doc/api/more/created.rid +1 -0
- data/web/doc/api/more/files/AUTHORS.html +206 -0
- data/web/doc/api/more/files/COPYING.html +517 -0
- data/web/doc/api/more/files/README.html +389 -0
- data/web/doc/api/more/files/WARNING.html +151 -0
- data/web/doc/api/more/files/lib/facets/more/annattr_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/annotation_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/ansicode_rb.html +128 -0
- data/web/doc/api/more/files/lib/facets/more/aspects_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/association_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/basicobject_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/bbcode_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/binaryreader_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/bitmask_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/blankslate_rb.html +113 -0
- data/web/doc/api/more/files/lib/facets/more/builderobject_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/bytes_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/classinherit_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/classmethods_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/cloneable_rb.html +132 -0
- data/web/doc/api/more/files/lib/facets/more/consoleapp_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/cookie_rb.html +133 -0
- data/web/doc/api/more/files/lib/facets/more/coroutine_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/crypt_rb.html +146 -0
- data/web/doc/api/more/files/lib/facets/more/dictionary_rb.html +123 -0
- data/web/doc/api/more/files/lib/facets/more/downloader_rb.html +124 -0
- data/web/doc/api/more/files/lib/facets/more/elementor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/enumerablepass_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/expirable_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/filelist_rb.html +128 -0
- data/web/doc/api/more/files/lib/facets/more/floatstring_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/functor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/hashbuilder_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/heap_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/htmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/htmlhelper_rb.html +119 -0
- data/web/doc/api/more/files/lib/facets/more/http_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/httpaccess_rb.html +137 -0
- data/web/doc/api/more/files/lib/facets/more/inheritor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/interval_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/ioredirect_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/json_rb.html +141 -0
- data/web/doc/api/more/files/lib/facets/more/lazy_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/lisp_format_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/lisp_rb.html +119 -0
- data/web/doc/api/more/files/lib/facets/more/lrucache_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/mathconstants_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/methodprobe_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/mock_rb.html +208 -0
- data/web/doc/api/more/files/lib/facets/more/multipliers_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/multiton_rb.html +114 -0
- data/web/doc/api/more/files/lib/facets/more/nackclass_rb.html +151 -0
- data/web/doc/api/more/files/lib/facets/more/nilcomparable_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/nullclass_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/one_rb.html +158 -0
- data/web/doc/api/more/files/lib/facets/more/opencascade_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/openobject_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/orderedhash_rb.html +113 -0
- data/web/doc/api/more/files/lib/facets/more/ormsupport_rb.html +125 -0
- data/web/doc/api/more/files/lib/facets/more/overload_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/paramix_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/pathlist_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/pool_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/pqueue_rb.html +122 -0
- data/web/doc/api/more/files/lib/facets/more/preinitialize_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/progressbar_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/promoteself_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/quaternion_rb.html +150 -0
- data/web/doc/api/more/files/lib/facets/more/recorder_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/reference_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/rexmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/rtals_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/semaphore_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/snapshot_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/stateparser_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/statichash_rb.html +133 -0
- data/web/doc/api/more/files/lib/facets/more/syncarray_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/synchash_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/system_rb.html +123 -0
- data/web/doc/api/more/files/lib/facets/more/tagiterator_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/taskable_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/timer_rb.html +127 -0
- data/web/doc/api/more/files/lib/facets/more/times_rb.html +127 -0
- data/web/doc/api/more/files/lib/facets/more/tracepoint_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/tuple_rb.html +122 -0
- data/web/doc/api/more/files/lib/facets/more/typecast_rb.html +124 -0
- data/web/doc/api/more/files/lib/facets/more/uninheritable_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/units_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/xmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/xmlhelper_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/xoxo_rb.html +125 -0
- data/web/doc/api/more/files/lib/facets/more/yamlstruct_rb.html +123 -0
- data/web/doc/api/more/fr_class_index.html +197 -0
- data/web/doc/api/more/fr_file_index.html +136 -0
- data/web/doc/api/more/fr_method_index.html +1290 -0
- data/web/doc/api/more/index.html +26 -0
- data/web/doc/api/more/rdoc-style.css +175 -0
- data/web/documentation.html +174 -0
- data/web/favicon.ico +0 -0
- data/web/images/abc.png +0 -0
- data/web/images/abc1.png +0 -0
- data/web/images/apple_core.jpg +0 -0
- data/web/images/apples3.jpg +0 -0
- data/web/images/best_jupiter_cass.jpg +0 -0
- data/web/images/core.jpg +0 -0
- data/web/images/gray.jpg +0 -0
- data/web/images/ruby-lg.png +0 -0
- data/web/images/ruby.gif +0 -0
- data/web/images/super-friends-volume-two-20050606010933166-001.jpg +0 -0
- data/web/images/three_apples.jpg +0 -0
- data/web/images/yellow_fade.jpg +0 -0
- data/web/images/yellow_fade2.jpg +0 -0
- data/web/index.html +224 -0
- data/web/style.css +153 -0
- metadata +1433 -457
@@ -0,0 +1,107 @@
|
|
1
|
+
# Exception-based Event Hooks
|
2
|
+
# Copyright (c) 2004 Thomas Sawyer, All Rights Reserved
|
3
|
+
# hookse.rb
|
4
|
+
|
5
|
+
=begin
|
6
|
+
|
7
|
+
= Exception-based Event Hooks
|
8
|
+
|
9
|
+
Provides an Event Hooks system designed on top of
|
10
|
+
Ruby's built-in Exception system.
|
11
|
+
|
12
|
+
== Example
|
13
|
+
|
14
|
+
def dothis2
|
15
|
+
puts 'pre'
|
16
|
+
hook :quitit
|
17
|
+
puts 'post'
|
18
|
+
end
|
19
|
+
|
20
|
+
def tryit2
|
21
|
+
begin
|
22
|
+
puts "BEFORE"
|
23
|
+
dothis2
|
24
|
+
puts "AFTER"
|
25
|
+
rescue EventHook
|
26
|
+
event :quitit do
|
27
|
+
puts "HERE"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
tryit2
|
33
|
+
|
34
|
+
|
35
|
+
== Authenticate
|
36
|
+
|
37
|
+
Copyright (c) 2004 Thomas Sawyer
|
38
|
+
Ruby License
|
39
|
+
|
40
|
+
=end
|
41
|
+
|
42
|
+
class EventHook < Exception
|
43
|
+
attr_reader :name, :cc
|
44
|
+
def initialize(name, cc)
|
45
|
+
@name = name
|
46
|
+
@cc = cc
|
47
|
+
end
|
48
|
+
def call
|
49
|
+
@cc.call
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
module Kernel
|
54
|
+
def hook(sym)
|
55
|
+
callcc{ |c| raise EventHook.new(sym, c) }
|
56
|
+
end
|
57
|
+
def event(sym)
|
58
|
+
if $!.name == sym
|
59
|
+
yield
|
60
|
+
$!.call
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
#
|
68
|
+
# Test
|
69
|
+
#
|
70
|
+
|
71
|
+
=begin
|
72
|
+
|
73
|
+
require 'test/unit'
|
74
|
+
|
75
|
+
class T
|
76
|
+
attr_reader :a
|
77
|
+
def dothis
|
78
|
+
@a << '{'
|
79
|
+
hook :here
|
80
|
+
@a << '}'
|
81
|
+
end
|
82
|
+
def tryit
|
83
|
+
@a = ''
|
84
|
+
begin
|
85
|
+
@a << "["
|
86
|
+
dothis
|
87
|
+
@a << "]"
|
88
|
+
rescue EventHook
|
89
|
+
event :here do
|
90
|
+
@a << "HERE"
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
|
97
|
+
class TC_Cut < Test::Unit::TestCase
|
98
|
+
|
99
|
+
def test_run
|
100
|
+
t = T.new
|
101
|
+
t.tryit
|
102
|
+
assert_equal('[{HERE}]', t.a)
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
=end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
|
2
|
+
# This mixin depends on three methods: #index( i, v ) where _index_ is an Integer,
|
3
|
+
# and #indicies.
|
4
|
+
|
5
|
+
require 'mega/nack'
|
6
|
+
|
7
|
+
Iterable = Enumerable
|
8
|
+
|
9
|
+
|
10
|
+
module Indexable
|
11
|
+
|
12
|
+
def indicies
|
13
|
+
#
|
14
|
+
end
|
15
|
+
|
16
|
+
def fetch( i )
|
17
|
+
# raise
|
18
|
+
end
|
19
|
+
|
20
|
+
# if writable
|
21
|
+
|
22
|
+
def store( i, v )
|
23
|
+
#
|
24
|
+
end
|
25
|
+
|
26
|
+
def delete( i )
|
27
|
+
#
|
28
|
+
end
|
29
|
+
|
30
|
+
# derivative methods
|
31
|
+
|
32
|
+
def keys ; indicies ; end
|
33
|
+
|
34
|
+
def []( i )
|
35
|
+
fetch( i )
|
36
|
+
end
|
37
|
+
|
38
|
+
def []=( i, v )
|
39
|
+
store( i, v )
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns an array of all values for the given list of indexes.
|
43
|
+
def fetch_all( *x )
|
44
|
+
x = indicies if x.empty?
|
45
|
+
x.collect { |i| fetch(i) }
|
46
|
+
end
|
47
|
+
|
48
|
+
# Return true if the given index is viable.
|
49
|
+
def index?( i )
|
50
|
+
indicies.include?( i )
|
51
|
+
end
|
52
|
+
alias :key?, :index?
|
53
|
+
|
54
|
+
|
55
|
+
def delete_all( *x )
|
56
|
+
x.each { |i| delete( i ) }
|
57
|
+
end
|
58
|
+
|
59
|
+
def delete_values( *w )
|
60
|
+
indicies.each { |i| delete( i ) if w.include?( fetch(i) ) }
|
61
|
+
end
|
62
|
+
|
63
|
+
|
64
|
+
# Returns a random value.
|
65
|
+
#
|
66
|
+
def rand_value
|
67
|
+
fetch( indicies.at( rand( indicies.size ) ) )
|
68
|
+
end
|
69
|
+
alias_method :at_rand, :rand_value
|
70
|
+
|
71
|
+
# Return a random index.
|
72
|
+
#
|
73
|
+
def rand_index
|
74
|
+
indicies.at( rand( indicies.size ) )
|
75
|
+
end
|
76
|
+
alias_method :rand_key, :rand_index
|
77
|
+
|
78
|
+
# Returns a random pair of an index and its value in a two-element array.
|
79
|
+
#
|
80
|
+
def rand_pair
|
81
|
+
i = indicies.at( rand( indicies.size ) )
|
82
|
+
[ i, fetch(i) ]
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
#--
|
2
|
+
# Infinity
|
3
|
+
#
|
4
|
+
# Copyright (c) 2004,2005 Thomas Sawyer
|
5
|
+
#
|
6
|
+
# Ruby License
|
7
|
+
#
|
8
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
9
|
+
# software under the same terms as Ruby.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
13
|
+
# FOR A PARTICULAR PURPOSE.
|
14
|
+
#
|
15
|
+
#
|
16
|
+
# ==========================================================================
|
17
|
+
# Revision History ::
|
18
|
+
# --------------------------------------------------------------------------
|
19
|
+
# 04.05.01 Trans * Minor modifications to documentation.
|
20
|
+
# ==========================================================================
|
21
|
+
#
|
22
|
+
# :NOTE: Plan to update the interface a bit.
|
23
|
+
#
|
24
|
+
#++
|
25
|
+
|
26
|
+
require 'calibre/multiton'
|
27
|
+
|
28
|
+
#:title: Infinity
|
29
|
+
#
|
30
|
+
# A full featured Infinity class, supporting aleph levels and signed
|
31
|
+
# direction. Inifinty is a multiton based on the aleph and direction
|
32
|
+
# values. The conastant INFINITY is provided as the common case with
|
33
|
+
# aleph=0 and direction=+1 (positive).
|
34
|
+
#
|
35
|
+
# == Usage
|
36
|
+
#
|
37
|
+
# +INFINITY < 1 #=> false
|
38
|
+
# -INFINITY < 1 #=> true
|
39
|
+
#
|
40
|
+
# a0 = Infinity[0]
|
41
|
+
# a1 = Infinity[1]
|
42
|
+
#
|
43
|
+
# a0 < a1 #=> true
|
44
|
+
#
|
45
|
+
# = Author(s)
|
46
|
+
#
|
47
|
+
# * Thomas Sawyer
|
48
|
+
#
|
49
|
+
|
50
|
+
class Infinity < Numeric
|
51
|
+
|
52
|
+
include Multiton
|
53
|
+
|
54
|
+
def self.[](a)
|
55
|
+
self.new(a)
|
56
|
+
end
|
57
|
+
|
58
|
+
attr_reader :aleph, :direction
|
59
|
+
|
60
|
+
def initialize(aleph=0, direction=1)
|
61
|
+
@aleph = aleph
|
62
|
+
@direction = direction
|
63
|
+
end
|
64
|
+
|
65
|
+
def -@
|
66
|
+
self.class.instance(@aleph, @direction * -1)
|
67
|
+
end
|
68
|
+
|
69
|
+
def to_f
|
70
|
+
(1.0/0) * @direction
|
71
|
+
end
|
72
|
+
|
73
|
+
def times
|
74
|
+
loop do
|
75
|
+
yield
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
def <=>(x)
|
80
|
+
return (x.kind_of?(Infinity) ? (@aleph <=> x.aleph) : @direction)
|
81
|
+
end
|
82
|
+
|
83
|
+
def to_s
|
84
|
+
%Q{#{ '-' if @direction == -1 }Infinity[#{@aleph}]}
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
# constant (for aleph=0)
|
90
|
+
INFINITY = Infinity.instance
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
# _____ _
|
95
|
+
# |_ _|__ ___| |_
|
96
|
+
# | |/ _ \/ __| __|
|
97
|
+
# | | __/\__ \ |_
|
98
|
+
# |_|\___||___/\__|
|
99
|
+
#
|
100
|
+
|
101
|
+
=begin testing
|
102
|
+
|
103
|
+
require 'test/unit'
|
104
|
+
|
105
|
+
class GeneralTest < Test::Unit::TestCase
|
106
|
+
|
107
|
+
def test_pos
|
108
|
+
assert_equal((1.0/0), INFINITY.to_f)
|
109
|
+
assert_equal(1, INFINITY<=>5)
|
110
|
+
assert_equal(1, INFINITY<=>"a")
|
111
|
+
assert_equal("Infinity[0]", INFINITY.to_s)
|
112
|
+
end
|
113
|
+
|
114
|
+
def test_neg
|
115
|
+
assert_equal((-1.0/0), -INFINITY.to_f)
|
116
|
+
assert_equal(-1, -INFINITY<=>5)
|
117
|
+
assert_equal(-1, -INFINITY<=>"a")
|
118
|
+
assert_equal("-Infinity[0]", (-INFINITY).to_s)
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
122
|
+
|
123
|
+
=end
|
@@ -0,0 +1,671 @@
|
|
1
|
+
#--
|
2
|
+
# IOReactor
|
3
|
+
#
|
4
|
+
# Copyright (c) 2002, 2003 The FaerieMUD Consortium. All rights reserved.
|
5
|
+
#
|
6
|
+
# Ruby License
|
7
|
+
#
|
8
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
9
|
+
# software under the same terms as Ruby.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
13
|
+
# FOR A PARTICULAR PURPOSE.
|
14
|
+
#
|
15
|
+
#
|
16
|
+
# ==========================================================================
|
17
|
+
# Revision History ::
|
18
|
+
# --------------------------------------------------------------------------
|
19
|
+
# 2004-12 Trans * Minor modifications to documentation.
|
20
|
+
# ==========================================================================
|
21
|
+
#++
|
22
|
+
|
23
|
+
#:title: IOReactor
|
24
|
+
#
|
25
|
+
# An object-oriented multiplexing asynchronous IO mechanism for Ruby.
|
26
|
+
# It is an implementation of the Reactor design pattern for multiplexed
|
27
|
+
# asynchronous single-thread IO.
|
28
|
+
#
|
29
|
+
# == Details
|
30
|
+
#
|
31
|
+
# This module is a pure-Ruby implementation of an asynchronous multiplexed IO
|
32
|
+
# Reactor which is based on the Reactor design pattern found in _Pattern-Oriented
|
33
|
+
# Software Architecture, Volume 2: Patterns for Concurrent and Networked
|
34
|
+
# Objects_. It allows a single thread to demultiplex and dispatch events from one
|
35
|
+
# or more IO objects to the appropriate handler.
|
36
|
+
#
|
37
|
+
# This module used to be called Ruby-Poll, and used to use the poll(2) system
|
38
|
+
# call, but this strategy was not portable, and didn't work with Ruby's
|
39
|
+
# threads. It now uses IO::select, which should work everywhere Ruby does.
|
40
|
+
#
|
41
|
+
# I would greatly appreciate feedback on any aspect of this software. Suggestions,
|
42
|
+
# feature requests, questions, design critiques, and bug reports are most
|
43
|
+
# welcome. Relevant patches and minimal test cases are particularly helpful. I may
|
44
|
+
# be reached by email at <ged@FaerieMUD.org>.
|
45
|
+
#
|
46
|
+
# == Synopsis
|
47
|
+
#
|
48
|
+
# require 'mega/ioreactor'
|
49
|
+
# require 'socket'
|
50
|
+
#
|
51
|
+
# reactorobj = IOReactor.new
|
52
|
+
#
|
53
|
+
# # Open a listening socket on port 1138 and register it with the
|
54
|
+
# # reactor. When a :read event occurs on it, it means an incoming
|
55
|
+
# # connection has been established
|
56
|
+
# sock = TCPServer::new('localhost', 1138)
|
57
|
+
# reactorobj.register( sock, :read ) {|sock,event|
|
58
|
+
# case event
|
59
|
+
# # Accept the incoming connection, registering it also with
|
60
|
+
# # the reactor; events on client sockets are handled by the
|
61
|
+
# # #clientHandler method.
|
62
|
+
# when :read
|
63
|
+
# clsock = sock.accept
|
64
|
+
# reactorobj.register( clsock, :read, :write, &method(:clientHandler) )
|
65
|
+
# # Errors on the main listening socket cause the whole
|
66
|
+
# # reactor to be shut down
|
67
|
+
# when :error
|
68
|
+
# reactorobj.clear
|
69
|
+
# $stderr.puts "Server error: Shutting down"
|
70
|
+
# else
|
71
|
+
# $stderr.puts "Unhandled event: #{event}"
|
72
|
+
# end
|
73
|
+
# }
|
74
|
+
# # Drive the reactor until it's empty with a single thread
|
75
|
+
# Thread::new { reactorobj.poll until reactorobj.empty? }
|
76
|
+
#
|
77
|
+
# == More Information
|
78
|
+
#
|
79
|
+
# You can find more information about IO-Reactor, including the latest version, at
|
80
|
+
# its project page:
|
81
|
+
#
|
82
|
+
# http://www.devEiate.org/code/IO-Reactor.shtml
|
83
|
+
#
|
84
|
+
# == Author(s)
|
85
|
+
#
|
86
|
+
# * Michael Granger <ged#FaerieMUD.org>
|
87
|
+
#
|
88
|
+
|
89
|
+
require 'delegate'
|
90
|
+
require 'rbconfig'
|
91
|
+
|
92
|
+
### An object-oriented multiplexing asynchronous IO reactor class.
|
93
|
+
class IOReactor
|
94
|
+
|
95
|
+
### Class constants
|
96
|
+
Version = /([\d\.]+)/.match( %q{$Revision: 1.13 $} )[1]
|
97
|
+
Rcsid = %q$Id: reactor.rb,v 1.13 2003/08/04 23:56:14 deveiant Exp $
|
98
|
+
|
99
|
+
ValidEvents = [:read, :write, :error]
|
100
|
+
|
101
|
+
### Create and return a new IO reactor object.
|
102
|
+
def initialize
|
103
|
+
@handles = Hash::new {|hsh,key|
|
104
|
+
hsh[ key ] = {
|
105
|
+
:events => [],
|
106
|
+
:handler => nil,
|
107
|
+
:args => [],
|
108
|
+
}
|
109
|
+
}
|
110
|
+
@pendingEvents = Hash::new {|hsh,key| hsh[ key ] = []}
|
111
|
+
end
|
112
|
+
|
113
|
+
|
114
|
+
######
|
115
|
+
public
|
116
|
+
######
|
117
|
+
|
118
|
+
# The Hash of handles (instances of IO or its subclasses) associated with
|
119
|
+
# the reactor. The keys are the IO objects, and the values are a Hash of
|
120
|
+
# event/s => handler.
|
121
|
+
attr_reader :handles
|
122
|
+
|
123
|
+
# The Hash of unhandled events which occurred in the last call to #poll,
|
124
|
+
# keyed by handle.
|
125
|
+
attr_reader :pendingEvents
|
126
|
+
|
127
|
+
|
128
|
+
### Register the specified IO object with the reactor for events given as
|
129
|
+
### <tt>args</tt>. The reactor will test the given <tt>io</tt> for the
|
130
|
+
### events specified whenever #poll is called. See the #poll method for a
|
131
|
+
### list of valid events. If no events are specified, only <tt>:error</tt>
|
132
|
+
### events will be polled for.
|
133
|
+
###
|
134
|
+
### If a <tt>handler</tt> is specified, it will be called whenever the
|
135
|
+
### <tt>io</tt> has any of the specified <tt>events</tt> occur to it. It
|
136
|
+
### should take at least two parameters: the <tt>io</tt> and the event.
|
137
|
+
###
|
138
|
+
### If +args+ contains any objects except the Symbols '<tt>:read</tt>',
|
139
|
+
### '<tt>:write</tt>', or '<tt>:error</tt>', and a +handler+ is specified,
|
140
|
+
### they will be saved and passed to handler for each event.
|
141
|
+
###
|
142
|
+
### Registering a handle will unregister any previously registered
|
143
|
+
### event/handler+arguments pairs associated with the handle.
|
144
|
+
def register( io, *args, &handler )
|
145
|
+
events = [:read, :write, :error] & args
|
146
|
+
args -= events
|
147
|
+
|
148
|
+
self.unregister( io )
|
149
|
+
self.enableEvents( io, *events )
|
150
|
+
if handler
|
151
|
+
self.setHandler( io, *args, &handler )
|
152
|
+
else
|
153
|
+
self.setArgs( io, *args )
|
154
|
+
end
|
155
|
+
|
156
|
+
return self
|
157
|
+
end
|
158
|
+
alias_method :add, :register
|
159
|
+
|
160
|
+
|
161
|
+
### Add the specified +events+ to the list that will be polled for on the
|
162
|
+
### given +io+ handle.
|
163
|
+
def enableEvents( io, *events )
|
164
|
+
@handles[ io ][:events] |= events
|
165
|
+
end
|
166
|
+
|
167
|
+
|
168
|
+
### Remove the specified +events+ from the list that will be polled for on
|
169
|
+
### the given +io+ handle.
|
170
|
+
def disableEvents( io, *events )
|
171
|
+
raise RuntimeError, "Cannot disable the :error event" if
|
172
|
+
events.include?( :error )
|
173
|
+
@handles[ io ][:events] -= events
|
174
|
+
end
|
175
|
+
|
176
|
+
|
177
|
+
### Set the handler for events on the given +io+ handle to the specified
|
178
|
+
### +handler+. If any +args+ are present, they will be passed as an exploded
|
179
|
+
### array to the handler for each event. Returns the previously-registered
|
180
|
+
### handler, if any.
|
181
|
+
def setHandler( io, *args, &handler )
|
182
|
+
rval = @handles[ io ][:handler]
|
183
|
+
@handles[ io ][:handler] = handler
|
184
|
+
self.setArgs( io, *args )
|
185
|
+
return rval
|
186
|
+
end
|
187
|
+
|
188
|
+
|
189
|
+
### Remove and return the handler for events on the given +io+ handle.
|
190
|
+
def removeHandler( io )
|
191
|
+
rval = @handles[ io ][:handler]
|
192
|
+
@handles[ io ][:handler] = nil
|
193
|
+
self.removeArgs( io )
|
194
|
+
return rval
|
195
|
+
end
|
196
|
+
|
197
|
+
|
198
|
+
### Set the additional arguments to pass to the handler for the given +io+
|
199
|
+
### handle on each event to the given +args+.
|
200
|
+
def setArgs( io, *args )
|
201
|
+
rval = @handles[ io ][:args]
|
202
|
+
@handles[ io ][:args] = args
|
203
|
+
return rval
|
204
|
+
end
|
205
|
+
|
206
|
+
|
207
|
+
### Remove the arguments for the given handle to the given +args+.
|
208
|
+
def removeArgs( io )
|
209
|
+
return @handles[ io ][:args].clear
|
210
|
+
end
|
211
|
+
|
212
|
+
|
213
|
+
### Remove the specified <tt>io</tt> from the receiver's list of registered
|
214
|
+
### handles, if present. Returns the handle if it was registered, or
|
215
|
+
### <tt>nil</tt> if it was not.
|
216
|
+
def unregister( io )
|
217
|
+
@pendingEvents.delete( io )
|
218
|
+
@handles.delete( io )
|
219
|
+
end
|
220
|
+
alias_method :remove, :unregister
|
221
|
+
|
222
|
+
|
223
|
+
### Returns true if the specified <tt>io</tt> is registered with the poll
|
224
|
+
### object.
|
225
|
+
def registered?( io )
|
226
|
+
return @handles.has_key?( io )
|
227
|
+
end
|
228
|
+
|
229
|
+
|
230
|
+
### Clear all registered handles from the poll object. Returns the handles
|
231
|
+
### that were cleared.
|
232
|
+
def clear
|
233
|
+
rv = @handles.keys
|
234
|
+
|
235
|
+
@pendingEvents.clear
|
236
|
+
@handles.clear
|
237
|
+
|
238
|
+
return rv
|
239
|
+
end
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
### Poll the handles registered to the reactor for pending events. The
|
244
|
+
### following event types are defined:
|
245
|
+
###
|
246
|
+
### [<tt>:read</tt>]
|
247
|
+
### Data may be read from the handle without blocking.
|
248
|
+
### [<tt>:write</tt>]
|
249
|
+
### Data may be written to the handle without blocking.
|
250
|
+
### [<tt>:error</tt>]
|
251
|
+
### An error has occurred on the handle. This event type is always
|
252
|
+
### enabled, regardless of whether or not it is passed as one of the
|
253
|
+
### <tt>events</tt>.
|
254
|
+
###
|
255
|
+
### Any handlers specified when the handles were registered are run for
|
256
|
+
### those handles with events. If a block is given, it will be invoked once
|
257
|
+
### for each handle which doesn't have an explicit handler. If no block is
|
258
|
+
### given, events without explicit handlers are inserted into the reactor's
|
259
|
+
### <tt>pendingEvents</tt> attribute.
|
260
|
+
###
|
261
|
+
### The <tt>timeout</tt> argument is the number of floating-point seconds to
|
262
|
+
### wait for an event before returning (ie., fourth argument to the
|
263
|
+
### underlying <tt>select()</tt> call); negative timeout values will cause
|
264
|
+
### #poll to block until there is at least one event to report.
|
265
|
+
###
|
266
|
+
### This method returns the number of handles on which one or more events
|
267
|
+
### occurred.
|
268
|
+
def poll( timeout=-1 ) # :yields: io, eventMask
|
269
|
+
timeout = timeout.to_f
|
270
|
+
@pendingEvents.clear
|
271
|
+
count = 0
|
272
|
+
|
273
|
+
unless @handles.empty?
|
274
|
+
timeout = nil if timeout < 0
|
275
|
+
eventedHandles = self.getPendingEvents( timeout )
|
276
|
+
|
277
|
+
# For each event of each io that had an event happen, call any
|
278
|
+
# associated callback, or any provided block, or failing both of
|
279
|
+
# those, add the event to the hash of unhandled pending events.
|
280
|
+
eventedHandles.each {|io,events|
|
281
|
+
count += 1
|
282
|
+
events.each {|ev|
|
283
|
+
args = @handles[ io ][:args]
|
284
|
+
|
285
|
+
if @handles[ io ][:handler]
|
286
|
+
@handles[ io ][:handler].call( io, ev, *args )
|
287
|
+
elsif block_given?
|
288
|
+
yield( io, ev, *args )
|
289
|
+
else
|
290
|
+
@pendingEvents[io].push( ev )
|
291
|
+
end
|
292
|
+
}
|
293
|
+
}
|
294
|
+
end
|
295
|
+
|
296
|
+
return count
|
297
|
+
end
|
298
|
+
|
299
|
+
|
300
|
+
### Returns <tt>true</tt> if no handles are associated with the receiver.
|
301
|
+
def empty?
|
302
|
+
@handles.empty?
|
303
|
+
end
|
304
|
+
|
305
|
+
|
306
|
+
#########
|
307
|
+
protected
|
308
|
+
#########
|
309
|
+
|
310
|
+
### Select on the registered handles, returning a Hash of handles => events
|
311
|
+
### for handles which had events occur.
|
312
|
+
def getPendingEvents( timeout )
|
313
|
+
eventHandles = IO::select( self.getReadHandles, self.getWriteHandles,
|
314
|
+
@handles.keys, timeout ) or return {}
|
315
|
+
eventHash = Hash::new {|hsh,io| hsh[io] = []}
|
316
|
+
|
317
|
+
# Fill in the hash with pending events of each type
|
318
|
+
[:read, :write, :error].each_with_index {|event,i|
|
319
|
+
eventHandles[i].each {|io| eventHash[io].push( event )}
|
320
|
+
}
|
321
|
+
return eventHash
|
322
|
+
end
|
323
|
+
|
324
|
+
|
325
|
+
### Return an Array of handles which have handlers for the <tt>:read</tt>
|
326
|
+
### event.
|
327
|
+
def getReadHandles
|
328
|
+
@handles.
|
329
|
+
find_all {|io,hsh| hsh[:events].include?( :read )}.
|
330
|
+
collect {|io,hsh| io}
|
331
|
+
end
|
332
|
+
|
333
|
+
|
334
|
+
### Return an Array of handles which have handlers for the <tt>:write</tt>
|
335
|
+
### event.
|
336
|
+
def getWriteHandles
|
337
|
+
@handles.
|
338
|
+
find_all {|io,hsh| hsh[:events].include?( :write )}.
|
339
|
+
collect {|io,hsh| io}
|
340
|
+
end
|
341
|
+
|
342
|
+
|
343
|
+
end # class IO::Reactor
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
=begin
|
348
|
+
|
349
|
+
== ChangeLog
|
350
|
+
|
351
|
+
* 2003-07-21 09:04 Michael Granger <ged@FaerieMUD.org>
|
352
|
+
|
353
|
+
* README (1.5, RELEASE_0_04):
|
354
|
+
|
355
|
+
- Changed to IO::Reactor.
|
356
|
+
|
357
|
+
* 2003-07-21 08:21 Michael Granger <ged@FaerieMUD.org>
|
358
|
+
|
359
|
+
* install.rb (1.1, RELEASE_0_04):
|
360
|
+
|
361
|
+
Initial checkin.
|
362
|
+
|
363
|
+
* 2003-07-21 00:55 Michael Granger <ged@FaerieMUD.org>
|
364
|
+
|
365
|
+
* test.rb (1.7), utils.rb (1.4), examples/chatserver.rb (1.3),
|
366
|
+
lib/io/reactor.rb (1.11), CATALOG (1.2) (utags: RELEASE_0_04):
|
367
|
+
|
368
|
+
- Refactored into IO::Reactor from Ruby-Poll.
|
369
|
+
|
370
|
+
* 2003-07-21 00:54 Michael Granger <ged@FaerieMUD.org>
|
371
|
+
|
372
|
+
* extconf.rb (1.6), poll.c (1.6), lib/poll.rb (1.11):
|
373
|
+
|
374
|
+
- Removed for IO::Reactor, which no longer needs a C backend.
|
375
|
+
|
376
|
+
* 2003-05-08 16:49 Michael Granger <ged@FaerieMUD.org>
|
377
|
+
|
378
|
+
* makesitedocs.rb (1.3, RELEASE_0_04):
|
379
|
+
|
380
|
+
makesitedocs.rb
|
381
|
+
|
382
|
+
* 2003-04-20 22:37 Michael Granger <ged@FaerieMUD.org>
|
383
|
+
|
384
|
+
* test.rb (1.6):
|
385
|
+
|
386
|
+
Added workaround for recent versions of Test::Unit's API changes.
|
387
|
+
|
388
|
+
* 2003-04-20 22:34 Michael Granger <ged@FaerieMUD.org>
|
389
|
+
|
390
|
+
* poll.c (1.5):
|
391
|
+
|
392
|
+
Added code for simulating poll(2) with rb_thread_select() for machines without a native poll(). Based on code for Freehaven by
|
393
|
+
Nick Mathewson <nickm@freehaven.net>.
|
394
|
+
|
395
|
+
* 2003-04-20 22:32 Michael Granger <ged@FaerieMUD.org>
|
396
|
+
|
397
|
+
* extconf.rb (1.5):
|
398
|
+
|
399
|
+
Added fake poll code to allow machines without a poll(2) to use the library. This also might become the primary method of polling, sadly, as Ruby doesn't tolerate other async IO methods very well due to its use of select() for its threading.
|
400
|
+
|
401
|
+
* 2002-10-20 21:47 Michael Granger <ged@FaerieMUD.org>
|
402
|
+
|
403
|
+
* lib/: poll.rb (1.10), io/reactor.rb (1.10) (utags: RELEASE_0_03):
|
404
|
+
|
405
|
+
- Got rid of a type-checking statement, as it didn't account for using an IO
|
406
|
+
inside a wrappered or delegated object.
|
407
|
+
|
408
|
+
- Fixed use of deprecated 'type' method.
|
409
|
+
|
410
|
+
* 2002-09-18 06:33 Michael Granger <ged@FaerieMUD.org>
|
411
|
+
|
412
|
+
* makedocs.rb (1.3, RELEASE_0_04, RELEASE_0_03, RELEASE_0_02):
|
413
|
+
|
414
|
+
- Removed dependence on as-yet-undistributed xhtml RDoc template.
|
415
|
+
|
416
|
+
* 2002-09-06 10:52 Michael Granger <ged@FaerieMUD.org>
|
417
|
+
|
418
|
+
* poll.c (1.4, RELEASE_0_03, RELEASE_0_02):
|
419
|
+
|
420
|
+
- Added interrupt-handling to the _poll call.
|
421
|
+
|
422
|
+
- Added more-informative debugging.
|
423
|
+
|
424
|
+
* 2002-07-20 10:07 Michael Granger <ged@FaerieMUD.org>
|
425
|
+
|
426
|
+
* lib/: poll.rb (1.9), io/reactor.rb (1.9) (utags: RELEASE_0_02):
|
427
|
+
|
428
|
+
- New method: #setMask().
|
429
|
+
|
430
|
+
- New method: #callback().
|
431
|
+
|
432
|
+
- New method: #args().
|
433
|
+
|
434
|
+
- Implemented the #register() method in terms of the other setter methods to
|
435
|
+
consolidate the maintenance of internal data structures.
|
436
|
+
|
437
|
+
- Added missing callback *args to #setCallback().
|
438
|
+
|
439
|
+
- Cleared up documentation for #register.
|
440
|
+
|
441
|
+
* 2002-07-20 10:03 Michael Granger <ged@FaerieMUD.org>
|
442
|
+
|
443
|
+
* examples/chatserver.rb (1.2, RELEASE_0_03, RELEASE_0_02):
|
444
|
+
|
445
|
+
- Changed name of user class to 'User' to avoid confusion about its role in the
|
446
|
+
server.
|
447
|
+
|
448
|
+
* 2002-07-20 10:01 Michael Granger <ged@FaerieMUD.org>
|
449
|
+
|
450
|
+
* test.rb (1.5, RELEASE_0_03, RELEASE_0_02):
|
451
|
+
|
452
|
+
- Added test for the #callback method.
|
453
|
+
|
454
|
+
* 2002-07-20 10:01 Michael Granger <ged@FaerieMUD.org>
|
455
|
+
|
456
|
+
* makedocs.rb (1.2):
|
457
|
+
|
458
|
+
- Added template argument to make it use the xhtml template.
|
459
|
+
|
460
|
+
* 2002-07-19 10:29 Michael Granger <ged@FaerieMUD.org>
|
461
|
+
|
462
|
+
* lib/: poll.rb (1.8), io/reactor.rb (1.8):
|
463
|
+
|
464
|
+
- Fixed a funny typo.
|
465
|
+
|
466
|
+
* 2002-07-18 21:58 Michael Granger <ged@FaerieMUD.org>
|
467
|
+
|
468
|
+
* CATALOG (1.1, RELEASE_0_03, RELEASE_0_02):
|
469
|
+
|
470
|
+
Initial commit.
|
471
|
+
|
472
|
+
* 2002-07-18 21:58 Michael Granger <ged@FaerieMUD.org>
|
473
|
+
|
474
|
+
* utils.rb (1.3, RELEASE_0_03, RELEASE_0_02):
|
475
|
+
|
476
|
+
- Fixed typo in vetManifest()
|
477
|
+
|
478
|
+
- Added case to read the documentation CATALOG in the base directory if it's not
|
479
|
+
in the docs/ directory.
|
480
|
+
|
481
|
+
* 2002-07-18 21:55 Michael Granger <ged@FaerieMUD.org>
|
482
|
+
|
483
|
+
* makesitedocs.rb (1.2, RELEASE_0_03, RELEASE_0_02):
|
484
|
+
|
485
|
+
- Merged some of the features from the MUES doc-gen script.
|
486
|
+
|
487
|
+
* 2002-07-18 21:52 Michael Granger <ged@FaerieMUD.org>
|
488
|
+
|
489
|
+
* lib/: poll.rb (1.7), io/reactor.rb (1.7):
|
490
|
+
|
491
|
+
- Added callback arguments to the register() method.
|
492
|
+
|
493
|
+
* 2002-07-18 21:52 Michael Granger <ged@FaerieMUD.org>
|
494
|
+
|
495
|
+
* test.rb (1.4):
|
496
|
+
|
497
|
+
- Added test for new "with-args" register() method call.
|
498
|
+
|
499
|
+
* 2002-07-18 09:42 Michael Granger <ged@FaerieMUD.org>
|
500
|
+
|
501
|
+
* utils.rb (1.2):
|
502
|
+
|
503
|
+
- Added a debugMsg function.
|
504
|
+
|
505
|
+
- Qualified all functions as module_functions.
|
506
|
+
|
507
|
+
* 2002-07-18 09:40 Michael Granger <ged@FaerieMUD.org>
|
508
|
+
|
509
|
+
* lib/: poll.rb (1.6), io/reactor.rb (1.6):
|
510
|
+
|
511
|
+
- Fixed some typos
|
512
|
+
|
513
|
+
- Added clarification and additional documentation for some methods.
|
514
|
+
|
515
|
+
* 2002-07-18 09:35 Michael Granger <ged@FaerieMUD.org>
|
516
|
+
|
517
|
+
* README (1.4, RELEASE_0_03, RELEASE_0_02):
|
518
|
+
|
519
|
+
- Fixed a typo.
|
520
|
+
|
521
|
+
* 2002-04-18 16:53 Michael Granger <ged@FaerieMUD.org>
|
522
|
+
|
523
|
+
* extconf.rb (1.4, RELEASE_0_03, RELEASE_0_02):
|
524
|
+
|
525
|
+
- Corrected a bug in the header =:)
|
526
|
+
|
527
|
+
* 2002-04-18 12:01 Michael Granger <ged@FaerieMUD.org>
|
528
|
+
|
529
|
+
* makedist.rb (1.1, RELEASE_0_04, RELEASE_0_03, RELEASE_0_02),
|
530
|
+
makesitedocs.rb (1.1), utils.rb (1.1) (utags: RELEASE_0_01):
|
531
|
+
|
532
|
+
Initial commit
|
533
|
+
|
534
|
+
* 2002-04-18 11:24 Michael Granger <ged@FaerieMUD.org>
|
535
|
+
|
536
|
+
* extconf.rb (1.3, RELEASE_0_01):
|
537
|
+
|
538
|
+
- Corrected path to the docs-generation script.
|
539
|
+
|
540
|
+
* 2002-04-18 10:23 Michael Granger <ged@FaerieMUD.org>
|
541
|
+
|
542
|
+
* makedocs.rb (1.1, RELEASE_0_01):
|
543
|
+
|
544
|
+
Initial commit
|
545
|
+
|
546
|
+
* 2002-04-18 10:23 Michael Granger <ged@FaerieMUD.org>
|
547
|
+
|
548
|
+
* poll.c (1.3, RELEASE_0_01):
|
549
|
+
|
550
|
+
- Added some comments for RDoc, should it ever parse protected methods.
|
551
|
+
|
552
|
+
- Changed the name of the second arg to _poll() to handleArray, as it wasn't
|
553
|
+
really an array of file descriptors.
|
554
|
+
|
555
|
+
* 2002-04-18 08:44 Michael Granger <ged@FaerieMUD.org>
|
556
|
+
|
557
|
+
* test.rb (1.3, RELEASE_0_01):
|
558
|
+
|
559
|
+
- Removed the "ext" dir from the ones being added to the LOAD_PATH, as it's gone
|
560
|
+
away.
|
561
|
+
|
562
|
+
- Removed a require left over from the failed tempfile experiment.
|
563
|
+
|
564
|
+
* 2002-04-18 08:43 Michael Granger <ged@FaerieMUD.org>
|
565
|
+
|
566
|
+
* extconf.rb (1.2):
|
567
|
+
|
568
|
+
- Moved the ext/extconf.rb stuff into this one because the ext directory is
|
569
|
+
going away.
|
570
|
+
|
571
|
+
* 2002-04-18 08:42 Michael Granger <ged@FaerieMUD.org>
|
572
|
+
|
573
|
+
* README (1.3, RELEASE_0_01):
|
574
|
+
|
575
|
+
- Changed from alpha to beta
|
576
|
+
|
577
|
+
- Added requirements section
|
578
|
+
|
579
|
+
- Modified installation section to use 'site-install' instead of 'install', and
|
580
|
+
took stuff out that would have been redundant with the requires section.
|
581
|
+
|
582
|
+
* 2002-04-17 15:34 Michael Granger <ged@FaerieMUD.org>
|
583
|
+
|
584
|
+
* lib/: poll.rb (1.5), io/reactor.rb (1.5) (utags: RELEASE_0_01):
|
585
|
+
|
586
|
+
- Added :yeilds: RDoc construct to #poll.
|
587
|
+
|
588
|
+
* 2002-04-17 15:20 Michael Granger <ged@FaerieMUD.org>
|
589
|
+
|
590
|
+
* README (1.2):
|
591
|
+
|
592
|
+
- Separated abstract from header.
|
593
|
+
|
594
|
+
* 2002-04-17 15:18 Michael Granger <ged@FaerieMUD.org>
|
595
|
+
|
596
|
+
* lib/: poll.rb (1.4), io/reactor.rb (1.4):
|
597
|
+
|
598
|
+
- Clarified abstract.
|
599
|
+
|
600
|
+
* 2002-04-17 15:14 Michael Granger <ged@FaerieMUD.org>
|
601
|
+
|
602
|
+
* README (1.1):
|
603
|
+
|
604
|
+
Initial commit
|
605
|
+
|
606
|
+
* 2002-04-17 07:03 Michael Granger <ged@FaerieMUD.org>
|
607
|
+
|
608
|
+
* lib/: poll.rb (1.3), io/reactor.rb (1.3):
|
609
|
+
|
610
|
+
- Fixed documentation for the EventMask bitwise operators.
|
611
|
+
|
612
|
+
* 2002-04-17 06:48 Michael Granger <ged@FaerieMUD.org>
|
613
|
+
|
614
|
+
* lib/: poll.rb (1.2), io/reactor.rb (1.2):
|
615
|
+
|
616
|
+
- Re-implemented after the first one was wiped out by extconf.
|
617
|
+
|
618
|
+
* 2002-04-17 06:47 Michael Granger <ged@FaerieMUD.org>
|
619
|
+
|
620
|
+
* poll.c (1.2):
|
621
|
+
|
622
|
+
- Added shortcut constants
|
623
|
+
|
624
|
+
- Added _GNU_SOURCE define to catch the additional poll.h constants under Linux
|
625
|
+
|
626
|
+
- Changed _poll to a protected method.
|
627
|
+
|
628
|
+
* 2002-04-17 06:46 Michael Granger <ged@FaerieMUD.org>
|
629
|
+
|
630
|
+
* test.rb (1.2):
|
631
|
+
|
632
|
+
- Added lots of stuff, redesigned to match the new API
|
633
|
+
|
634
|
+
* 2002-04-17 06:45 Michael Granger <ged@FaerieMUD.org>
|
635
|
+
|
636
|
+
* examples/chatserver.rb (1.1, RELEASE_0_01):
|
637
|
+
|
638
|
+
Initial commit
|
639
|
+
|
640
|
+
* 2002-04-16 04:47 Michael Granger <ged@FaerieMUD.org>
|
641
|
+
|
642
|
+
* extconf.rb (1.1), poll.c (1.1), test.rb (1.1), lib/poll.rb (1.1),
|
643
|
+
lib/io/reactor.rb (1.1):
|
644
|
+
|
645
|
+
Initial revision
|
646
|
+
|
647
|
+
* 2002-04-16 04:47 Michael Granger <ged@FaerieMUD.org>
|
648
|
+
|
649
|
+
* extconf.rb (1.1.1.1), poll.c (1.1.1.1), test.rb (1.1.1.1),
|
650
|
+
lib/poll.rb (1.1.1.1), lib/io/reactor.rb (1.1.1.1) (utags: IMPORT):
|
651
|
+
|
652
|
+
Initial import
|
653
|
+
|
654
|
+
=end
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
# _____ _
|
659
|
+
# |_ _|__ ___| |_
|
660
|
+
# | |/ _ \/ __| __|
|
661
|
+
# | | __/\__ \ |_
|
662
|
+
# |_|\___||___/\__|
|
663
|
+
#
|
664
|
+
|
665
|
+
# TODO
|
666
|
+
|
667
|
+
=begin #testing
|
668
|
+
|
669
|
+
require 'test/unit'
|
670
|
+
|
671
|
+
=end
|