facets 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ProjectInfo +94 -0
- data/Reapfile +184 -0
- data/forge/README +13 -0
- data/forge/TODO +73 -0
- data/forge/autorequire.rb +83 -0
- data/forge/core/array/at_rand.rb +95 -0
- data/forge/core/array/each_slice.rb +23 -0
- data/forge/core/array/pick_values.rb +32 -0
- data/forge/core/array/rand_indexes.rb +33 -0
- data/forge/core/binding/class.rb +11 -0
- data/forge/core/binding/delegate-binding.rb +19 -0
- data/forge/core/binding/delegate.rb +15 -0
- data/forge/core/binding/proc.rb +6 -0
- data/forge/core/enumerable/op_fetch.rb +30 -0
- data/forge/core/fileutils/nl_convert.rb +133 -0
- data/forge/core/io/expect.rb +127 -0
- data/forge/core/kernel/__clone__.rb +4 -0
- data/forge/core/kernel/__dup__.rb +4 -0
- data/forge/core/kernel/call_line.rb +15 -0
- data/forge/core/kernel/does.rb +7 -0
- data/forge/core/kernel/message.rb +6 -0
- data/forge/core/kernel/query.rb +15 -0
- data/forge/core/kernel/taint.rb +10 -0
- data/forge/core/logger/clean_logger.rb +10 -0
- data/forge/core/module/attr-old.rb +308 -0
- data/forge/core/module/attr.rb +98 -0
- data/forge/core/module/attr_xxx.rb +22 -0
- data/forge/core/module/by_regexp.rb +21 -0
- data/forge/core/module/cast.rb +64 -0
- data/forge/core/module/class_attribute_accessors.rb +57 -0
- data/forge/core/module/inherit.rb +59 -0
- data/forge/core/module/let.rb +51 -0
- data/forge/core/module/meta_attr.rb +60 -0
- data/forge/core/module/module_attribute_accessors.rb +57 -0
- data/forge/core/module/permissions.rb +32 -0
- data/forge/core/module/preserved.rb +108 -0
- data/forge/core/module/sattr_accessor.rb +1 -0
- data/forge/core/module/sattr_reader.rb +1 -0
- data/forge/core/module/sattr_setter.rb +1 -0
- data/forge/core/module/sattr_tester.rb +1 -0
- data/forge/core/module/sattr_writer.rb +1 -0
- data/forge/core/module/tc_attr.rb +107 -0
- data/forge/core/module/version.rb +23 -0
- data/forge/core/string/op_add.rb +24 -0
- data/forge/core/string/op_div.rb +15 -0
- data/forge/core/string/pred.rb +217 -0
- data/forge/core/string/to_ary.rb +12 -0
- data/forge/core/string/word_wrap.rb +62 -0
- data/forge/more/autoarray.rb +29 -0
- data/forge/more/cache.rb +189 -0
- data/forge/more/class_inheritable_attributes.rb +120 -0
- data/forge/more/codepack.rb +58 -0
- data/forge/more/commandrunner.rb +101 -0
- data/forge/more/conditionals.rb +106 -0
- data/forge/more/contracts.rb +37 -0
- data/forge/more/daemon.rb +70 -0
- data/forge/more/datetime.rb +42 -0
- data/forge/more/detach.rb +423 -0
- data/forge/more/enumtype.rb +115 -0
- data/forge/more/fixnum_const.rb +55 -0
- data/forge/more/function.rb +278 -0
- data/forge/more/hookse.rb +107 -0
- data/forge/more/indexable.rb +85 -0
- data/forge/more/infinity.rb +123 -0
- data/forge/more/ioreactor.rb +671 -0
- data/forge/more/knowself.rb +42 -0
- data/forge/more/logger_sing.rb +207 -0
- data/forge/more/must.rb +37 -0
- data/forge/more/openproxy.rb +245 -0
- data/forge/more/ostructable.rb +212 -0
- data/forge/more/pairhash.rb +55 -0
- data/forge/more/pathname.rb +1309 -0
- data/forge/more/predicate.rb +181 -0
- data/forge/more/prereq.rb +36 -0
- data/forge/more/print_exception.rb +35 -0
- data/forge/more/rand.rb +412 -0
- data/forge/more/range.rb +383 -0
- data/forge/more/sanitize.rb +48 -0
- data/forge/more/service.rb +266 -0
- data/forge/more/superstruct.rb +735 -0
- data/forge/more/tag.rb +27 -0
- data/forge/more/testfacility.rb +80 -0
- data/forge/more/timer.rb +164 -0
- data/forge/more/toplevel.rb +76 -0
- data/forge/more/type.rb +232 -0
- data/forge/more/vars.rb +94 -0
- data/forge/more/version.rb +245 -0
- data/forge/more/world.rb +53 -0
- data/forge/reference/sys.rb +186 -0
- data/forge/reference/utils.rb +518 -0
- data/lib/facet/enumerable/mode.rb +1 -0
- data/lib/facets/core/enumerable/mode.rb +13 -0
- data/lib/facets/core/hash/to_ostruct.rb +1 -1
- data/lib/facets/core/hash/to_ostruct_recurse.rb +33 -6
- data/lib/facets/core/ostruct/__update__.rb +1 -0
- data/lib/facets/more/binaryreader.rb +3 -3
- data/lib/facets/more/taskable.rb +29 -0
- data/note/CHANGELOG +294 -0
- data/note/IMPORTANT +8 -0
- data/note/Rakefile.old +181 -0
- data/note/history/ANN-0.6.0 +40 -0
- data/note/history/ANN-0.6.1 +36 -0
- data/note/history/ANN-0.6.3 +43 -0
- data/note/history/ANN-0.7.0 +59 -0
- data/note/history/ANN-0.8.1 +127 -0
- data/note/history/INTRO +172 -0
- data/note/history/README +223 -0
- data/note/history/README-OLD +180 -0
- data/test/lib/facets/core/array/test_at_rand.rb +1 -1
- data/test/lib/facets/core/array/test_delete_unless.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values_at.rb +1 -1
- data/test/lib/facets/core/array/test_first.rb +1 -1
- data/test/lib/facets/core/array/test_head.rb +1 -1
- data/test/lib/facets/core/array/test_last_index.rb +1 -1
- data/test/lib/facets/core/array/test_merge.rb +1 -1
- data/test/lib/facets/core/array/test_mid.rb +1 -1
- data/test/lib/facets/core/array/test_middle.rb +1 -1
- data/test/lib/facets/core/array/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/array/test_op_store.rb +1 -1
- data/test/lib/facets/core/array/test_pick.rb +1 -1
- data/test/lib/facets/core/array/test_pos.rb +1 -1
- data/test/lib/facets/core/array/test_pot.rb +1 -1
- data/test/lib/facets/core/array/test_pull.rb +1 -1
- data/test/lib/facets/core/array/test_rand_index.rb +1 -1
- data/test/lib/facets/core/array/test_rand_subset.rb +1 -1
- data/test/lib/facets/core/array/test_range.rb +1 -1
- data/test/lib/facets/core/array/test_rotate.rb +1 -1
- data/test/lib/facets/core/array/test_select.rb +1 -1
- data/test/lib/facets/core/array/test_shuffle.rb +1 -1
- data/test/lib/facets/core/array/test_thru.rb +1 -1
- data/test/lib/facets/core/array/test_to_b.rb +1 -1
- data/test/lib/facets/core/array/test_to_h.rb +1 -1
- data/test/lib/facets/core/array/test_to_hash.rb +1 -1
- data/test/lib/facets/core/binding/self/test_of_caller.rb +1 -1
- data/test/lib/facets/core/binding/test___LINE__.rb +1 -1
- data/test/lib/facets/core/binding/test_call_stack.rb +1 -1
- data/test/lib/facets/core/binding/test_called.rb +1 -1
- data/test/lib/facets/core/binding/test_caller.rb +1 -1
- data/test/lib/facets/core/binding/test_defined.rb +1 -1
- data/test/lib/facets/core/binding/test_eval.rb +1 -1
- data/test/lib/facets/core/binding/test_local_variables.rb +1 -1
- data/test/lib/facets/core/binding/test_method_name.rb +1 -1
- data/test/lib/facets/core/binding/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/binding/test_op_store.rb +1 -1
- data/test/lib/facets/core/binding/test_self.rb +1 -1
- data/test/lib/facets/core/class/test_cattr.rb +1 -1
- data/test/lib/facets/core/class/test_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_method_name.rb +1 -1
- data/test/lib/facets/core/class/test_remove_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_unix_path.rb +1 -1
- data/test/lib/facets/core/comparable/test_at_least.rb +1 -1
- data/test/lib/facets/core/comparable/test_clip.rb +1 -1
- data/test/lib/facets/core/comparable/test_cmp.rb +1 -1
- data/test/lib/facets/core/continuation/self/test_create.rb +1 -1
- data/test/lib/facets/core/date/test_days_in_month.rb +1 -1
- data/test/lib/facets/core/date/test_days_of_month.rb +1 -1
- data/test/lib/facets/core/date/test_stamp.rb +1 -1
- data/test/lib/facets/core/date/test_to_date.rb +1 -1
- data/test/lib/facets/core/date/test_to_s.rb +1 -1
- data/test/lib/facets/core/date/test_to_time.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ancestor.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ascend.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_combinations.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_collect_with_index.rb +1 -1
- data/test/lib/facets/core/enumerable/test_commonality.rb +1 -1
- data/test/lib/facets/core/enumerable/test_compact_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_count.rb +1 -1
- data/test/lib/facets/core/enumerable/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_combination.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_slice.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_every.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ew.rb +1 -1
- data/test/lib/facets/core/enumerable/test_filter_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_find_collisions.rb +1 -1
- data/test/lib/facets/core/enumerable/test_frequency.rb +1 -1
- data/test/lib/facets/core/enumerable/test_graph.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_none.rb +1 -1
- data/test/lib/facets/core/enumerable/test_occur.rb +1 -1
- data/test/lib/facets/core/enumerable/test_one.rb +1 -1
- data/test/lib/facets/core/enumerable/test_op_pow.rb +1 -1
- data/test/lib/facets/core/enumerable/test_partition_by.rb +1 -1
- data/test/lib/facets/core/enumerable/test_permute.rb +1 -1
- data/test/lib/facets/core/enumerable/test_probability.rb +1 -1
- data/test/lib/facets/core/enumerable/test_to_h.rb +1 -1
- data/test/lib/facets/core/enumerable/test_uniq_by.rb +1 -1
- data/test/lib/facets/core/file/self/test_create.rb +1 -1
- data/test/lib/facets/core/file/self/test_open_as_string.rb +1 -1
- data/test/lib/facets/core/file/self/test_read_list.rb +1 -1
- data/test/lib/facets/core/file/self/test_sanitize.rb +1 -1
- data/test/lib/facets/core/file/self/test_split_all.rb +1 -1
- data/test/lib/facets/core/float/test_round_at.rb +1 -1
- data/test/lib/facets/core/float/test_round_to.rb +1 -1
- data/test/lib/facets/core/hash/self/test_zipnew.rb +1 -1
- data/test/lib/facets/core/hash/test_alias.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_at.rb +1 -1
- data/test/lib/facets/core/hash/test_collate.rb +1 -1
- data/test/lib/facets/core/hash/test_each.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_index.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_key.rb +1 -1
- data/test/lib/facets/core/hash/test_graph.rb +1 -1
- data/test/lib/facets/core/hash/test_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_inverse.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_s.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_sym.rb +1 -1
- data/test/lib/facets/core/hash/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/hash/test_op_lshift.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_key.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_pair.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_value.rb +1 -1
- data/test/lib/facets/core/hash/test_replace_each.rb +1 -1
- data/test/lib/facets/core/hash/test_shuffle.rb +1 -1
- data/test/lib/facets/core/hash/test_slice.rb +1 -1
- data/test/lib/facets/core/hash/test_swap.rb +1 -1
- data/test/lib/facets/core/hash/test_swapkey.rb +1 -1
- data/test/lib/facets/core/hash/test_to_h.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +15 -1
- data/test/lib/facets/core/hash/test_traverse.rb +1 -1
- data/test/lib/facets/core/hash/test_update_each.rb +1 -1
- data/test/lib/facets/core/hash/test_update_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_update_values.rb +1 -1
- data/test/lib/facets/core/hash/test_weave.rb +1 -1
- data/test/lib/facets/core/integer/test_factorial.rb +1 -1
- data/test/lib/facets/core/integer/test_multiple.rb +1 -1
- data/test/lib/facets/core/integer/test_ordinal.rb +1 -1
- data/test/lib/facets/core/integer/test_times_collect.rb +1 -1
- data/test/lib/facets/core/kernel/test___class__.rb +1 -1
- data/test/lib/facets/core/kernel/test_as.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_from.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_with.rb +1 -1
- data/test/lib/facets/core/kernel/test_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_bug.rb +1 -1
- data/test/lib/facets/core/kernel/test_call_stack.rb +1 -1
- data/test/lib/facets/core/kernel/test_called.rb +1 -1
- data/test/lib/facets/core/kernel/test_constant.rb +1 -1
- data/test/lib/facets/core/kernel/test_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_deep_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_demo.rb +1 -1
- data/test/lib/facets/core/kernel/test_fn.rb +1 -1
- data/test/lib/facets/core/kernel/test_generate_method_name.rb +1 -1
- data/test/lib/facets/core/kernel/test_get_by_id.rb +1 -1
- data/test/lib/facets/core/kernel/test_here.rb +1 -1
- data/test/lib/facets/core/kernel/test_in.rb +1 -1
- data/test/lib/facets/core/kernel/test_maybe.rb +1 -1
- data/test/lib/facets/core/kernel/test_metaclass.rb +1 -1
- data/test/lib/facets/core/kernel/test_method.rb +1 -1
- data/test/lib/facets/core/kernel/test_methodname.rb +1 -1
- data/test/lib/facets/core/kernel/test_methods.rb +1 -1
- data/test/lib/facets/core/kernel/test_new.rb +1 -1
- data/test/lib/facets/core/kernel/test_object_class.rb +1 -1
- data/test/lib/facets/core/kernel/test_object_hexid.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_all.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_esc.rb +1 -1
- data/test/lib/facets/core/kernel/test_require_facet.rb +1 -1
- data/test/lib/facets/core/kernel/test_resc.rb +1 -1
- data/test/lib/facets/core/kernel/test_returning.rb +1 -1
- data/test/lib/facets/core/kernel/test_send_as.rb +1 -1
- data/test/lib/facets/core/kernel/test_set_from.rb +1 -1
- data/test/lib/facets/core/kernel/test_set_with.rb +1 -1
- data/test/lib/facets/core/kernel/test_silently.rb +1 -1
- data/test/lib/facets/core/kernel/test_singleton.rb +1 -1
- data/test/lib/facets/core/kernel/test_superior.rb +1 -1
- data/test/lib/facets/core/kernel/test_supermethod.rb +1 -1
- data/test/lib/facets/core/kernel/test_this.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_b.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_uri.rb +1 -1
- data/test/lib/facets/core/kernel/test_val.rb +1 -1
- data/test/lib/facets/core/kernel/test_with_accessor.rb +1 -1
- data/test/lib/facets/core/matchdata/test_match.rb +1 -1
- data/test/lib/facets/core/matchdata/test_matchtree.rb +1 -1
- data/test/lib/facets/core/module/test_abstract.rb +1 -1
- data/test/lib/facets/core/module/test_alias_module_function.rb +1 -1
- data/test/lib/facets/core/module/test_ancestor.rb +1 -1
- data/test/lib/facets/core/module/test_basename.rb +1 -1
- data/test/lib/facets/core/module/test_by_name.rb +1 -1
- data/test/lib/facets/core/module/test_clone_using.rb +1 -1
- data/test/lib/facets/core/module/test_dirname.rb +1 -1
- data/test/lib/facets/core/module/test_equate_on.rb +1 -1
- data/test/lib/facets/core/module/test_generate_instance_method_name.rb +1 -1
- data/test/lib/facets/core/module/test_include_as.rb +1 -1
- data/test/lib/facets/core/module/test_inherit.rb +1 -1
- data/test/lib/facets/core/module/test_initializer.rb +1 -1
- data/test/lib/facets/core/module/test_instance_methods.rb +1 -1
- data/test/lib/facets/core/module/test_integrate.rb +1 -1
- data/test/lib/facets/core/module/test_memoize.rb +1 -1
- data/test/lib/facets/core/module/test_modspace.rb +1 -1
- data/test/lib/facets/core/module/test_namespace.rb +1 -1
- data/test/lib/facets/core/module/test_nesting.rb +1 -1
- data/test/lib/facets/core/module/test_nodef.rb +1 -1
- data/test/lib/facets/core/module/test_on_included.rb +1 -1
- data/test/lib/facets/core/module/test_redef.rb +1 -1
- data/test/lib/facets/core/module/test_redefine_method.rb +1 -1
- data/test/lib/facets/core/module/test_redirect.rb +1 -1
- data/test/lib/facets/core/module/test_redirect_method.rb +1 -1
- data/test/lib/facets/core/module/test_remove.rb +1 -1
- data/test/lib/facets/core/module/test_rename.rb +1 -1
- data/test/lib/facets/core/module/test_rename_method.rb +1 -1
- data/test/lib/facets/core/module/test_revisal.rb +1 -1
- data/test/lib/facets/core/module/test_shadow_method.rb +1 -1
- data/test/lib/facets/core/module/test_sort_on.rb +1 -1
- data/test/lib/facets/core/module/test_this.rb +1 -1
- data/test/lib/facets/core/module/test_wrap.rb +1 -1
- data/test/lib/facets/core/module/test_wrap_method.rb +1 -1
- data/test/lib/facets/core/nilclass/test_blank.rb +1 -1
- data/test/lib/facets/core/nilclass/test_empty.rb +1 -1
- data/test/lib/facets/core/nilclass/test_include.rb +1 -1
- data/test/lib/facets/core/nilclass/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/nilclass/test_size.rb +1 -1
- data/test/lib/facets/core/nilclass/test_to_h.rb +1 -1
- data/test/lib/facets/core/numeric/test_approx.rb +1 -1
- data/test/lib/facets/core/numeric/test_ceil_multiple.rb +1 -1
- data/test/lib/facets/core/numeric/test_succ.rb +1 -1
- data/test/lib/facets/core/numeric/test_to_b.rb +1 -1
- data/test/lib/facets/core/ostruct/test___merge__.rb +1 -1
- data/test/lib/facets/core/ostruct/test___update__.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_store.rb +1 -1
- data/test/lib/facets/core/proc/test_compose.rb +1 -1
- data/test/lib/facets/core/proc/test_to_method.rb +1 -1
- data/test/lib/facets/core/range/test_to_r.rb +1 -1
- data/test/lib/facets/core/range/test_to_range.rb +1 -1
- data/test/lib/facets/core/range/test_umbrella.rb +1 -1
- data/test/lib/facets/core/range/test_within.rb +1 -1
- data/test/lib/facets/core/regexp/test_arity.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_re.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_regexp.rb +1 -1
- data/test/lib/facets/core/string/self/test_interpolate.rb +1 -1
- data/test/lib/facets/core/string/self/test_patterns.rb +1 -1
- data/test/lib/facets/core/string/self/test_rand_letter.rb +1 -1
- data/test/lib/facets/core/string/test_align_center.rb +1 -1
- data/test/lib/facets/core/string/test_at_rand.rb +1 -1
- data/test/lib/facets/core/string/test_basename.rb +1 -1
- data/test/lib/facets/core/string/test_blank.rb +1 -1
- data/test/lib/facets/core/string/test_bracket.rb +1 -1
- data/test/lib/facets/core/string/test_camelcase.rb +1 -1
- data/test/lib/facets/core/string/test_camelize.rb +1 -1
- data/test/lib/facets/core/string/test_capitalized.rb +1 -1
- data/test/lib/facets/core/string/test_chars.rb +1 -1
- data/test/lib/facets/core/string/test_cmp.rb +1 -1
- data/test/lib/facets/core/string/test_demodulize.rb +1 -1
- data/test/lib/facets/core/string/test_downcase.rb +1 -1
- data/test/lib/facets/core/string/test_dresner.rb +1 -1
- data/test/lib/facets/core/string/test_each_char.rb +1 -1
- data/test/lib/facets/core/string/test_each_word.rb +1 -1
- data/test/lib/facets/core/string/test_first.rb +1 -1
- data/test/lib/facets/core/string/test_fold.rb +1 -1
- data/test/lib/facets/core/string/test_frequency.rb +1 -1
- data/test/lib/facets/core/string/test_humanize.rb +1 -1
- data/test/lib/facets/core/string/test_indent.rb +1 -1
- data/test/lib/facets/core/string/test_index_all.rb +1 -1
- data/test/lib/facets/core/string/test_last.rb +1 -1
- data/test/lib/facets/core/string/test_line_wrap.rb +1 -1
- data/test/lib/facets/core/string/test_lines.rb +1 -1
- data/test/lib/facets/core/string/test_lowercase.rb +1 -1
- data/test/lib/facets/core/string/test_margin.rb +1 -1
- data/test/lib/facets/core/string/test_methodize.rb +1 -1
- data/test/lib/facets/core/string/test_modulize.rb +1 -1
- data/test/lib/facets/core/string/test_mscan.rb +1 -1
- data/test/lib/facets/core/string/test_natcmp.rb +1 -1
- data/test/lib/facets/core/string/test_nchar.rb +1 -1
- data/test/lib/facets/core/string/test_pathize.rb +1 -1
- data/test/lib/facets/core/string/test_pop.rb +1 -1
- data/test/lib/facets/core/string/test_pot.rb +1 -1
- data/test/lib/facets/core/string/test_probability.rb +1 -1
- data/test/lib/facets/core/string/test_push.rb +1 -1
- data/test/lib/facets/core/string/test_quote.rb +1 -1
- data/test/lib/facets/core/string/test_rand_byte.rb +1 -1
- data/test/lib/facets/core/string/test_rand_index.rb +1 -1
- data/test/lib/facets/core/string/test_range.rb +1 -1
- data/test/lib/facets/core/string/test_range_all.rb +1 -1
- data/test/lib/facets/core/string/test_range_of_line.rb +1 -1
- data/test/lib/facets/core/string/test_regesc.rb +1 -1
- data/test/lib/facets/core/string/test_shatter.rb +1 -1
- data/test/lib/facets/core/string/test_shift.rb +1 -1
- data/test/lib/facets/core/string/test_shuffle.rb +1 -1
- data/test/lib/facets/core/string/test_similarity.rb +1 -1
- data/test/lib/facets/core/string/test_singular.rb +1 -1
- data/test/lib/facets/core/string/test_soundex.rb +1 -1
- data/test/lib/facets/core/string/test_succ.rb +1 -1
- data/test/lib/facets/core/string/test_to_a.rb +1 -1
- data/test/lib/facets/core/string/test_to_b.rb +1 -1
- data/test/lib/facets/core/string/test_to_const.rb +1 -1
- data/test/lib/facets/core/string/test_to_date.rb +1 -1
- data/test/lib/facets/core/string/test_to_proc.rb +1 -1
- data/test/lib/facets/core/string/test_to_re.rb +1 -1
- data/test/lib/facets/core/string/test_to_time.rb +1 -1
- data/test/lib/facets/core/string/test_unix_crypt.rb +1 -1
- data/test/lib/facets/core/string/test_unpack.rb +1 -1
- data/test/lib/facets/core/string/test_unshift.rb +1 -1
- data/test/lib/facets/core/string/test_upcase.rb +1 -1
- data/test/lib/facets/core/string/test_whitespace.rb +1 -1
- data/test/lib/facets/core/string/test_word_filter.rb +1 -1
- data/test/lib/facets/core/string/test_word_wrap.rb +1 -1
- data/test/lib/facets/core/string/test_words.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalized.rb +1 -1
- data/test/lib/facets/core/symbol/test_downcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_not.rb +1 -1
- data/test/lib/facets/core/symbol/test_pad.rb +1 -1
- data/test/lib/facets/core/symbol/test_succ.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_const.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_proc.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_str.rb +1 -1
- data/test/lib/facets/core/symbol/test_underscore.rb +1 -1
- data/test/lib/facets/core/symbol/test_upcase.rb +1 -1
- data/test/lib/facets/core/time/test_change.rb +1 -1
- data/test/lib/facets/core/time/test_elapse.rb +1 -1
- data/test/lib/facets/core/time/test_stamp.rb +1 -1
- data/test/lib/facets/core/time/test_to_date.rb +1 -1
- data/test/lib/facets/core/time/test_to_s.rb +1 -1
- data/test/lib/facets/core/time/test_to_time.rb +1 -1
- data/test/lib/facets/more/test_annattr.rb +1 -1
- data/test/lib/facets/more/test_annotation.rb +1 -1
- data/test/lib/facets/more/test_ansicode.rb +1 -1
- data/test/lib/facets/more/test_association.rb +1 -1
- data/test/lib/facets/more/test_basicobject.rb +1 -1
- data/test/lib/facets/more/test_bbcode.rb +1 -1
- data/test/lib/facets/more/test_binaryreader.rb +1 -1
- data/test/lib/facets/more/test_bitmask.rb +1 -1
- data/test/lib/facets/more/test_bytes.rb +1 -1
- data/test/lib/facets/more/test_classinherit.rb +1 -1
- data/test/lib/facets/more/test_classmethods.rb +1 -1
- data/test/lib/facets/more/test_coroutine.rb +1 -1
- data/test/lib/facets/more/test_crypt.rb +1 -1
- data/test/lib/facets/more/test_dictionary.rb +1 -1
- data/test/lib/facets/more/test_elementor.rb +1 -1
- data/test/lib/facets/more/test_enumerablepass.rb +1 -1
- data/test/lib/facets/more/test_floatstring.rb +1 -1
- data/test/lib/facets/more/test_functor.rb +1 -1
- data/test/lib/facets/more/test_htmlbuilder.rb +1 -1
- data/test/lib/facets/more/test_inheritor.rb +1 -1
- data/test/lib/facets/more/test_interval.rb +1 -1
- data/test/lib/facets/more/test_json.rb +1 -1
- data/test/lib/facets/more/test_lisp.rb +1 -1
- data/test/lib/facets/more/test_lisp_format.rb +1 -1
- data/test/lib/facets/more/test_lrucache.rb +1 -1
- data/test/lib/facets/more/test_mathconstants.rb +1 -1
- data/test/lib/facets/more/test_methodprobe.rb +1 -1
- data/test/lib/facets/more/test_multipliers.rb +1 -1
- data/test/lib/facets/more/test_multiton.rb +1 -1
- data/test/lib/facets/more/test_nackclass.rb +1 -1
- data/test/lib/facets/more/test_nilcomparable.rb +1 -1
- data/test/lib/facets/more/test_opencascade.rb +1 -1
- data/test/lib/facets/more/test_openobject.rb +1 -1
- data/test/lib/facets/more/test_overload.rb +1 -1
- data/test/lib/facets/more/test_paramix.rb +1 -1
- data/test/lib/facets/more/test_pqueue.rb +1 -1
- data/test/lib/facets/more/test_preinitialize.rb +1 -1
- data/test/lib/facets/more/test_promoteself.rb +1 -1
- data/test/lib/facets/more/test_recorder.rb +1 -1
- data/test/lib/facets/more/test_snapshot.rb +1 -1
- data/test/lib/facets/more/test_statichash.rb +1 -1
- data/test/lib/facets/more/test_syncarray.rb +1 -1
- data/test/lib/facets/more/test_synchash.rb +1 -1
- data/test/lib/facets/more/test_tagiterator.rb +1 -1
- data/test/lib/facets/more/test_taskable.rb +19 -1
- data/test/lib/facets/more/test_timer.rb +1 -1
- data/test/lib/facets/more/test_times.rb +1 -1
- data/test/lib/facets/more/test_tuple.rb +1 -1
- data/test/lib/facets/more/test_typecast.rb +1 -1
- data/test/lib/facets/more/test_uninheritable.rb +1 -1
- data/test/lib/facets/more/test_units.rb +1 -1
- data/test/lib/facets/more/test_xmlbuilder.rb +1 -1
- data/test/lib/facets/more/test_xmlhelper.rb +1 -1
- data/test/lib/facets/more/test_xoxo.rb +1 -1
- data/test/lib/facets/more/test_yamlstruct.rb +1 -1
- data/web/doc/api/core/classes/Array.html +1356 -0
- data/web/doc/api/core/classes/Binding.html +538 -0
- data/web/doc/api/core/classes/Class.html +475 -0
- data/web/doc/api/core/classes/Comparable.html +231 -0
- data/web/doc/api/core/classes/Continuation.html +168 -0
- data/web/doc/api/core/classes/Date.html +219 -0
- data/web/doc/api/core/classes/Dir.html +208 -0
- data/web/doc/api/core/classes/Enumerable.html +1435 -0
- data/web/doc/api/core/classes/FalseClass.html +115 -0
- data/web/doc/api/core/classes/File.html +349 -0
- data/web/doc/api/core/classes/FileUtils.html +468 -0
- data/web/doc/api/core/classes/Float.html +157 -0
- data/web/doc/api/core/classes/Gem.html +171 -0
- data/web/doc/api/core/classes/Hash.html +1657 -0
- data/web/doc/api/core/classes/Integer.html +353 -0
- data/web/doc/api/core/classes/Kernal.html +86 -0
- data/web/doc/api/core/classes/Kernel.html +1972 -0
- data/web/doc/api/core/classes/Logger.html +157 -0
- data/web/doc/api/core/classes/MatchData.html +195 -0
- data/web/doc/api/core/classes/Module.html +1712 -0
- data/web/doc/api/core/classes/NackClass.html +92 -0
- data/web/doc/api/core/classes/NilClass.html +332 -0
- data/web/doc/api/core/classes/Numeric.html +306 -0
- data/web/doc/api/core/classes/Object.html +332 -0
- data/web/doc/api/core/classes/OpenStruct.html +315 -0
- data/web/doc/api/core/classes/Pathname.html +154 -0
- data/web/doc/api/core/classes/Proc.html +154 -0
- data/web/doc/api/core/classes/Range.html +235 -0
- data/web/doc/api/core/classes/Regexp.html +185 -0
- data/web/doc/api/core/classes/ScriptBug.html +92 -0
- data/web/doc/api/core/classes/String.html +3286 -0
- data/web/doc/api/core/classes/Symbol.html +463 -0
- data/web/doc/api/core/classes/Time.html +307 -0
- data/web/doc/api/core/classes/TrueClass.html +115 -0
- data/web/doc/api/core/classes/UnboundMethod.html +121 -0
- data/web/doc/api/core/created.rid +1 -0
- data/web/doc/api/core/files/AUTHORS.html +206 -0
- data/web/doc/api/core/files/COPYING.html +517 -0
- data/web/doc/api/core/files/README.html +386 -0
- data/web/doc/api/core/files/WARNING.html +151 -0
- data/web/doc/api/core/files/lib/facets/core/all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/at_rand_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/body_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_unless_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/each_with_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/first_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/foot_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/head_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/join_sentence_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/last_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/last_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/merge_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/mid_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/middle_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_fetch_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_mod_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/op_store_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/array/pick_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pos_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pot_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/pull_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rand_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rand_subset_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/rotate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/select_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/shuffle_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/store_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/tail_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/array/thru_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/to_hash_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/array/unzip_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__DIR___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__FILE___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/binding/__LINE___rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/call_stack_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/called_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/caller_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/defined_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/eval_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/binding/local_variables_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/method_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/op_fetch_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/op_store_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/binding/self/of_caller_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding/self_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/binding_rb.html +109 -0
- data/web/doc/api/core/files/lib/facets/core/class/by_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_accessor_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_reader_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/cattr_writer_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/descendents_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/class/remove_descendents_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/class/remove_subclasses_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/subclasses_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/class/to_proc_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/class/unix_path_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/at_least_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/at_most_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/cap_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/clip_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/comparable/cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/continuation/self/create_rb.html +148 -0
- data/web/doc/api/core/files/lib/facets/core/date/days_in_month_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/days_of_month_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/stamp_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_date_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_s_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/date/to_time_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ancestor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ascend_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/descend_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/ls_r_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/dir/self/recurse_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/accumulate_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_if_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_counter_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/commonality_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_collect_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/count_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/cross_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_by_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_combination_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_pair_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_permutation_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_slice_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_unique_pair_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_with_counter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/elementwise_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/entropy_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/every_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/ew_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_collect_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/find_collisions_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/frequency_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/graph_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/ideal_entropy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_if_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_counter_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_index_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/mode_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/none_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/nonuniq_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/occur_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/one_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/op_pow_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/partition_by_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/permute_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/probability_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/project_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/combinations_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/cross_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/uniq_by_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/enumerable/where_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/append_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/create_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/open_as_string_rb.html +118 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/read_binary_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/read_list_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/sanitize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/split_all_rb.html +101 -0
- data/web/doc/api/core/files/lib/facets/core/file/self/write_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/head_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/safe_ln_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/slice_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/split_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/tail_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/wc_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/whereis_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/fileutils/which_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/float/approx_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_at_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_off_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/float/round_to_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/active_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemdir_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gempath_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemspec_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/alias_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_keys_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_only_keys_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/collate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/delete_unless_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_index_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/graph_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/has_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/has_only_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/inverse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/join_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_iv_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_s_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_sym_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_fetch_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_lshift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/op_store_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_key_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_pair_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/rand_value_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/replace_each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/self/zipnew_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/shuffle_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/slice_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/stringify_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/swap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/swapkey_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/symoblize_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_recurse_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/hash/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/traverse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_each_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_keys_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/update_values_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/hash/variablize_keys_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/hash/weave_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/inflect_rb.html +117 -0
- data/web/doc/api/core/files/lib/facets/core/integer/even_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/fac_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/fact_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/factorial_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/multiple_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/odd_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/integer/ordinal_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/times_collect_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/integer/times_map_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__DIR___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__class___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__get___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__self___rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/__set___rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/adhoc_rb.html +99 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/as_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_from_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_with_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_files_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_glob_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/bool_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/bug_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/cache_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/call_stack_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/called_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/complete_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/constant_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/copy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/deep_copy_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/demo_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/eigenclass_rb.html +103 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/false_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/fn_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/generate_method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/get_by_id_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/here_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/in_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/instance_assign_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/instvar_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/is_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/maybe_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/me_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/metaclass_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/method_name_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/methodname_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/methods_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/nack_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/new_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/object_class_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/object_hexid_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/op_esc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/own_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/p_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/pp_exception_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_esc_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_facet_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/require_local_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/resc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/respond_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/returning_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/send_as_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/set_from_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/set_with_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/silence_warnings_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/silently_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/singleton_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/superior_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/supermethod_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/this_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/to_bool_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/true_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/unuri_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/uri_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/val_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/warn_with_line_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_accessor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_reader_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/kernel/with_writer_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/logger/format_message_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/logger/format_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/match_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchset_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchtree_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/abstract_rb.html +105 -0
- data/web/doc/api/core/files/lib/facets/core/module/alias_module_function_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/ancestor_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_query_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_setter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_tester_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/attr_validator_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/basename_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/by_name_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/class_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_removing_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_renaming_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/clone_using_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/dirname_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/equate_on_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/generate_instance_method_name_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/include_as_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/inherit_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/initializer_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/instance_methods_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/integrate_rb.html +104 -0
- data/web/doc/api/core/files/lib/facets/core/module/is_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/memoize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/modspace_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/module/namespace_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/nesting_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/nodef_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/on_included_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redef_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/redefine_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redirect_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/redirect_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/remove_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/rename_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/rename_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/revisal_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/module/shadow_all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/shadow_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/singleton_to_module_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/sort_on_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/this_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/module/wrap_method_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/module/wrap_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/nil_as_emptiness_rb.html +116 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/blank_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/empty_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/include_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/length_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_fetch_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/size_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/nilclass/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/approx_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/ceil_multiple_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/pred_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/numeric/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__merge___rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__table___rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/__update___rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/instance_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_fetch_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_store_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct/to_h_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/ostruct_rb.html +102 -0
- data/web/doc/api/core/files/lib/facets/core/pathname/ascend_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/pathname/descend_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/proc/compose_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/proc/op_mul_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/proc/to_method_rb.html +133 -0
- data/web/doc/api/core/files/lib/facets/core/random_rb.html +111 -0
- data/web/doc/api/core/files/lib/facets/core/range/to_r_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/to_range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/umbrella_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/range/within_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/arity_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/to_re_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/regexp/to_regexp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_center_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_left_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/align_right_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/at_rand_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/at_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/basename_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/blank_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/bracket_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/brief_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/bytes_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/camelcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/camelize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/capitalized_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/chars_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/cmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/demodulize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/dequote_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/downcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/dresner_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/each_char_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/each_word_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/ends_with_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/first_char_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/first_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/fold_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/format_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/frequency_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/humanize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/indent_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/index_all_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/last_char_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/last_rb.html +98 -0
- data/web/doc/api/core/files/lib/facets/core/string/line_wrap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/lines_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/lowercase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/margin_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/methodize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/modulize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/mscan_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/natcmp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/nchar_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/ordinal_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/pathize_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/plural_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/pop_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/pot_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/probability_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/pull_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/push_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/quote_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/rand_byte_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/rand_index_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_all_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_of_line_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/range_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/regesc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/format_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/interpolate_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/patterns_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/rand_letter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/self/random_rb.html +99 -0
- data/web/doc/api/core/files/lib/facets/core/string/shatter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shell_escape_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/shuffle_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/similarity_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/singular_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/soundex_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/starts_with_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/tab_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/tabto_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_a_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_b_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_const_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_date_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_re_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_rx_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/to_time_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/unbracket_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/underscore_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/unix_crypt_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/unpack_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/unshift_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/upcase_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/uppercase_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/string/whitespace_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/string/word_filter_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/word_wrap_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string/words_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/string_as_array_rb.html +109 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/camelcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/camelize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalize_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalized_rb.html +97 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/downcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/not_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/pad_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/succ_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_const_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_proc_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/to_str_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/underscore_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/symbol/upcase_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/change_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/elapse_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/self/days_extrema_rb.html +114 -0
- data/web/doc/api/core/files/lib/facets/core/time/self/stamp_rb.html +100 -0
- data/web/doc/api/core/files/lib/facets/core/time/stamp_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_date_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_s_rb.html +96 -0
- data/web/doc/api/core/files/lib/facets/core/time/to_time_rb.html +92 -0
- data/web/doc/api/core/files/lib/facets/core/unboundmethod/name_rb.html +92 -0
- data/web/doc/api/core/fr_class_index.html +80 -0
- data/web/doc/api/core/fr_file_index.html +521 -0
- data/web/doc/api/core/fr_method_index.html +555 -0
- data/web/doc/api/core/index.html +26 -0
- data/web/doc/api/core/rdoc-style.css +175 -0
- data/web/doc/api/more/classes/Annotation.html +258 -0
- data/web/doc/api/more/classes/Array.html +362 -0
- data/web/doc/api/more/classes/Aspect.html +159 -0
- data/web/doc/api/more/classes/Aspects.html +240 -0
- data/web/doc/api/more/classes/Aspects/ClassMethods.html +254 -0
- data/web/doc/api/more/classes/Association.html +289 -0
- data/web/doc/api/more/classes/BBCode.html +531 -0
- data/web/doc/api/more/classes/BasicObject.html +260 -0
- data/web/doc/api/more/classes/BasicObject/Self.html +142 -0
- data/web/doc/api/more/classes/BinaryReader.html +535 -0
- data/web/doc/api/more/classes/BinaryReader/ByteOrder.html +225 -0
- data/web/doc/api/more/classes/BuilderObject.html +248 -0
- data/web/doc/api/more/classes/Class.html +201 -0
- data/web/doc/api/more/classes/Client.html +1251 -0
- data/web/doc/api/more/classes/Cloneable.html +133 -0
- data/web/doc/api/more/classes/Console.html +105 -0
- data/web/doc/api/more/classes/Console/ANSICode.html +488 -0
- data/web/doc/api/more/classes/Console/Command.html +275 -0
- data/web/doc/api/more/classes/Console/ProgressBar.html +640 -0
- data/web/doc/api/more/classes/Coroutine.html +284 -0
- data/web/doc/api/more/classes/Crypt.html +270 -0
- data/web/doc/api/more/classes/DebugSocket.html +242 -0
- data/web/doc/api/more/classes/Dictionary.html +974 -0
- data/web/doc/api/more/classes/Downloader.html +515 -0
- data/web/doc/api/more/classes/Downloader/Checksum.html +96 -0
- data/web/doc/api/more/classes/Downloader/Mirror.html +134 -0
- data/web/doc/api/more/classes/Elementor.html +202 -0
- data/web/doc/api/more/classes/Enumerable.html +86 -0
- data/web/doc/api/more/classes/EnumerablePass.html +217 -0
- data/web/doc/api/more/classes/Expirable.html +197 -0
- data/web/doc/api/more/classes/FalseClass.html +119 -0
- data/web/doc/api/more/classes/FileList.html +971 -0
- data/web/doc/api/more/classes/Float.html +140 -0
- data/web/doc/api/more/classes/FloatString.html +413 -0
- data/web/doc/api/more/classes/Functor.html +203 -0
- data/web/doc/api/more/classes/HTMLBuilder.html +132 -0
- data/web/doc/api/more/classes/HTMLHelper.html +189 -0
- data/web/doc/api/more/classes/HTTP.html +154 -0
- data/web/doc/api/more/classes/HTTP/BadResponseError.html +94 -0
- data/web/doc/api/more/classes/HTTP/Error.html +96 -0
- data/web/doc/api/more/classes/HTTP/Message.html +633 -0
- data/web/doc/api/more/classes/HTTP/Message/Body.html +299 -0
- data/web/doc/api/more/classes/HTTP/Message/Headers.html +641 -0
- data/web/doc/api/more/classes/HTTP/Status.html +148 -0
- data/web/doc/api/more/classes/HTTPAccess.html +115 -0
- data/web/doc/api/more/classes/Hash.html +257 -0
- data/web/doc/api/more/classes/HashBuilder.html +216 -0
- data/web/doc/api/more/classes/Heap.html +535 -0
- data/web/doc/api/more/classes/Heap/EmptyHeapException.html +92 -0
- data/web/doc/api/more/classes/Heap/Max.html +133 -0
- data/web/doc/api/more/classes/Heap/Min.html +133 -0
- data/web/doc/api/more/classes/IORedirect.html +225 -0
- data/web/doc/api/more/classes/Integer.html +298 -0
- data/web/doc/api/more/classes/Interval.html +853 -0
- data/web/doc/api/more/classes/InvalidNackError.html +117 -0
- data/web/doc/api/more/classes/JSON.html +410 -0
- data/web/doc/api/more/classes/JSON/Parser.html +374 -0
- data/web/doc/api/more/classes/JSON/State.html +280 -0
- data/web/doc/api/more/classes/Kernel.html +400 -0
- data/web/doc/api/more/classes/LRUCache.html +461 -0
- data/web/doc/api/more/classes/LRUCache/Item.html +114 -0
- data/web/doc/api/more/classes/LRUCache/Sentinel.html +102 -0
- data/web/doc/api/more/classes/Lazy.html +96 -0
- data/web/doc/api/more/classes/Lazy/Future.html +100 -0
- data/web/doc/api/more/classes/Lazy/Promise.html +114 -0
- data/web/doc/api/more/classes/Lazy/PromiseSafe.html +99 -0
- data/web/doc/api/more/classes/Lisp.html +846 -0
- data/web/doc/api/more/classes/Lisp/DottedPair.html +289 -0
- data/web/doc/api/more/classes/Lisp/Format.html +147 -0
- data/web/doc/api/more/classes/Math.html +110 -0
- data/web/doc/api/more/classes/Math/Constants.html +691 -0
- data/web/doc/api/more/classes/Math/Constants/CGS.html +584 -0
- data/web/doc/api/more/classes/Method.html +170 -0
- data/web/doc/api/more/classes/Method/Probe.html +267 -0
- data/web/doc/api/more/classes/Mock.html +276 -0
- data/web/doc/api/more/classes/Module.html +691 -0
- data/web/doc/api/more/classes/Multiton.html +256 -0
- data/web/doc/api/more/classes/NackClass.html +245 -0
- data/web/doc/api/more/classes/NilClass.html +238 -0
- data/web/doc/api/more/classes/NullClass.html +202 -0
- data/web/doc/api/more/classes/Numeric.html +1104 -0
- data/web/doc/api/more/classes/ORMSupport.html +357 -0
- data/web/doc/api/more/classes/Object.html +323 -0
- data/web/doc/api/more/classes/OpenCascade.html +230 -0
- data/web/doc/api/more/classes/OpenObject.html +552 -0
- data/web/doc/api/more/classes/PQueue.html +471 -0
- data/web/doc/api/more/classes/PathList.html +162 -0
- data/web/doc/api/more/classes/PathList/Finder.html +137 -0
- data/web/doc/api/more/classes/Pool.html +207 -0
- data/web/doc/api/more/classes/Proc.html +140 -0
- data/web/doc/api/more/classes/PromoteSelf.html +138 -0
- data/web/doc/api/more/classes/Quaternion.html +1497 -0
- data/web/doc/api/more/classes/REXMLBuilder.html +357 -0
- data/web/doc/api/more/classes/REXMLBuilder/REXMLUtil.html +396 -0
- data/web/doc/api/more/classes/Recorder.html +208 -0
- data/web/doc/api/more/classes/Reference.html +201 -0
- data/web/doc/api/more/classes/RubyOneLiners.html +139 -0
- data/web/doc/api/more/classes/RubyTals.html +316 -0
- data/web/doc/api/more/classes/SSLSocketWrap.html +410 -0
- data/web/doc/api/more/classes/Semaphore.html +264 -0
- data/web/doc/api/more/classes/SimpleStringIO.html +139 -0
- data/web/doc/api/more/classes/Snapshot.html +191 -0
- data/web/doc/api/more/classes/StateMachine.html +248 -0
- data/web/doc/api/more/classes/StateParser.html +276 -0
- data/web/doc/api/more/classes/StateParser/Constants.html +109 -0
- data/web/doc/api/more/classes/StateParser/Marker.html +269 -0
- data/web/doc/api/more/classes/StateParser/State.html +448 -0
- data/web/doc/api/more/classes/StaticHash.html +144 -0
- data/web/doc/api/more/classes/String.html +278 -0
- data/web/doc/api/more/classes/StringIO.html +123 -0
- data/web/doc/api/more/classes/Struct.html +134 -0
- data/web/doc/api/more/classes/Symbol.html +116 -0
- data/web/doc/api/more/classes/SyncArray.html +131 -0
- data/web/doc/api/more/classes/SyncHash.html +135 -0
- data/web/doc/api/more/classes/SyncHash/Delegator.html +213 -0
- data/web/doc/api/more/classes/SyncHash/Inheritor.html +213 -0
- data/web/doc/api/more/classes/System.html +1055 -0
- data/web/doc/api/more/classes/TSort.html +123 -0
- data/web/doc/api/more/classes/TagIterator.html +706 -0
- data/web/doc/api/more/classes/Task.html +237 -0
- data/web/doc/api/more/classes/Task/Graph.html +165 -0
- data/web/doc/api/more/classes/Taskable.html +300 -0
- data/web/doc/api/more/classes/Time.html +746 -0
- data/web/doc/api/more/classes/Timer.html +471 -0
- data/web/doc/api/more/classes/Timer/Dummy.html +141 -0
- data/web/doc/api/more/classes/TracePoint.html +453 -0
- data/web/doc/api/more/classes/TrueClass.html +118 -0
- data/web/doc/api/more/classes/Tuple.html +861 -0
- data/web/doc/api/more/classes/URI.html +107 -0
- data/web/doc/api/more/classes/Uninheritable.html +130 -0
- data/web/doc/api/more/classes/Units.html +191 -0
- data/web/doc/api/more/classes/Units/Config.html +120 -0
- data/web/doc/api/more/classes/Units/Converter.html +808 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate.html +155 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/CachedXMethods.html +143 -0
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/XMethods.html +197 -0
- data/web/doc/api/more/classes/Units/Unit.html +434 -0
- data/web/doc/api/more/classes/Units/Value.html +331 -0
- data/web/doc/api/more/classes/ValueHolder.html +167 -0
- data/web/doc/api/more/classes/WebAgent.html +103 -0
- data/web/doc/api/more/classes/WebAgent/Cookie.html +513 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager.html +515 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/Error.html +96 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/ErrorOverrideOK.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/NoDotError.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieManager/SpecialError.html +94 -0
- data/web/doc/api/more/classes/WebAgent/CookieUtils.html +171 -0
- data/web/doc/api/more/classes/XMLBuilder.html +132 -0
- data/web/doc/api/more/classes/XMLHelper.html +428 -0
- data/web/doc/api/more/classes/XOXO.html +252 -0
- data/web/doc/api/more/classes/YAMLStruct.html +166 -0
- data/web/doc/api/more/created.rid +1 -0
- data/web/doc/api/more/files/AUTHORS.html +206 -0
- data/web/doc/api/more/files/COPYING.html +517 -0
- data/web/doc/api/more/files/README.html +389 -0
- data/web/doc/api/more/files/WARNING.html +151 -0
- data/web/doc/api/more/files/lib/facets/more/annattr_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/annotation_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/ansicode_rb.html +128 -0
- data/web/doc/api/more/files/lib/facets/more/aspects_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/association_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/basicobject_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/bbcode_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/binaryreader_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/bitmask_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/blankslate_rb.html +113 -0
- data/web/doc/api/more/files/lib/facets/more/builderobject_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/bytes_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/classinherit_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/classmethods_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/cloneable_rb.html +132 -0
- data/web/doc/api/more/files/lib/facets/more/consoleapp_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/cookie_rb.html +133 -0
- data/web/doc/api/more/files/lib/facets/more/coroutine_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/crypt_rb.html +146 -0
- data/web/doc/api/more/files/lib/facets/more/dictionary_rb.html +123 -0
- data/web/doc/api/more/files/lib/facets/more/downloader_rb.html +124 -0
- data/web/doc/api/more/files/lib/facets/more/elementor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/enumerablepass_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/expirable_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/filelist_rb.html +128 -0
- data/web/doc/api/more/files/lib/facets/more/floatstring_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/functor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/hashbuilder_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/heap_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/htmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/htmlhelper_rb.html +119 -0
- data/web/doc/api/more/files/lib/facets/more/http_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/httpaccess_rb.html +137 -0
- data/web/doc/api/more/files/lib/facets/more/inheritor_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/interval_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/ioredirect_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/json_rb.html +141 -0
- data/web/doc/api/more/files/lib/facets/more/lazy_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/lisp_format_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/lisp_rb.html +119 -0
- data/web/doc/api/more/files/lib/facets/more/lrucache_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/mathconstants_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/methodprobe_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/mock_rb.html +208 -0
- data/web/doc/api/more/files/lib/facets/more/multipliers_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/multiton_rb.html +114 -0
- data/web/doc/api/more/files/lib/facets/more/nackclass_rb.html +151 -0
- data/web/doc/api/more/files/lib/facets/more/nilcomparable_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/nullclass_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/one_rb.html +158 -0
- data/web/doc/api/more/files/lib/facets/more/opencascade_rb.html +129 -0
- data/web/doc/api/more/files/lib/facets/more/openobject_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/orderedhash_rb.html +113 -0
- data/web/doc/api/more/files/lib/facets/more/ormsupport_rb.html +125 -0
- data/web/doc/api/more/files/lib/facets/more/overload_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/paramix_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/pathlist_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/pool_rb.html +120 -0
- data/web/doc/api/more/files/lib/facets/more/pqueue_rb.html +122 -0
- data/web/doc/api/more/files/lib/facets/more/preinitialize_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/progressbar_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/promoteself_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/quaternion_rb.html +150 -0
- data/web/doc/api/more/files/lib/facets/more/recorder_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/reference_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/rexmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/rtals_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/semaphore_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/snapshot_rb.html +121 -0
- data/web/doc/api/more/files/lib/facets/more/stateparser_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/statichash_rb.html +133 -0
- data/web/doc/api/more/files/lib/facets/more/syncarray_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/synchash_rb.html +115 -0
- data/web/doc/api/more/files/lib/facets/more/system_rb.html +123 -0
- data/web/doc/api/more/files/lib/facets/more/tagiterator_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/taskable_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/timer_rb.html +127 -0
- data/web/doc/api/more/files/lib/facets/more/times_rb.html +127 -0
- data/web/doc/api/more/files/lib/facets/more/tracepoint_rb.html +131 -0
- data/web/doc/api/more/files/lib/facets/more/tuple_rb.html +122 -0
- data/web/doc/api/more/files/lib/facets/more/typecast_rb.html +124 -0
- data/web/doc/api/more/files/lib/facets/more/uninheritable_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/units_rb.html +118 -0
- data/web/doc/api/more/files/lib/facets/more/xmlbuilder_rb.html +116 -0
- data/web/doc/api/more/files/lib/facets/more/xmlhelper_rb.html +111 -0
- data/web/doc/api/more/files/lib/facets/more/xoxo_rb.html +125 -0
- data/web/doc/api/more/files/lib/facets/more/yamlstruct_rb.html +123 -0
- data/web/doc/api/more/fr_class_index.html +197 -0
- data/web/doc/api/more/fr_file_index.html +136 -0
- data/web/doc/api/more/fr_method_index.html +1290 -0
- data/web/doc/api/more/index.html +26 -0
- data/web/doc/api/more/rdoc-style.css +175 -0
- data/web/documentation.html +174 -0
- data/web/favicon.ico +0 -0
- data/web/images/abc.png +0 -0
- data/web/images/abc1.png +0 -0
- data/web/images/apple_core.jpg +0 -0
- data/web/images/apples3.jpg +0 -0
- data/web/images/best_jupiter_cass.jpg +0 -0
- data/web/images/core.jpg +0 -0
- data/web/images/gray.jpg +0 -0
- data/web/images/ruby-lg.png +0 -0
- data/web/images/ruby.gif +0 -0
- data/web/images/super-friends-volume-two-20050606010933166-001.jpg +0 -0
- data/web/images/three_apples.jpg +0 -0
- data/web/images/yellow_fade.jpg +0 -0
- data/web/images/yellow_fade2.jpg +0 -0
- data/web/index.html +224 -0
- data/web/style.css +153 -0
- metadata +1433 -457
@@ -0,0 +1,735 @@
|
|
1
|
+
#--
|
2
|
+
# SuperStruct
|
3
|
+
# Copyright (c) 2005 Hal Fulton
|
4
|
+
#
|
5
|
+
# Ruby License
|
6
|
+
#
|
7
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
8
|
+
# software under the same terms as Ruby.
|
9
|
+
#
|
10
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
11
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
12
|
+
# FOR A PARTICULAR PURPOSE.
|
13
|
+
#++
|
14
|
+
|
15
|
+
# = SuperStruct
|
16
|
+
#
|
17
|
+
# This is an easy way to create Struct-like classes; it converts easily
|
18
|
+
# between hashes and arrays, and it allows OpenStruct-like dynamic naming
|
19
|
+
# of members.
|
20
|
+
#
|
21
|
+
# Unlike Struct, it creates a "real" class, and it has real instance variables
|
22
|
+
# with predictable names.
|
23
|
+
#
|
24
|
+
# A basic limitation is that the hash keys must be legal method names (unless
|
25
|
+
# used with send()).
|
26
|
+
#
|
27
|
+
# Basically, ss["alpha"], ss[:alpha], ss[0], and ss.alpha all mean the same.
|
28
|
+
#
|
29
|
+
# == What It's Like
|
30
|
+
#
|
31
|
+
# It's like a Struct...
|
32
|
+
# - you can pass in a list of symbols for accessors
|
33
|
+
# - it will create a class for you
|
34
|
+
# but...
|
35
|
+
# - you don't have to pass in the class name
|
36
|
+
# - it returns a "real" class
|
37
|
+
# . instance variables have the expected names
|
38
|
+
# . you can reopen and add methods
|
39
|
+
# - it doesn't go into the Struct:: namespace
|
40
|
+
# - it preserves the order of the fields
|
41
|
+
# - you can use Strings instead of Symbols for the names
|
42
|
+
#
|
43
|
+
# It's like an Array...
|
44
|
+
# - you can access the items by [number] and [number]=
|
45
|
+
# but...
|
46
|
+
# - you can also access the items by ["name"] and ["name"]=
|
47
|
+
# - you can access the items by accessors
|
48
|
+
#
|
49
|
+
# It's like an OpenStruct...
|
50
|
+
# - (if you use .open instead of .new) you can add fields
|
51
|
+
# automatically with x.field or x.field=val
|
52
|
+
# but...
|
53
|
+
# - you can initialize it like a Struct
|
54
|
+
# - it preserves the order of the fields
|
55
|
+
#
|
56
|
+
# It's like a Hash...
|
57
|
+
# - data can be accessed by ["name"]
|
58
|
+
# but...
|
59
|
+
# - order (of entry or creation) is preserved
|
60
|
+
# - arbitrary objects are not allowed (it does obj.to_str or obj.to_s)
|
61
|
+
# - strings must be valid method names
|
62
|
+
#
|
63
|
+
# It's like Ara Howard's Named Array...
|
64
|
+
# - we can access elements by ["name"] or ["name"]=
|
65
|
+
# but...
|
66
|
+
# - you can access the items by accessors
|
67
|
+
# - strings must be valid method names
|
68
|
+
#
|
69
|
+
# It's like Florian Gross's Keyed List...
|
70
|
+
# (to be done)
|
71
|
+
# but...
|
72
|
+
# - it preserves the order of the fields
|
73
|
+
#
|
74
|
+
# == Usage
|
75
|
+
#
|
76
|
+
# # Need not assign to existing fields (default to nil)
|
77
|
+
# myStruct = SuperStruct.new(:alpha)
|
78
|
+
# x = myStruct.new
|
79
|
+
# x.alpha # nil
|
80
|
+
#
|
81
|
+
# # A value assigned at construction may be retrieved
|
82
|
+
# myStruct = SuperStruct.new(:alpha)
|
83
|
+
# x = myStruct.new(234)
|
84
|
+
# x.alpha # 234
|
85
|
+
#
|
86
|
+
# # Unassigned fields are nil
|
87
|
+
# myStruct = SuperStruct.new(:alpha,:beta)
|
88
|
+
# x = myStruct.new(234)
|
89
|
+
# x.beta # nil
|
90
|
+
#
|
91
|
+
# # An open structure may not construct with nonexistent fields
|
92
|
+
# myStruct = SuperStruct.open
|
93
|
+
# x = myStruct.new(234) # error
|
94
|
+
#
|
95
|
+
# # An open structure may assign fields not previously existing
|
96
|
+
# myStruct = SuperStruct.open
|
97
|
+
# x = myStruct.new
|
98
|
+
# x.foo = 123
|
99
|
+
# x.bar = 456
|
100
|
+
#
|
101
|
+
# # The act of retrieving a nonexistent field from an open struct will
|
102
|
+
# # create that field
|
103
|
+
# myStruct = SuperStruct.open
|
104
|
+
# x = myStruct.new
|
105
|
+
# x.foo # nil
|
106
|
+
#
|
107
|
+
# # A field (in an open struct) that is unassigned will be nil
|
108
|
+
# myStruct = SuperStruct.open
|
109
|
+
# x = myStruct.new
|
110
|
+
# y = x.foobar
|
111
|
+
#
|
112
|
+
# # A struct created with new rather than open cannot reference nonexistent
|
113
|
+
# # fields
|
114
|
+
# myStruct = SuperStruct.new
|
115
|
+
# x = myStruct.new
|
116
|
+
# x.foo # error
|
117
|
+
#
|
118
|
+
# # Adding a field to a struct will create a writer and reader for that field
|
119
|
+
#
|
120
|
+
# # An open struct will also create a writer and a reader together
|
121
|
+
#
|
122
|
+
# # A field has a real writer and reader corresponding to it
|
123
|
+
#
|
124
|
+
# # A string will work as well as a symbol
|
125
|
+
# myStruct = SuperStruct.new("alpha")
|
126
|
+
#
|
127
|
+
# # to_a will return an array of values
|
128
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
129
|
+
# x = myStruct.new(7,8,9)
|
130
|
+
# assert(x.to_a == [7,8,9])
|
131
|
+
#
|
132
|
+
# # Instance method 'members' will return a list of members (as strings)
|
133
|
+
# myStruct = SuperStruct.new(:alpha,"beta")
|
134
|
+
# x = myStruct.new
|
135
|
+
# assert_equal(["alpha","beta"],x.members)
|
136
|
+
#
|
137
|
+
# # Class method 'members' will return a list of members (as strings)
|
138
|
+
# myStruct = SuperStruct.new(:alpha,"beta")
|
139
|
+
# assert_equal(["alpha","beta"],myStruct.members)
|
140
|
+
#
|
141
|
+
# # to_ary will allow a struct to be treated like an array in
|
142
|
+
# # multiple assignment
|
143
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
144
|
+
# x = myStruct.new(7,8,9)
|
145
|
+
# a,b,c = x
|
146
|
+
# assert(b == 8)
|
147
|
+
#
|
148
|
+
# # to_ary will allow a struct to be treated like an array in
|
149
|
+
# # passed parameters
|
150
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
151
|
+
# x = myStruct.new(7,8,9)
|
152
|
+
# b = meth(*x)
|
153
|
+
#
|
154
|
+
# # to_hash will return a hash with fields as keys
|
155
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
156
|
+
# x = myStruct.new(7,8,9)
|
157
|
+
# h = x.to_hash
|
158
|
+
# assert_equal({"alpha"=>7,"beta"=>8,"gamma"=>9},h)
|
159
|
+
#
|
160
|
+
# # A field name (String) may be used in a hash-like notation
|
161
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
162
|
+
# x = myStruct.new(7,8,9)
|
163
|
+
# y = x["beta"]
|
164
|
+
#
|
165
|
+
# # A field name (Symbol) may be used in a hash-like notation
|
166
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
167
|
+
# x = myStruct.new(7,8,9)
|
168
|
+
# y = x[:beta]
|
169
|
+
#
|
170
|
+
# # [offset,length] may be used as for arrays
|
171
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
172
|
+
# x = myStruct.new(7,8,9)
|
173
|
+
# y = x[0,2]
|
174
|
+
#
|
175
|
+
# # Ranges may be used as for arrays
|
176
|
+
# myStruct = SuperStruct.new("alpha","beta","gamma")
|
177
|
+
# x = myStruct.new(7,8,9)
|
178
|
+
# y = x[1..2]
|
179
|
+
#
|
180
|
+
# # Adding a field to an open struct adds it to the instance
|
181
|
+
# myStruct = SuperStruct.open(:alpha)
|
182
|
+
# x = myStruct.new
|
183
|
+
# x.beta = 5
|
184
|
+
#
|
185
|
+
# # Adding a field to an open struct adds it to the class also
|
186
|
+
# myStruct = SuperStruct.open(:alpha)
|
187
|
+
# x = myStruct.new
|
188
|
+
# x.beta = 5
|
189
|
+
#
|
190
|
+
# # An array passed to SuperStruct.new need not be starred
|
191
|
+
# myStruct = SuperStruct.new(%w[alpha beta gamma])
|
192
|
+
# x = myStruct.new
|
193
|
+
#
|
194
|
+
# # A hash passed to #set will set multiple values at once
|
195
|
+
# myStruct = SuperStruct.new(%w[alpha beta gamma])
|
196
|
+
# x = myStruct.new
|
197
|
+
# hash = {"alpha"=>234,"beta"=>345,"gamma"=>456}
|
198
|
+
# x.set(hash)
|
199
|
+
#
|
200
|
+
# # ||= works properly
|
201
|
+
# x = SuperStruct.open.new
|
202
|
+
# x.foo ||= 333
|
203
|
+
# x.bar = x.bar || 444
|
204
|
+
#
|
205
|
+
# # attr_tester will create a ?-method
|
206
|
+
# myStruct = SuperStruct.new(:alive)
|
207
|
+
# myStruct.attr_tester :alive
|
208
|
+
# x = myStruct.new(true)
|
209
|
+
# x.alive? # true
|
210
|
+
#
|
211
|
+
#
|
212
|
+
# == Author(s)
|
213
|
+
#
|
214
|
+
# * Hal Fulton
|
215
|
+
#
|
216
|
+
|
217
|
+
class SuperStruct
|
218
|
+
|
219
|
+
def SuperStruct.new(*args)
|
220
|
+
@table = []
|
221
|
+
@setsyms = [] # Setter symbols
|
222
|
+
klass = Class.new
|
223
|
+
if (args.size == 1) && (args[0].is_a? Array)
|
224
|
+
args = args[0]
|
225
|
+
end
|
226
|
+
strs = args.map {|x| x.to_s }
|
227
|
+
args.each_with_index do |k,i|
|
228
|
+
case
|
229
|
+
when (! [String,Symbol].include? k.class)
|
230
|
+
raise ArgumentError, "Need a String or Symbol"
|
231
|
+
when (strs[i] !~ /[_a-zA-Z][_a-zA-Z0-9]*/)
|
232
|
+
raise ArgumentError, "Illegal character"
|
233
|
+
end
|
234
|
+
k = k.intern if k.is_a? String
|
235
|
+
@table << k
|
236
|
+
@setsyms << (k.to_s + "=").intern
|
237
|
+
klass.instance_eval { attr_accessor k }
|
238
|
+
end
|
239
|
+
|
240
|
+
setsyms = @setsyms
|
241
|
+
table = @table
|
242
|
+
vals = @vals
|
243
|
+
klass.class_eval do
|
244
|
+
attr_reader :singleton
|
245
|
+
define_method(:initialize) do |*vals|
|
246
|
+
n = vals.size
|
247
|
+
m = table.size
|
248
|
+
case
|
249
|
+
when n < m
|
250
|
+
# raise ArgumentError, "Too few arguments (#{n} for #{m})"
|
251
|
+
# Never mind... extra variables will just be nil
|
252
|
+
when n > m
|
253
|
+
raise ArgumentError, "Too many arguments (#{n} for #{m})"
|
254
|
+
end
|
255
|
+
setsyms.each_with_index do |var,i|
|
256
|
+
self.send(var,vals[i])
|
257
|
+
end
|
258
|
+
end
|
259
|
+
define_method(:pretty_print) do |q| # pp.rb support
|
260
|
+
q.object_group(self) do
|
261
|
+
q.seplist(self.members, proc { q.text "," }) do |member|
|
262
|
+
# self.members.each do |member|
|
263
|
+
# q.text "," # unless q.first?
|
264
|
+
q.breakable
|
265
|
+
q.text member.to_s
|
266
|
+
q.text '='
|
267
|
+
q.group(1) do
|
268
|
+
q.breakable ''
|
269
|
+
q.pp self[member]
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|
273
|
+
end
|
274
|
+
define_method(:inspect) do
|
275
|
+
str = "#<#{self.class}:"
|
276
|
+
table.each {|item| str << " #{item}=#{self.send(item)}" }
|
277
|
+
str + ">"
|
278
|
+
end
|
279
|
+
define_method(:[]) do |*index|
|
280
|
+
case index.map {|x| x.class }
|
281
|
+
when [Fixnum]
|
282
|
+
self.send(table[*index])
|
283
|
+
when [Fixnum,Fixnum], [Range]
|
284
|
+
table[*index].map {|x| self.send(x)}
|
285
|
+
when [String]
|
286
|
+
self.send(index[0].intern)
|
287
|
+
when [Symbol]
|
288
|
+
self.send(index[0])
|
289
|
+
else
|
290
|
+
raise ArgumentError,"Illegal index"
|
291
|
+
end
|
292
|
+
end
|
293
|
+
define_method(:[]=) do |*index|
|
294
|
+
value = index[-1]
|
295
|
+
index = index[0..-2]
|
296
|
+
case index.map {|x| x.class }
|
297
|
+
when [Fixnum]
|
298
|
+
self.send(table[*index])
|
299
|
+
when [Fixnum,Fixnum], [Range]
|
300
|
+
setsyms[*index].map {|x| self.send(x,value) }
|
301
|
+
when [String]
|
302
|
+
self.send(index[0].intern,value)
|
303
|
+
when [Symbol]
|
304
|
+
self.send(index[0],value)
|
305
|
+
else
|
306
|
+
raise ArgumentError,"Illegal index"
|
307
|
+
end
|
308
|
+
end
|
309
|
+
define_method(:to_a) { table.map {|x| eval("@"+x.to_s) } }
|
310
|
+
define_method(:to_ary) { to_a }
|
311
|
+
define_method(:members) { table.map {|x| x.to_s } }
|
312
|
+
define_method(:to_struct) do
|
313
|
+
mems = table
|
314
|
+
Struct.new("TEMP",*mems)
|
315
|
+
# Struct::TEMP.new(*vals) # Why doesn't this work??
|
316
|
+
data = mems.map {|x| self.send(x) }
|
317
|
+
Struct::TEMP.new(*data)
|
318
|
+
end
|
319
|
+
define_method(:to_hash) do
|
320
|
+
hash = {}
|
321
|
+
table.each do |mem|
|
322
|
+
mem = mem.to_s
|
323
|
+
hash.update(mem => self.send(mem))
|
324
|
+
end
|
325
|
+
hash
|
326
|
+
end
|
327
|
+
define_method(:set) {|h| h.each_pair {|k,v| send(k.to_s+"=",v) } }
|
328
|
+
|
329
|
+
# Class methods...
|
330
|
+
|
331
|
+
@singleton = class << self
|
332
|
+
self
|
333
|
+
end
|
334
|
+
|
335
|
+
@singleton.instance_eval do
|
336
|
+
define_method(:members) do
|
337
|
+
table.map {|x| x.to_s }
|
338
|
+
end
|
339
|
+
me = self
|
340
|
+
define_method(:attr_tester) do |*syms|
|
341
|
+
syms.each {|sym| alias_method(sym.to_s+"?",sym) }
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
end
|
346
|
+
klass
|
347
|
+
end
|
348
|
+
|
349
|
+
|
350
|
+
def SuperStruct.open(*args)
|
351
|
+
klass = SuperStruct.new(*args)
|
352
|
+
table = @table
|
353
|
+
setsyms = @setsyms
|
354
|
+
table = @table
|
355
|
+
klass.class_eval do
|
356
|
+
define_method(:method_missing) do |meth, *args|
|
357
|
+
mname = meth.id2name
|
358
|
+
if mname =~ /=$/
|
359
|
+
getter = mname.chop
|
360
|
+
setter = mname
|
361
|
+
elsif mname =~ /\?$/
|
362
|
+
raise NoMethodError # ?-methods are not created automatically
|
363
|
+
else
|
364
|
+
getter = mname
|
365
|
+
setter = mname + "="
|
366
|
+
end
|
367
|
+
gsym = getter.intern
|
368
|
+
ssym = setter.intern
|
369
|
+
ivar = "@" + getter
|
370
|
+
setsyms << setter
|
371
|
+
table << getter
|
372
|
+
len = args.length
|
373
|
+
if mname == getter
|
374
|
+
klass.class_eval do # getter
|
375
|
+
define_method(getter) do
|
376
|
+
instance_variable_get(ivar)
|
377
|
+
end
|
378
|
+
end
|
379
|
+
else
|
380
|
+
klass.class_eval do # setter
|
381
|
+
define_method(setter) do |*args|
|
382
|
+
if len != 1
|
383
|
+
raise ArgumentError, "Wrong # of arguments (#{len} for 1)", caller(1)
|
384
|
+
end
|
385
|
+
instance_variable_set(ivar,args[0])
|
386
|
+
instance_variable_get(ivar)
|
387
|
+
end
|
388
|
+
end
|
389
|
+
end
|
390
|
+
if mname == setter
|
391
|
+
self.send(setter,*args)
|
392
|
+
else
|
393
|
+
if len == 0
|
394
|
+
self.send(getter)
|
395
|
+
else
|
396
|
+
raise NoMethodError, "Undefined method '#{mname}' for #{self}", caller(1)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
end
|
400
|
+
end
|
401
|
+
klass
|
402
|
+
end
|
403
|
+
|
404
|
+
end
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
# _____ _
|
409
|
+
# |_ _|__ ___| |_
|
410
|
+
# | |/ _ \/ __| __|
|
411
|
+
# | | __/\__ \ |_
|
412
|
+
# |_|\___||___/\__|
|
413
|
+
#
|
414
|
+
|
415
|
+
=begin testing
|
416
|
+
|
417
|
+
#
|
418
|
+
# SuperStruct test code
|
419
|
+
# Hal Fulton
|
420
|
+
# Version 1.0.1 (in sync with library code)
|
421
|
+
# License: The Ruby License
|
422
|
+
#
|
423
|
+
|
424
|
+
require "test/unit"
|
425
|
+
|
426
|
+
class Tester < Test::Unit::TestCase
|
427
|
+
|
428
|
+
def test001
|
429
|
+
# Must pass in String or Symbol
|
430
|
+
assert_raises(ArgumentError) { SuperStruct.new(0) }
|
431
|
+
end
|
432
|
+
|
433
|
+
def test002
|
434
|
+
# Must pass in valid name(s)
|
435
|
+
assert_raises(ArgumentError) { SuperStruct.new("###") }
|
436
|
+
end
|
437
|
+
|
438
|
+
def test003
|
439
|
+
# Can't assign to nonexistent fields
|
440
|
+
myStruct = SuperStruct.new
|
441
|
+
assert_raises(ArgumentError) { myStruct.new(345) }
|
442
|
+
end
|
443
|
+
|
444
|
+
def test004
|
445
|
+
# Need not assign to existing fields (default to nil)
|
446
|
+
myStruct = SuperStruct.new(:alpha)
|
447
|
+
assert_nothing_raised(ArgumentError) { myStruct.new }
|
448
|
+
end
|
449
|
+
|
450
|
+
def test005
|
451
|
+
# A value assigned at construction may be retrieved
|
452
|
+
myStruct = SuperStruct.new(:alpha)
|
453
|
+
x = myStruct.new(234)
|
454
|
+
assert(x.alpha == 234)
|
455
|
+
end
|
456
|
+
|
457
|
+
def test006
|
458
|
+
# Unassigned fields are nil
|
459
|
+
myStruct = SuperStruct.new(:alpha,:beta)
|
460
|
+
x = myStruct.new(234)
|
461
|
+
assert(x.beta == nil)
|
462
|
+
end
|
463
|
+
|
464
|
+
def test007
|
465
|
+
# An open structure still may not construct with nonexistent fields
|
466
|
+
myStruct = SuperStruct.open
|
467
|
+
assert_raises(ArgumentError) { x = myStruct.new(234) }
|
468
|
+
end
|
469
|
+
|
470
|
+
def test008
|
471
|
+
# An open structure may assign fields not previously existing
|
472
|
+
myStruct = SuperStruct.open
|
473
|
+
x = myStruct.new
|
474
|
+
assert_nothing_raised { x.foobar = 123 }
|
475
|
+
end
|
476
|
+
|
477
|
+
def test009
|
478
|
+
# A field assigned to an open struct after its construction may be retrieved
|
479
|
+
myStruct = SuperStruct.open
|
480
|
+
x = myStruct.new
|
481
|
+
x.foobar = 123
|
482
|
+
assert(x.foobar == 123)
|
483
|
+
end
|
484
|
+
|
485
|
+
def test010
|
486
|
+
# The act of retrieving a nonexistent field from an open struct will
|
487
|
+
# create that field
|
488
|
+
myStruct = SuperStruct.open
|
489
|
+
x = myStruct.new
|
490
|
+
assert_nothing_raised { y = x.foobar }
|
491
|
+
end
|
492
|
+
|
493
|
+
def test011
|
494
|
+
# A field (in an open struct) that is unassigned will be nil
|
495
|
+
myStruct = SuperStruct.open
|
496
|
+
x = myStruct.new
|
497
|
+
y = x.foobar
|
498
|
+
assert(y == nil)
|
499
|
+
end
|
500
|
+
|
501
|
+
def test012
|
502
|
+
# A struct created with new rather than open cannot reference nonexistent
|
503
|
+
# fields
|
504
|
+
myStruct = SuperStruct.new
|
505
|
+
x = myStruct.new
|
506
|
+
assert_raises(NoMethodError) { y = x.foobar }
|
507
|
+
end
|
508
|
+
|
509
|
+
def test013
|
510
|
+
# Adding a field to a struct will create a writer and reader for that field
|
511
|
+
myStruct = SuperStruct.new(:alpha)
|
512
|
+
x = myStruct.new
|
513
|
+
x.send(:alpha=,1)
|
514
|
+
assert(x.alpha == 1)
|
515
|
+
end
|
516
|
+
|
517
|
+
def test014
|
518
|
+
# Only a single value may be passed to a writer (for code coverage)
|
519
|
+
myStruct = SuperStruct.new(:alpha)
|
520
|
+
x = myStruct.new
|
521
|
+
assert_raises(ArgumentError) { x.send(:alpha=,1,2) }
|
522
|
+
end
|
523
|
+
|
524
|
+
def test015
|
525
|
+
# An open struct will also create a writer and a reader together
|
526
|
+
myStruct = SuperStruct.open
|
527
|
+
x = myStruct.new
|
528
|
+
x.send(:alpha=,1)
|
529
|
+
assert(x.alpha == 1)
|
530
|
+
end
|
531
|
+
|
532
|
+
def test016
|
533
|
+
# Only a single value may be passed to a writer (for code coverage)
|
534
|
+
myStruct = SuperStruct.open
|
535
|
+
x = myStruct.new
|
536
|
+
assert_raises(ArgumentError) { x.send(:alpha=,1,2) }
|
537
|
+
end
|
538
|
+
|
539
|
+
def test017
|
540
|
+
# A field has a real writer and reader corresponding to it
|
541
|
+
myStruct = SuperStruct.new(:alpha)
|
542
|
+
x = myStruct.new
|
543
|
+
assert(myStruct.instance_methods.include?("alpha"))
|
544
|
+
assert(myStruct.instance_methods.include?("alpha="))
|
545
|
+
end
|
546
|
+
|
547
|
+
def test018
|
548
|
+
# Creating a field by retrieval in an open struct will NOT create a writer
|
549
|
+
# (This behavior has changed!)
|
550
|
+
myStruct = SuperStruct.open
|
551
|
+
x = myStruct.new
|
552
|
+
y = x.alpha
|
553
|
+
assert(myStruct.instance_methods.include?("alpha"))
|
554
|
+
assert(!myStruct.instance_methods.include?("alpha="))
|
555
|
+
end
|
556
|
+
|
557
|
+
def test019
|
558
|
+
# Creating a field by writing in an open struct will NOT create a reader
|
559
|
+
# (This behavior has changed!)
|
560
|
+
myStruct = SuperStruct.open
|
561
|
+
x = myStruct.new
|
562
|
+
x.alpha = 5
|
563
|
+
assert(myStruct.instance_methods.include?("alpha="))
|
564
|
+
assert(!myStruct.instance_methods.include?("alpha"))
|
565
|
+
end
|
566
|
+
|
567
|
+
def test020
|
568
|
+
# A string will work as well as a symbol
|
569
|
+
myStruct = SuperStruct.new("alpha")
|
570
|
+
x = myStruct.new
|
571
|
+
assert(myStruct.instance_methods.include?("alpha"))
|
572
|
+
assert(myStruct.instance_methods.include?("alpha="))
|
573
|
+
end
|
574
|
+
|
575
|
+
def test021
|
576
|
+
# to_a will return an array of values
|
577
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
578
|
+
x = myStruct.new(7,8,9)
|
579
|
+
assert(x.to_a == [7,8,9])
|
580
|
+
end
|
581
|
+
|
582
|
+
def test022
|
583
|
+
# Instance method 'members' will return a list of members (as strings)
|
584
|
+
myStruct = SuperStruct.new(:alpha,"beta")
|
585
|
+
x = myStruct.new
|
586
|
+
assert_equal(["alpha","beta"],x.members)
|
587
|
+
end
|
588
|
+
|
589
|
+
def test023
|
590
|
+
# Class method 'members' will return a list of members (as strings)
|
591
|
+
myStruct = SuperStruct.new(:alpha,"beta")
|
592
|
+
assert_equal(["alpha","beta"],myStruct.members)
|
593
|
+
end
|
594
|
+
|
595
|
+
def test024
|
596
|
+
# to_ary will allow a struct to be treated like an array in
|
597
|
+
# multiple assignment
|
598
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
599
|
+
x = myStruct.new(7,8,9)
|
600
|
+
a,b,c = x
|
601
|
+
assert(b == 8)
|
602
|
+
end
|
603
|
+
|
604
|
+
def aux025(*arr) # Just used in test 25
|
605
|
+
arr[1]
|
606
|
+
end
|
607
|
+
|
608
|
+
def test025
|
609
|
+
# to_ary will allow a struct to be treated like an array in
|
610
|
+
# passed parameters
|
611
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
612
|
+
x = myStruct.new(7,8,9)
|
613
|
+
b = aux025(*x)
|
614
|
+
assert(b == 8)
|
615
|
+
end
|
616
|
+
|
617
|
+
def test026
|
618
|
+
# to_hash will return a hash with fields as keys
|
619
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
620
|
+
x = myStruct.new(7,8,9)
|
621
|
+
h = x.to_hash
|
622
|
+
assert_equal({"alpha"=>7,"beta"=>8,"gamma"=>9},h)
|
623
|
+
end
|
624
|
+
|
625
|
+
def test027
|
626
|
+
# A field name (String) may be used in a hash-like notation
|
627
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
628
|
+
x = myStruct.new(7,8,9)
|
629
|
+
y = x["beta"]
|
630
|
+
assert(8,y)
|
631
|
+
end
|
632
|
+
|
633
|
+
def test028
|
634
|
+
# A field name (Symbol) may be used in a hash-like notation
|
635
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
636
|
+
x = myStruct.new(7,8,9)
|
637
|
+
y = x[:beta]
|
638
|
+
assert(8,y)
|
639
|
+
end
|
640
|
+
|
641
|
+
def test029
|
642
|
+
# [offset,length] may be used as for arrays
|
643
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
644
|
+
x = myStruct.new(7,8,9)
|
645
|
+
y = x[0,2]
|
646
|
+
assert([7,8],y)
|
647
|
+
end
|
648
|
+
|
649
|
+
def test030
|
650
|
+
# Ranges may be used as for arrays
|
651
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
652
|
+
x = myStruct.new(7,8,9)
|
653
|
+
y = x[1..2]
|
654
|
+
assert([8,9],y)
|
655
|
+
end
|
656
|
+
|
657
|
+
def test031
|
658
|
+
# Adding a field to an open struct adds it to the instance
|
659
|
+
myStruct = SuperStruct.open(:alpha)
|
660
|
+
x = myStruct.new
|
661
|
+
x.beta = 5
|
662
|
+
assert_equal(["alpha","beta"],x.members)
|
663
|
+
end
|
664
|
+
|
665
|
+
def test032
|
666
|
+
# Adding a field to an open struct adds it to the class also
|
667
|
+
myStruct = SuperStruct.open(:alpha)
|
668
|
+
x = myStruct.new
|
669
|
+
x.beta = 5
|
670
|
+
assert_equal(["alpha","beta"],myStruct.members)
|
671
|
+
end
|
672
|
+
|
673
|
+
def test033
|
674
|
+
# An array passed to SuperStruct.new need not be starred
|
675
|
+
myStruct = SuperStruct.new(%w[alpha beta gamma])
|
676
|
+
x = myStruct.new
|
677
|
+
assert_equal(%w[alpha beta gamma],x.members)
|
678
|
+
end
|
679
|
+
|
680
|
+
def xtest034
|
681
|
+
# A hash passed to SuperStruct.new will initialize the values
|
682
|
+
# (but order will not be predictable!)
|
683
|
+
assert false, "Not implemented yet."
|
684
|
+
end
|
685
|
+
|
686
|
+
def test035
|
687
|
+
# A hash passed to #set will set multiple values at once
|
688
|
+
myStruct = SuperStruct.new(%w[alpha beta gamma])
|
689
|
+
x = myStruct.new
|
690
|
+
hash = {"alpha"=>234,"beta"=>345,"gamma"=>456}
|
691
|
+
x.set(hash)
|
692
|
+
assert_equal([234,345,456], x.to_a)
|
693
|
+
end
|
694
|
+
|
695
|
+
def test036
|
696
|
+
# Make sure ||= works properly
|
697
|
+
x = SuperStruct.open.new
|
698
|
+
x.foo ||= 333
|
699
|
+
x.bar = x.bar || 444
|
700
|
+
assert_equal(333,x.foo)
|
701
|
+
assert_equal(444,x.bar)
|
702
|
+
end
|
703
|
+
|
704
|
+
def test037
|
705
|
+
# A simple array index works ok
|
706
|
+
myStruct = SuperStruct.new("alpha","beta","gamma")
|
707
|
+
x = myStruct.new(7,8,9)
|
708
|
+
assert_equal(7,x[0])
|
709
|
+
assert_equal(8,x[1])
|
710
|
+
assert_equal(9,x[2])
|
711
|
+
end
|
712
|
+
|
713
|
+
def test038
|
714
|
+
# attr_tester will create a ?-method
|
715
|
+
klass = SuperStruct.new(:alpha,:beta,:gamma)
|
716
|
+
klass.attr_tester :alpha, :gamma
|
717
|
+
x = klass.new(22,33,nil)
|
718
|
+
assert(x.alpha?)
|
719
|
+
assert_raises(NoMethodError) { x.beta? }
|
720
|
+
assert(! x.gamma?)
|
721
|
+
end
|
722
|
+
|
723
|
+
def test039
|
724
|
+
# attr_tester works with open() (?-methods not created)
|
725
|
+
klass = SuperStruct.open(:alpha,:beta,:gamma)
|
726
|
+
klass.attr_tester :alpha, :gamma
|
727
|
+
x = klass.new(22,33,nil)
|
728
|
+
assert(x.alpha?)
|
729
|
+
assert_raises(NoMethodError) { x.beta? } # ?-methods are not automatic
|
730
|
+
assert(! x.gamma?)
|
731
|
+
end
|
732
|
+
|
733
|
+
end
|
734
|
+
|
735
|
+
=end
|