facets 1.4.5 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/demo/tkxml/helloworld.rb +32 -0
- data/demo/tkxml/ui.xml +32 -0
- data/doc/AUTHORS +2 -0
- data/doc/ChangeLog +92 -337
- data/doc/ChangeLog.pre1.5 +337 -0
- data/doc/LATEST +41 -0
- data/doc/manifest +1209 -0
- data/lib/facet/array/op_div.rb +1 -0
- data/lib/facet/autoarray.rb +1 -0
- data/lib/facet/cut.rb +1 -0
- data/lib/facet/enumerable/divide.rb +1 -0
- data/lib/facet/eventhook.rb +1 -0
- data/lib/facet/hash/diff.rb +1 -0
- data/lib/facet/hash/having_aquisition.rb +1 -0
- data/lib/facet/hash/having_fallback.rb +1 -0
- data/lib/facet/hash/normalize_keys.rb +1 -0
- data/lib/facet/hash/op_div.rb +1 -0
- data/lib/facet/hash/reverse_merge.rb +1 -0
- data/lib/facet/hash/reverse_update.rb +1 -0
- data/lib/facet/hash/self/auto.rb +1 -0
- data/lib/facet/hash/symbolize_keys.rb +1 -0
- data/lib/facet/hash/to_struct.rb +1 -0
- data/lib/facet/infinity.rb +1 -0
- data/lib/facet/instance_intercept.rb +1 -0
- data/lib/facet/integer/each.rb +1 -0
- data/lib/facet/integer/of.rb +1 -0
- data/lib/facet/kernel/callee.rb +1 -0
- data/lib/facet/kernel/deep_clone.rb +1 -0
- data/lib/facet/kernel/instance_exec.rb +1 -0
- data/lib/facet/kernel/meta.rb +1 -0
- data/lib/facet/kernel/object_clone.rb +1 -0
- data/lib/facet/kernel/object_dup.rb +1 -0
- data/lib/facet/kernel/to_data.rb +1 -0
- data/lib/facet/methodfilter.rb +1 -0
- data/lib/facet/numeric/distance.rb +1 -0
- data/lib/facet/predicate.rb +1 -0
- data/lib/facet/rwdelegator.rb +1 -0
- data/lib/facet/settings.rb +1 -0
- data/lib/facet/string/divide.rb +1 -0
- data/lib/facet/symbol/self/generate.rb +1 -0
- data/lib/facet/tkxml.rb +1 -0
- data/lib/facets.rb +4 -2
- data/lib/facets/core/array/op_div.rb +11 -0
- data/lib/facets/core/enumerable/divide.rb +20 -0
- data/lib/facets/core/hash/diff.rb +8 -0
- data/lib/facets/core/hash/having_aquisition.rb +37 -0
- data/lib/facets/core/hash/having_fallback.rb +28 -0
- data/lib/facets/core/hash/keys_to_s.rb +2 -80
- data/lib/facets/core/hash/keys_to_sym.rb +2 -91
- data/lib/facets/core/hash/normalize_keys.rb +65 -0
- data/lib/facets/core/hash/op_div.rb +8 -0
- data/lib/facets/core/hash/reverse_merge.rb +22 -0
- data/lib/facets/core/hash/reverse_update.rb +3 -0
- data/lib/facets/core/hash/self/auto.rb +28 -0
- data/lib/facets/core/hash/stringify_keys.rb +74 -2
- data/lib/facets/core/hash/symbolize_keys.rb +87 -0
- data/lib/facets/core/hash/to_struct.rb +16 -0
- data/lib/facets/core/integer/each.rb +9 -0
- data/lib/facets/core/integer/of.rb +37 -0
- data/lib/facets/core/kernel/__method__.rb +2 -45
- data/lib/facets/core/kernel/callee.rb +46 -0
- data/lib/facets/core/kernel/deep_clone.rb +50 -0
- data/lib/facets/core/kernel/instance_exec.rb +58 -0
- data/lib/facets/core/kernel/meta.rb +21 -0
- data/lib/facets/core/kernel/object_clone.rb +4 -0
- data/lib/facets/core/kernel/object_dup.rb +2 -0
- data/lib/facets/core/kernel/to_data.rb +114 -0
- data/lib/facets/core/module/alias_method_chain.rb +1 -1
- data/lib/facets/core/module/wrap_method.rb +2 -2
- data/lib/facets/core/nilclass/status.rb +4 -4
- data/lib/facets/core/numeric/distance.rb +37 -0
- data/lib/facets/core/proc/compose.rb +3 -21
- data/lib/facets/core/proc/op_mul.rb +51 -2
- data/lib/facets/core/proc/to_method.rb +37 -36
- data/lib/facets/core/string/divide.rb +43 -0
- data/lib/facets/core/string/singular.rb +152 -67
- data/lib/facets/core/symbol/self/generate.rb +18 -0
- data/lib/facets/more/annattr.rb +4 -4
- data/lib/facets/more/annotation.rb +359 -296
- data/lib/facets/more/aspects.rb +1 -1
- data/lib/facets/more/autoarray.rb +82 -0
- data/lib/facets/more/builderobject.rb +5 -3
- data/lib/facets/more/command.rb +2 -0
- data/lib/facets/more/cut.rb +507 -0
- data/lib/facets/more/dictionary.rb +64 -30
- data/lib/facets/more/downloader.rb +6 -3
- data/lib/facets/more/elementor.rb +26 -16
- data/lib/facets/more/eventhook.rb +113 -0
- data/lib/facets/more/filelist.rb +8 -0
- data/lib/facets/more/functor.rb +28 -11
- data/lib/facets/more/hashbuilder.rb +7 -3
- data/lib/facets/more/infinity.rb +221 -0
- data/{snip/more/aspect.rb → lib/facets/more/instance_intercept.rb} +56 -20
- data/lib/facets/more/json.rb +5 -5
- data/lib/facets/more/methodfilter.rb +118 -0
- data/lib/facets/more/opencascade.rb +35 -66
- data/lib/facets/more/openobject.rb +213 -162
- data/lib/facets/more/orderedhash.rb +7 -0
- data/{snip → lib/facets}/more/predicate.rb +3 -0
- data/lib/facets/more/recorder.rb +9 -3
- data/lib/facets/more/reference.rb +7 -2
- data/lib/facets/more/rexmlbuilder.rb +7 -2
- data/lib/facets/more/rwdelegator.rb +51 -0
- data/lib/facets/more/settings.rb +219 -0
- data/lib/facets/more/snapshot.rb +4 -2
- data/lib/facets/more/tagiterator.rb +4 -4
- data/lib/facets/more/taskable.rb +5 -5
- data/lib/facets/more/tkxml.rb +171 -0
- data/meta/projectinfo +38 -0
- data/{Reapfile → meta/reapfile} +0 -0
- data/meta/task +74 -0
- data/meta/tasks/calibre.rb +16 -0
- data/meta/version +1 -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_normalize_keys.rb +34 -0
- 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_keys_to_s.rb → test_stringify_keys.rb} +5 -5
- 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_keys_to_sym.rb → test_symbolize_keys.rb} +5 -5
- 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 +1 -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_of.rb +28 -0
- 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___method__.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_callee.rb +26 -0
- 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_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_instance_exec.rb +52 -0
- 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_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_quaclass.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_singleton_class.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_to_data.rb +59 -0
- 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_class_extension.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_include_as.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_distance.rb +28 -0
- 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 -8
- data/test/lib/facets/core/proc/test_op_mul.rb +34 -0
- data/test/lib/facets/core/proc/test_to_method.rb +15 -2
- 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_divide.rb +29 -0
- 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_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_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 +62 -8
- 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 +225 -113
- 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_autoarray.rb +32 -0
- 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_classmethods.rb +1 -1
- data/test/lib/facets/more/test_command.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_cut.rb +198 -0
- data/test/lib/facets/more/test_dictionary.rb +1 -1
- data/test/lib/facets/more/test_elementor.rb +5 -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_infinity.rb +50 -0
- data/test/lib/facets/more/test_inheritor.rb +1 -1
- data/test/lib/facets/more/test_instance_intercept.rb +50 -0
- 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_methodfilter.rb +45 -0
- 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 +24 -15
- data/test/lib/facets/more/test_openobject.rb +70 -22
- 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_predicate.rb +79 -0
- 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 +1 -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
- metadata +1147 -2081
- data/doc/api/core/classes/Array.html +0 -1356
- data/doc/api/core/classes/Binding.html +0 -538
- data/doc/api/core/classes/Class.html +0 -476
- data/doc/api/core/classes/Comparable.html +0 -231
- data/doc/api/core/classes/Config.html +0 -120
- data/doc/api/core/classes/Continuation.html +0 -168
- data/doc/api/core/classes/Date.html +0 -219
- data/doc/api/core/classes/Dir.html +0 -208
- data/doc/api/core/classes/Enumerable.html +0 -1462
- data/doc/api/core/classes/FalseClass.html +0 -115
- data/doc/api/core/classes/File.html +0 -383
- data/doc/api/core/classes/FileUtils.html +0 -468
- data/doc/api/core/classes/Float.html +0 -157
- data/doc/api/core/classes/Gem.html +0 -150
- data/doc/api/core/classes/Hash.html +0 -1627
- data/doc/api/core/classes/Integer.html +0 -353
- data/doc/api/core/classes/Kernal.html +0 -86
- data/doc/api/core/classes/Kernel.html +0 -2010
- data/doc/api/core/classes/Logger.html +0 -157
- data/doc/api/core/classes/MatchData.html +0 -195
- data/doc/api/core/classes/Module.html +0 -1812
- data/doc/api/core/classes/NackClass.html +0 -92
- data/doc/api/core/classes/NilClass.html +0 -385
- data/doc/api/core/classes/Numeric.html +0 -306
- data/doc/api/core/classes/Object.html +0 -332
- data/doc/api/core/classes/OpenStruct.html +0 -315
- data/doc/api/core/classes/Pathname.html +0 -154
- data/doc/api/core/classes/Proc.html +0 -154
- data/doc/api/core/classes/Range.html +0 -235
- data/doc/api/core/classes/Regexp.html +0 -185
- data/doc/api/core/classes/ScriptBug.html +0 -92
- data/doc/api/core/classes/String.html +0 -3250
- data/doc/api/core/classes/Symbol.html +0 -463
- data/doc/api/core/classes/Time.html +0 -307
- data/doc/api/core/classes/TrueClass.html +0 -115
- data/doc/api/core/classes/UnboundMethod.html +0 -121
- data/doc/api/core/created.rid +0 -1
- data/doc/api/core/files/COPYING.html +0 -517
- data/doc/api/core/files/README.html +0 -386
- data/doc/api/core/files/lib/facets/core/all_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/array/at_rand_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/body_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/array/delete_unless_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/delete_values_at_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/delete_values_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/each_with_key_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/first_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/array/foot_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/array/head_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/join_sentence_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/last_index_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/last_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/array/merge_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/mid_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/middle_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/op_fetch_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/op_mod_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/op_store_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/array/pick_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/pos_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/pot_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/pull_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/rand_index_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/rand_subset_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/range_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/rotate_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/select_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/shuffle_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/store_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/tail_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/array/thru_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/to_b_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/to_h_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/to_hash_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/array/unzip_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/binding/__DIR___rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/binding/__FILE___rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/binding/__LINE___rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/call_stack_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/binding/called_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/caller_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/defined_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/eval_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/binding/local_variables_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/method_name_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/op_fetch_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/binding/op_store_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/binding/self/of_caller_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding/self_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/binding_rb.html +0 -109
- data/doc/api/core/files/lib/facets/core/class/by_name_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/class/cattr_accessor_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/class/cattr_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/class/cattr_reader_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/class/cattr_writer_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/class/descendents_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/class/method_name_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/class/remove_descendents_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/class/remove_subclasses_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/class/subclasses_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/class/to_proc_rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/class/unix_path_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/comparable/at_least_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/comparable/at_most_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/comparable/cap_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/comparable/clip_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/comparable/cmp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/config/datadir_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/continuation/self/create_rb.html +0 -148
- data/doc/api/core/files/lib/facets/core/date/days_in_month_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/date/days_of_month_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/date/stamp_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/date/to_date_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/date/to_s_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/date/to_time_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/dir/self/ancestor_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/dir/self/ascend_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/dir/self/descend_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/dir/self/ls_r_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/dir/self/recurse_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/accumulate_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/cascade_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/collect_if_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/collect_with_counter_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/collect_with_index_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/commonality_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/compact_collect_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/compact_map_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/count_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/cross_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/each_by_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/each_combination_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/each_pair_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/each_permutation_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/each_slice_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/each_unique_pair_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/each_with_counter_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/elementwise_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/entropy_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/enumerable/every_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/ew_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/filter_collect_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/filter_map_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/find_collisions_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/frequency_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/graph_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/ideal_entropy_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/map_if_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/map_with_counter_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/map_with_index_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/enumerable/mode_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/none_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/nonuniq_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/occur_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/one_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/op_pow_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/partition_by_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/permute_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/probability_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/project_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/self/combinations_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/self/cross_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/enumerable/to_h_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/uniq_by_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/enumerable/where_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/file/self/append_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/file/self/create_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/file/self/open_as_string_rb.html +0 -118
- data/doc/api/core/files/lib/facets/core/file/self/read_binary_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/file/self/read_list_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/file/self/rootname_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/file/self/sanitize_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/file/self/split_all_rb.html +0 -101
- data/doc/api/core/files/lib/facets/core/file/self/write_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/fileutils/head_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/fileutils/safe_ln_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/fileutils/slice_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/fileutils/split_all_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/fileutils/tail_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/fileutils/wc_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/fileutils/whereis_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/fileutils/which_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/float/approx_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/float/round_at_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/float/round_off_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/float/round_to_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/gem/self/active_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/gem/self/gempath_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/gem/self/gemspec_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/alias_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/assert_has_keys_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/assert_has_only_keys_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/at_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/collate_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/delete_unless_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/each_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/each_with_index_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/hash/each_with_key_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/graph_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/has_keys_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/has_only_keys_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/inverse_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/join_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/keys_to_s_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/keys_to_sym_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/op_fetch_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/op_lshift_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/op_store_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/hash/rand_key_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/rand_pair_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/rand_value_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/replace_each_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/self/zipnew_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/shuffle_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/slice_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/stringify_keys_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/hash/swap_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/swapkey_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/symoblize_keys_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/hash/to_h_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/to_ostruct_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/hash/to_ostruct_recurse_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/hash/to_proc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/traverse_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/update_each_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/update_keys_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/update_values_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/variablize_keys_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/hash/weave_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/inflect_rb.html +0 -117
- data/doc/api/core/files/lib/facets/core/integer/even_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/integer/fac_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/integer/fact_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/integer/factorial_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/integer/multiple_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/integer/odd_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/integer/ordinal_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/integer/times_collect_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/integer/times_map_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/__DIR___rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/__callee___rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/__class___rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/__get___rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/__method___rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/__self___rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/__set___rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/as_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/assign_from_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/assign_with_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/kernel/autoreload_files_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/autoreload_glob_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/autoreload_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/bool_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/bug_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/cache_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/call_stack_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/called_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/complete_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/constant_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/copy_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/deep_copy_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/demo_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/eigenclass_rb.html +0 -103
- data/doc/api/core/files/lib/facets/core/kernel/false_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/fn_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/generate_method_name_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/get_by_id_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/here_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/in_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/instance_assign_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/instvar_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/is_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/maybe_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/metaclass_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/methods_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/nack_rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/kernel/new_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/object_class_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/object_hexid_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/op_esc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/own_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/p_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/pp_exception_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/quaclass_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/require_all_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/require_esc_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/require_facet_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/require_local_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/resc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/respond_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/returning_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/send_as_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/set_from_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/set_with_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/silence_warnings_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/silently_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/singleton_class_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/singleton_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/superior_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/supermethod_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/this_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/to_b_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/to_bool_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/true_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/unuri_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/uri_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/kernel/val_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/warn_with_line_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/with_accessor_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/kernel/with_reader_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/kernel/with_writer_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/logger/format_message_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/logger/format_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/matchdata/match_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/matchdata/matchset_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/matchdata/matchtree_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/abstract_rb.html +0 -105
- data/doc/api/core/files/lib/facets/core/module/alias_method_chain_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/alias_module_function_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/ancestor_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/attr_query_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/attr_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/attr_setter_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/attr_tester_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/attr_validator_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/basename_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/by_name_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/class_extension_rb.html +0 -124
- data/doc/api/core/files/lib/facets/core/module/class_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/clone_removing_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/module/clone_renaming_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/module/clone_using_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/dirname_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/equate_on_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/generate_instance_method_name_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/include_as_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/initializer_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/instance_methods_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/integrate_rb.html +0 -104
- data/doc/api/core/files/lib/facets/core/module/is_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/memoize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/modspace_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/module/namespace_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/nesting_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/nodef_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/on_included_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/redef_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/redefine_method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/redirect_method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/redirect_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/remove_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/rename_method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/rename_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/revisal_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/module/shadow_all_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/shadow_method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/sort_on_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/this_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/module/wrap_method_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/module/wrap_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/nil_as_emptiness_rb.html +0 -116
- data/doc/api/core/files/lib/facets/core/nilclass/blank_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/empty_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/include_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/length_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/nilclass/op_cmp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/op_fetch_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/size_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/status_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/succ_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/nilclass/to_h_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/numeric/approx_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/numeric/ceil_multiple_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/numeric/pred_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/numeric/succ_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/numeric/to_b_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/ostruct/__merge___rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/ostruct/__table___rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/ostruct/__update___rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/ostruct/instance_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/ostruct/op_fetch_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/ostruct/op_store_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/ostruct/to_h_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/ostruct_rb.html +0 -102
- data/doc/api/core/files/lib/facets/core/pathname/ascend_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/pathname/descend_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/proc/compose_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/proc/op_mul_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/proc/to_method_rb.html +0 -133
- data/doc/api/core/files/lib/facets/core/random_rb.html +0 -111
- data/doc/api/core/files/lib/facets/core/range/to_r_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/range/to_range_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/range/umbrella_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/range/within_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/regexp/arity_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/regexp/to_re_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/regexp/to_regexp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/align_center_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/align_left_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/align_right_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/at_rand_rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/string/at_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/basename_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/blank_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/bracket_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/brief_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/bytes_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/camelcase_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/camelize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/capitalized_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/chars_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/cmp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/demodulize_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/dequote_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/downcase_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/dresner_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/each_char_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/each_word_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/ends_with_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/first_char_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/first_rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/string/fold_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/format_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/humanize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/indent_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/index_all_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/last_char_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/last_rb.html +0 -98
- data/doc/api/core/files/lib/facets/core/string/line_wrap_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/lines_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/lowercase_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/margin_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/methodize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/modulize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/mscan_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/natcmp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/nchar_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/ordinal_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/pathize_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/plural_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/pop_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/pot_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/pull_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/push_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/quote_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/rand_byte_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/rand_index_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/range_all_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/range_of_line_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/range_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/regesc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/self/format_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/self/interpolate_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/self/patterns_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/self/rand_letter_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/self/random_rb.html +0 -99
- data/doc/api/core/files/lib/facets/core/string/shatter_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/shell_escape_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/shift_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/shuffle_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/similarity_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/singular_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/soundex_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/starts_with_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/succ_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/tab_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/tabto_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/to_a_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/to_b_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/to_const_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/to_date_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/string/to_proc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/to_re_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/to_rx_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/to_time_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/unbracket_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/underscore_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/unix_crypt_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/unpack_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/unshift_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/upcase_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/uppercase_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/string/whitespace_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/string/word_filter_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/word_wrap_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string/words_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/string_as_array_rb.html +0 -109
- data/doc/api/core/files/lib/facets/core/symbol/camelcase_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/camelize_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/capitalize_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/capitalized_rb.html +0 -97
- data/doc/api/core/files/lib/facets/core/symbol/downcase_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/not_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/symbol/pad_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/symbol/succ_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/symbol/to_const_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/to_proc_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/symbol/to_str_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/symbol/underscore_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/symbol/upcase_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/time/change_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/time/elapse_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/time/self/days_extrema_rb.html +0 -114
- data/doc/api/core/files/lib/facets/core/time/self/stamp_rb.html +0 -100
- data/doc/api/core/files/lib/facets/core/time/stamp_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/time/to_date_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/time/to_s_rb.html +0 -96
- data/doc/api/core/files/lib/facets/core/time/to_time_rb.html +0 -92
- data/doc/api/core/files/lib/facets/core/unboundmethod/name_rb.html +0 -92
- data/doc/api/core/fr_class_index.html +0 -81
- data/doc/api/core/fr_file_index.html +0 -521
- data/doc/api/core/fr_method_index.html +0 -559
- data/doc/api/core/index.html +0 -26
- data/doc/api/core/rdoc-style.css +0 -175
- data/doc/api/more/classes/Annotation.html +0 -258
- data/doc/api/more/classes/Array.html +0 -363
- data/doc/api/more/classes/Aspect.html +0 -159
- data/doc/api/more/classes/Aspects.html +0 -240
- data/doc/api/more/classes/Aspects/ClassMethods.html +0 -254
- data/doc/api/more/classes/Association.html +0 -289
- data/doc/api/more/classes/BBCode.html +0 -531
- data/doc/api/more/classes/BasicObject.html +0 -281
- data/doc/api/more/classes/BasicObject/Self.html +0 -143
- data/doc/api/more/classes/BinaryReader.html +0 -535
- data/doc/api/more/classes/BinaryReader/ByteOrder.html +0 -225
- data/doc/api/more/classes/BuilderObject.html +0 -248
- data/doc/api/more/classes/Class.html +0 -200
- data/doc/api/more/classes/Client.html +0 -1251
- data/doc/api/more/classes/Cloneable.html +0 -133
- data/doc/api/more/classes/Console.html +0 -105
- data/doc/api/more/classes/Console/ANSICode.html +0 -488
- data/doc/api/more/classes/Console/Command.html +0 -286
- data/doc/api/more/classes/Console/ProgressBar.html +0 -640
- data/doc/api/more/classes/Coroutine.html +0 -284
- data/doc/api/more/classes/Crypt.html +0 -270
- data/doc/api/more/classes/DebugSocket.html +0 -242
- data/doc/api/more/classes/Dictionary.html +0 -974
- data/doc/api/more/classes/Downloader.html +0 -515
- data/doc/api/more/classes/Downloader/Checksum.html +0 -96
- data/doc/api/more/classes/Downloader/Mirror.html +0 -134
- data/doc/api/more/classes/Elementor.html +0 -202
- data/doc/api/more/classes/Enumerable.html +0 -86
- data/doc/api/more/classes/EnumerablePass.html +0 -217
- data/doc/api/more/classes/Expirable.html +0 -197
- data/doc/api/more/classes/FalseClass.html +0 -119
- data/doc/api/more/classes/FileList.html +0 -971
- data/doc/api/more/classes/Float.html +0 -141
- data/doc/api/more/classes/FloatString.html +0 -413
- data/doc/api/more/classes/Functor.html +0 -224
- data/doc/api/more/classes/HTMLBuilder.html +0 -132
- data/doc/api/more/classes/HTMLHelper.html +0 -189
- data/doc/api/more/classes/HTTP.html +0 -154
- data/doc/api/more/classes/HTTP/BadResponseError.html +0 -94
- data/doc/api/more/classes/HTTP/Error.html +0 -96
- data/doc/api/more/classes/HTTP/Message.html +0 -633
- data/doc/api/more/classes/HTTP/Message/Body.html +0 -299
- data/doc/api/more/classes/HTTP/Message/Headers.html +0 -641
- data/doc/api/more/classes/HTTP/Status.html +0 -148
- data/doc/api/more/classes/HTTPAccess.html +0 -115
- data/doc/api/more/classes/Hash.html +0 -257
- data/doc/api/more/classes/HashBuilder.html +0 -216
- data/doc/api/more/classes/Heap.html +0 -535
- data/doc/api/more/classes/Heap/EmptyHeapException.html +0 -92
- data/doc/api/more/classes/Heap/Max.html +0 -133
- data/doc/api/more/classes/Heap/Min.html +0 -133
- data/doc/api/more/classes/IORedirect.html +0 -224
- data/doc/api/more/classes/Integer.html +0 -299
- data/doc/api/more/classes/Interval.html +0 -853
- data/doc/api/more/classes/InvalidNackError.html +0 -117
- data/doc/api/more/classes/JSON.html +0 -410
- data/doc/api/more/classes/JSON/Parser.html +0 -374
- data/doc/api/more/classes/JSON/State.html +0 -280
- data/doc/api/more/classes/Kernel.html +0 -400
- data/doc/api/more/classes/LRUCache.html +0 -461
- data/doc/api/more/classes/LRUCache/Item.html +0 -114
- data/doc/api/more/classes/LRUCache/Sentinel.html +0 -102
- data/doc/api/more/classes/Lazy.html +0 -96
- data/doc/api/more/classes/Lazy/Future.html +0 -100
- data/doc/api/more/classes/Lazy/Promise.html +0 -114
- data/doc/api/more/classes/Lazy/PromiseSafe.html +0 -99
- data/doc/api/more/classes/Lisp.html +0 -846
- data/doc/api/more/classes/Lisp/DottedPair.html +0 -289
- data/doc/api/more/classes/Lisp/Format.html +0 -147
- data/doc/api/more/classes/Math.html +0 -110
- data/doc/api/more/classes/Math/Constants.html +0 -691
- data/doc/api/more/classes/Math/Constants/CGS.html +0 -584
- data/doc/api/more/classes/Method.html +0 -170
- data/doc/api/more/classes/Method/Probe.html +0 -267
- data/doc/api/more/classes/Mock.html +0 -276
- data/doc/api/more/classes/Module.html +0 -599
- data/doc/api/more/classes/Multiton.html +0 -256
- data/doc/api/more/classes/NackClass.html +0 -245
- data/doc/api/more/classes/NilClass.html +0 -238
- data/doc/api/more/classes/NullClass.html +0 -202
- data/doc/api/more/classes/Numeric.html +0 -1104
- data/doc/api/more/classes/ORMSupport.html +0 -357
- data/doc/api/more/classes/Object.html +0 -328
- data/doc/api/more/classes/OpenCascade.html +0 -230
- data/doc/api/more/classes/OpenObject.html +0 -552
- data/doc/api/more/classes/PQueue.html +0 -471
- data/doc/api/more/classes/PathList.html +0 -162
- data/doc/api/more/classes/PathList/Finder.html +0 -137
- data/doc/api/more/classes/Pool.html +0 -207
- data/doc/api/more/classes/Proc.html +0 -140
- data/doc/api/more/classes/PromoteSelf.html +0 -138
- data/doc/api/more/classes/Quaternion.html +0 -1497
- data/doc/api/more/classes/REXMLBuilder.html +0 -357
- data/doc/api/more/classes/REXMLBuilder/REXMLUtil.html +0 -396
- data/doc/api/more/classes/Recorder.html +0 -208
- data/doc/api/more/classes/Reference.html +0 -201
- data/doc/api/more/classes/RubyOneLiners.html +0 -139
- data/doc/api/more/classes/RubyTals.html +0 -316
- data/doc/api/more/classes/SSLSocketWrap.html +0 -410
- data/doc/api/more/classes/Semaphore.html +0 -264
- data/doc/api/more/classes/SimpleStringIO.html +0 -139
- data/doc/api/more/classes/Snapshot.html +0 -191
- data/doc/api/more/classes/StateMachine.html +0 -248
- data/doc/api/more/classes/StateParser.html +0 -276
- data/doc/api/more/classes/StateParser/Constants.html +0 -109
- data/doc/api/more/classes/StateParser/Marker.html +0 -269
- data/doc/api/more/classes/StateParser/State.html +0 -448
- data/doc/api/more/classes/StaticHash.html +0 -144
- data/doc/api/more/classes/String.html +0 -300
- data/doc/api/more/classes/Struct.html +0 -134
- data/doc/api/more/classes/Symbol.html +0 -118
- data/doc/api/more/classes/SyncArray.html +0 -131
- data/doc/api/more/classes/SyncHash.html +0 -135
- data/doc/api/more/classes/SyncHash/Delegator.html +0 -213
- data/doc/api/more/classes/SyncHash/Inheritor.html +0 -213
- data/doc/api/more/classes/System.html +0 -1055
- data/doc/api/more/classes/TSort.html +0 -123
- data/doc/api/more/classes/TagIterator.html +0 -706
- data/doc/api/more/classes/Task.html +0 -237
- data/doc/api/more/classes/Task/Graph.html +0 -165
- data/doc/api/more/classes/Taskable.html +0 -300
- data/doc/api/more/classes/Time.html +0 -746
- data/doc/api/more/classes/Timer.html +0 -471
- data/doc/api/more/classes/Timer/Dummy.html +0 -141
- data/doc/api/more/classes/TracePoint.html +0 -456
- data/doc/api/more/classes/TrueClass.html +0 -118
- data/doc/api/more/classes/Tuple.html +0 -907
- data/doc/api/more/classes/TypeCastException.html +0 -163
- data/doc/api/more/classes/Uninheritable.html +0 -130
- data/doc/api/more/classes/Units.html +0 -191
- data/doc/api/more/classes/Units/Config.html +0 -120
- data/doc/api/more/classes/Units/Converter.html +0 -808
- data/doc/api/more/classes/Units/Converter/ExchangeRate.html +0 -155
- data/doc/api/more/classes/Units/Converter/ExchangeRate/CachedXMethods.html +0 -143
- data/doc/api/more/classes/Units/Converter/ExchangeRate/XMethods.html +0 -197
- data/doc/api/more/classes/Units/Unit.html +0 -434
- data/doc/api/more/classes/Units/Value.html +0 -331
- data/doc/api/more/classes/ValueHolder.html +0 -167
- data/doc/api/more/classes/Web.html +0 -103
- data/doc/api/more/classes/Web/Cookie.html +0 -560
- data/doc/api/more/classes/Web/CookieManager.html +0 -567
- data/doc/api/more/classes/Web/CookieManager/Error.html +0 -96
- data/doc/api/more/classes/Web/CookieManager/ErrorOverrideOK.html +0 -94
- data/doc/api/more/classes/Web/CookieManager/NoDotError.html +0 -94
- data/doc/api/more/classes/Web/CookieManager/SpecialError.html +0 -94
- data/doc/api/more/classes/Web/CookieUtils.html +0 -179
- data/doc/api/more/classes/XMLBuilder.html +0 -132
- data/doc/api/more/classes/XMLHelper.html +0 -428
- data/doc/api/more/classes/XOXO.html +0 -251
- data/doc/api/more/classes/YAMLStruct.html +0 -166
- data/doc/api/more/created.rid +0 -1
- data/doc/api/more/files/COPYING.html +0 -517
- data/doc/api/more/files/README.html +0 -389
- data/doc/api/more/files/lib/facets/more/annattr_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/annotation_rb.html +0 -117
- data/doc/api/more/files/lib/facets/more/ansicode_rb.html +0 -128
- data/doc/api/more/files/lib/facets/more/aspects_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/association_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/basicobject_rb.html +0 -129
- data/doc/api/more/files/lib/facets/more/bbcode_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/binaryreader_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/bitmask_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/blankslate_rb.html +0 -113
- data/doc/api/more/files/lib/facets/more/builderobject_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/bytes_rb.html +0 -131
- data/doc/api/more/files/lib/facets/more/classmethods_rb.html +0 -121
- data/doc/api/more/files/lib/facets/more/cloneable_rb.html +0 -132
- data/doc/api/more/files/lib/facets/more/command_rb.html +0 -119
- data/doc/api/more/files/lib/facets/more/cookie_rb.html +0 -136
- data/doc/api/more/files/lib/facets/more/coroutine_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/crypt_rb.html +0 -146
- data/doc/api/more/files/lib/facets/more/dictionary_rb.html +0 -123
- data/doc/api/more/files/lib/facets/more/downloader_rb.html +0 -124
- data/doc/api/more/files/lib/facets/more/elementor_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/enumerablepass_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/expirable_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/filelist_rb.html +0 -128
- data/doc/api/more/files/lib/facets/more/floatstring_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/functor_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/hashbuilder_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/heap_rb.html +0 -131
- data/doc/api/more/files/lib/facets/more/htmlbuilder_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/htmlhelper_rb.html +0 -119
- data/doc/api/more/files/lib/facets/more/http_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/httpaccess_rb.html +0 -137
- data/doc/api/more/files/lib/facets/more/inheritor_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/interval_rb.html +0 -120
- data/doc/api/more/files/lib/facets/more/ioredirect_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/json_rb.html +0 -141
- data/doc/api/more/files/lib/facets/more/lazy_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/lisp_format_rb.html +0 -129
- data/doc/api/more/files/lib/facets/more/lisp_rb.html +0 -119
- data/doc/api/more/files/lib/facets/more/lrucache_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/mathconstants_rb.html +0 -121
- data/doc/api/more/files/lib/facets/more/methodprobe_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/mock_rb.html +0 -208
- data/doc/api/more/files/lib/facets/more/multipliers_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/multiton_rb.html +0 -114
- data/doc/api/more/files/lib/facets/more/nackclass_rb.html +0 -151
- data/doc/api/more/files/lib/facets/more/nilcomparable_rb.html +0 -118
- data/doc/api/more/files/lib/facets/more/nullclass_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/one_rb.html +0 -158
- data/doc/api/more/files/lib/facets/more/opencascade_rb.html +0 -129
- data/doc/api/more/files/lib/facets/more/openobject_rb.html +0 -120
- data/doc/api/more/files/lib/facets/more/orderedhash_rb.html +0 -113
- data/doc/api/more/files/lib/facets/more/ormsupport_rb.html +0 -125
- data/doc/api/more/files/lib/facets/more/overload_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/paramix_rb.html +0 -118
- data/doc/api/more/files/lib/facets/more/pathlist_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/pool_rb.html +0 -120
- data/doc/api/more/files/lib/facets/more/pqueue_rb.html +0 -122
- data/doc/api/more/files/lib/facets/more/preinitialize_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/progressbar_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/promoteself_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/quaternion_rb.html +0 -150
- data/doc/api/more/files/lib/facets/more/recorder_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/reference_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/rexmlbuilder_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/rtals_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/semaphore_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/snapshot_rb.html +0 -121
- data/doc/api/more/files/lib/facets/more/stateparser_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/statichash_rb.html +0 -133
- data/doc/api/more/files/lib/facets/more/syncarray_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/synchash_rb.html +0 -115
- data/doc/api/more/files/lib/facets/more/system_rb.html +0 -123
- data/doc/api/more/files/lib/facets/more/tagiterator_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/taskable_rb.html +0 -118
- data/doc/api/more/files/lib/facets/more/timer_rb.html +0 -127
- data/doc/api/more/files/lib/facets/more/times_rb.html +0 -127
- data/doc/api/more/files/lib/facets/more/tracepoint_rb.html +0 -131
- data/doc/api/more/files/lib/facets/more/tuple_rb.html +0 -122
- data/doc/api/more/files/lib/facets/more/typecast_rb.html +0 -133
- data/doc/api/more/files/lib/facets/more/uninheritable_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/units_rb.html +0 -118
- data/doc/api/more/files/lib/facets/more/xmlbuilder_rb.html +0 -116
- data/doc/api/more/files/lib/facets/more/xmlhelper_rb.html +0 -111
- data/doc/api/more/files/lib/facets/more/xoxo_rb.html +0 -125
- data/doc/api/more/files/lib/facets/more/yamlstruct_rb.html +0 -123
- data/doc/api/more/fr_class_index.html +0 -196
- data/doc/api/more/fr_file_index.html +0 -133
- data/doc/api/more/fr_method_index.html +0 -1284
- data/doc/api/more/index.html +0 -26
- data/doc/api/more/rdoc-style.css +0 -175
- data/doc/web/documentation.html +0 -174
- data/doc/web/images/abc.png +0 -0
- data/doc/web/images/abc1.png +0 -0
- data/doc/web/images/apple_core.jpg +0 -0
- data/doc/web/images/apples3.jpg +0 -0
- data/doc/web/images/core.jpg +0 -0
- data/doc/web/images/favicon.ico +0 -0
- data/doc/web/images/gray.jpg +0 -0
- data/doc/web/images/ruby-lg.png +0 -0
- data/doc/web/images/ruby.gif +0 -0
- data/doc/web/images/three_apples.jpg +0 -0
- data/doc/web/images/yellow_fade.jpg +0 -0
- data/doc/web/images/yellow_fade2.jpg +0 -0
- data/doc/web/index.html +0 -224
- data/doc/web/style.css +0 -153
- data/lib/facet/blankslate.rb +0 -1
- data/lib/facet/hash/symoblize_keys.rb +0 -1
- data/lib/facet/kernel/generate_method_name.rb +0 -1
- data/lib/facet/module/generate_instance_method_name.rb +0 -1
- data/lib/facets/core/hash/symoblize_keys.rb +0 -2
- data/lib/facets/core/kernel/generate_method_name.rb +0 -39
- data/lib/facets/core/module/generate_instance_method_name.rb +0 -47
- data/lib/facets/more/blankslate.rb +0 -7
- data/proj/calibre/ProjectInfo.annotation +0 -46
- data/proj/calibre/ProjectInfo.ansicode +0 -33
- data/proj/calibre/ProjectInfo.asociation +0 -34
- data/proj/calibre/ProjectInfo.basicobject +0 -36
- data/proj/calibre/ProjectInfo.bbcode +0 -34
- data/proj/calibre/ProjectInfo.binaryreader +0 -35
- data/proj/calibre/ProjectInfo.bitmask +0 -33
- data/proj/calibre/ProjectInfo.classinherit +0 -36
- data/proj/calibre/ProjectInfo.classmethods +0 -36
- data/proj/calibre/ProjectInfo.cloneable +0 -33
- data/proj/calibre/ProjectInfo.consoleapp +0 -35
- data/proj/calibre/ProjectInfo.coroutine +0 -37
- data/proj/calibre/ProjectInfo.crypt +0 -33
- data/proj/calibre/ProjectInfo.dictionary +0 -40
- data/proj/calibre/ProjectInfo.downloader +0 -39
- data/proj/calibre/ProjectInfo.enumerablepass +0 -35
- data/proj/calibre/ProjectInfo.expirable +0 -37
- data/proj/calibre/ProjectInfo.floatstring +0 -35
- data/proj/calibre/ProjectInfo.functor +0 -40
- data/proj/calibre/ProjectInfo.heap +0 -33
- data/proj/calibre/ProjectInfo.inheritor +0 -36
- data/proj/calibre/ProjectInfo.interval +0 -36
- data/proj/calibre/ProjectInfo.lisp +0 -38
- data/proj/calibre/ProjectInfo.lrucache +0 -34
- data/proj/calibre/ProjectInfo.mathconstants +0 -41
- data/proj/calibre/ProjectInfo.methodprobe +0 -38
- data/proj/calibre/ProjectInfo.mock +0 -34
- data/proj/calibre/ProjectInfo.multiton +0 -36
- data/proj/calibre/ProjectInfo.nackclass +0 -33
- data/proj/calibre/ProjectInfo.nilcomparable +0 -35
- data/proj/calibre/ProjectInfo.nullclass +0 -35
- data/proj/calibre/ProjectInfo.one +0 -37
- data/proj/calibre/ProjectInfo.openobject +0 -39
- data/proj/calibre/ProjectInfo.paramix +0 -38
- data/proj/calibre/ProjectInfo.pool +0 -33
- data/proj/calibre/ProjectInfo.progressbar +0 -37
- data/proj/calibre/ProjectInfo.reference +0 -36
- data/proj/calibre/ProjectInfo.semaphore +0 -36
- data/proj/calibre/ProjectInfo.stateparser +0 -39
- data/proj/calibre/ProjectInfo.statichash +0 -33
- data/proj/calibre/ProjectInfo.system +0 -34
- data/proj/calibre/ProjectInfo.tagiterator +0 -36
- data/proj/calibre/ProjectInfo.timer +0 -35
- data/proj/calibre/ProjectInfo.tracepoint +0 -37
- data/proj/calibre/ProjectInfo.tuple +0 -36
- data/proj/calibre/ProjectInfo.uniheritable +0 -34
- data/proj/calibre/ProjectInfo.units +0 -34
- data/proj/calibre/ProjectInfo.yamlstruct +0 -34
- data/proj/info +0 -117
- data/proj/metadata +0 -36
- data/proj/tasks/calibre.rb +0 -15
- data/snip/ProjectInfo +0 -115
- data/snip/README +0 -13
- data/snip/TODO +0 -73
- data/snip/autorequire.rb +0 -83
- data/snip/core/array/at_rand.rb +0 -95
- data/snip/core/array/each_slice.rb +0 -23
- data/snip/core/array/pick_values.rb +0 -32
- data/snip/core/array/rand_indexes.rb +0 -33
- data/snip/core/binding/class.rb +0 -11
- data/snip/core/binding/delegate-binding.rb +0 -19
- data/snip/core/binding/delegate.rb +0 -15
- data/snip/core/binding/proc.rb +0 -6
- data/snip/core/class/to_module.rb +0 -3
- data/snip/core/enumerable/op_fetch.rb +0 -30
- data/snip/core/fileutils/nl_convert.rb +0 -133
- data/snip/core/io/expect.rb +0 -127
- data/snip/core/kernel/__clone__.rb +0 -4
- data/snip/core/kernel/__dup__.rb +0 -4
- data/snip/core/kernel/call_line.rb +0 -15
- data/snip/core/kernel/does.rb +0 -7
- data/snip/core/kernel/message.rb +0 -6
- data/snip/core/kernel/query.rb +0 -15
- data/snip/core/kernel/taint.rb +0 -10
- data/snip/core/logger/clean_logger.rb +0 -10
- data/snip/core/module/attr-old.rb +0 -308
- data/snip/core/module/attr.rb +0 -98
- data/snip/core/module/attr_xxx.rb +0 -22
- data/snip/core/module/by_regexp.rb +0 -21
- data/snip/core/module/cast.rb +0 -64
- data/snip/core/module/class_attribute_accessors.rb +0 -57
- data/snip/core/module/inherit.rb +0 -99
- data/snip/core/module/inherit0.rb +0 -59
- data/snip/core/module/let.rb +0 -51
- data/snip/core/module/meta_attr.rb +0 -60
- data/snip/core/module/module_attribute_accessors.rb +0 -57
- data/snip/core/module/permissions.rb +0 -32
- data/snip/core/module/preserved.rb +0 -108
- data/snip/core/module/sattr_accessor.rb +0 -1
- data/snip/core/module/sattr_reader.rb +0 -1
- data/snip/core/module/sattr_setter.rb +0 -1
- data/snip/core/module/sattr_tester.rb +0 -1
- data/snip/core/module/sattr_writer.rb +0 -1
- data/snip/core/module/tc_attr.rb +0 -107
- data/snip/core/module/to_module.rb +0 -37
- data/snip/core/module/version.rb +0 -23
- data/snip/core/string/frequency.rb +0 -40
- data/snip/core/string/op_add.rb +0 -24
- data/snip/core/string/op_div.rb +0 -15
- data/snip/core/string/pred.rb +0 -217
- data/snip/core/string/probability.rb +0 -35
- data/snip/core/string/to_arr.rb +0 -57
- data/snip/core/string/to_ary.rb +0 -12
- data/snip/core/string/word_wrap.rb +0 -62
- data/snip/more/actionplan.rb +0 -21
- data/snip/more/autoarray.rb +0 -29
- data/snip/more/cache.rb +0 -189
- data/snip/more/capsule2.rb +0 -152
- data/snip/more/class_inheritable_attributes.rb +0 -120
- data/snip/more/classinherit.rb +0 -198
- data/snip/more/clean.rb +0 -35
- data/snip/more/codepack.rb +0 -64
- data/snip/more/commandrunner.rb +0 -101
- data/snip/more/conditionals.rb +0 -106
- data/snip/more/contracts.rb +0 -37
- data/snip/more/daemon.rb +0 -70
- data/snip/more/datetime.rb +0 -42
- data/snip/more/detach.rb +0 -423
- data/snip/more/enumtype.rb +0 -115
- data/snip/more/fixnum_const.rb +0 -55
- data/snip/more/function.rb +0 -278
- data/snip/more/hookse.rb +0 -107
- data/snip/more/indexable.rb +0 -85
- data/snip/more/infinity.rb +0 -123
- data/snip/more/ioreactor.rb +0 -671
- data/snip/more/knowself.rb +0 -42
- data/snip/more/logger_sing.rb +0 -207
- data/snip/more/must.rb +0 -37
- data/snip/more/openproxy.rb +0 -245
- data/snip/more/ostructable.rb +0 -212
- data/snip/more/pairhash.rb +0 -55
- data/snip/more/pathname.rb +0 -1309
- data/snip/more/prereq.rb +0 -36
- data/snip/more/print_exception.rb +0 -35
- data/snip/more/rand.rb +0 -412
- data/snip/more/range.rb +0 -383
- data/snip/more/sanitize.rb +0 -48
- data/snip/more/service.rb +0 -266
- data/snip/more/superstruct.rb +0 -735
- data/snip/more/tag.rb +0 -27
- data/snip/more/testfacility.rb +0 -80
- data/snip/more/timer.rb +0 -164
- data/snip/more/toplevel.rb +0 -76
- data/snip/more/type.rb +0 -232
- data/snip/more/vars.rb +0 -94
- data/snip/more/version.rb +0 -245
- data/snip/more/world.rb +0 -53
- data/snip/reference/sys.rb +0 -186
- data/snip/reference/utils.rb +0 -518
- data/test/lib/facets/core/kernel/test_generate_method_name.rb +0 -26
- data/test/lib/facets/core/module/test_generate_instance_method_name.rb +0 -33
@@ -1,69 +1,98 @@
|
|
1
1
|
|
2
2
|
class String
|
3
3
|
|
4
|
-
|
5
|
-
[/(matr)ices$/i, '\1ix'],
|
6
|
-
[/(vert)ices$/i, '\1ex'],
|
7
|
-
[/^(ox)en/i, '\1'],
|
8
|
-
[/(alias)es$/i, '\1'],
|
9
|
-
[/([octop|vir])i$/i, '\1us'],
|
10
|
-
[/(cris|ax|test)es$/i, '\1is'],
|
11
|
-
[/(shoe)s$/i, '\1'],
|
12
|
-
[/(o)es$/i, '\1'],
|
13
|
-
[/(bus)es$/i, '\1'],
|
14
|
-
[/([m|l])ice$/i, '\1ouse'],
|
15
|
-
[/(x|ch|ss|sh)es$/i, '\1'],
|
16
|
-
[/(m)ovies$/i, '\1\2ovie'],
|
17
|
-
[/(s)eries$/i, '\1\2eries'],
|
18
|
-
[/([^aeiouy]|qu)ies$/i, '\1y'],
|
19
|
-
[/([lr])ves$/i, '\1f'],
|
20
|
-
[/(tive)s$/i, '\1'],
|
21
|
-
[/(hive)s$/i, '\1'],
|
22
|
-
[/([^f])ves$/i, '\1fe'],
|
23
|
-
[/(^analy)ses$/i, '\1sis'],
|
24
|
-
[/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i, '\1\2sis'],
|
25
|
-
[/([ti])a$/i, '\1um'],
|
26
|
-
[/(p)eople$/i, '\1\2erson'],
|
27
|
-
[/(m)en$/i, '\1an'],
|
28
|
-
[/(s)tatus$/i, '\1\2tatus'],
|
29
|
-
[/(c)hildren$/i, '\1\2hild'],
|
30
|
-
[/(n)ews$/i, '\1\2ews'],
|
31
|
-
[/s$/i, '']
|
32
|
-
]
|
33
|
-
|
34
|
-
PLURAL_RULES = [
|
35
|
-
[/^(ox)$/i, '\1\2en'], # ox
|
36
|
-
[/([m|l])ouse$/i, '\1ice'], # mouse, louse
|
37
|
-
[/(matr|vert)ix|ex$/i, '\1ices'], # matrix, vertex, index
|
38
|
-
[/(x|ch|ss|sh)$/i, '\1es'], # search, switch, fix, box, process, address
|
39
|
-
[/([^aeiouy]|qu)ies$/i, '\1y'],
|
40
|
-
[/([^aeiouy]|qu)y$/i, '\1ies'], # query, ability, agency
|
41
|
-
[/(hive)$/i, '\1s'], # archive, hive
|
42
|
-
[/(?:([^f])fe|([lr])f)$/i, '\1\2ves'], # half, safe, wife
|
43
|
-
[/sis$/i, 'ses'], # basis, diagnosis
|
44
|
-
[/([ti])um$/i, '\1a'], # datum, medium
|
45
|
-
[/(p)erson$/i, '\1eople'], # person, salesperson
|
46
|
-
[/(m)an$/i, '\1en'], # man, woman, spokesman
|
47
|
-
[/(c)hild$/i, '\1hildren'], # child
|
48
|
-
[/(buffal|tomat|potat)o$/i, '\1\2oes'], # buffalo, tomato
|
49
|
-
[/(bu)s$/i, '\1\2ses'], # bus
|
50
|
-
[/(alias)/i, '\1es'], # alias
|
51
|
-
[/(octop|vir)us$/i, '\1i'], # octopus, virus - virus has no defined plural, but viri is better than viruses/viruss
|
52
|
-
[/(ax|cri|test)is$/i, '\1es'], # axis, crisis
|
53
|
-
[/s$/i, 's'], # no change (compatibility)
|
54
|
-
[/$/, 's']
|
55
|
-
]
|
4
|
+
@inflection_rules = []
|
56
5
|
|
6
|
+
def self.inflection_rule( *args ) @inflection_rules << args end
|
7
|
+
def self.inflection_rules() @inflection_rules end
|
8
|
+
|
9
|
+
#
|
10
|
+
|
11
|
+
def self.inflection_rules_by_singular
|
12
|
+
return @inflection_rules_by_singular if @inflection_rules_by_singular
|
13
|
+
|
14
|
+
sorted = inflection_rules.sort_by{ |b,s,pl| "#{b}#{s}".size }.reverse
|
15
|
+
@inflection_rules_by_singular = sorted.collect do |b, s, pl|
|
16
|
+
[ /(#{b})#{s}$/, '\1'+"#{pl}" ]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
#
|
21
|
+
|
22
|
+
def self.inflection_rules_by_plural
|
23
|
+
return @inflection_rules_by_plural if @inflection_rules_by_plural
|
24
|
+
|
25
|
+
sorted = inflection_rules.sort_by{ |b,s,pl| "#{b}#{pl}".size }.reverse
|
26
|
+
@inflection_rules_by_plural = sorted.collect do |b, s, pl|
|
27
|
+
[ /(#{b})#{pl}$/, '\1'+"#{s}" ]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# One argument means singular and plural are the same.
|
32
|
+
|
33
|
+
inflection_rule 'equipment'
|
34
|
+
inflection_rule 'information'
|
35
|
+
inflection_rule 'money'
|
36
|
+
inflection_rule 'species'
|
37
|
+
inflection_rule 'series'
|
38
|
+
inflection_rule 'fish'
|
39
|
+
inflection_rule 'sheep'
|
40
|
+
inflection_rule 'moose'
|
41
|
+
|
42
|
+
# USAGE: +inflection_rule+ base, singular, plural
|
43
|
+
#
|
44
|
+
# IMPORTANT Each base+singular and base+plural should only appear once!
|
45
|
+
|
46
|
+
inflection_rule 'quiz' , '' , 'zes' # quiz
|
47
|
+
inflection_rule 'matr' , 'ix' , 'ices' # matrix
|
48
|
+
inflection_rule 'vert|ind' , 'ex' , 'ices' # vertex, index
|
49
|
+
inflection_rule 'ox' , '' , 'en' # ox
|
50
|
+
inflection_rule 'm' , 'ouse' , 'ice' # mouse, louse
|
51
|
+
inflection_rule 'l' , 'ouse' , 'ice' # mouse, louse
|
52
|
+
inflection_rule 'x' , '' , 'es' # fix, box
|
53
|
+
inflection_rule 'ch' , '' , 'es' # search, switch
|
54
|
+
inflection_rule 'ss' , '' , 'es' # process, address
|
55
|
+
inflection_rule 'sh' , '' , 'es' # dish, wish
|
56
|
+
inflection_rule 'qu' , 'y' , 'ies' # query, ability, agency
|
57
|
+
inflection_rule 'hive' , '' , 's' # archive, hive
|
58
|
+
inflection_rule 'sis' , '' , 'ses' # basis, diagnosis
|
59
|
+
inflection_rule 't' , 'um' , 'a' # datum, medium, forum
|
60
|
+
inflection_rule 'i' , 'um' , 'a' # datum, medium, forum
|
61
|
+
inflection_rule 'r' , 'um' , 'a' # datum, medium, forum
|
62
|
+
inflection_rule 'potat' , 'o' , 'oes' # potato
|
63
|
+
inflection_rule 'buffal' , 'o' , 'oes' # buffalo, tomato
|
64
|
+
inflection_rule 'tomat' , 'o' , 'oes' # buffalo, tomato
|
65
|
+
inflection_rule 'p' , 'erson', 'eople' # person, salesperson
|
66
|
+
inflection_rule 'm' , 'an' , 'en' # man, woman, spokesman
|
67
|
+
inflection_rule 'c' , 'hild' , 'hildren' # child
|
68
|
+
inflection_rule 'bu' , 's' , 'ses' # bus
|
69
|
+
inflection_rule 'alias' , '' , 'es' # alias
|
70
|
+
inflection_rule 'status' , '' , 'es' # status
|
71
|
+
inflection_rule 'vir' , 'us' , 'i' # virus
|
72
|
+
inflection_rule 'octop' , 'us' , 'i' # octopus
|
73
|
+
inflection_rule 'ax' , 'is' , 'es' # axis
|
74
|
+
inflection_rule 'cris' , 'is' , 'es' # crisis
|
75
|
+
inflection_rule 'test' , 'is' , 'es' # testis
|
76
|
+
inflection_rule 'l' , 'f' , 'ves' # half halves
|
77
|
+
inflection_rule '' , 'fe' , 'ves' # safe, wife
|
78
|
+
inflection_rule 'a' , 'y' , 's' # query, ability, agency
|
79
|
+
inflection_rule 'e' , 'y' , 's' # query, ability, agency
|
80
|
+
inflection_rule 'i' , 'y' , 's' # query, ability, agency
|
81
|
+
inflection_rule 'o' , 'y' , 's' # query, ability, agency
|
82
|
+
inflection_rule 'u' , 'y' , 's' # query, ability, agency
|
83
|
+
inflection_rule '' , 'y' , 'ies' # query, ability, agency
|
84
|
+
inflection_rule '' , '' , 's' # --catch all--
|
57
85
|
|
58
86
|
# Convert an English word from plurel to singular.
|
59
87
|
#
|
60
88
|
# "boys".singular #=> boy
|
61
89
|
# "tomatoes".singular #=> tomato
|
62
90
|
#
|
91
|
+
|
63
92
|
def singular
|
64
|
-
result = self.
|
65
|
-
|
66
|
-
break if result.gsub!(
|
93
|
+
result = self.dup
|
94
|
+
self.class.inflection_rules_by_plural.each do |(match, replacement)|
|
95
|
+
break if result.gsub!(match, replacement)
|
67
96
|
end
|
68
97
|
return result
|
69
98
|
end
|
@@ -73,18 +102,20 @@ class String
|
|
73
102
|
# "boy".plural #=> boys
|
74
103
|
# "tomato".plural #=> tomatoes
|
75
104
|
#
|
105
|
+
|
76
106
|
def plural
|
77
|
-
|
78
|
-
|
79
|
-
|
107
|
+
return self.dup if /s$/ =~ self
|
108
|
+
result = self.dup
|
109
|
+
self.class.inflection_rules_by_singular.each do |(match, replacement)|
|
110
|
+
break if result.gsub!(match, replacement)
|
80
111
|
end
|
81
112
|
return result
|
82
113
|
end
|
83
114
|
|
84
|
-
#
|
115
|
+
# Railism alias for #singular.
|
85
116
|
alias_method( :singularize, :singular )
|
86
117
|
|
87
|
-
#
|
118
|
+
# Railism alias for #plural.
|
88
119
|
alias_method( :pluralize, :plural )
|
89
120
|
|
90
121
|
end
|
@@ -100,16 +131,70 @@ end
|
|
100
131
|
|
101
132
|
require 'test/unit'
|
102
133
|
|
103
|
-
|
134
|
+
# Singular
|
135
|
+
|
136
|
+
class TestStringSingular < Test::Unit::TestCase
|
137
|
+
|
138
|
+
def test_singular_01
|
139
|
+
assert_equal "friend" , "friends".singular
|
140
|
+
end
|
141
|
+
|
142
|
+
def test_singular_02
|
143
|
+
assert_equal "man" , "men".singular
|
144
|
+
end
|
145
|
+
|
146
|
+
def test_singular_03
|
147
|
+
assert_equal "girl" , "girls".singular
|
148
|
+
end
|
149
|
+
|
150
|
+
def test_singular_04
|
151
|
+
assert_equal "half" , "halves".singular
|
152
|
+
end
|
153
|
+
|
154
|
+
def test_singular_05
|
155
|
+
assert_equal "ox" , "oxen".singular
|
156
|
+
end
|
157
|
+
|
158
|
+
def test_singular_06
|
159
|
+
assert_equal "forum" , "fora".singular
|
160
|
+
end
|
161
|
+
|
162
|
+
def test_singular_07
|
163
|
+
assert_equal "fish" , "fish".singular
|
164
|
+
end
|
165
|
+
|
166
|
+
end
|
167
|
+
|
168
|
+
# Plural
|
169
|
+
|
170
|
+
class TestStringPlural < Test::Unit::TestCase
|
171
|
+
|
172
|
+
def test_plural_01
|
173
|
+
assert_equal "friends" , "friend".plural
|
174
|
+
end
|
175
|
+
|
176
|
+
def test_plural_02
|
177
|
+
assert_equal "men" , "man".plural
|
178
|
+
end
|
179
|
+
|
180
|
+
def test_plural_03
|
181
|
+
assert_equal "girls" , "girl".plural
|
182
|
+
end
|
183
|
+
|
184
|
+
def test_plural_04
|
185
|
+
assert_equal "halves" , "half".plural
|
186
|
+
end
|
187
|
+
|
188
|
+
def test_plural_05
|
189
|
+
assert_equal "oxen" , "ox".plural
|
190
|
+
end
|
104
191
|
|
105
|
-
def
|
106
|
-
assert_equal
|
107
|
-
assert_equal( "man", "men".singular )
|
192
|
+
def test_plural_06
|
193
|
+
assert_equal "fora" , "forum".plural
|
108
194
|
end
|
109
195
|
|
110
|
-
def
|
111
|
-
assert_equal
|
112
|
-
assert_equal( "men", "man".plural )
|
196
|
+
def test_plural_07
|
197
|
+
assert_equal "fish" , "fish".plural
|
113
198
|
end
|
114
199
|
|
115
200
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
class Symbol
|
3
|
+
|
4
|
+
# Generate a unique symbol.
|
5
|
+
#
|
6
|
+
# Symbol.generate => :<1>
|
7
|
+
#
|
8
|
+
# If +for+ is given the new symbol will be suffixed with it.
|
9
|
+
#
|
10
|
+
# Symbol.generate(:this) => :<2>this
|
11
|
+
#
|
12
|
+
def self.generate(for=nil)
|
13
|
+
@generate_count ||= 0
|
14
|
+
("<%X>#{for}" % @generate_count += 1).to_sym
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
|
data/lib/facets/more/annattr.rb
CHANGED
@@ -85,18 +85,18 @@ class ::Module
|
|
85
85
|
harg.each { |a,h|
|
86
86
|
module_eval( "#{d}" % a)
|
87
87
|
a = a.to_sym
|
88
|
-
|
88
|
+
ann(a,h)
|
89
89
|
}
|
90
|
-
attributes!.
|
90
|
+
attributes!.concat( harg.keys ) #merge!
|
91
91
|
# return the names of the attributes created
|
92
92
|
return harg.keys
|
93
93
|
else
|
94
94
|
args.each { |a|
|
95
95
|
module_eval( "#{d}" % a)
|
96
96
|
a = a.to_sym
|
97
|
-
|
97
|
+
ann(a,harg)
|
98
98
|
}
|
99
|
-
attributes!.
|
99
|
+
attributes!.concat( args ) #merge!
|
100
100
|
# return the names of the attributes created
|
101
101
|
return args
|
102
102
|
end
|
@@ -19,10 +19,8 @@
|
|
19
19
|
# Copyright:: Copyright (c) 2005 Thomas Sawyer
|
20
20
|
# License:: Ruby License
|
21
21
|
|
22
|
-
require 'facets/core/
|
23
|
-
|
22
|
+
require 'facets/core/hash/to_h'
|
24
23
|
require 'facets/more/openobject'
|
25
|
-
#require 'facets/more/inheritor'
|
26
24
|
require 'facets/more/nullclass'
|
27
25
|
|
28
26
|
# = Annotation
|
@@ -55,112 +53,181 @@ require 'facets/more/nullclass'
|
|
55
53
|
# end
|
56
54
|
#
|
57
55
|
# end
|
58
|
-
#
|
59
56
|
|
60
|
-
class
|
57
|
+
class Annotations
|
61
58
|
|
62
|
-
def initialize(
|
63
|
-
|
59
|
+
def initialize( base )
|
60
|
+
@base, @ann = base, {}
|
64
61
|
end
|
65
62
|
|
66
|
-
def
|
67
|
-
@
|
68
|
-
@heritage = heritage
|
69
|
-
self
|
63
|
+
def [](name)
|
64
|
+
@ann[name] ||= Annotation.new(@base, name)
|
70
65
|
end
|
71
66
|
|
72
|
-
def
|
73
|
-
|
74
|
-
|
67
|
+
def []=(name, note)
|
68
|
+
raise ArgumentError unless Annotation === note
|
69
|
+
@ann[name] = note
|
70
|
+
end
|
75
71
|
|
76
|
-
|
77
|
-
r = super
|
78
|
-
return Kernel.null if r.nil? and type != '?'
|
79
|
-
return r
|
80
|
-
else
|
81
|
-
if type == '!'
|
82
|
-
unless __key__?( name )
|
83
|
-
parent = nil
|
84
|
-
@base.ancestors.each do |anc|
|
85
|
-
if ans = @heritage.call(anc) #anc.method_annotation[@key]
|
86
|
-
if parent = ans[name]
|
87
|
-
break
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
if parent
|
92
|
-
return __table__[name] = parent.dup #vs. __class__.new?
|
93
|
-
end
|
94
|
-
end
|
95
|
-
return super( name )
|
96
|
-
end
|
72
|
+
def ==(other) @ann == other.to_h end
|
97
73
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
74
|
+
def to_h() @ann end
|
75
|
+
|
76
|
+
def key?(name) @ann.key?(name) end
|
77
|
+
|
78
|
+
def each(&yld)
|
79
|
+
@ann.each(&yld)
|
103
80
|
end
|
104
81
|
|
105
|
-
def
|
106
|
-
@
|
82
|
+
def update( other )
|
83
|
+
@ann.update( other.to_h )
|
84
|
+
self
|
107
85
|
end
|
86
|
+
private :update
|
87
|
+
|
88
|
+
# def inheritance
|
89
|
+
# anns = Annotations.new(@base)
|
90
|
+
# @base.ancestors.each do |anc|
|
91
|
+
# anc.annotations.each { |k,v|
|
92
|
+
# next if anns.key?(k)
|
93
|
+
# anns[k] = v #.dup
|
94
|
+
# }
|
95
|
+
# end
|
96
|
+
# #@ann.each_key do |name|
|
97
|
+
# # anns[name] = self[name].heritage
|
98
|
+
# #end
|
99
|
+
# return anns
|
100
|
+
# end
|
101
|
+
|
102
|
+
def annotated_base() @base end
|
108
103
|
|
109
|
-
def
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
104
|
+
def method_missing( name, *args, &blk )
|
105
|
+
if key?(name)
|
106
|
+
self[name] #.heritage
|
107
|
+
else
|
108
|
+
if @base.ancestors.any?{|anc| anc.annotations.key?(name)}
|
109
|
+
return self[name].heritage
|
110
|
+
#ann[name].heritage
|
111
|
+
end
|
112
|
+
super
|
116
113
|
end
|
117
114
|
end
|
118
115
|
|
119
116
|
end
|
120
117
|
|
121
|
-
#
|
122
|
-
|
118
|
+
#
|
119
|
+
|
120
|
+
class Annotation < OpenObject
|
121
|
+
|
122
|
+
def initialize( base, name, orig=nil )
|
123
|
+
@base = base
|
124
|
+
@name = name
|
125
|
+
@orig = orig || self
|
126
|
+
super()
|
127
|
+
end
|
123
128
|
|
124
|
-
|
125
|
-
|
129
|
+
def original
|
130
|
+
@orig
|
131
|
+
end
|
126
132
|
|
127
|
-
def
|
133
|
+
#def class
|
134
|
+
# self[:class]
|
135
|
+
#end
|
128
136
|
|
129
|
-
def
|
137
|
+
def inspect
|
138
|
+
"#<#{object_class.name}(#{@base}##{@name}) #{super}>"
|
139
|
+
end
|
130
140
|
|
131
|
-
def
|
132
|
-
|
141
|
+
def annotation_name
|
142
|
+
@name
|
143
|
+
end
|
144
|
+
|
145
|
+
def heritage( orig=nil )
|
146
|
+
ah = {}
|
147
|
+
@base.ancestors.reverse_each do |anc|
|
148
|
+
if anc.annotations.key?(@name)
|
149
|
+
anc.annotations[@name].each { |k,v|
|
150
|
+
case v
|
151
|
+
when Module
|
152
|
+
ah[k] = v
|
153
|
+
else
|
154
|
+
ah[k] = v.dup rescue v
|
155
|
+
end
|
156
|
+
}
|
157
|
+
end
|
158
|
+
end
|
159
|
+
a = Annotation.new( @base, @name, orig || @orig )
|
160
|
+
a.send(:replace, ah)
|
161
|
+
a
|
133
162
|
end
|
134
163
|
|
135
164
|
def method_missing( sym, *args, &blk )
|
136
165
|
type = sym.to_s[-1,1]
|
137
|
-
|
166
|
+
key = sym.to_s.gsub(/[=!?]$/, '').to_sym
|
167
|
+
|
168
|
+
case type
|
169
|
+
when '='
|
170
|
+
@orig[key] = args[0] #, *args, &blk )
|
171
|
+
when '!'
|
172
|
+
#r = super( key, *args, &blk )
|
173
|
+
if self.key?(key)
|
174
|
+
self[key]
|
175
|
+
else
|
176
|
+
self[key] = heritage(self)[key]
|
177
|
+
end
|
178
|
+
else
|
179
|
+
heritage[sym]
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
end
|
184
|
+
|
185
|
+
#
|
138
186
|
|
139
|
-
|
187
|
+
class Module
|
140
188
|
|
141
|
-
|
189
|
+
def annotations
|
190
|
+
@annotations ||= Annotations.new(self)
|
191
|
+
end
|
142
192
|
|
143
|
-
|
144
|
-
return
|
193
|
+
def ann( name=nil, *options )
|
194
|
+
return annotations unless name
|
195
|
+
return name.each{|k,v| ann k,*v} if Hash === name
|
196
|
+
return annotations[name] if options.empty?
|
197
|
+
opt = {}
|
198
|
+
opt.update options.pop if Hash === options.last
|
199
|
+
opt[:class] = options.pop if Class === options.last
|
200
|
+
names = [name].concat options
|
201
|
+
names.each do |name|
|
202
|
+
note = annotations[name]
|
203
|
+
#unless options.empty?
|
204
|
+
# (hopt[:tags] ||= []) << options
|
205
|
+
#end
|
206
|
+
note.send(:update,opt)
|
207
|
+
end
|
208
|
+
names
|
145
209
|
end
|
210
|
+
|
146
211
|
end
|
147
212
|
|
213
|
+
|
148
214
|
# Any object can be annotated.
|
149
215
|
|
150
|
-
module
|
216
|
+
module Kernel
|
217
|
+
|
218
|
+
#--
|
151
219
|
# Store and retrieve annotations for an object.
|
152
|
-
def annotation( harg=nil )
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
end
|
220
|
+
#def annotation( harg=nil )
|
221
|
+
# @_annotation ||= Annotation.new
|
222
|
+
# return @_annotation unless harg
|
223
|
+
# @_annotation.send(:update, harg)
|
224
|
+
#end
|
225
|
+
#++
|
157
226
|
|
158
227
|
#--
|
159
228
|
# Not sure about this.
|
160
229
|
#++
|
161
230
|
def ann( *args )
|
162
|
-
#return annotation unless harg
|
163
|
-
#annotation.__update__( harg )
|
164
231
|
#if singleton_class?
|
165
232
|
(class << self; self; end).ann( *args )
|
166
233
|
#else
|
@@ -170,205 +237,199 @@ module ::Kernel
|
|
170
237
|
|
171
238
|
end
|
172
239
|
|
173
|
-
# Modules and Classes have more sifisticated annotation.
|
174
|
-
# They differ from normal object annotation in that
|
175
|
-
# the are inheritables.
|
176
240
|
|
177
|
-
|
241
|
+
# _____ _
|
242
|
+
# |_ _|__ ___| |_
|
243
|
+
# | |/ _ \/ __| __|
|
244
|
+
# | | __/\__ \ |_
|
245
|
+
# |_|\___||___/\__|
|
246
|
+
#
|
178
247
|
|
179
|
-
|
180
|
-
# @_annotation ||= Annotation.new.inherits( self ){ |anc| anc.annotation }
|
181
|
-
#end
|
248
|
+
=begin test
|
182
249
|
|
183
|
-
|
184
|
-
@_annotation ||= Annotation.new.inherits( self ){ |anc| anc.annotation }
|
185
|
-
return @_annotation unless harg
|
186
|
-
@_annotation.__update__( harg ) if harg
|
187
|
-
end
|
250
|
+
require 'test/unit'
|
188
251
|
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
return a
|
195
|
-
elsif ancestors.any? { |anc| anc.method_annotation[key] }
|
196
|
-
@_method_annotation[key] = Annotation.new.inherits( self ){ |anc| anc.method_annotation[key] }
|
197
|
-
else
|
198
|
-
null
|
252
|
+
class TestAnnotation1 < Test::Unit::TestCase
|
253
|
+
class X
|
254
|
+
def x1 ; end
|
255
|
+
ann :x1, :a=>1
|
256
|
+
ann :x1, :b=>2
|
199
257
|
end
|
200
|
-
end
|
201
258
|
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
259
|
+
def test_1_01
|
260
|
+
assert_equal(X.ann.x1.orig.object_id, X.ann.x1.orig.object_id)
|
261
|
+
end
|
262
|
+
def test_1_02
|
263
|
+
X.ann.x1.a = 2
|
264
|
+
assert_equal(2, X.ann.x1.a)
|
265
|
+
end
|
208
266
|
end
|
209
267
|
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
memo | anc.method_annotation.keys
|
216
|
-
}
|
217
|
-
else
|
218
|
-
method_annotation.keys
|
268
|
+
class TestAnnotation2 < Test::Unit::TestCase
|
269
|
+
class X
|
270
|
+
def x1 ; end
|
271
|
+
ann :x1, :a=>1
|
272
|
+
ann :x1, :b=>2
|
219
273
|
end
|
220
|
-
|
274
|
+
class Y < X ; end
|
221
275
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
276
|
+
def test_2_01
|
277
|
+
assert_equal(Y.ann.x1.original.object_id, Y.ann.x1.original.object_id)
|
278
|
+
end
|
279
|
+
def test_2_02
|
280
|
+
assert_equal(1, Y.ann.x1.a)
|
281
|
+
assert_equal(2, Y.ann.x1.b)
|
282
|
+
end
|
283
|
+
def test_2_03
|
284
|
+
Y.ann.x1.a = 2
|
285
|
+
assert_equal(2, Y.ann.x1.a)
|
286
|
+
assert_equal(2, Y.ann.x1.b)
|
287
|
+
end
|
229
288
|
end
|
230
289
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
if harg.empty? and Hash === args[0]
|
240
|
-
args.each{|e| e.each{|k,v| harg[k]=v}}
|
241
|
-
args = []
|
242
|
-
end
|
243
|
-
|
244
|
-
# querying a single annotation
|
245
|
-
if harg.empty? and args.size == 1
|
246
|
-
return annotation if self == args[0] or :self == args[0]
|
247
|
-
#return args[0].annotation unless args[0].is_a?(Symbol) or args[0].is_a?(String)
|
248
|
-
return method_annotation( args[0] ) #.inherit
|
249
|
-
end
|
250
|
-
|
251
|
-
# if last element is a class (and there are more then just the one element)
|
252
|
-
harg[:class] = args.pop if args.last.is_a?(Class) and args.size > 1
|
253
|
-
|
254
|
-
if args.empty? # hash format
|
255
|
-
harg.each do |key,hsh|
|
256
|
-
if key == :self
|
257
|
-
annotation.__update__( hsh )
|
258
|
-
next
|
259
|
-
end
|
260
|
-
note = annotated?( key )
|
261
|
-
if note and null != note
|
262
|
-
note.__update__( hsh )
|
263
|
-
else
|
264
|
-
define_annotation( key, hsh )
|
265
|
-
end
|
266
|
-
end
|
267
|
-
return harg.keys
|
268
|
-
else # name, hash format
|
269
|
-
args.each do |key|
|
270
|
-
if key == :self
|
271
|
-
annotation.__update__( harg )
|
272
|
-
next
|
273
|
-
end
|
274
|
-
note = annotated?( key )
|
275
|
-
if note and null != note
|
276
|
-
note.__update__( harg )
|
277
|
-
else
|
278
|
-
define_annotation( key, harg )
|
279
|
-
end
|
280
|
-
end
|
281
|
-
return args
|
290
|
+
class TestAnnotation3 < Test::Unit::TestCase
|
291
|
+
class X
|
292
|
+
def x1 ; end
|
293
|
+
ann :x1, :a=>1
|
294
|
+
ann :x1, :b=>2
|
295
|
+
end
|
296
|
+
class Y < X
|
297
|
+
ann :x1, :y=>'Y'
|
282
298
|
end
|
283
299
|
|
284
|
-
|
285
|
-
|
286
|
-
end
|
300
|
+
def test_3_01
|
301
|
+
assert_equal(Y.ann.x1.original.object_id, Y.ann.x1.original.object_id)
|
302
|
+
end
|
303
|
+
def test_3_02
|
304
|
+
assert_equal(1, Y.ann.x1.a)
|
305
|
+
end
|
306
|
+
def test_3_03
|
307
|
+
Y.ann.x1.a = 2
|
308
|
+
assert_equal(2, Y.ann.x1.a)
|
309
|
+
end
|
310
|
+
end
|
287
311
|
|
312
|
+
class TestAnnotation4 < Test::Unit::TestCase
|
313
|
+
module M
|
314
|
+
def x1 ; end
|
315
|
+
ann :x1, :a=>1
|
316
|
+
ann :x1, :b=>2
|
317
|
+
end
|
318
|
+
class X
|
319
|
+
include M
|
320
|
+
end
|
288
321
|
|
322
|
+
def test_4_01
|
323
|
+
assert_equal(X.ann.x1.original.object_id, X.ann.x1.original.object_id)
|
324
|
+
end
|
325
|
+
def test_4_02
|
326
|
+
assert_equal(1, X.ann.x1.a)
|
327
|
+
assert_equal(2, X.ann.x1.b)
|
328
|
+
end
|
329
|
+
def test_4_03
|
330
|
+
X.ann.x1.a = 2
|
331
|
+
assert_equal(2, X.ann.x1.a)
|
332
|
+
end
|
333
|
+
end
|
289
334
|
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
335
|
+
class TestAnnotation5 < Test::Unit::TestCase
|
336
|
+
class X
|
337
|
+
ann :foo, :doc => "hello"
|
338
|
+
ann :foo, :bar => []
|
339
|
+
end
|
340
|
+
class Y < X
|
341
|
+
ann :foo, :class => String, :doc => "bye"
|
342
|
+
end
|
296
343
|
|
297
|
-
|
344
|
+
def test_5_01
|
345
|
+
assert_equal( "hello", X.ann(:foo).doc )
|
346
|
+
end
|
347
|
+
def test_5_02
|
348
|
+
assert_equal( X.ann(:foo), X.ann.foo )
|
349
|
+
end
|
350
|
+
def test_5_03
|
351
|
+
X.ann(:foo).bar! << "1"
|
352
|
+
assert_equal( ["1"], X.ann.foo.bar )
|
353
|
+
end
|
354
|
+
def test_5_04
|
355
|
+
assert_equal( "bye", Y.ann(:foo).doc )
|
356
|
+
end
|
357
|
+
def test_5_05
|
358
|
+
#assert_equal( nil, Y.ann(:foo).bar )
|
359
|
+
assert_equal( ["1"], Y.ann(:foo).bar )
|
360
|
+
end
|
361
|
+
def test_5_06
|
362
|
+
Y.ann(:foo).doc = "cap"
|
363
|
+
assert_equal( "cap", Y.ann(:foo).doc )
|
364
|
+
end
|
365
|
+
def test_5_07
|
366
|
+
Y.ann.foo.doc = "cap2"
|
367
|
+
assert_equal( "cap2", Y.ann(:foo).doc )
|
368
|
+
end
|
369
|
+
def test_5_08
|
370
|
+
Y.ann(:foo).bar! << "2"
|
371
|
+
assert_equal( ["1", "2"], Y.ann(:foo).bar )
|
372
|
+
assert_equal( ["1", "2"], Y.ann(:foo).bar! )
|
373
|
+
assert_equal( ["1"], X.ann(:foo).bar )
|
374
|
+
end
|
375
|
+
end
|
298
376
|
|
299
|
-
|
377
|
+
# Test non-existent elements.
|
300
378
|
|
301
|
-
class
|
379
|
+
class TestAnnotation6 < Test::Unit::TestCase
|
302
380
|
class X
|
303
381
|
def x1 ; end
|
304
|
-
ann :x1, :
|
305
|
-
ann :x1, :a=>1
|
382
|
+
ann :x1, :a=>1, :b=>2
|
306
383
|
end
|
307
384
|
|
308
|
-
def
|
385
|
+
def test_6_01
|
309
386
|
assert_equal( 1, X.ann(:x1)[:a] )
|
310
|
-
assert_equal(
|
311
|
-
assert_equal(
|
387
|
+
assert_equal( 2, X.ann(:x1)[:b] )
|
388
|
+
assert_equal( {}, X.ann(:x2) )
|
312
389
|
end
|
313
|
-
def
|
390
|
+
def test_6_02
|
314
391
|
assert_equal( 1, X.ann(:x1)[:a] )
|
315
|
-
assert_equal(
|
392
|
+
assert_equal( 2, X.ann(:x1)[:b] )
|
316
393
|
assert_equal( nil, X.ann(:x1)[:c] )
|
317
394
|
end
|
318
|
-
def
|
395
|
+
def test_6_03
|
319
396
|
assert_equal( 1, X.ann.x1[:a] )
|
320
|
-
assert_equal(
|
397
|
+
assert_equal( 2, X.ann.x1[:b] )
|
321
398
|
end
|
322
|
-
def
|
399
|
+
def test_6_04
|
323
400
|
assert_equal( 1, X.ann.x1.a )
|
324
|
-
assert_equal(
|
401
|
+
assert_equal( 2, X.ann.x1.b )
|
325
402
|
end
|
326
|
-
def
|
327
|
-
assert_equal(
|
328
|
-
assert_equal(
|
329
|
-
end
|
330
|
-
def test_02_007
|
331
|
-
X.ann.x1.a = 2
|
332
|
-
assert_equal(2, X.ann.x1.a)
|
403
|
+
def test_6_05
|
404
|
+
assert_equal( {}, X.ann.x2 )
|
405
|
+
assert_equal( nil, X.ann.x1.r )
|
333
406
|
end
|
334
407
|
end
|
335
408
|
|
336
|
-
class
|
409
|
+
class TestAnnotation7 < Test::Unit::TestCase
|
337
410
|
class X
|
338
411
|
def x ; end
|
339
412
|
ann :x, :z=>1
|
340
413
|
end
|
341
|
-
class Y < X
|
342
|
-
#ann :x, :y=>2
|
343
|
-
end
|
414
|
+
class Y < X ; end
|
344
415
|
|
345
|
-
def
|
346
|
-
assert( Y.annotated?( :x ) )
|
347
|
-
end
|
348
|
-
def test_02_002
|
349
|
-
#assert_equal( [:x1], Y.annotated_methods )
|
350
|
-
end
|
351
|
-
def test_02_003
|
352
|
-
#assert_equal( 1, Y.ann(:x).inheritance )
|
353
|
-
#assert_equal( 1, Y.ann(:x) )
|
354
|
-
end
|
355
|
-
def test_02_004
|
416
|
+
def test_7_04
|
356
417
|
assert_equal(1, X.ann(:x)[:z])
|
357
|
-
assert_equal(
|
358
|
-
end
|
359
|
-
def test_02_005
|
418
|
+
assert_equal(nil, Y.ann(:x)[:z])
|
360
419
|
assert_equal(1, Y.ann(:x).z)
|
361
420
|
end
|
362
|
-
def
|
421
|
+
def test_7_05
|
422
|
+
assert_equal(1, X.ann.x[:z])
|
423
|
+
assert_equal(nil, Y.ann.x[:z])
|
363
424
|
assert_equal(1, Y.ann.x.z)
|
364
425
|
end
|
365
|
-
def
|
426
|
+
def test_7_06
|
366
427
|
Y.ann.x.z = 2
|
367
428
|
assert_equal(2, Y.ann.x.z)
|
368
429
|
end
|
369
430
|
end
|
370
431
|
|
371
|
-
class
|
432
|
+
class TestAnnotation8 < Test::Unit::TestCase
|
372
433
|
class X
|
373
434
|
def n ; end
|
374
435
|
ann :n, :v=>1
|
@@ -378,102 +439,104 @@ end #class ::Module
|
|
378
439
|
ann :n, :b=>2
|
379
440
|
end
|
380
441
|
|
381
|
-
def
|
442
|
+
def test_08_01
|
382
443
|
assert_equal(2, Y.ann(:n)[:b])
|
383
|
-
assert_equal(
|
444
|
+
assert_equal(nil, Y.ann(:n)[:v])
|
445
|
+
assert_equal(1, Y.ann(:n).v)
|
384
446
|
end
|
385
|
-
def
|
447
|
+
def test_08_02
|
386
448
|
assert_equal(2, Y.ann(:n).b)
|
387
449
|
end
|
388
|
-
def
|
450
|
+
def test_08_03
|
389
451
|
assert_equal(2, Y.ann.n.b)
|
390
452
|
end
|
391
|
-
def test_03_004
|
392
|
-
#assert_equal( [:n], Y.annotated_methods )
|
393
|
-
end
|
394
|
-
end
|
395
|
-
|
396
|
-
class TC04 < Test::Unit::TestCase
|
397
|
-
module M
|
398
|
-
ann :m, :c=>3
|
399
|
-
end
|
400
|
-
|
401
|
-
def test_04_001
|
402
|
-
assert_equal(3, M.ann.m.c)
|
403
|
-
end
|
404
453
|
end
|
405
454
|
|
406
|
-
class
|
455
|
+
class TestAnnotation9 < Test::Unit::TestCase
|
407
456
|
module M
|
408
|
-
ann :
|
409
|
-
|
410
|
-
class Y ; end
|
411
|
-
class Z < Y
|
412
|
-
include M
|
457
|
+
ann :a, String
|
458
|
+
ann :b, :foo=>3
|
413
459
|
end
|
414
460
|
|
415
|
-
def
|
416
|
-
assert_equal(
|
461
|
+
def test_09_01
|
462
|
+
assert_equal( String, M.ann.a[:class] )
|
417
463
|
end
|
418
|
-
|
419
|
-
|
420
|
-
class TC06 < Test::Unit::TestCase
|
421
|
-
module M
|
422
|
-
ann :m, String
|
464
|
+
def test_09_02
|
465
|
+
assert_equal( String, M.ann.a.class )
|
423
466
|
end
|
424
|
-
|
425
|
-
|
426
|
-
assert_equal( String, M.ann.m.class )
|
467
|
+
def test_09_03
|
468
|
+
assert_equal(3, M.ann.b.foo)
|
427
469
|
end
|
428
470
|
end
|
429
471
|
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
472
|
+
# class TestAnnotation10 < Test::Unit::TestCase
|
473
|
+
# module M
|
474
|
+
# ann :this, :koko => []
|
475
|
+
# ann.this.koko! << 1
|
476
|
+
# end
|
477
|
+
# class C1
|
478
|
+
# #ann :this, :koko => []
|
479
|
+
# include M
|
480
|
+
# ann.this.koko! << 2
|
481
|
+
# ann.this.koko! << 3
|
482
|
+
# end
|
483
|
+
# class C2
|
484
|
+
# include M
|
485
|
+
# ann.this.koko! << 4
|
486
|
+
# end
|
487
|
+
#
|
488
|
+
# def test_10_01
|
489
|
+
# assert_equal( [1], M.ann.this.koko )
|
490
|
+
# end
|
491
|
+
# def test_10_02
|
492
|
+
# assert_equal( [1,2,3], C1.ann.this.koko )
|
493
|
+
# end
|
494
|
+
# def test_10_03
|
495
|
+
# assert_equal( [1,4], C2.ann.this.koko )
|
496
|
+
# end
|
497
|
+
# end
|
443
498
|
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
499
|
+
# class TC07 < Test::Unit::TestCase
|
500
|
+
# class K
|
501
|
+
# ann self, :oid => 'key'
|
502
|
+
# ann :w, String
|
503
|
+
# end
|
504
|
+
#
|
505
|
+
# def test_07_001
|
506
|
+
# assert_equal( String, K.ann.w.class )
|
507
|
+
# end
|
508
|
+
#
|
509
|
+
# def test_07_002
|
510
|
+
# assert_equal( 'key', K.ann.self.oid )
|
511
|
+
# end
|
512
|
+
#
|
513
|
+
# def test_07_003
|
514
|
+
# #assert_equal( K.ann.self, K.ann(:self) )
|
515
|
+
# #assert_equal( K.ann(K), K.annotation )
|
516
|
+
# #assert_equal( K.ann.self.to_h, K.ann(K).to_h )
|
517
|
+
# #assert_equal( K.ann.self, K.ann(K) )
|
518
|
+
# end
|
519
|
+
# end
|
520
|
+
#
|
451
521
|
|
452
|
-
class
|
453
|
-
module M
|
454
|
-
ann :this, :koko => []
|
455
|
-
ann.this.koko! << 1
|
456
|
-
end
|
457
|
-
class C1
|
458
|
-
#ann :this, :koko => []
|
459
|
-
include M
|
460
|
-
ann.this.koko! << 2
|
461
|
-
ann.this.koko! << 3
|
462
|
-
end
|
463
|
-
class C2
|
464
|
-
include M
|
465
|
-
ann.this.koko! << 4
|
466
|
-
end
|
522
|
+
# class TestAnnotation7 < Test::Unit::TestCase
|
467
523
|
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
524
|
+
# class X
|
525
|
+
# def x ; end
|
526
|
+
# ann :x, :z=>1
|
527
|
+
# end
|
528
|
+
# class Y < X ; end
|
529
|
+
#
|
530
|
+
# def test_7_01
|
531
|
+
# assert( Y.annotated?(:x) )
|
532
|
+
# end
|
533
|
+
# def test_7_02
|
534
|
+
# assert_equal( [:x1], Y.annotated_methods )
|
535
|
+
# end
|
536
|
+
# def test_7_03
|
537
|
+
# assert_equal( 1, Y.ann(:x).inheritance )
|
538
|
+
# assert_equal( 1, Y.ann(:x) )
|
539
|
+
# end
|
540
|
+
# end
|
478
541
|
|
479
542
|
=end
|