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
data/forge/more/range.rb
ADDED
@@ -0,0 +1,383 @@
|
|
1
|
+
=begin rdoc
|
2
|
+
|
3
|
+
= Descrete Range Class
|
4
|
+
|
5
|
+
This is the Range class slightly modified to be truly desecrete in nature.
|
6
|
+
Use the Interval class (see interval.rb) for a truly continuious range class.
|
7
|
+
|
8
|
+
== Synopsis
|
9
|
+
|
10
|
+
The following code uses class +Xs+, which is defined in the
|
11
|
+
class-level documentation.
|
12
|
+
|
13
|
+
require 'trix/range'
|
14
|
+
|
15
|
+
range = Xs.new(1)..Xs.new(10)
|
16
|
+
range.step(2) {|x| puts x}
|
17
|
+
range.step(3) {|x| puts x}
|
18
|
+
|
19
|
+
_produces:_
|
20
|
+
|
21
|
+
1 x
|
22
|
+
3 xxx
|
23
|
+
5 xxxxx
|
24
|
+
7 xxxxxxx
|
25
|
+
9 xxxxxxxxx
|
26
|
+
1 x
|
27
|
+
4 xxxx
|
28
|
+
7 xxxxxxx
|
29
|
+
10 xxxxxxxxxx
|
30
|
+
|
31
|
+
== Notes
|
32
|
+
|
33
|
+
Range is not quite have descrete behavior becasue it also performs
|
34
|
+
double-duty as a continious interval class. Its just a bit too overloaded
|
35
|
+
and this limits its full potential. To remedy, a separate Interval class
|
36
|
+
has been created to handle true interval functionality. And here we
|
37
|
+
adjust Range to be truely discrete.
|
38
|
+
|
39
|
+
Range originally dependened on two methods: #succ and #<=>. If numeric
|
40
|
+
ranges were the only concern, those could just as well be #+ and #<=>,
|
41
|
+
but esoteric forms make that unfeasible --the obvious example being a
|
42
|
+
String range. To properly handle this, Range fully seperates and extends
|
43
|
+
the parallel methods: #succ for #+, #cmp for #<=> ( in the future we may
|
44
|
+
add #pred for #- ). It also adds the option of #distance to properly
|
45
|
+
calculate the difference between the sentinals. This is neccessary
|
46
|
+
to ensure congruent bahavior. For instance, presently String Range's
|
47
|
+
can give bad results because #<=> does not measure order in the same
|
48
|
+
manner that #succ generates order.
|
49
|
+
|
50
|
+
== Todo List
|
51
|
+
|
52
|
+
* Add skip parameter, to allow skip-ranges, i.e. skipping successive iterations.
|
53
|
+
|
54
|
+
== Author
|
55
|
+
|
56
|
+
* Thomas Sawyer
|
57
|
+
|
58
|
+
=end
|
59
|
+
|
60
|
+
require 'carat/infinity'
|
61
|
+
require 'carat/interval'
|
62
|
+
|
63
|
+
|
64
|
+
class Range
|
65
|
+
|
66
|
+
alias_method :initialize_simple, :initialize
|
67
|
+
private :initialize_simple
|
68
|
+
|
69
|
+
def initialize( first, halt, exclude_last=false, &succ )
|
70
|
+
@first = first
|
71
|
+
@last = halt.kind_of?(Proc) ? nil : halt
|
72
|
+
@halt = @last ? nil : halt
|
73
|
+
#@exclude_first = exclude_first
|
74
|
+
@exclude_last = exclude_last
|
75
|
+
@direction = (@last <=> @first)
|
76
|
+
#@direction = 1 if @direction == 0
|
77
|
+
@succ = succ || nil #@first.method(:succ).to_proc
|
78
|
+
#@halt = nil #exclude_last? ? proc{ |x| x.cmp(@last) != -1 } : proc{ |x| x.cmp(@last) == 1 }
|
79
|
+
initialize_simple(@first, @last, @exclude_last)
|
80
|
+
end
|
81
|
+
|
82
|
+
def succ ; @succ ; end
|
83
|
+
|
84
|
+
def succ!(s)
|
85
|
+
if @succ
|
86
|
+
@succ.call(s)
|
87
|
+
else
|
88
|
+
s.succ
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def succ=(succ_proc)
|
93
|
+
raise ArgumentError unless Proc === succ_proc
|
94
|
+
@succ = succ_proc
|
95
|
+
end
|
96
|
+
|
97
|
+
def halt ; @halt ; end
|
98
|
+
|
99
|
+
def halt?(s)
|
100
|
+
if @halt
|
101
|
+
@halt.call(s)
|
102
|
+
else
|
103
|
+
if @exclude_last
|
104
|
+
s.cmp(@last) != -1
|
105
|
+
else
|
106
|
+
s.cmp(@last) == 1
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
def halt=(halt_proc)
|
112
|
+
raise ArgumentError unless Proc === halt_proc
|
113
|
+
@halt = halt_proc
|
114
|
+
end
|
115
|
+
|
116
|
+
#def first ; @first ; end
|
117
|
+
#def last ; @last ; end
|
118
|
+
#def exclude_first? ; @exclude_first ; end
|
119
|
+
#def exclude_last? ; @exclude_last ; end
|
120
|
+
alias exclude_last? exclude_end?
|
121
|
+
|
122
|
+
def direction
|
123
|
+
@direction ||= (@last <=> @first)
|
124
|
+
end
|
125
|
+
|
126
|
+
# poor names
|
127
|
+
#undef_method :begin
|
128
|
+
#undef_method :end
|
129
|
+
#undef_method :exclude_end?
|
130
|
+
|
131
|
+
def -@ ; Range.new( @first, @last, true, &@succ ) ; end
|
132
|
+
|
133
|
+
def distance
|
134
|
+
return @last.distance(@first) if @last and @last.respond_to?(:distance)
|
135
|
+
self.to_a.length # should it just be nil instead?
|
136
|
+
end
|
137
|
+
alias_method( :length, :distance )
|
138
|
+
alias_method( :size, :distance )
|
139
|
+
|
140
|
+
def min
|
141
|
+
(@first.cmp(@last) == -1) ? @first : @last
|
142
|
+
end
|
143
|
+
|
144
|
+
def max
|
145
|
+
(@first.cmp(@last) == 1) ? @first : @last
|
146
|
+
end
|
147
|
+
|
148
|
+
# +between?+ simply tests whether the given value falls
|
149
|
+
# between the sentinels by comparison. It does not
|
150
|
+
# verify that the value is acutally in the range's sequence.
|
151
|
+
def between?(x)
|
152
|
+
#tf = exclude_first? ? 1 : 0
|
153
|
+
tl = exclude_last? ? -1 : 0
|
154
|
+
# if other classes handled Infinity in their <=> method
|
155
|
+
# (which probably they should) this clause would not be required
|
156
|
+
if first.kind_of?(InfinityClass)
|
157
|
+
ft = ((first <=> x) <= tf)
|
158
|
+
else
|
159
|
+
ft = (x <=> first) >= tf
|
160
|
+
end
|
161
|
+
if last.kind_of?(InfinityClass)
|
162
|
+
fl = ((last <=> x) >= tl)
|
163
|
+
else
|
164
|
+
fl = (x <=> last) <= tl
|
165
|
+
end
|
166
|
+
ft && fl
|
167
|
+
end
|
168
|
+
|
169
|
+
# Is this proper alias of +===+?
|
170
|
+
alias_method( :===, :between? )
|
171
|
+
|
172
|
+
# +include?+ is an alias for +member?+. It is like between
|
173
|
+
# but makes sure that the value is in the range sequence.
|
174
|
+
alias_method( :include?, :member? )
|
175
|
+
|
176
|
+
# Compares two ranges to see if they are equal
|
177
|
+
def eql?(other)
|
178
|
+
return false unless @first == other.first
|
179
|
+
other_last = other.exclude_last? ? other.last : other.last
|
180
|
+
if self.exclude_last? and not other.exclude_last?
|
181
|
+
return false unless self.last == other.last.succ
|
182
|
+
elsif other.exclude_last? and not self.exclude_last?
|
183
|
+
return false unless self.last.succ == other.last
|
184
|
+
else
|
185
|
+
return false unless @last == other.last
|
186
|
+
end
|
187
|
+
true
|
188
|
+
end
|
189
|
+
|
190
|
+
alias each_succ each
|
191
|
+
def each( &blk )
|
192
|
+
return each_succ( &blk ) unless @succ or @halt
|
193
|
+
if @halt
|
194
|
+
halt_proc = @halt
|
195
|
+
else
|
196
|
+
halt_proc = exclude_last? ? proc{ |x| x.cmp(@last) != -1 } : proc{ |x| x.cmp(@last) == 1 }
|
197
|
+
end
|
198
|
+
#t = exclude_last? ? -1 : 0
|
199
|
+
s = @first
|
200
|
+
if @succ
|
201
|
+
#while (s <=> @last) == -1 or (s <=> @last) == t
|
202
|
+
until halt_proc.call(s)
|
203
|
+
yield(s)
|
204
|
+
@succ.call(s)
|
205
|
+
end
|
206
|
+
else
|
207
|
+
#while (s <=> @last) == -1 or (s <=> @last) == t
|
208
|
+
until halt_proc.call(s)
|
209
|
+
yield(s)
|
210
|
+
s.succ
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# # each(n) where n is steps, if n is negative it is nth
|
216
|
+
# # I know, it's a neg num trick :( but I think it's
|
217
|
+
# # better then having another method like #each_nth,
|
218
|
+
# # cause then you'd need #to_a_nth, too, etc.
|
219
|
+
# def each(n=1) # :yield:
|
220
|
+
# n = (length / n.abs) if n < 0
|
221
|
+
# n = n * direction
|
222
|
+
# i = first; i.succ(n) if exclude_first?
|
223
|
+
# t = exclude_last? ? -1 : 0
|
224
|
+
# while (i <=> last) == -1 or (i <=> last) == t
|
225
|
+
# yield(i)
|
226
|
+
# i.succ(n)
|
227
|
+
# end
|
228
|
+
# end
|
229
|
+
|
230
|
+
# # each(n) where n is steps, if n is negative it is nth
|
231
|
+
# # I know, it's a neg num trick :( but I think it's
|
232
|
+
# # better then having another method like #each_nth,
|
233
|
+
# # cause then you'd need #to_a_nth, too, etc.
|
234
|
+
# def reverse_each(n=1) # :yield:
|
235
|
+
# n = (length / n.abs) if n < 0
|
236
|
+
# n = n * direction
|
237
|
+
# i = last; i -= n if exclude_first?
|
238
|
+
# t = exclude_first? ? 1 : 0
|
239
|
+
# while (i <=> first) == 1 or (i <=> first) == t
|
240
|
+
# yield(i)
|
241
|
+
# i += n
|
242
|
+
# end
|
243
|
+
# end
|
244
|
+
|
245
|
+
# def to_a(n=1)
|
246
|
+
# a=[]; each(n){|e| a << e}
|
247
|
+
# a
|
248
|
+
# end
|
249
|
+
|
250
|
+
# Is this even desirable at this point?
|
251
|
+
# Sequences depend on #succ rather then #+
|
252
|
+
# so don't expect the same results from each!
|
253
|
+
# def to_seq
|
254
|
+
# seed = exclude_first? ? first.succ : first
|
255
|
+
# halt = exclude_last? ? proc{|x| (x <=> last) >= 0} : proc{|x| (x <=> last) > 0}
|
256
|
+
# Sequence.new( seed, &halt )
|
257
|
+
# end
|
258
|
+
|
259
|
+
end
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
=begin test
|
264
|
+
|
265
|
+
|
266
|
+
require 'test/unit'
|
267
|
+
|
268
|
+
class GeneralTest < Test::Unit::TestCase
|
269
|
+
|
270
|
+
def test_include_001
|
271
|
+
a = Range.new(1,10)
|
272
|
+
assert_equal(false, a.include?(0))
|
273
|
+
assert_equal(true, a.include?(1))
|
274
|
+
assert_equal(true, a.include?(2))
|
275
|
+
assert_equal(true, a.include?(9))
|
276
|
+
assert_equal(true, a.include?(10))
|
277
|
+
assert_equal(false, a.include?(11))
|
278
|
+
end
|
279
|
+
|
280
|
+
def test_include_002
|
281
|
+
a = Range.new(1,10,false,true)
|
282
|
+
assert_equal(false, a.include?(0))
|
283
|
+
assert_equal(true, a.include?(1))
|
284
|
+
assert_equal(true, a.include?(2))
|
285
|
+
assert_equal(true, a.include?(9))
|
286
|
+
assert_equal(false, a.include?(10))
|
287
|
+
assert_equal(false, a.include?(11))
|
288
|
+
end
|
289
|
+
|
290
|
+
def test_include_003
|
291
|
+
a = Range.new(1,10,true,false)
|
292
|
+
assert_equal(false, a.include?(0))
|
293
|
+
assert_equal(false, a.include?(1))
|
294
|
+
assert_equal(true, a.include?(2))
|
295
|
+
assert_equal(true, a.include?(9))
|
296
|
+
assert_equal(true, a.include?(10))
|
297
|
+
assert_equal(false, a.include?(11))
|
298
|
+
end
|
299
|
+
|
300
|
+
def test_include_004
|
301
|
+
a = Range.new(1,10,true,true)
|
302
|
+
assert_equal(false, a.include?(0))
|
303
|
+
assert_equal(false, a.include?(1))
|
304
|
+
assert_equal(true, a.include?(2))
|
305
|
+
assert_equal(true, a.include?(9))
|
306
|
+
assert_equal(false, a.include?(10))
|
307
|
+
assert_equal(false, a.include?(11))
|
308
|
+
end
|
309
|
+
|
310
|
+
end
|
311
|
+
|
312
|
+
class LrgNumericTest < Test::Unit::TestCase
|
313
|
+
def test_include
|
314
|
+
a = Range.new(0,100000000)
|
315
|
+
assert_equal(true, a.include?(0))
|
316
|
+
assert_equal(true, a.include?(1000))
|
317
|
+
assert_equal(true, a.include?(1000000))
|
318
|
+
assert_equal(true, a.include?(100000000))
|
319
|
+
assert_equal(false, a.include?(INFINITY))
|
320
|
+
end
|
321
|
+
def test_include_with_step
|
322
|
+
a = Range.new(0,100000000)
|
323
|
+
assert_equal(true, a.include?(0))
|
324
|
+
assert_equal(true, a.include?(5))
|
325
|
+
assert_equal(true, a.include?(70007))
|
326
|
+
assert_equal(true, a.include?(5000005))
|
327
|
+
assert_equal(false, a.include?(INFINITY))
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
class InfTest < Test::Unit::TestCase
|
332
|
+
def test_include?
|
333
|
+
a = Range.new(-INFINITY,-3)
|
334
|
+
assert_equal(true, a.include?(-INFINITY))
|
335
|
+
assert_equal(true, a.include?(-4))
|
336
|
+
assert_equal(true, a.include?(-3))
|
337
|
+
assert_equal(false, a.include?(-2))
|
338
|
+
assert_equal(false, a.include?(INFINITY))
|
339
|
+
a = Range.new(-INFINITY,-3,false,true)
|
340
|
+
assert_equal(true, a.include?(-INFINITY))
|
341
|
+
assert_equal(true, a.include?(-4))
|
342
|
+
assert_equal(false, a.include?(-3))
|
343
|
+
assert_equal(false, a.include?(-2))
|
344
|
+
assert_equal(false, a.include?(INFINITY))
|
345
|
+
a = Range.new(-3,INFINITY)
|
346
|
+
assert_equal(false, a.include?(-INFINITY))
|
347
|
+
assert_equal(false, a.include?(-4))
|
348
|
+
assert_equal(true, a.include?(-3))
|
349
|
+
assert_equal(true, a.include?(-2))
|
350
|
+
assert_equal(true, a.include?(INFINITY))
|
351
|
+
a = Range.new(-INFINITY,INFINITY)
|
352
|
+
assert_equal(true, a.include?(-INFINITY))
|
353
|
+
assert_equal(true, a.include?(-4))
|
354
|
+
assert_equal(true, a.include?(-3))
|
355
|
+
assert_equal(true, a.include?(-2))
|
356
|
+
assert_equal(true, a.include?(INFINITY))
|
357
|
+
a = Range.new(-3,-2)
|
358
|
+
assert_equal(false, a.include?(-INFINITY))
|
359
|
+
assert_equal(false, a.include?(-4))
|
360
|
+
assert_equal(true, a.include?(-3))
|
361
|
+
assert_equal(true, a.include?(-2))
|
362
|
+
assert_equal(false, a.include?(INFINITY))
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class OrdinalTest < Test::Unit::TestCase
|
367
|
+
def test_include
|
368
|
+
a = Range.new('a','g')
|
369
|
+
#assert_equal(false, a.include?(-INFINITY))
|
370
|
+
assert_equal(true, a.include?('a'))
|
371
|
+
assert_equal(true, a.include?('c'))
|
372
|
+
assert_equal(false, a.include?('z'))
|
373
|
+
#assert_equal(false, a.include?(INFINITY))
|
374
|
+
end
|
375
|
+
#def test_error
|
376
|
+
# assert_raises(ArgumentError) {
|
377
|
+
# a = (-INFINITY..'z')
|
378
|
+
# }
|
379
|
+
#end
|
380
|
+
end
|
381
|
+
|
382
|
+
=end
|
383
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Code from rubyonrails project (http://www.rubyonrails.com)
|
2
|
+
# Temporarily here.
|
3
|
+
|
4
|
+
require 'html/tokenizer'
|
5
|
+
require 'html/node'
|
6
|
+
|
7
|
+
VERBOTEN_TAGS = %w(form script) unless defined?(VERBOTEN_TAGS)
|
8
|
+
VERBOTEN_ATTRS = /^on/i unless defined?(VERBOTEN_ATTRS)
|
9
|
+
|
10
|
+
class String
|
11
|
+
# Sanitizes the given HTML by making form and script tags into regular
|
12
|
+
# text, and removing all "onxxx" attributes (so that arbitrary Javascript
|
13
|
+
# cannot be executed). Also removes href attributes that start with
|
14
|
+
# "javascript:".
|
15
|
+
#
|
16
|
+
# Returns the sanitized text.
|
17
|
+
def self.sanitize(html)
|
18
|
+
# only do this if absolutely necessary
|
19
|
+
if html.index("<")
|
20
|
+
tokenizer = HTML::Tokenizer.new(html)
|
21
|
+
new_text = ""
|
22
|
+
|
23
|
+
while token = tokenizer.next
|
24
|
+
node = HTML::Node.parse(nil, 0, 0, token, false)
|
25
|
+
new_text << case node
|
26
|
+
when HTML::Tag
|
27
|
+
if VERBOTEN_TAGS.include?(node.name)
|
28
|
+
node.to_s.gsub(/</, "<")
|
29
|
+
else
|
30
|
+
if node.closing != :close
|
31
|
+
node.attributes.delete_if { |attr,v| attr =~ VERBOTEN_ATTRS }
|
32
|
+
if node.attributes["href"] =~ /^javascript:/i
|
33
|
+
node.attributes.delete "href"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
node.to_s
|
37
|
+
end
|
38
|
+
else
|
39
|
+
node.to_s.gsub(/</, "<")
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
html = new_text
|
44
|
+
end
|
45
|
+
|
46
|
+
html
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,266 @@
|
|
1
|
+
|
2
|
+
require 'nano/unboundmethod/name'
|
3
|
+
require 'nano/enumerable/uniq_by'
|
4
|
+
require 'nano/hash/keys_to_sym'
|
5
|
+
|
6
|
+
class NoServiceError < NoMethodError ; end
|
7
|
+
|
8
|
+
# In general the term 'service' is just another name for method
|
9
|
+
# (in Ruby also an attribute). Here it takes on slightly more meaning
|
10
|
+
# in that it is a managed first class object.
|
11
|
+
#
|
12
|
+
class Service
|
13
|
+
|
14
|
+
def initialize( klass, name, allow_virtual=false )
|
15
|
+
unless allow_virtual
|
16
|
+
raise NoServiceError, "#{klass} service ##{name} does not exist" unless klass.method_defined?(name)
|
17
|
+
end
|
18
|
+
@name = name.to_s
|
19
|
+
@class = klass
|
20
|
+
@bindings={}
|
21
|
+
service
|
22
|
+
end
|
23
|
+
|
24
|
+
def name ; @name ; end
|
25
|
+
def for_class ; @class ; end
|
26
|
+
|
27
|
+
def service
|
28
|
+
if @class.instance_methods(false).include?(@name)
|
29
|
+
@method = @class.instance_method(@name)
|
30
|
+
else
|
31
|
+
if @class.method_defined?(@name)
|
32
|
+
@class.instance_method(@name)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def virtual?
|
38
|
+
service ? false : true
|
39
|
+
end
|
40
|
+
|
41
|
+
#--
|
42
|
+
# do about virtual here ?
|
43
|
+
#++
|
44
|
+
def super_service?
|
45
|
+
# recall method_defined looks at all ancestors too
|
46
|
+
@class.ancestors[1] and @class.ancestors[1].method_defined?(name.to_sym)
|
47
|
+
end
|
48
|
+
|
49
|
+
def super_service
|
50
|
+
super_service? ? @class.ancestors[1].service(name) : nil
|
51
|
+
end
|
52
|
+
|
53
|
+
def service_ancestors
|
54
|
+
return [@class] unless super_service?
|
55
|
+
[@class].concat super_service.service_ancestors
|
56
|
+
end
|
57
|
+
|
58
|
+
# TODO
|
59
|
+
#def hash
|
60
|
+
#
|
61
|
+
#end
|
62
|
+
|
63
|
+
#def ===(other)
|
64
|
+
# @name == other.name and @class.ancestors.include?(other.for_class)
|
65
|
+
#end
|
66
|
+
|
67
|
+
def inspect
|
68
|
+
if virtual?
|
69
|
+
%{#<Virtual#{self.class}:#{@class}##{@name}>}
|
70
|
+
else
|
71
|
+
if @class.instance_methods(false).include?(@name)
|
72
|
+
%{#<#{self.class}:#{@class}##{@name}>}
|
73
|
+
else
|
74
|
+
%{#<#{self.class}:#{@class}(#{service_ancestors.slice(1..-1).join(',')})##{@name}>}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
def <=>(other)
|
80
|
+
return c = @name <=> other.name if c != 0
|
81
|
+
return c = @class <=> other.for_class if c != 0
|
82
|
+
0
|
83
|
+
end
|
84
|
+
|
85
|
+
# Returns metadata merged with ancestor's metadata.
|
86
|
+
def super_metadata
|
87
|
+
return super_service.super_metadata.merge(metadata) if super_service?
|
88
|
+
return metadata
|
89
|
+
end
|
90
|
+
alias :open_metadata :super_metadata
|
91
|
+
|
92
|
+
# This is here to ensure open_metadata works
|
93
|
+
# even when nano/object/metadata isn't loaded.
|
94
|
+
def metadata
|
95
|
+
@_metadata ||= {}
|
96
|
+
end
|
97
|
+
|
98
|
+
# Bind service to an instance of it's for-class.
|
99
|
+
def bind(obj)
|
100
|
+
raise 'virtual service has no target method' if virtual?
|
101
|
+
@bindings[obj] ||= @method.bind(obj)
|
102
|
+
end
|
103
|
+
|
104
|
+
# Unbind service to an instance of it's for-class.
|
105
|
+
def unbind(obj)
|
106
|
+
@bindings.delete(obj).unbind if @bindings.include?(obj)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Returns arity of service.
|
110
|
+
def arity
|
111
|
+
return nil if virtual?
|
112
|
+
@method.arity
|
113
|
+
end
|
114
|
+
|
115
|
+
# Call services on all bound instances.
|
116
|
+
def call(*args,&blk)
|
117
|
+
raise 'virtual service has no target method' if virtual?
|
118
|
+
@bindings.each{|b| b.call(*args,&blk)}
|
119
|
+
end
|
120
|
+
|
121
|
+
# Call the service's (method's) super service (method).
|
122
|
+
def super_call(*args,&blk)
|
123
|
+
super_service.call(*args,&blk) if super_service?
|
124
|
+
end
|
125
|
+
|
126
|
+
end
|
127
|
+
|
128
|
+
|
129
|
+
class Object
|
130
|
+
def service(name)
|
131
|
+
self.class.service(name)
|
132
|
+
end
|
133
|
+
def has_service?(name)
|
134
|
+
self.class.method_defined?(name)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
|
139
|
+
class Module
|
140
|
+
|
141
|
+
# Returns the hash of local _instantiated_ services.
|
142
|
+
def __service__
|
143
|
+
@__service__ ||= Hash.new{ |h,k| h[k.to_sym]=Service.new( self, k, true ) }
|
144
|
+
@__service__
|
145
|
+
end
|
146
|
+
|
147
|
+
# Returns a service by name.
|
148
|
+
def service( name )
|
149
|
+
raise NoServiceError unless has_service?(name) unless virtual_service?(name)
|
150
|
+
__service__[name.to_sym]
|
151
|
+
end
|
152
|
+
|
153
|
+
# Returns a service by name, if doesn't exist creates it.
|
154
|
+
def virtual_service(name)
|
155
|
+
__service__[name.to_sym]
|
156
|
+
end
|
157
|
+
|
158
|
+
# Returns a list of names of the currently instantiated services.
|
159
|
+
def services
|
160
|
+
__service__.keys | ( ancestors[1] ? ancestors[1].services : [] )
|
161
|
+
end
|
162
|
+
alias :open_services :services
|
163
|
+
|
164
|
+
def virtual_services
|
165
|
+
a = []
|
166
|
+
__service__.each{ |k,s| a << k if s.virtual? } #unless ancestors[1]
|
167
|
+
a
|
168
|
+
end
|
169
|
+
|
170
|
+
# This will instantiate all possible services.
|
171
|
+
# This is an expensive operation, use sparingly.
|
172
|
+
def all_services(include_ancestors=false)
|
173
|
+
instance_methods(include_ancestors).collect{ |m| service(m) }
|
174
|
+
end
|
175
|
+
|
176
|
+
# Does this module/class have a service?
|
177
|
+
def service?(name)
|
178
|
+
method_defined?(name)
|
179
|
+
end
|
180
|
+
alias :has_service? :service?
|
181
|
+
|
182
|
+
# Does this module/class have a virtual service?
|
183
|
+
def virtual_service?(name)
|
184
|
+
virtual_services.include?(name)
|
185
|
+
end
|
186
|
+
alias :has_virtual_service? :virtual_service?
|
187
|
+
|
188
|
+
# Simply a wrapper around instance_methods, but converts to symbols
|
189
|
+
def services_available(include_ancestors=true)
|
190
|
+
instance_methods(include_ancestors).collect{ |m| m.to_sym }
|
191
|
+
end
|
192
|
+
|
193
|
+
end
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
# _____ _
|
198
|
+
# |_ _|__ ___| |_
|
199
|
+
# | |/ _ \/ __| __|
|
200
|
+
# | | __/\__ \ |_
|
201
|
+
# |_|\___||___/\__|
|
202
|
+
#
|
203
|
+
|
204
|
+
=begin testing
|
205
|
+
|
206
|
+
require 'mega/quicktest'
|
207
|
+
|
208
|
+
class X
|
209
|
+
def name; "X.name" ; end
|
210
|
+
def bang; "X.bang" ; end
|
211
|
+
end
|
212
|
+
|
213
|
+
class Y < X
|
214
|
+
def name; "Y.name" ; end
|
215
|
+
def jump; "Y.jump" ; end
|
216
|
+
end
|
217
|
+
|
218
|
+
#test { assert_equal( X.instance_methods(true), X.services ) }
|
219
|
+
#test { assert_equal( Y.instance_methods(true), Y.services ) }
|
220
|
+
#test { assert_equal( ["jump"], Y.services - X.services ) }
|
221
|
+
|
222
|
+
test do
|
223
|
+
X.service(:name)
|
224
|
+
assert_equal( [:name], X.services )
|
225
|
+
assert_equal( [:name], Y.services )
|
226
|
+
end
|
227
|
+
|
228
|
+
test do
|
229
|
+
Y.service(:name)
|
230
|
+
assert_equal( [:name], X.services )
|
231
|
+
assert_equal( [:name], Y.services )
|
232
|
+
end
|
233
|
+
|
234
|
+
test do
|
235
|
+
assert( Y.service(:name).super_service? )
|
236
|
+
end
|
237
|
+
|
238
|
+
test do
|
239
|
+
Y.service(:jump)
|
240
|
+
assert_equal( [:name], X.services )
|
241
|
+
assert( [:name,:jump].each { |s| Y.services.include?(s) } )
|
242
|
+
end
|
243
|
+
|
244
|
+
test do
|
245
|
+
assert( ! Y.service(:jump).super_service? )
|
246
|
+
end
|
247
|
+
|
248
|
+
test do
|
249
|
+
Y.service(:bang)
|
250
|
+
assert( [:name,:bang].each { |s| X.services.include?(s) } )
|
251
|
+
assert( [:name,:jump,:bang].each { |s| Y.services.include?(s) } )
|
252
|
+
end
|
253
|
+
|
254
|
+
test do
|
255
|
+
assert_raises( NoServiceError ){ Y.service(:noop) }
|
256
|
+
end
|
257
|
+
|
258
|
+
test do
|
259
|
+
Y.virtual_service(:noop)
|
260
|
+
assert_equal( [:noop], Y.virtual_services )
|
261
|
+
assert( [:name,:jump,:bang,:noop].each { |s| Y.services.include?(s) } )
|
262
|
+
assert( Y.service(:noop).virtual? )
|
263
|
+
assert( ! Y.service(:jump).virtual? )
|
264
|
+
end
|
265
|
+
|
266
|
+
=end
|