facets 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/{test/FIXTURE → FIXTURE}/filelist/testfile.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/filelist/testfile2.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/ls_r/A.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/ls_r/A/B.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/ls_r/A/B/C.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/test_file.txt +0 -0
- data/{test/FIXTURE → FIXTURE}/test_file2.txt +0 -0
- data/ProjectInfo +15 -2
- data/Reapfile +1 -1
- data/data/roll/facets/Libspec +17 -0
- data/forge/core/class/to_module.rb +3 -0
- data/forge/core/module/inherit.rb +79 -39
- data/forge/core/module/inherit0.rb +59 -0
- data/forge/core/module/to_module.rb +37 -0
- data/{lib/facets → forge}/core/string/frequency.rb +1 -0
- data/{lib/facets → forge}/core/string/probability.rb +1 -0
- data/forge/core/string/to_arr.rb +57 -0
- data/forge/more/capsule2.rb +152 -0
- data/{lib/facets → forge}/more/classinherit.rb +0 -2
- data/forge/more/clean.rb +35 -0
- data/forge/more/codepack.rb +16 -10
- data/lib/facet/command.rb +1 -0
- data/lib/facet/config/datadir.rb +1 -0
- data/lib/facet/file/self/rootname.rb +1 -0
- data/lib/facet/kernel/__callee__.rb +1 -0
- data/lib/facet/kernel/__method__.rb +1 -0
- data/lib/facet/kernel/quaclass.rb +1 -0
- data/lib/facet/kernel/singleton_class.rb +1 -0
- data/lib/facet/module/class_extension.rb +1 -0
- data/lib/facets/core/config/datadir.rb +20 -0
- data/lib/facets/core/file/self/rootname.rb +22 -0
- data/lib/facets/core/hash/to_ostruct_recurse.rb +4 -0
- data/lib/facets/core/kernel/__callee__.rb +2 -0
- data/lib/facets/core/kernel/__method__.rb +45 -0
- data/lib/facets/core/kernel/quaclass.rb +36 -0
- data/lib/facets/core/kernel/singleton_class.rb +36 -0
- data/lib/facets/core/module/class_extension.rb +153 -0
- data/lib/facets/core/symbol/to_proc.rb +12 -3
- data/lib/facets/more/annattr.rb +1 -0
- data/lib/facets/more/annotation.rb +12 -9
- data/lib/facets/more/basicobject.rb +8 -0
- data/lib/facets/more/classmethods.rb +17 -20
- data/lib/facets/more/command.rb +307 -0
- data/lib/facets/more/inheritor.rb +7 -3
- data/lib/facets/more/tuple.rb +61 -13
- data/lib/facets/more/typecast.rb +59 -58
- data/note/CHANGELOG +13 -0
- data/test/lib/facets/core/array/test_at_rand.rb +1 -1
- data/test/lib/facets/core/array/test_delete_unless.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values.rb +1 -1
- data/test/lib/facets/core/array/test_delete_values_at.rb +1 -1
- data/test/lib/facets/core/array/test_first.rb +1 -1
- data/test/lib/facets/core/array/test_head.rb +1 -1
- data/test/lib/facets/core/array/test_last_index.rb +1 -1
- data/test/lib/facets/core/array/test_merge.rb +1 -1
- data/test/lib/facets/core/array/test_mid.rb +1 -1
- data/test/lib/facets/core/array/test_middle.rb +1 -1
- data/test/lib/facets/core/array/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/array/test_op_store.rb +1 -1
- data/test/lib/facets/core/array/test_pick.rb +1 -1
- data/test/lib/facets/core/array/test_pos.rb +1 -1
- data/test/lib/facets/core/array/test_pot.rb +1 -1
- data/test/lib/facets/core/array/test_pull.rb +1 -1
- data/test/lib/facets/core/array/test_rand_index.rb +1 -1
- data/test/lib/facets/core/array/test_rand_subset.rb +1 -1
- data/test/lib/facets/core/array/test_range.rb +1 -1
- data/test/lib/facets/core/array/test_rotate.rb +1 -1
- data/test/lib/facets/core/array/test_select.rb +1 -1
- data/test/lib/facets/core/array/test_shuffle.rb +1 -1
- data/test/lib/facets/core/array/test_thru.rb +1 -1
- data/test/lib/facets/core/array/test_to_b.rb +1 -1
- data/test/lib/facets/core/array/test_to_h.rb +1 -1
- data/test/lib/facets/core/array/test_to_hash.rb +1 -1
- data/test/lib/facets/core/binding/self/test_of_caller.rb +1 -1
- data/test/lib/facets/core/binding/test___LINE__.rb +1 -1
- data/test/lib/facets/core/binding/test_call_stack.rb +1 -1
- data/test/lib/facets/core/binding/test_called.rb +1 -1
- data/test/lib/facets/core/binding/test_caller.rb +1 -1
- data/test/lib/facets/core/binding/test_defined.rb +1 -1
- data/test/lib/facets/core/binding/test_eval.rb +1 -1
- data/test/lib/facets/core/binding/test_local_variables.rb +1 -1
- data/test/lib/facets/core/binding/test_method_name.rb +1 -1
- data/test/lib/facets/core/binding/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/binding/test_op_store.rb +1 -1
- data/test/lib/facets/core/binding/test_self.rb +1 -1
- data/test/lib/facets/core/class/test_cattr.rb +1 -1
- data/test/lib/facets/core/class/test_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_method_name.rb +1 -1
- data/test/lib/facets/core/class/test_remove_descendents.rb +1 -1
- data/test/lib/facets/core/class/test_unix_path.rb +1 -1
- data/test/lib/facets/core/comparable/test_at_least.rb +1 -1
- data/test/lib/facets/core/comparable/test_clip.rb +1 -1
- data/test/lib/facets/core/comparable/test_cmp.rb +1 -1
- data/test/lib/facets/core/continuation/self/test_create.rb +1 -1
- data/test/lib/facets/core/date/test_days_in_month.rb +1 -1
- data/test/lib/facets/core/date/test_days_of_month.rb +1 -1
- data/test/lib/facets/core/date/test_stamp.rb +1 -1
- data/test/lib/facets/core/date/test_to_date.rb +1 -1
- data/test/lib/facets/core/date/test_to_s.rb +1 -1
- data/test/lib/facets/core/date/test_to_time.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ancestor.rb +1 -1
- data/test/lib/facets/core/dir/self/test_ascend.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_combinations.rb +1 -1
- data/test/lib/facets/core/enumerable/self/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_collect_with_index.rb +1 -1
- data/test/lib/facets/core/enumerable/test_commonality.rb +1 -1
- data/test/lib/facets/core/enumerable/test_compact_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_count.rb +1 -1
- data/test/lib/facets/core/enumerable/test_cross.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_combination.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_slice.rb +1 -1
- data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +1 -1
- data/test/lib/facets/core/enumerable/test_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_every.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ew.rb +1 -1
- data/test/lib/facets/core/enumerable/test_filter_collect.rb +1 -1
- data/test/lib/facets/core/enumerable/test_find_collisions.rb +1 -1
- data/test/lib/facets/core/enumerable/test_frequency.rb +1 -1
- data/test/lib/facets/core/enumerable/test_graph.rb +1 -1
- data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +1 -1
- data/test/lib/facets/core/enumerable/test_none.rb +1 -1
- data/test/lib/facets/core/enumerable/test_occur.rb +1 -1
- data/test/lib/facets/core/enumerable/test_one.rb +1 -1
- data/test/lib/facets/core/enumerable/test_op_pow.rb +1 -1
- data/test/lib/facets/core/enumerable/test_partition_by.rb +1 -1
- data/test/lib/facets/core/enumerable/test_permute.rb +1 -1
- data/test/lib/facets/core/enumerable/test_probability.rb +1 -1
- data/test/lib/facets/core/enumerable/test_to_h.rb +1 -1
- data/test/lib/facets/core/enumerable/test_uniq_by.rb +1 -1
- data/test/lib/facets/core/file/self/test_create.rb +1 -1
- data/test/lib/facets/core/file/self/test_open_as_string.rb +1 -1
- data/test/lib/facets/core/file/self/test_read_list.rb +1 -1
- data/test/lib/facets/core/file/self/test_sanitize.rb +1 -1
- data/test/lib/facets/core/file/self/test_split_all.rb +1 -1
- data/test/lib/facets/core/float/test_round_at.rb +1 -1
- data/test/lib/facets/core/float/test_round_to.rb +1 -1
- data/test/lib/facets/core/hash/self/test_zipnew.rb +1 -1
- data/test/lib/facets/core/hash/test_alias.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_at.rb +1 -1
- data/test/lib/facets/core/hash/test_collate.rb +1 -1
- data/test/lib/facets/core/hash/test_each.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_index.rb +1 -1
- data/test/lib/facets/core/hash/test_each_with_key.rb +1 -1
- data/test/lib/facets/core/hash/test_graph.rb +1 -1
- data/test/lib/facets/core/hash/test_has_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_has_only_keys.rb +1 -1
- data/test/lib/facets/core/hash/test_inverse.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_s.rb +1 -1
- data/test/lib/facets/core/hash/test_keys_to_sym.rb +1 -1
- data/test/lib/facets/core/hash/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/hash/test_op_lshift.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_key.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_pair.rb +1 -1
- data/test/lib/facets/core/hash/test_rand_value.rb +1 -1
- data/test/lib/facets/core/hash/test_replace_each.rb +1 -1
- data/test/lib/facets/core/hash/test_shuffle.rb +1 -1
- data/test/lib/facets/core/hash/test_slice.rb +1 -1
- data/test/lib/facets/core/hash/test_swap.rb +1 -1
- data/test/lib/facets/core/hash/test_swapkey.rb +1 -1
- data/test/lib/facets/core/hash/test_to_h.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct.rb +1 -1
- data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +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_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 +26 -0
- data/test/lib/facets/core/kernel/test_as.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_from.rb +1 -1
- data/test/lib/facets/core/kernel/test_assign_with.rb +1 -1
- data/test/lib/facets/core/kernel/test_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_bug.rb +1 -1
- data/test/lib/facets/core/kernel/test_call_stack.rb +1 -1
- data/test/lib/facets/core/kernel/test_called.rb +1 -1
- data/test/lib/facets/core/kernel/test_constant.rb +1 -1
- data/test/lib/facets/core/kernel/test_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_deep_copy.rb +1 -1
- data/test/lib/facets/core/kernel/test_demo.rb +1 -1
- data/test/lib/facets/core/kernel/test_fn.rb +1 -1
- data/test/lib/facets/core/kernel/test_generate_method_name.rb +1 -1
- data/test/lib/facets/core/kernel/test_get_by_id.rb +1 -1
- data/test/lib/facets/core/kernel/test_here.rb +1 -1
- data/test/lib/facets/core/kernel/test_in.rb +1 -1
- data/test/lib/facets/core/kernel/test_maybe.rb +1 -1
- data/test/lib/facets/core/kernel/test_metaclass.rb +1 -1
- data/test/lib/facets/core/kernel/test_method.rb +1 -1
- data/test/lib/facets/core/kernel/test_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 +27 -0
- 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 +27 -0
- data/test/lib/facets/core/kernel/test_superior.rb +1 -1
- data/test/lib/facets/core/kernel/test_supermethod.rb +1 -1
- data/test/lib/facets/core/kernel/test_this.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_b.rb +1 -1
- data/test/lib/facets/core/kernel/test_to_bool.rb +1 -1
- data/test/lib/facets/core/kernel/test_uri.rb +1 -1
- data/test/lib/facets/core/kernel/test_val.rb +1 -1
- data/test/lib/facets/core/kernel/test_with_accessor.rb +1 -1
- data/test/lib/facets/core/matchdata/test_match.rb +1 -1
- data/test/lib/facets/core/matchdata/test_matchtree.rb +1 -1
- data/test/lib/facets/core/module/test_abstract.rb +1 -1
- data/test/lib/facets/core/module/test_alias_module_function.rb +1 -1
- data/test/lib/facets/core/module/test_ancestor.rb +1 -1
- data/test/lib/facets/core/module/test_basename.rb +1 -1
- data/test/lib/facets/core/module/test_by_name.rb +1 -1
- data/test/lib/facets/{more/test_classinherit.rb → core/module/test_class_extension.rb} +13 -8
- data/test/lib/facets/core/module/test_clone_using.rb +1 -1
- data/test/lib/facets/core/module/test_dirname.rb +1 -1
- data/test/lib/facets/core/module/test_equate_on.rb +1 -1
- data/test/lib/facets/core/module/test_generate_instance_method_name.rb +1 -1
- data/test/lib/facets/core/module/test_include_as.rb +1 -1
- data/test/lib/facets/core/module/test_initializer.rb +1 -1
- data/test/lib/facets/core/module/test_instance_methods.rb +1 -1
- data/test/lib/facets/core/module/test_integrate.rb +1 -1
- data/test/lib/facets/core/module/test_memoize.rb +1 -1
- data/test/lib/facets/core/module/test_modspace.rb +1 -1
- data/test/lib/facets/core/module/test_namespace.rb +1 -1
- data/test/lib/facets/core/module/test_nesting.rb +1 -1
- data/test/lib/facets/core/module/test_nodef.rb +1 -1
- data/test/lib/facets/core/module/test_on_included.rb +1 -1
- data/test/lib/facets/core/module/test_redef.rb +1 -1
- data/test/lib/facets/core/module/test_redefine_method.rb +1 -1
- data/test/lib/facets/core/module/test_redirect.rb +1 -1
- data/test/lib/facets/core/module/test_redirect_method.rb +1 -1
- data/test/lib/facets/core/module/test_remove.rb +1 -1
- data/test/lib/facets/core/module/test_rename.rb +1 -1
- data/test/lib/facets/core/module/test_rename_method.rb +1 -1
- data/test/lib/facets/core/module/test_revisal.rb +1 -1
- data/test/lib/facets/core/module/test_shadow_method.rb +1 -1
- data/test/lib/facets/core/module/test_sort_on.rb +1 -1
- data/test/lib/facets/core/module/test_this.rb +1 -1
- data/test/lib/facets/core/module/test_wrap.rb +1 -1
- data/test/lib/facets/core/module/test_wrap_method.rb +1 -1
- data/test/lib/facets/core/nilclass/test_blank.rb +1 -1
- data/test/lib/facets/core/nilclass/test_empty.rb +1 -1
- data/test/lib/facets/core/nilclass/test_include.rb +1 -1
- data/test/lib/facets/core/nilclass/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/nilclass/test_size.rb +1 -1
- data/test/lib/facets/core/nilclass/test_to_h.rb +1 -1
- data/test/lib/facets/core/numeric/test_approx.rb +1 -1
- data/test/lib/facets/core/numeric/test_ceil_multiple.rb +1 -1
- data/test/lib/facets/core/numeric/test_succ.rb +1 -1
- data/test/lib/facets/core/numeric/test_to_b.rb +1 -1
- data/test/lib/facets/core/ostruct/test___merge__.rb +1 -1
- data/test/lib/facets/core/ostruct/test___update__.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_fetch.rb +1 -1
- data/test/lib/facets/core/ostruct/test_op_store.rb +1 -1
- data/test/lib/facets/core/proc/test_compose.rb +1 -1
- data/test/lib/facets/core/proc/test_to_method.rb +1 -1
- data/test/lib/facets/core/range/test_to_r.rb +1 -1
- data/test/lib/facets/core/range/test_to_range.rb +1 -1
- data/test/lib/facets/core/range/test_umbrella.rb +1 -1
- data/test/lib/facets/core/range/test_within.rb +1 -1
- data/test/lib/facets/core/regexp/test_arity.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_re.rb +1 -1
- data/test/lib/facets/core/regexp/test_to_regexp.rb +1 -1
- data/test/lib/facets/core/string/self/test_interpolate.rb +1 -1
- data/test/lib/facets/core/string/self/test_patterns.rb +1 -1
- data/test/lib/facets/core/string/self/test_rand_letter.rb +1 -1
- data/test/lib/facets/core/string/test_align_center.rb +1 -1
- data/test/lib/facets/core/string/test_at_rand.rb +1 -1
- data/test/lib/facets/core/string/test_basename.rb +1 -1
- data/test/lib/facets/core/string/test_blank.rb +1 -1
- data/test/lib/facets/core/string/test_bracket.rb +1 -1
- data/test/lib/facets/core/string/test_camelcase.rb +1 -1
- data/test/lib/facets/core/string/test_camelize.rb +1 -1
- data/test/lib/facets/core/string/test_capitalized.rb +1 -1
- data/test/lib/facets/core/string/test_chars.rb +1 -1
- data/test/lib/facets/core/string/test_cmp.rb +1 -1
- data/test/lib/facets/core/string/test_demodulize.rb +1 -1
- data/test/lib/facets/core/string/test_downcase.rb +1 -1
- data/test/lib/facets/core/string/test_dresner.rb +1 -1
- data/test/lib/facets/core/string/test_each_char.rb +1 -1
- data/test/lib/facets/core/string/test_each_word.rb +1 -1
- data/test/lib/facets/core/string/test_first.rb +1 -1
- data/test/lib/facets/core/string/test_fold.rb +1 -1
- data/test/lib/facets/core/string/test_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 +1 -1
- data/test/lib/facets/core/string/test_soundex.rb +1 -1
- data/test/lib/facets/core/string/test_succ.rb +1 -1
- data/test/lib/facets/core/string/test_to_a.rb +1 -1
- data/test/lib/facets/core/string/test_to_b.rb +1 -1
- data/test/lib/facets/core/string/test_to_const.rb +1 -1
- data/test/lib/facets/core/string/test_to_date.rb +1 -1
- data/test/lib/facets/core/string/test_to_proc.rb +1 -1
- data/test/lib/facets/core/string/test_to_re.rb +1 -1
- data/test/lib/facets/core/string/test_to_time.rb +1 -1
- data/test/lib/facets/core/string/test_unix_crypt.rb +1 -1
- data/test/lib/facets/core/string/test_unpack.rb +1 -1
- data/test/lib/facets/core/string/test_unshift.rb +1 -1
- data/test/lib/facets/core/string/test_upcase.rb +1 -1
- data/test/lib/facets/core/string/test_whitespace.rb +1 -1
- data/test/lib/facets/core/string/test_word_filter.rb +1 -1
- data/test/lib/facets/core/string/test_word_wrap.rb +1 -1
- data/test/lib/facets/core/string/test_words.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_camelize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalize.rb +1 -1
- data/test/lib/facets/core/symbol/test_capitalized.rb +1 -1
- data/test/lib/facets/core/symbol/test_downcase.rb +1 -1
- data/test/lib/facets/core/symbol/test_not.rb +1 -1
- data/test/lib/facets/core/symbol/test_pad.rb +1 -1
- data/test/lib/facets/core/symbol/test_succ.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_const.rb +1 -1
- data/test/lib/facets/core/symbol/test_to_proc.rb +8 -2
- data/test/lib/facets/core/symbol/test_to_str.rb +1 -1
- data/test/lib/facets/core/symbol/test_underscore.rb +1 -1
- data/test/lib/facets/core/symbol/test_upcase.rb +1 -1
- data/test/lib/facets/core/time/test_change.rb +1 -1
- data/test/lib/facets/core/time/test_elapse.rb +1 -1
- data/test/lib/facets/core/time/test_stamp.rb +1 -1
- data/test/lib/facets/core/time/test_to_date.rb +1 -1
- data/test/lib/facets/core/time/test_to_s.rb +1 -1
- data/test/lib/facets/core/time/test_to_time.rb +1 -1
- data/test/lib/facets/more/test_annattr.rb +1 -1
- data/test/lib/facets/more/test_annotation.rb +1 -1
- data/test/lib/facets/more/test_ansicode.rb +1 -1
- data/test/lib/facets/more/test_association.rb +1 -1
- data/test/lib/facets/more/test_basicobject.rb +1 -1
- data/test/lib/facets/more/test_bbcode.rb +1 -1
- data/test/lib/facets/more/test_binaryreader.rb +1 -1
- data/test/lib/facets/more/test_bitmask.rb +1 -1
- data/test/lib/facets/more/test_bytes.rb +1 -1
- data/test/lib/facets/more/test_classmethods.rb +8 -4
- data/test/lib/facets/more/test_command.rb +38 -0
- data/test/lib/facets/more/test_coroutine.rb +1 -1
- data/test/lib/facets/more/test_crypt.rb +1 -1
- data/test/lib/facets/more/test_dictionary.rb +1 -1
- data/test/lib/facets/more/test_elementor.rb +1 -1
- data/test/lib/facets/more/test_enumerablepass.rb +1 -1
- data/test/lib/facets/more/test_floatstring.rb +1 -1
- data/test/lib/facets/more/test_functor.rb +1 -1
- data/test/lib/facets/more/test_htmlbuilder.rb +1 -1
- data/test/lib/facets/more/test_inheritor.rb +1 -1
- data/test/lib/facets/more/test_interval.rb +1 -1
- data/test/lib/facets/more/test_json.rb +1 -1
- data/test/lib/facets/more/test_lisp.rb +1 -1
- data/test/lib/facets/more/test_lisp_format.rb +1 -1
- data/test/lib/facets/more/test_lrucache.rb +1 -1
- data/test/lib/facets/more/test_mathconstants.rb +1 -1
- data/test/lib/facets/more/test_methodprobe.rb +1 -1
- data/test/lib/facets/more/test_multipliers.rb +1 -1
- data/test/lib/facets/more/test_multiton.rb +1 -1
- data/test/lib/facets/more/test_nackclass.rb +1 -1
- data/test/lib/facets/more/test_nilcomparable.rb +1 -1
- data/test/lib/facets/more/test_opencascade.rb +1 -1
- data/test/lib/facets/more/test_openobject.rb +1 -1
- data/test/lib/facets/more/test_overload.rb +1 -1
- data/test/lib/facets/more/test_paramix.rb +1 -1
- data/test/lib/facets/more/test_pqueue.rb +1 -1
- data/test/lib/facets/more/test_preinitialize.rb +1 -1
- data/test/lib/facets/more/test_promoteself.rb +1 -1
- data/test/lib/facets/more/test_recorder.rb +1 -1
- data/test/lib/facets/more/test_snapshot.rb +1 -1
- data/test/lib/facets/more/test_statichash.rb +1 -1
- data/test/lib/facets/more/test_syncarray.rb +1 -1
- data/test/lib/facets/more/test_synchash.rb +1 -1
- data/test/lib/facets/more/test_tagiterator.rb +1 -1
- data/test/lib/facets/more/test_taskable.rb +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 +10 -2
- data/test/lib/facets/more/test_typecast.rb +7 -4
- 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 +1660 -2489
- data/lib/facet/classinherit.rb +0 -1
- data/lib/facet/consoleapp.rb +0 -1
- data/lib/facet/gem/self/gemdir.rb +0 -1
- data/lib/facet/kernel/me.rb +0 -1
- data/lib/facet/kernel/method_name.rb +0 -1
- data/lib/facet/kernel/methodname.rb +0 -1
- data/lib/facet/module/inherit.rb +0 -1
- data/lib/facet/module/singleton_to_module.rb +0 -1
- data/lib/facet/string/frequency.rb +0 -1
- data/lib/facet/string/probability.rb +0 -1
- data/lib/facets/core/gem/self/gemdir.rb +0 -12
- data/lib/facets/core/kernel/me.rb +0 -18
- data/lib/facets/core/kernel/method_name.rb +0 -2
- data/lib/facets/core/kernel/methodname.rb +0 -49
- data/lib/facets/core/module/inherit.rb +0 -70
- data/lib/facets/core/module/singleton_to_module.rb +0 -23
- data/lib/facets/more/consoleapp.rb +0 -167
- data/test/lib/facets/core/kernel/test_methodname.rb +0 -31
- data/test/lib/facets/core/module/test_inherit.rb +0 -58
- data/test/lib/facets/core/string/test_frequency.rb +0 -28
- data/test/lib/facets/core/string/test_probability.rb +0 -28
- data/test/lib/facets/more/test_annotatedattr.rb +0 -39
- data/web/doc/api/core/classes/Array.html +0 -1356
- data/web/doc/api/core/classes/Binding.html +0 -538
- data/web/doc/api/core/classes/Class.html +0 -475
- data/web/doc/api/core/classes/Comparable.html +0 -231
- data/web/doc/api/core/classes/Continuation.html +0 -168
- data/web/doc/api/core/classes/Date.html +0 -219
- data/web/doc/api/core/classes/Dir.html +0 -208
- data/web/doc/api/core/classes/Enumerable.html +0 -1435
- data/web/doc/api/core/classes/FalseClass.html +0 -115
- data/web/doc/api/core/classes/File.html +0 -349
- data/web/doc/api/core/classes/FileUtils.html +0 -468
- data/web/doc/api/core/classes/Float.html +0 -157
- data/web/doc/api/core/classes/Gem.html +0 -171
- data/web/doc/api/core/classes/Hash.html +0 -1657
- data/web/doc/api/core/classes/Integer.html +0 -353
- data/web/doc/api/core/classes/Kernal.html +0 -86
- data/web/doc/api/core/classes/Kernel.html +0 -1972
- data/web/doc/api/core/classes/Logger.html +0 -157
- data/web/doc/api/core/classes/MatchData.html +0 -195
- data/web/doc/api/core/classes/Module.html +0 -1712
- data/web/doc/api/core/classes/NackClass.html +0 -92
- data/web/doc/api/core/classes/NilClass.html +0 -332
- data/web/doc/api/core/classes/Numeric.html +0 -306
- data/web/doc/api/core/classes/Object.html +0 -332
- data/web/doc/api/core/classes/OpenStruct.html +0 -315
- data/web/doc/api/core/classes/Pathname.html +0 -154
- data/web/doc/api/core/classes/Proc.html +0 -154
- data/web/doc/api/core/classes/Range.html +0 -235
- data/web/doc/api/core/classes/Regexp.html +0 -185
- data/web/doc/api/core/classes/ScriptBug.html +0 -92
- data/web/doc/api/core/classes/String.html +0 -3286
- data/web/doc/api/core/classes/Symbol.html +0 -463
- data/web/doc/api/core/classes/Time.html +0 -307
- data/web/doc/api/core/classes/TrueClass.html +0 -115
- data/web/doc/api/core/classes/UnboundMethod.html +0 -121
- data/web/doc/api/core/created.rid +0 -1
- data/web/doc/api/core/files/AUTHORS.html +0 -206
- data/web/doc/api/core/files/COPYING.html +0 -517
- data/web/doc/api/core/files/README.html +0 -386
- data/web/doc/api/core/files/WARNING.html +0 -151
- data/web/doc/api/core/files/lib/facets/core/all_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/array/at_rand_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/body_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/array/delete_unless_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_at_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/delete_values_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/each_with_key_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/first_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/array/foot_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/array/head_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/join_sentence_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/last_index_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/last_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/array/merge_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/mid_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/middle_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/op_fetch_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/op_mod_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/op_store_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/array/pick_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/pos_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/pot_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/pull_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/rand_index_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/rand_subset_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/range_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/rotate_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/select_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/shuffle_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/store_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/tail_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/array/thru_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/to_b_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/to_h_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/to_hash_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/array/unzip_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/binding/__DIR___rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/binding/__FILE___rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/binding/__LINE___rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/call_stack_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/binding/called_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/caller_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/defined_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/eval_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/binding/local_variables_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/method_name_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/op_fetch_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/binding/op_store_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/binding/self/of_caller_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding/self_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/binding_rb.html +0 -109
- data/web/doc/api/core/files/lib/facets/core/class/by_name_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/class/cattr_accessor_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/class/cattr_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/class/cattr_reader_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/class/cattr_writer_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/class/descendents_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/class/method_name_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/class/remove_descendents_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/class/remove_subclasses_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/class/subclasses_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/class/to_proc_rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/class/unix_path_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/comparable/at_least_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/comparable/at_most_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/comparable/cap_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/comparable/clip_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/comparable/cmp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/continuation/self/create_rb.html +0 -148
- data/web/doc/api/core/files/lib/facets/core/date/days_in_month_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/date/days_of_month_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/date/stamp_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/date/to_date_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/date/to_s_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/date/to_time_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/dir/self/ancestor_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/dir/self/ascend_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/dir/self/descend_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/dir/self/ls_r_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/dir/self/recurse_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/accumulate_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_if_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_counter_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/collect_with_index_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/commonality_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_collect_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/compact_map_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/count_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/cross_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_by_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_combination_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_pair_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_permutation_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_slice_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_unique_pair_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/each_with_counter_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/elementwise_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/entropy_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/enumerable/every_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/ew_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_collect_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/filter_map_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/find_collisions_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/frequency_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/graph_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/ideal_entropy_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_if_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_counter_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/map_with_index_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/enumerable/mode_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/none_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/nonuniq_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/occur_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/one_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/op_pow_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/partition_by_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/permute_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/probability_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/project_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/combinations_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/self/cross_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/enumerable/to_h_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/uniq_by_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/enumerable/where_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/file/self/append_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/file/self/create_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/file/self/open_as_string_rb.html +0 -118
- data/web/doc/api/core/files/lib/facets/core/file/self/read_binary_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/file/self/read_list_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/file/self/sanitize_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/file/self/split_all_rb.html +0 -101
- data/web/doc/api/core/files/lib/facets/core/file/self/write_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/fileutils/head_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/fileutils/safe_ln_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/fileutils/slice_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/fileutils/split_all_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/fileutils/tail_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/fileutils/wc_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/fileutils/whereis_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/fileutils/which_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/float/approx_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/float/round_at_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/float/round_off_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/float/round_to_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/gem/self/active_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemdir_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/gem/self/gempath_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/gem/self/gemspec_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/alias_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_keys_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/assert_has_only_keys_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/at_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/collate_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/delete_unless_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/each_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_index_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/hash/each_with_key_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/graph_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/has_keys_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/has_only_keys_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/inverse_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/join_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_iv_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_s_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/keys_to_sym_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/op_fetch_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/op_lshift_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/op_store_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/hash/rand_key_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/rand_pair_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/rand_value_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/replace_each_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/self/zipnew_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/shuffle_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/slice_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/stringify_keys_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/hash/swap_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/swapkey_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/symoblize_keys_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/hash/to_h_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/hash/to_ostruct_recurse_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/hash/to_proc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/traverse_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/update_each_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/update_keys_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/update_values_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/hash/variablize_keys_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/hash/weave_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/inflect_rb.html +0 -117
- data/web/doc/api/core/files/lib/facets/core/integer/even_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/integer/fac_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/integer/fact_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/integer/factorial_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/integer/multiple_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/integer/odd_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/integer/ordinal_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/integer/times_collect_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/integer/times_map_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/__DIR___rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/__class___rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/__get___rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/__self___rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/__set___rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/adhoc_rb.html +0 -99
- data/web/doc/api/core/files/lib/facets/core/kernel/as_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_from_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/assign_with_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_files_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_glob_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/autoreload_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/bool_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/bug_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/cache_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/call_stack_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/called_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/complete_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/constant_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/copy_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/deep_copy_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/demo_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/eigenclass_rb.html +0 -103
- data/web/doc/api/core/files/lib/facets/core/kernel/false_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/fn_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/generate_method_name_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/get_by_id_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/here_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/in_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/instance_assign_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/instvar_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/is_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/maybe_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/me_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/metaclass_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/method_name_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/methodname_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/methods_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/nack_rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/kernel/new_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/object_class_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/object_hexid_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/op_esc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/own_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/p_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/pp_exception_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/require_all_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/require_esc_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/require_facet_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/require_local_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/resc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/respond_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/returning_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/send_as_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/set_from_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/set_with_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/silence_warnings_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/silently_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/singleton_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/superior_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/supermethod_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/this_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/to_b_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/to_bool_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/true_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/unuri_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/uri_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/kernel/val_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/warn_with_line_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/with_accessor_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/kernel/with_reader_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/kernel/with_writer_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/logger/format_message_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/logger/format_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/matchdata/match_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchset_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/matchdata/matchtree_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/abstract_rb.html +0 -105
- data/web/doc/api/core/files/lib/facets/core/module/alias_module_function_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/ancestor_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/attr_query_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/attr_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/attr_setter_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/attr_tester_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/attr_validator_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/basename_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/by_name_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/class_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/clone_removing_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/module/clone_renaming_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/module/clone_using_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/dirname_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/equate_on_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/generate_instance_method_name_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/include_as_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/inherit_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/initializer_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/instance_methods_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/integrate_rb.html +0 -104
- data/web/doc/api/core/files/lib/facets/core/module/is_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/memoize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/modspace_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/module/namespace_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/nesting_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/nodef_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/on_included_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/redef_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/redefine_method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/redirect_method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/redirect_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/remove_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/rename_method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/rename_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/revisal_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/module/shadow_all_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/shadow_method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/singleton_to_module_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/sort_on_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/this_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/module/wrap_method_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/module/wrap_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/nil_as_emptiness_rb.html +0 -116
- data/web/doc/api/core/files/lib/facets/core/nilclass/blank_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/empty_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/include_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/length_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_cmp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/op_fetch_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/size_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/succ_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/nilclass/to_h_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/numeric/approx_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/numeric/ceil_multiple_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/numeric/pred_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/numeric/succ_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/numeric/to_b_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/ostruct/__merge___rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/ostruct/__table___rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/ostruct/__update___rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/ostruct/instance_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_fetch_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/ostruct/op_store_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/ostruct/to_h_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/ostruct_rb.html +0 -102
- data/web/doc/api/core/files/lib/facets/core/pathname/ascend_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/pathname/descend_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/proc/compose_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/proc/op_mul_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/proc/to_method_rb.html +0 -133
- data/web/doc/api/core/files/lib/facets/core/random_rb.html +0 -111
- data/web/doc/api/core/files/lib/facets/core/range/to_r_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/range/to_range_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/range/umbrella_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/range/within_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/regexp/arity_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/regexp/to_re_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/regexp/to_regexp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/align_center_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/align_left_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/align_right_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/at_rand_rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/string/at_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/basename_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/blank_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/bracket_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/brief_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/bytes_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/camelcase_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/camelize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/capitalized_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/chars_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/cmp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/demodulize_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/dequote_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/downcase_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/dresner_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/each_char_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/each_word_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/ends_with_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/first_char_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/first_rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/string/fold_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/format_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/frequency_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/string/humanize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/indent_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/index_all_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/last_char_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/last_rb.html +0 -98
- data/web/doc/api/core/files/lib/facets/core/string/line_wrap_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/lines_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/lowercase_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/margin_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/methodize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/modulize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/mscan_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/natcmp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/nchar_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/ordinal_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/pathize_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/plural_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/pop_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/pot_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/probability_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/string/pull_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/push_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/quote_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/rand_byte_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/rand_index_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/range_all_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/range_of_line_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/range_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/regesc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/self/format_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/self/interpolate_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/self/patterns_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/self/rand_letter_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/self/random_rb.html +0 -99
- data/web/doc/api/core/files/lib/facets/core/string/shatter_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/shell_escape_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/shift_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/shuffle_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/similarity_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/singular_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/soundex_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/starts_with_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/succ_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/tab_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/tabto_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/to_a_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/to_b_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/to_const_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/to_date_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/string/to_proc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/to_re_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/to_rx_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/to_time_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/unbracket_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/underscore_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/unix_crypt_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/unpack_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/unshift_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/upcase_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/uppercase_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/string/whitespace_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/string/word_filter_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/word_wrap_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string/words_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/string_as_array_rb.html +0 -109
- data/web/doc/api/core/files/lib/facets/core/symbol/camelcase_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/camelize_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalize_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/capitalized_rb.html +0 -97
- data/web/doc/api/core/files/lib/facets/core/symbol/downcase_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/not_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/symbol/pad_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/symbol/succ_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/symbol/to_const_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/to_proc_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/symbol/to_str_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/symbol/underscore_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/symbol/upcase_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/time/change_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/time/elapse_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/time/self/days_extrema_rb.html +0 -114
- data/web/doc/api/core/files/lib/facets/core/time/self/stamp_rb.html +0 -100
- data/web/doc/api/core/files/lib/facets/core/time/stamp_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/time/to_date_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/time/to_s_rb.html +0 -96
- data/web/doc/api/core/files/lib/facets/core/time/to_time_rb.html +0 -92
- data/web/doc/api/core/files/lib/facets/core/unboundmethod/name_rb.html +0 -92
- data/web/doc/api/core/fr_class_index.html +0 -80
- data/web/doc/api/core/fr_file_index.html +0 -521
- data/web/doc/api/core/fr_method_index.html +0 -555
- data/web/doc/api/core/index.html +0 -26
- data/web/doc/api/core/rdoc-style.css +0 -175
- data/web/doc/api/more/classes/Annotation.html +0 -258
- data/web/doc/api/more/classes/Array.html +0 -362
- data/web/doc/api/more/classes/Aspect.html +0 -159
- data/web/doc/api/more/classes/Aspects.html +0 -240
- data/web/doc/api/more/classes/Aspects/ClassMethods.html +0 -254
- data/web/doc/api/more/classes/Association.html +0 -289
- data/web/doc/api/more/classes/BBCode.html +0 -531
- data/web/doc/api/more/classes/BasicObject.html +0 -260
- data/web/doc/api/more/classes/BasicObject/Self.html +0 -142
- data/web/doc/api/more/classes/BinaryReader.html +0 -535
- data/web/doc/api/more/classes/BinaryReader/ByteOrder.html +0 -225
- data/web/doc/api/more/classes/BuilderObject.html +0 -248
- data/web/doc/api/more/classes/Class.html +0 -201
- data/web/doc/api/more/classes/Client.html +0 -1251
- data/web/doc/api/more/classes/Cloneable.html +0 -133
- data/web/doc/api/more/classes/Console.html +0 -105
- data/web/doc/api/more/classes/Console/ANSICode.html +0 -488
- data/web/doc/api/more/classes/Console/Command.html +0 -275
- data/web/doc/api/more/classes/Console/ProgressBar.html +0 -640
- data/web/doc/api/more/classes/Coroutine.html +0 -284
- data/web/doc/api/more/classes/Crypt.html +0 -270
- data/web/doc/api/more/classes/DebugSocket.html +0 -242
- data/web/doc/api/more/classes/Dictionary.html +0 -974
- data/web/doc/api/more/classes/Downloader.html +0 -515
- data/web/doc/api/more/classes/Downloader/Checksum.html +0 -96
- data/web/doc/api/more/classes/Downloader/Mirror.html +0 -134
- data/web/doc/api/more/classes/Elementor.html +0 -202
- data/web/doc/api/more/classes/Enumerable.html +0 -86
- data/web/doc/api/more/classes/EnumerablePass.html +0 -217
- data/web/doc/api/more/classes/Expirable.html +0 -197
- data/web/doc/api/more/classes/FalseClass.html +0 -119
- data/web/doc/api/more/classes/FileList.html +0 -971
- data/web/doc/api/more/classes/Float.html +0 -140
- data/web/doc/api/more/classes/FloatString.html +0 -413
- data/web/doc/api/more/classes/Functor.html +0 -203
- data/web/doc/api/more/classes/HTMLBuilder.html +0 -132
- data/web/doc/api/more/classes/HTMLHelper.html +0 -189
- data/web/doc/api/more/classes/HTTP.html +0 -154
- data/web/doc/api/more/classes/HTTP/BadResponseError.html +0 -94
- data/web/doc/api/more/classes/HTTP/Error.html +0 -96
- data/web/doc/api/more/classes/HTTP/Message.html +0 -633
- data/web/doc/api/more/classes/HTTP/Message/Body.html +0 -299
- data/web/doc/api/more/classes/HTTP/Message/Headers.html +0 -641
- data/web/doc/api/more/classes/HTTP/Status.html +0 -148
- data/web/doc/api/more/classes/HTTPAccess.html +0 -115
- data/web/doc/api/more/classes/Hash.html +0 -257
- data/web/doc/api/more/classes/HashBuilder.html +0 -216
- data/web/doc/api/more/classes/Heap.html +0 -535
- data/web/doc/api/more/classes/Heap/EmptyHeapException.html +0 -92
- data/web/doc/api/more/classes/Heap/Max.html +0 -133
- data/web/doc/api/more/classes/Heap/Min.html +0 -133
- data/web/doc/api/more/classes/IORedirect.html +0 -225
- data/web/doc/api/more/classes/Integer.html +0 -298
- data/web/doc/api/more/classes/Interval.html +0 -853
- data/web/doc/api/more/classes/InvalidNackError.html +0 -117
- data/web/doc/api/more/classes/JSON.html +0 -410
- data/web/doc/api/more/classes/JSON/Parser.html +0 -374
- data/web/doc/api/more/classes/JSON/State.html +0 -280
- data/web/doc/api/more/classes/Kernel.html +0 -400
- data/web/doc/api/more/classes/LRUCache.html +0 -461
- data/web/doc/api/more/classes/LRUCache/Item.html +0 -114
- data/web/doc/api/more/classes/LRUCache/Sentinel.html +0 -102
- data/web/doc/api/more/classes/Lazy.html +0 -96
- data/web/doc/api/more/classes/Lazy/Future.html +0 -100
- data/web/doc/api/more/classes/Lazy/Promise.html +0 -114
- data/web/doc/api/more/classes/Lazy/PromiseSafe.html +0 -99
- data/web/doc/api/more/classes/Lisp.html +0 -846
- data/web/doc/api/more/classes/Lisp/DottedPair.html +0 -289
- data/web/doc/api/more/classes/Lisp/Format.html +0 -147
- data/web/doc/api/more/classes/Math.html +0 -110
- data/web/doc/api/more/classes/Math/Constants.html +0 -691
- data/web/doc/api/more/classes/Math/Constants/CGS.html +0 -584
- data/web/doc/api/more/classes/Method.html +0 -170
- data/web/doc/api/more/classes/Method/Probe.html +0 -267
- data/web/doc/api/more/classes/Mock.html +0 -276
- data/web/doc/api/more/classes/Module.html +0 -691
- data/web/doc/api/more/classes/Multiton.html +0 -256
- data/web/doc/api/more/classes/NackClass.html +0 -245
- data/web/doc/api/more/classes/NilClass.html +0 -238
- data/web/doc/api/more/classes/NullClass.html +0 -202
- data/web/doc/api/more/classes/Numeric.html +0 -1104
- data/web/doc/api/more/classes/ORMSupport.html +0 -357
- data/web/doc/api/more/classes/Object.html +0 -323
- data/web/doc/api/more/classes/OpenCascade.html +0 -230
- data/web/doc/api/more/classes/OpenObject.html +0 -552
- data/web/doc/api/more/classes/PQueue.html +0 -471
- data/web/doc/api/more/classes/PathList.html +0 -162
- data/web/doc/api/more/classes/PathList/Finder.html +0 -137
- data/web/doc/api/more/classes/Pool.html +0 -207
- data/web/doc/api/more/classes/Proc.html +0 -140
- data/web/doc/api/more/classes/PromoteSelf.html +0 -138
- data/web/doc/api/more/classes/Quaternion.html +0 -1497
- data/web/doc/api/more/classes/REXMLBuilder.html +0 -357
- data/web/doc/api/more/classes/REXMLBuilder/REXMLUtil.html +0 -396
- data/web/doc/api/more/classes/Recorder.html +0 -208
- data/web/doc/api/more/classes/Reference.html +0 -201
- data/web/doc/api/more/classes/RubyOneLiners.html +0 -139
- data/web/doc/api/more/classes/RubyTals.html +0 -316
- data/web/doc/api/more/classes/SSLSocketWrap.html +0 -410
- data/web/doc/api/more/classes/Semaphore.html +0 -264
- data/web/doc/api/more/classes/SimpleStringIO.html +0 -139
- data/web/doc/api/more/classes/Snapshot.html +0 -191
- data/web/doc/api/more/classes/StateMachine.html +0 -248
- data/web/doc/api/more/classes/StateParser.html +0 -276
- data/web/doc/api/more/classes/StateParser/Constants.html +0 -109
- data/web/doc/api/more/classes/StateParser/Marker.html +0 -269
- data/web/doc/api/more/classes/StateParser/State.html +0 -448
- data/web/doc/api/more/classes/StaticHash.html +0 -144
- data/web/doc/api/more/classes/String.html +0 -278
- data/web/doc/api/more/classes/StringIO.html +0 -123
- data/web/doc/api/more/classes/Struct.html +0 -134
- data/web/doc/api/more/classes/Symbol.html +0 -116
- data/web/doc/api/more/classes/SyncArray.html +0 -131
- data/web/doc/api/more/classes/SyncHash.html +0 -135
- data/web/doc/api/more/classes/SyncHash/Delegator.html +0 -213
- data/web/doc/api/more/classes/SyncHash/Inheritor.html +0 -213
- data/web/doc/api/more/classes/System.html +0 -1055
- data/web/doc/api/more/classes/TSort.html +0 -123
- data/web/doc/api/more/classes/TagIterator.html +0 -706
- data/web/doc/api/more/classes/Task.html +0 -237
- data/web/doc/api/more/classes/Task/Graph.html +0 -165
- data/web/doc/api/more/classes/Taskable.html +0 -300
- data/web/doc/api/more/classes/Time.html +0 -746
- data/web/doc/api/more/classes/Timer.html +0 -471
- data/web/doc/api/more/classes/Timer/Dummy.html +0 -141
- data/web/doc/api/more/classes/TracePoint.html +0 -453
- data/web/doc/api/more/classes/TrueClass.html +0 -118
- data/web/doc/api/more/classes/Tuple.html +0 -861
- data/web/doc/api/more/classes/URI.html +0 -107
- data/web/doc/api/more/classes/Uninheritable.html +0 -130
- data/web/doc/api/more/classes/Units.html +0 -191
- data/web/doc/api/more/classes/Units/Config.html +0 -120
- data/web/doc/api/more/classes/Units/Converter.html +0 -808
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate.html +0 -155
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/CachedXMethods.html +0 -143
- data/web/doc/api/more/classes/Units/Converter/ExchangeRate/XMethods.html +0 -197
- data/web/doc/api/more/classes/Units/Unit.html +0 -434
- data/web/doc/api/more/classes/Units/Value.html +0 -331
- data/web/doc/api/more/classes/ValueHolder.html +0 -167
- data/web/doc/api/more/classes/WebAgent.html +0 -103
- data/web/doc/api/more/classes/WebAgent/Cookie.html +0 -513
- data/web/doc/api/more/classes/WebAgent/CookieManager.html +0 -515
- data/web/doc/api/more/classes/WebAgent/CookieManager/Error.html +0 -96
- data/web/doc/api/more/classes/WebAgent/CookieManager/ErrorOverrideOK.html +0 -94
- data/web/doc/api/more/classes/WebAgent/CookieManager/NoDotError.html +0 -94
- data/web/doc/api/more/classes/WebAgent/CookieManager/SpecialError.html +0 -94
- data/web/doc/api/more/classes/WebAgent/CookieUtils.html +0 -171
- data/web/doc/api/more/classes/XMLBuilder.html +0 -132
- data/web/doc/api/more/classes/XMLHelper.html +0 -428
- data/web/doc/api/more/classes/XOXO.html +0 -252
- data/web/doc/api/more/classes/YAMLStruct.html +0 -166
- data/web/doc/api/more/created.rid +0 -1
- data/web/doc/api/more/files/AUTHORS.html +0 -206
- data/web/doc/api/more/files/COPYING.html +0 -517
- data/web/doc/api/more/files/README.html +0 -389
- data/web/doc/api/more/files/WARNING.html +0 -151
- data/web/doc/api/more/files/lib/facets/more/annattr_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/annotation_rb.html +0 -118
- data/web/doc/api/more/files/lib/facets/more/ansicode_rb.html +0 -128
- data/web/doc/api/more/files/lib/facets/more/aspects_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/association_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/basicobject_rb.html +0 -129
- data/web/doc/api/more/files/lib/facets/more/bbcode_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/binaryreader_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/bitmask_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/blankslate_rb.html +0 -113
- data/web/doc/api/more/files/lib/facets/more/builderobject_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/bytes_rb.html +0 -131
- data/web/doc/api/more/files/lib/facets/more/classinherit_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/classmethods_rb.html +0 -121
- data/web/doc/api/more/files/lib/facets/more/cloneable_rb.html +0 -132
- data/web/doc/api/more/files/lib/facets/more/consoleapp_rb.html +0 -131
- data/web/doc/api/more/files/lib/facets/more/cookie_rb.html +0 -133
- data/web/doc/api/more/files/lib/facets/more/coroutine_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/crypt_rb.html +0 -146
- data/web/doc/api/more/files/lib/facets/more/dictionary_rb.html +0 -123
- data/web/doc/api/more/files/lib/facets/more/downloader_rb.html +0 -124
- data/web/doc/api/more/files/lib/facets/more/elementor_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/enumerablepass_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/expirable_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/filelist_rb.html +0 -128
- data/web/doc/api/more/files/lib/facets/more/floatstring_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/functor_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/hashbuilder_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/heap_rb.html +0 -131
- data/web/doc/api/more/files/lib/facets/more/htmlbuilder_rb.html +0 -116
- data/web/doc/api/more/files/lib/facets/more/htmlhelper_rb.html +0 -119
- data/web/doc/api/more/files/lib/facets/more/http_rb.html +0 -116
- data/web/doc/api/more/files/lib/facets/more/httpaccess_rb.html +0 -137
- data/web/doc/api/more/files/lib/facets/more/inheritor_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/interval_rb.html +0 -120
- data/web/doc/api/more/files/lib/facets/more/ioredirect_rb.html +0 -116
- data/web/doc/api/more/files/lib/facets/more/json_rb.html +0 -141
- data/web/doc/api/more/files/lib/facets/more/lazy_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/lisp_format_rb.html +0 -129
- data/web/doc/api/more/files/lib/facets/more/lisp_rb.html +0 -119
- data/web/doc/api/more/files/lib/facets/more/lrucache_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/mathconstants_rb.html +0 -121
- data/web/doc/api/more/files/lib/facets/more/methodprobe_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/mock_rb.html +0 -208
- data/web/doc/api/more/files/lib/facets/more/multipliers_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/multiton_rb.html +0 -114
- data/web/doc/api/more/files/lib/facets/more/nackclass_rb.html +0 -151
- data/web/doc/api/more/files/lib/facets/more/nilcomparable_rb.html +0 -118
- data/web/doc/api/more/files/lib/facets/more/nullclass_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/one_rb.html +0 -158
- data/web/doc/api/more/files/lib/facets/more/opencascade_rb.html +0 -129
- data/web/doc/api/more/files/lib/facets/more/openobject_rb.html +0 -120
- data/web/doc/api/more/files/lib/facets/more/orderedhash_rb.html +0 -113
- data/web/doc/api/more/files/lib/facets/more/ormsupport_rb.html +0 -125
- data/web/doc/api/more/files/lib/facets/more/overload_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/paramix_rb.html +0 -118
- data/web/doc/api/more/files/lib/facets/more/pathlist_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/pool_rb.html +0 -120
- data/web/doc/api/more/files/lib/facets/more/pqueue_rb.html +0 -122
- data/web/doc/api/more/files/lib/facets/more/preinitialize_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/progressbar_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/promoteself_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/quaternion_rb.html +0 -150
- data/web/doc/api/more/files/lib/facets/more/recorder_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/reference_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/rexmlbuilder_rb.html +0 -116
- data/web/doc/api/more/files/lib/facets/more/rtals_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/semaphore_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/snapshot_rb.html +0 -121
- data/web/doc/api/more/files/lib/facets/more/stateparser_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/statichash_rb.html +0 -133
- data/web/doc/api/more/files/lib/facets/more/syncarray_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/synchash_rb.html +0 -115
- data/web/doc/api/more/files/lib/facets/more/system_rb.html +0 -123
- data/web/doc/api/more/files/lib/facets/more/tagiterator_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/taskable_rb.html +0 -118
- data/web/doc/api/more/files/lib/facets/more/timer_rb.html +0 -127
- data/web/doc/api/more/files/lib/facets/more/times_rb.html +0 -127
- data/web/doc/api/more/files/lib/facets/more/tracepoint_rb.html +0 -131
- data/web/doc/api/more/files/lib/facets/more/tuple_rb.html +0 -122
- data/web/doc/api/more/files/lib/facets/more/typecast_rb.html +0 -124
- data/web/doc/api/more/files/lib/facets/more/uninheritable_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/units_rb.html +0 -118
- data/web/doc/api/more/files/lib/facets/more/xmlbuilder_rb.html +0 -116
- data/web/doc/api/more/files/lib/facets/more/xmlhelper_rb.html +0 -111
- data/web/doc/api/more/files/lib/facets/more/xoxo_rb.html +0 -125
- data/web/doc/api/more/files/lib/facets/more/yamlstruct_rb.html +0 -123
- data/web/doc/api/more/fr_class_index.html +0 -197
- data/web/doc/api/more/fr_file_index.html +0 -136
- data/web/doc/api/more/fr_method_index.html +0 -1290
- data/web/doc/api/more/index.html +0 -26
- data/web/doc/api/more/rdoc-style.css +0 -175
- data/web/images/best_jupiter_cass.jpg +0 -0
- data/web/images/super-friends-volume-two-20050606010933166-001.jpg +0 -0
@@ -1,238 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Class: NilClass</title>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
<script language="JavaScript" type="text/javascript">
|
12
|
-
// <![CDATA[
|
13
|
-
|
14
|
-
function toggleSource( id )
|
15
|
-
{
|
16
|
-
var elem
|
17
|
-
var link
|
18
|
-
|
19
|
-
if( document.getElementById )
|
20
|
-
{
|
21
|
-
elem = document.getElementById( id )
|
22
|
-
link = document.getElementById( "l_" + id )
|
23
|
-
}
|
24
|
-
else if ( document.all )
|
25
|
-
{
|
26
|
-
elem = eval( "document.all." + id )
|
27
|
-
link = eval( "document.all.l_" + id )
|
28
|
-
}
|
29
|
-
else
|
30
|
-
return false;
|
31
|
-
|
32
|
-
if( elem.style.display == "block" )
|
33
|
-
{
|
34
|
-
elem.style.display = "none"
|
35
|
-
link.innerHTML = "show source"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "hide source"
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
function openCode( url )
|
45
|
-
{
|
46
|
-
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
47
|
-
}
|
48
|
-
// ]]>
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
|
52
|
-
<body>
|
53
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />NilClass</td>
|
55
|
-
<td align="right">
|
56
|
-
<table cellspacing=0 cellpadding=2>
|
57
|
-
<tr valign="top">
|
58
|
-
<td>In:</td>
|
59
|
-
<td>
|
60
|
-
<a href="../files/lib/facets/more/nilcomparable_rb.html">lib/facets/more/nilcomparable.rb</a>
|
61
|
-
<a href="../files/lib/facets/more/json_rb.html">lib/facets/more/json.rb</a>
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
<tr>
|
65
|
-
<td>Parent:</td>
|
66
|
-
<td>
|
67
|
-
<a href="Object.html">
|
68
|
-
Object
|
69
|
-
</a>
|
70
|
-
</td>
|
71
|
-
</tr>
|
72
|
-
</table>
|
73
|
-
</td>
|
74
|
-
</tr>
|
75
|
-
</table>
|
76
|
-
<!-- banner header -->
|
77
|
-
|
78
|
-
<div id="bodyContent">
|
79
|
-
<div id="content">
|
80
|
-
|
81
|
-
<div class="description"><h1>NilComparable</h1>
|
82
|
-
<p>
|
83
|
-
This microframework simply makes nil comparable, such that all things
|
84
|
-
(except itself) are greater than it.
|
85
|
-
</p>
|
86
|
-
<h2>Usage</h2>
|
87
|
-
<p>
|
88
|
-
The main effect is this.
|
89
|
-
</p>
|
90
|
-
<pre>
|
91
|
-
nil <=> any_object #=> -1
|
92
|
-
</pre>
|
93
|
-
<p>
|
94
|
-
To enable a class to compare against nil (reverse of the above), simply
|
95
|
-
prepend a nil comparsion into the #<=> method of that class. For
|
96
|
-
example:
|
97
|
-
</p>
|
98
|
-
<pre>
|
99
|
-
class Foo
|
100
|
-
|
101
|
-
def initialize( value )
|
102
|
-
@value = value
|
103
|
-
end
|
104
|
-
|
105
|
-
def <=>( other )
|
106
|
-
return 1 if other.nil? # nil comparison
|
107
|
-
@value <=> other
|
108
|
-
end
|
109
|
-
|
110
|
-
end
|
111
|
-
</pre>
|
112
|
-
<p>
|
113
|
-
To do so for a pre-existing class with a pre-existing #<=> method,
|
114
|
-
you’ll need to overide the method. As an example let’s make <a
|
115
|
-
href="Numeric.html">Numeric</a> comparable to nil.
|
116
|
-
</p>
|
117
|
-
<pre>
|
118
|
-
class Numeric
|
119
|
-
|
120
|
-
alias_method :compare_without_nil, :<=>
|
121
|
-
def <=>( other )
|
122
|
-
return 1 if other.nil?
|
123
|
-
compare_without_nil( other )
|
124
|
-
end
|
125
|
-
|
126
|
-
end
|
127
|
-
</pre>
|
128
|
-
<p>
|
129
|
-
Or more conveniently:
|
130
|
-
</p>
|
131
|
-
<pre>
|
132
|
-
require 'facet/module/wrap_method'
|
133
|
-
|
134
|
-
Numeric.wrap_method(:<=>) do |prev, other|
|
135
|
-
return 1 if other.nil?
|
136
|
-
prev.call( other )
|
137
|
-
end
|
138
|
-
</pre>
|
139
|
-
<h2>Note</h2>
|
140
|
-
<p>
|
141
|
-
NilCompariable <em>was</em> a module that could automatically make a class
|
142
|
-
comparable to nil. But it only worked if the #<=> was previous
|
143
|
-
defined, which isn’t ideal. Since it is easy enough to use the above
|
144
|
-
examples, we decided to deprecate the module and leave this as an explicit
|
145
|
-
task for the end-programmer. Changing this behavior for built-in classes is
|
146
|
-
not something to be done lightly anyway.
|
147
|
-
</p>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<div class="sectiontitle">Methods</div>
|
153
|
-
<ul>
|
154
|
-
<li><a href="#M000614"><=></a></li>
|
155
|
-
<li><a href="#M000615">cmp</a></li>
|
156
|
-
<li><a href="#M000616">succ</a></li>
|
157
|
-
<li><a href="#M000617">to_json</a></li>
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
<div class="sectiontitle">Included Modules</div>
|
161
|
-
<ul>
|
162
|
-
<li>Comparable</li>
|
163
|
-
</ul>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
<div class="sectiontitle">Public Instance methods</div>
|
170
|
-
<div class="method">
|
171
|
-
<div class="title">
|
172
|
-
<a name="M000614"></a><b><=></b>(x)
|
173
|
-
</div>
|
174
|
-
<div class="aka">
|
175
|
-
This method is also aliased as
|
176
|
-
<a href="NilClass.html#M000615">cmp</a>
|
177
|
-
</div>
|
178
|
-
<div class="sourcecode">
|
179
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000614_source')" id="l_M000614_source">show source</a> ]</p>
|
180
|
-
<div id="M000614_source" class="dyn-source">
|
181
|
-
<pre>
|
182
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nilcomparable.rb, line 91</span>
|
183
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><=></span>(<span class="ruby-identifier">x</span>)
|
184
|
-
<span class="ruby-identifier">x</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-value">? </span><span class="ruby-value">0</span> <span class="ruby-operator">:</span> <span class="ruby-value">-1</span>
|
185
|
-
<span class="ruby-keyword kw">end</span>
|
186
|
-
</pre>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
<div class="method">
|
191
|
-
<div class="title">
|
192
|
-
<a name="M000615"></a><b>cmp</b>(x)
|
193
|
-
</div>
|
194
|
-
<div class="description">
|
195
|
-
<p>
|
196
|
-
Alias for #<=>
|
197
|
-
</p>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
<div class="method">
|
201
|
-
<div class="title">
|
202
|
-
<a name="M000616"></a><b>succ</b>()
|
203
|
-
</div>
|
204
|
-
<div class="sourcecode">
|
205
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000616_source')" id="l_M000616_source">show source</a> ]</p>
|
206
|
-
<div id="M000616_source" class="dyn-source">
|
207
|
-
<pre>
|
208
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nilcomparable.rb, line 97</span>
|
209
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">succ</span>; <span class="ruby-keyword kw">nil</span>; <span class="ruby-keyword kw">end</span>
|
210
|
-
</pre>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
<div class="method">
|
215
|
-
<div class="title">
|
216
|
-
<a name="M000617"></a><b>to_json</b>(*)
|
217
|
-
</div>
|
218
|
-
<div class="description">
|
219
|
-
<p>
|
220
|
-
Returns a <a href="JSON.html">JSON</a> string for nil: ‘null’.
|
221
|
-
</p>
|
222
|
-
</div>
|
223
|
-
<div class="sourcecode">
|
224
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000617_source')" id="l_M000617_source">show source</a> ]</p>
|
225
|
-
<div id="M000617_source" class="dyn-source">
|
226
|
-
<pre>
|
227
|
-
<span class="ruby-comment cmt"># File lib/facets/more/json.rb, line 638</span>
|
228
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_json</span>(<span class="ruby-operator">*</span>) <span class="ruby-value str">'null'</span> <span class="ruby-keyword kw">end</span>
|
229
|
-
</pre>
|
230
|
-
</div>
|
231
|
-
</div>
|
232
|
-
</div>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</div>
|
236
|
-
|
237
|
-
</body>
|
238
|
-
</html>
|
@@ -1,202 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Class: NullClass</title>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
<script language="JavaScript" type="text/javascript">
|
12
|
-
// <![CDATA[
|
13
|
-
|
14
|
-
function toggleSource( id )
|
15
|
-
{
|
16
|
-
var elem
|
17
|
-
var link
|
18
|
-
|
19
|
-
if( document.getElementById )
|
20
|
-
{
|
21
|
-
elem = document.getElementById( id )
|
22
|
-
link = document.getElementById( "l_" + id )
|
23
|
-
}
|
24
|
-
else if ( document.all )
|
25
|
-
{
|
26
|
-
elem = eval( "document.all." + id )
|
27
|
-
link = eval( "document.all.l_" + id )
|
28
|
-
}
|
29
|
-
else
|
30
|
-
return false;
|
31
|
-
|
32
|
-
if( elem.style.display == "block" )
|
33
|
-
{
|
34
|
-
elem.style.display = "none"
|
35
|
-
link.innerHTML = "show source"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "hide source"
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
function openCode( url )
|
45
|
-
{
|
46
|
-
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
47
|
-
}
|
48
|
-
// ]]>
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
|
52
|
-
<body>
|
53
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />NullClass</td>
|
55
|
-
<td align="right">
|
56
|
-
<table cellspacing=0 cellpadding=2>
|
57
|
-
<tr valign="top">
|
58
|
-
<td>In:</td>
|
59
|
-
<td>
|
60
|
-
<a href="../files/lib/facets/more/nullclass_rb.html">lib/facets/more/nullclass.rb</a>
|
61
|
-
</td>
|
62
|
-
</tr>
|
63
|
-
<tr>
|
64
|
-
<td>Parent:</td>
|
65
|
-
<td>
|
66
|
-
<a href="Object.html">
|
67
|
-
Object
|
68
|
-
</a>
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</td>
|
73
|
-
</tr>
|
74
|
-
</table>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
<div id="content">
|
79
|
-
|
80
|
-
<div class="description"><h1><a href="NullClass.html">NullClass</a></h1>
|
81
|
-
<p>
|
82
|
-
<a href="NullClass.html">NullClass</a> is essentially <a
|
83
|
-
href="NilClass.html">NilClass</a> but it differs in one important way. When
|
84
|
-
a method is called against it that it deoesn’t have, it will simply
|
85
|
-
return null value rather then raise an error.
|
86
|
-
</p>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<div class="sectiontitle">Methods</div>
|
92
|
-
<ul>
|
93
|
-
<li><a href="#M000459">[]</a></li>
|
94
|
-
<li><a href="#M000456">inspect</a></li>
|
95
|
-
<li><a href="#M000460">method_missing</a></li>
|
96
|
-
<li><a href="#M000455">new</a></li>
|
97
|
-
<li><a href="#M000457">nil?</a></li>
|
98
|
-
<li><a href="#M000458">null?</a></li>
|
99
|
-
</ul>
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<div class="sectiontitle">Public Class methods</div>
|
107
|
-
<div class="method">
|
108
|
-
<div class="title">
|
109
|
-
<a name="M000455"></a><b>new</b>()
|
110
|
-
</div>
|
111
|
-
<div class="sourcecode">
|
112
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000455_source')" id="l_M000455_source">show source</a> ]</p>
|
113
|
-
<div id="M000455_source" class="dyn-source">
|
114
|
-
<pre>
|
115
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 31</span>
|
116
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>
|
117
|
-
<span class="ruby-ivar">@null</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">NullClass</span>.<span class="ruby-identifier">allocate</span>
|
118
|
-
<span class="ruby-keyword kw">end</span>
|
119
|
-
</pre>
|
120
|
-
</div>
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
<div class="sectiontitle">Public Instance methods</div>
|
124
|
-
<div class="method">
|
125
|
-
<div class="title">
|
126
|
-
<a name="M000459"></a><b>[]</b>(key)
|
127
|
-
</div>
|
128
|
-
<div class="sourcecode">
|
129
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000459_source')" id="l_M000459_source">show source</a> ]</p>
|
130
|
-
<div id="M000459_source" class="dyn-source">
|
131
|
-
<pre>
|
132
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 38</span>
|
133
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">key</span>); <span class="ruby-keyword kw">nil</span>; <span class="ruby-keyword kw">end</span>
|
134
|
-
</pre>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
</div>
|
138
|
-
<div class="method">
|
139
|
-
<div class="title">
|
140
|
-
<a name="M000456"></a><b>inspect</b>()
|
141
|
-
</div>
|
142
|
-
<div class="sourcecode">
|
143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000456_source')" id="l_M000456_source">show source</a> ]</p>
|
144
|
-
<div id="M000456_source" class="dyn-source">
|
145
|
-
<pre>
|
146
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 35</span>
|
147
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span> ; <span class="ruby-value str">'null'</span> ; <span class="ruby-keyword kw">end</span>
|
148
|
-
</pre>
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
</div>
|
152
|
-
<div class="method">
|
153
|
-
<div class="title">
|
154
|
-
<a name="M000460"></a><b>method_missing</b>(sym, *args)
|
155
|
-
</div>
|
156
|
-
<div class="sourcecode">
|
157
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000460_source')" id="l_M000460_source">show source</a> ]</p>
|
158
|
-
<div id="M000460_source" class="dyn-source">
|
159
|
-
<pre>
|
160
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 39</span>
|
161
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
162
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sym</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-value">-1</span>,<span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">'?'</span>
|
163
|
-
<span class="ruby-keyword kw">self</span>
|
164
|
-
<span class="ruby-keyword kw">end</span>
|
165
|
-
</pre>
|
166
|
-
</div>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
<div class="method">
|
170
|
-
<div class="title">
|
171
|
-
<a name="M000457"></a><b>nil?</b>()
|
172
|
-
</div>
|
173
|
-
<div class="sourcecode">
|
174
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000457_source')" id="l_M000457_source">show source</a> ]</p>
|
175
|
-
<div id="M000457_source" class="dyn-source">
|
176
|
-
<pre>
|
177
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 36</span>
|
178
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nil?</span> ; <span class="ruby-keyword kw">true</span> ; <span class="ruby-keyword kw">end</span>
|
179
|
-
</pre>
|
180
|
-
</div>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
<div class="method">
|
184
|
-
<div class="title">
|
185
|
-
<a name="M000458"></a><b>null?</b>()
|
186
|
-
</div>
|
187
|
-
<div class="sourcecode">
|
188
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000458_source')" id="l_M000458_source">show source</a> ]</p>
|
189
|
-
<div id="M000458_source" class="dyn-source">
|
190
|
-
<pre>
|
191
|
-
<span class="ruby-comment cmt"># File lib/facets/more/nullclass.rb, line 37</span>
|
192
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">null?</span> ; <span class="ruby-keyword kw">true</span> ; <span class="ruby-keyword kw">end</span>
|
193
|
-
</pre>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
</div>
|
200
|
-
|
201
|
-
</body>
|
202
|
-
</html>
|
@@ -1,1104 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
<html>
|
6
|
-
<head>
|
7
|
-
<title>Class: Numeric</title>
|
8
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
<script language="JavaScript" type="text/javascript">
|
12
|
-
// <![CDATA[
|
13
|
-
|
14
|
-
function toggleSource( id )
|
15
|
-
{
|
16
|
-
var elem
|
17
|
-
var link
|
18
|
-
|
19
|
-
if( document.getElementById )
|
20
|
-
{
|
21
|
-
elem = document.getElementById( id )
|
22
|
-
link = document.getElementById( "l_" + id )
|
23
|
-
}
|
24
|
-
else if ( document.all )
|
25
|
-
{
|
26
|
-
elem = eval( "document.all." + id )
|
27
|
-
link = eval( "document.all.l_" + id )
|
28
|
-
}
|
29
|
-
else
|
30
|
-
return false;
|
31
|
-
|
32
|
-
if( elem.style.display == "block" )
|
33
|
-
{
|
34
|
-
elem.style.display = "none"
|
35
|
-
link.innerHTML = "show source"
|
36
|
-
}
|
37
|
-
else
|
38
|
-
{
|
39
|
-
elem.style.display = "block"
|
40
|
-
link.innerHTML = "hide source"
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
function openCode( url )
|
45
|
-
{
|
46
|
-
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
47
|
-
}
|
48
|
-
// ]]>
|
49
|
-
</script>
|
50
|
-
</head>
|
51
|
-
|
52
|
-
<body>
|
53
|
-
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
-
<td class="file-title"><span class="file-title-prefix">Class</span><br />Numeric</td>
|
55
|
-
<td align="right">
|
56
|
-
<table cellspacing=0 cellpadding=2>
|
57
|
-
<tr valign="top">
|
58
|
-
<td>In:</td>
|
59
|
-
<td>
|
60
|
-
<a href="../files/lib/facets/more/multipliers_rb.html">lib/facets/more/multipliers.rb</a>
|
61
|
-
<a href="../files/lib/facets/more/bytes_rb.html">lib/facets/more/bytes.rb</a>
|
62
|
-
<a href="../files/lib/facets/more/units_rb.html">lib/facets/more/units.rb</a>
|
63
|
-
<a href="../files/lib/facets/more/times_rb.html">lib/facets/more/times.rb</a>
|
64
|
-
</td>
|
65
|
-
</tr>
|
66
|
-
<tr>
|
67
|
-
<td>Parent:</td>
|
68
|
-
<td>
|
69
|
-
<a href="Object.html">
|
70
|
-
Object
|
71
|
-
</a>
|
72
|
-
</td>
|
73
|
-
</tr>
|
74
|
-
</table>
|
75
|
-
</td>
|
76
|
-
</tr>
|
77
|
-
</table>
|
78
|
-
<!-- banner header -->
|
79
|
-
|
80
|
-
<div id="bodyContent">
|
81
|
-
<div id="content">
|
82
|
-
|
83
|
-
<div class="description"><h1><a href="Time.html">Time</a> In English</h1>
|
84
|
-
<p>
|
85
|
-
Plain-English convenience methods for dealing with dates and times.
|
86
|
-
</p>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<div class="sectiontitle">Methods</div>
|
92
|
-
<ul>
|
93
|
-
<li><a href="#M000675">after</a></li>
|
94
|
-
<li><a href="#M000674">ago</a></li>
|
95
|
-
<li><a href="#M000637">atto</a></li>
|
96
|
-
<li><a href="#M000672">before</a></li>
|
97
|
-
<li><a href="#M000644">bit</a></li>
|
98
|
-
<li><a href="#M000648">bit</a></li>
|
99
|
-
<li><a href="#M000649">bits</a></li>
|
100
|
-
<li><a href="#M000645">bits</a></li>
|
101
|
-
<li><a href="#M000646">byte</a></li>
|
102
|
-
<li><a href="#M000650">byte</a></li>
|
103
|
-
<li><a href="#M000651">bytes</a></li>
|
104
|
-
<li><a href="#M000647">bytes</a></li>
|
105
|
-
<li><a href="#M000631">centi</a></li>
|
106
|
-
<li><a href="#M000663">day</a></li>
|
107
|
-
<li><a href="#M000662">days</a></li>
|
108
|
-
<li><a href="#M000630">deci</a></li>
|
109
|
-
<li><a href="#M000622">deka</a></li>
|
110
|
-
<li><a href="#M000629">exa</a></li>
|
111
|
-
<li><a href="#M000643">exbi</a></li>
|
112
|
-
<li><a href="#M000636">femto</a></li>
|
113
|
-
<li><a href="#M000667">fortnight</a></li>
|
114
|
-
<li><a href="#M000666">fortnights</a></li>
|
115
|
-
<li><a href="#M000677">from_now</a></li>
|
116
|
-
<li><a href="#M000640">gibi</a></li>
|
117
|
-
<li><a href="#M000626">giga</a></li>
|
118
|
-
<li><a href="#M000623">hecto</a></li>
|
119
|
-
<li><a href="#M000661">hour</a></li>
|
120
|
-
<li><a href="#M000660">hours</a></li>
|
121
|
-
<li><a href="#M000638">kibi</a></li>
|
122
|
-
<li><a href="#M000624">kilo</a></li>
|
123
|
-
<li><a href="#M000678">later</a></li>
|
124
|
-
<li><a href="#M000639">mebi</a></li>
|
125
|
-
<li><a href="#M000625">mega</a></li>
|
126
|
-
<li><a href="#M000655">method_missing</a></li>
|
127
|
-
<li><a href="#M000633">micro</a></li>
|
128
|
-
<li><a href="#M000632">milli</a></li>
|
129
|
-
<li><a href="#M000659">minute</a></li>
|
130
|
-
<li><a href="#M000658">minutes</a></li>
|
131
|
-
<li><a href="#M000669">month</a></li>
|
132
|
-
<li><a href="#M000668">months</a></li>
|
133
|
-
<li><a href="#M000634">nano</a></li>
|
134
|
-
<li><a href="#M000654">octet_units</a></li>
|
135
|
-
<li><a href="#M000642">pebi</a></li>
|
136
|
-
<li><a href="#M000628">peta</a></li>
|
137
|
-
<li><a href="#M000635">pico</a></li>
|
138
|
-
<li><a href="#M000657">second</a></li>
|
139
|
-
<li><a href="#M000656">seconds</a></li>
|
140
|
-
<li><a href="#M000676">since</a></li>
|
141
|
-
<li><a href="#M000652">strfbits</a></li>
|
142
|
-
<li><a href="#M000653">strfbytes</a></li>
|
143
|
-
<li><a href="#M000641">tebi</a></li>
|
144
|
-
<li><a href="#M000627">tera</a></li>
|
145
|
-
<li><a href="#M000673">until</a></li>
|
146
|
-
<li><a href="#M000665">week</a></li>
|
147
|
-
<li><a href="#M000664">weeks</a></li>
|
148
|
-
<li><a href="#M000671">year</a></li>
|
149
|
-
<li><a href="#M000670">years</a></li>
|
150
|
-
</ul>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<div class="sectiontitle">Public Instance methods</div>
|
158
|
-
<div class="method">
|
159
|
-
<div class="title">
|
160
|
-
<a name="M000675"></a><b>after</b>(time = ::Time.now)
|
161
|
-
</div>
|
162
|
-
<div class="description">
|
163
|
-
<p>
|
164
|
-
Calculates time <em>after</em> a given time. Default time is now. Reads
|
165
|
-
best with argument: 10.minutes.after(time)
|
166
|
-
</p>
|
167
|
-
</div>
|
168
|
-
<div class="aka">
|
169
|
-
This method is also aliased as
|
170
|
-
<a href="Numeric.html#M000676">since</a>
|
171
|
-
<a href="Numeric.html#M000677">from_now</a>
|
172
|
-
<a href="Numeric.html#M000678">later</a>
|
173
|
-
</div>
|
174
|
-
<div class="sourcecode">
|
175
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000675_source')" id="l_M000675_source">show source</a> ]</p>
|
176
|
-
<div id="M000675_source" class="dyn-source">
|
177
|
-
<pre>
|
178
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 94</span>
|
179
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">after</span>(<span class="ruby-identifier">time</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>)
|
180
|
-
<span class="ruby-identifier">time</span> <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>
|
181
|
-
<span class="ruby-keyword kw">end</span>
|
182
|
-
</pre>
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
<div class="method">
|
187
|
-
<div class="title">
|
188
|
-
<a name="M000674"></a><b>ago</b>(time = ::Time.now)
|
189
|
-
</div>
|
190
|
-
<div class="description">
|
191
|
-
<p>
|
192
|
-
Alias for <a href="Numeric.html#M000672">before</a>
|
193
|
-
</p>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
<div class="method">
|
197
|
-
<div class="title">
|
198
|
-
<a name="M000637"></a><b>atto</b>()
|
199
|
-
</div>
|
200
|
-
<div class="sourcecode">
|
201
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000637_source')" id="l_M000637_source">show source</a> ]</p>
|
202
|
-
<div id="M000637_source" class="dyn-source">
|
203
|
-
<pre>
|
204
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 66</span>
|
205
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">atto</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000000000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
206
|
-
</pre>
|
207
|
-
</div>
|
208
|
-
</div>
|
209
|
-
</div>
|
210
|
-
<div class="method">
|
211
|
-
<div class="title">
|
212
|
-
<a name="M000672"></a><b>before</b>(time = ::Time.now)
|
213
|
-
</div>
|
214
|
-
<div class="description">
|
215
|
-
<p>
|
216
|
-
Calculates time <em>before</em> a given time. Default time is now. Reads
|
217
|
-
best with arguments: 10.days.before( Time.now - 1.day )
|
218
|
-
</p>
|
219
|
-
</div>
|
220
|
-
<div class="aka">
|
221
|
-
This method is also aliased as
|
222
|
-
<a href="Numeric.html#M000673">until</a>
|
223
|
-
<a href="Numeric.html#M000674">ago</a>
|
224
|
-
</div>
|
225
|
-
<div class="sourcecode">
|
226
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000672_source')" id="l_M000672_source">show source</a> ]</p>
|
227
|
-
<div id="M000672_source" class="dyn-source">
|
228
|
-
<pre>
|
229
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 86</span>
|
230
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before</span>(<span class="ruby-identifier">time</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>)
|
231
|
-
<span class="ruby-identifier">time</span> <span class="ruby-operator">-</span> <span class="ruby-keyword kw">self</span>
|
232
|
-
<span class="ruby-keyword kw">end</span>
|
233
|
-
</pre>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
<div class="method">
|
238
|
-
<div class="title">
|
239
|
-
<a name="M000644"></a><b>bit</b>()
|
240
|
-
</div>
|
241
|
-
<div class="description">
|
242
|
-
<p>
|
243
|
-
Bits and Bytes
|
244
|
-
</p>
|
245
|
-
</div>
|
246
|
-
<div class="sourcecode">
|
247
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000644_source')" id="l_M000644_source">show source</a> ]</p>
|
248
|
-
<div id="M000644_source" class="dyn-source">
|
249
|
-
<pre>
|
250
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 79</span>
|
251
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit</span> ; <span class="ruby-keyword kw">self</span> ; <span class="ruby-keyword kw">end</span>
|
252
|
-
</pre>
|
253
|
-
</div>
|
254
|
-
</div>
|
255
|
-
</div>
|
256
|
-
<div class="method">
|
257
|
-
<div class="title">
|
258
|
-
<a name="M000648"></a><b>bit</b>()
|
259
|
-
</div>
|
260
|
-
<div class="sourcecode">
|
261
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000648_source')" id="l_M000648_source">show source</a> ]</p>
|
262
|
-
<div id="M000648_source" class="dyn-source">
|
263
|
-
<pre>
|
264
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 62</span>
|
265
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bit</span> ; <span class="ruby-keyword kw">self</span> ; <span class="ruby-keyword kw">end</span>
|
266
|
-
</pre>
|
267
|
-
</div>
|
268
|
-
</div>
|
269
|
-
</div>
|
270
|
-
<div class="method">
|
271
|
-
<div class="title">
|
272
|
-
<a name="M000649"></a><b>bits</b>()
|
273
|
-
</div>
|
274
|
-
<div class="sourcecode">
|
275
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000649_source')" id="l_M000649_source">show source</a> ]</p>
|
276
|
-
<div id="M000649_source" class="dyn-source">
|
277
|
-
<pre>
|
278
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 63</span>
|
279
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bits</span> ; <span class="ruby-keyword kw">self</span> ; <span class="ruby-keyword kw">end</span>
|
280
|
-
</pre>
|
281
|
-
</div>
|
282
|
-
</div>
|
283
|
-
</div>
|
284
|
-
<div class="method">
|
285
|
-
<div class="title">
|
286
|
-
<a name="M000645"></a><b>bits</b>()
|
287
|
-
</div>
|
288
|
-
<div class="sourcecode">
|
289
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000645_source')" id="l_M000645_source">show source</a> ]</p>
|
290
|
-
<div id="M000645_source" class="dyn-source">
|
291
|
-
<pre>
|
292
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 80</span>
|
293
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bits</span> ; <span class="ruby-keyword kw">self</span> ; <span class="ruby-keyword kw">end</span>
|
294
|
-
</pre>
|
295
|
-
</div>
|
296
|
-
</div>
|
297
|
-
</div>
|
298
|
-
<div class="method">
|
299
|
-
<div class="title">
|
300
|
-
<a name="M000646"></a><b>byte</b>()
|
301
|
-
</div>
|
302
|
-
<div class="sourcecode">
|
303
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000646_source')" id="l_M000646_source">show source</a> ]</p>
|
304
|
-
<div id="M000646_source" class="dyn-source">
|
305
|
-
<pre>
|
306
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 81</span>
|
307
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">8</span> ; <span class="ruby-keyword kw">end</span>
|
308
|
-
</pre>
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
</div>
|
312
|
-
<div class="method">
|
313
|
-
<div class="title">
|
314
|
-
<a name="M000650"></a><b>byte</b>()
|
315
|
-
</div>
|
316
|
-
<div class="sourcecode">
|
317
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000650_source')" id="l_M000650_source">show source</a> ]</p>
|
318
|
-
<div id="M000650_source" class="dyn-source">
|
319
|
-
<pre>
|
320
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 64</span>
|
321
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">8</span> ; <span class="ruby-keyword kw">end</span>
|
322
|
-
</pre>
|
323
|
-
</div>
|
324
|
-
</div>
|
325
|
-
</div>
|
326
|
-
<div class="method">
|
327
|
-
<div class="title">
|
328
|
-
<a name="M000651"></a><b>bytes</b>()
|
329
|
-
</div>
|
330
|
-
<div class="sourcecode">
|
331
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000651_source')" id="l_M000651_source">show source</a> ]</p>
|
332
|
-
<div id="M000651_source" class="dyn-source">
|
333
|
-
<pre>
|
334
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 65</span>
|
335
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">8</span> ; <span class="ruby-keyword kw">end</span>
|
336
|
-
</pre>
|
337
|
-
</div>
|
338
|
-
</div>
|
339
|
-
</div>
|
340
|
-
<div class="method">
|
341
|
-
<div class="title">
|
342
|
-
<a name="M000647"></a><b>bytes</b>()
|
343
|
-
</div>
|
344
|
-
<div class="sourcecode">
|
345
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000647_source')" id="l_M000647_source">show source</a> ]</p>
|
346
|
-
<div id="M000647_source" class="dyn-source">
|
347
|
-
<pre>
|
348
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 82</span>
|
349
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">8</span> ; <span class="ruby-keyword kw">end</span>
|
350
|
-
</pre>
|
351
|
-
</div>
|
352
|
-
</div>
|
353
|
-
</div>
|
354
|
-
<div class="method">
|
355
|
-
<div class="title">
|
356
|
-
<a name="M000631"></a><b>centi</b>()
|
357
|
-
</div>
|
358
|
-
<div class="sourcecode">
|
359
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000631_source')" id="l_M000631_source">show source</a> ]</p>
|
360
|
-
<div id="M000631_source" class="dyn-source">
|
361
|
-
<pre>
|
362
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 60</span>
|
363
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">centi</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">100</span> ; <span class="ruby-keyword kw">end</span>
|
364
|
-
</pre>
|
365
|
-
</div>
|
366
|
-
</div>
|
367
|
-
</div>
|
368
|
-
<div class="method">
|
369
|
-
<div class="title">
|
370
|
-
<a name="M000663"></a><b>day</b>()
|
371
|
-
</div>
|
372
|
-
<div class="description">
|
373
|
-
<p>
|
374
|
-
Alias for <a href="Numeric.html#M000662">days</a>
|
375
|
-
</p>
|
376
|
-
</div>
|
377
|
-
</div>
|
378
|
-
<div class="method">
|
379
|
-
<div class="title">
|
380
|
-
<a name="M000662"></a><b>days</b>()
|
381
|
-
</div>
|
382
|
-
<div class="description">
|
383
|
-
<p>
|
384
|
-
Converts days into seconds.
|
385
|
-
</p>
|
386
|
-
</div>
|
387
|
-
<div class="aka">
|
388
|
-
This method is also aliased as
|
389
|
-
<a href="Numeric.html#M000663">day</a>
|
390
|
-
</div>
|
391
|
-
<div class="sourcecode">
|
392
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000662_source')" id="l_M000662_source">show source</a> ]</p>
|
393
|
-
<div id="M000662_source" class="dyn-source">
|
394
|
-
<pre>
|
395
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 58</span>
|
396
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">days</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">24</span>.<span class="ruby-identifier">hours</span> ; <span class="ruby-keyword kw">end</span>
|
397
|
-
</pre>
|
398
|
-
</div>
|
399
|
-
</div>
|
400
|
-
</div>
|
401
|
-
<div class="method">
|
402
|
-
<div class="title">
|
403
|
-
<a name="M000630"></a><b>deci</b>()
|
404
|
-
</div>
|
405
|
-
<div class="description">
|
406
|
-
<p>
|
407
|
-
SI Fractional
|
408
|
-
</p>
|
409
|
-
</div>
|
410
|
-
<div class="sourcecode">
|
411
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000630_source')" id="l_M000630_source">show source</a> ]</p>
|
412
|
-
<div id="M000630_source" class="dyn-source">
|
413
|
-
<pre>
|
414
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 59</span>
|
415
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deci</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">10</span> ; <span class="ruby-keyword kw">end</span>
|
416
|
-
</pre>
|
417
|
-
</div>
|
418
|
-
</div>
|
419
|
-
</div>
|
420
|
-
<div class="method">
|
421
|
-
<div class="title">
|
422
|
-
<a name="M000622"></a><b>deka</b>()
|
423
|
-
</div>
|
424
|
-
<div class="description">
|
425
|
-
<p>
|
426
|
-
SI Multipliers
|
427
|
-
</p>
|
428
|
-
</div>
|
429
|
-
<div class="sourcecode">
|
430
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000622_source')" id="l_M000622_source">show source</a> ]</p>
|
431
|
-
<div id="M000622_source" class="dyn-source">
|
432
|
-
<pre>
|
433
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 48</span>
|
434
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deka</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">10</span> ; <span class="ruby-keyword kw">end</span>
|
435
|
-
</pre>
|
436
|
-
</div>
|
437
|
-
</div>
|
438
|
-
</div>
|
439
|
-
<div class="method">
|
440
|
-
<div class="title">
|
441
|
-
<a name="M000629"></a><b>exa</b>()
|
442
|
-
</div>
|
443
|
-
<div class="sourcecode">
|
444
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000629_source')" id="l_M000629_source">show source</a> ]</p>
|
445
|
-
<div id="M000629_source" class="dyn-source">
|
446
|
-
<pre>
|
447
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 55</span>
|
448
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exa</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000000000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
449
|
-
</pre>
|
450
|
-
</div>
|
451
|
-
</div>
|
452
|
-
</div>
|
453
|
-
<div class="method">
|
454
|
-
<div class="title">
|
455
|
-
<a name="M000643"></a><b>exbi</b>()
|
456
|
-
</div>
|
457
|
-
<div class="sourcecode">
|
458
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000643_source')" id="l_M000643_source">show source</a> ]</p>
|
459
|
-
<div id="M000643_source" class="dyn-source">
|
460
|
-
<pre>
|
461
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 75</span>
|
462
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exbi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">6</span> ; <span class="ruby-keyword kw">end</span>
|
463
|
-
</pre>
|
464
|
-
</div>
|
465
|
-
</div>
|
466
|
-
</div>
|
467
|
-
<div class="method">
|
468
|
-
<div class="title">
|
469
|
-
<a name="M000636"></a><b>femto</b>()
|
470
|
-
</div>
|
471
|
-
<div class="sourcecode">
|
472
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000636_source')" id="l_M000636_source">show source</a> ]</p>
|
473
|
-
<div id="M000636_source" class="dyn-source">
|
474
|
-
<pre>
|
475
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 65</span>
|
476
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">femto</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
477
|
-
</pre>
|
478
|
-
</div>
|
479
|
-
</div>
|
480
|
-
</div>
|
481
|
-
<div class="method">
|
482
|
-
<div class="title">
|
483
|
-
<a name="M000667"></a><b>fortnight</b>()
|
484
|
-
</div>
|
485
|
-
<div class="description">
|
486
|
-
<p>
|
487
|
-
Alias for <a href="Numeric.html#M000666">fortnights</a>
|
488
|
-
</p>
|
489
|
-
</div>
|
490
|
-
</div>
|
491
|
-
<div class="method">
|
492
|
-
<div class="title">
|
493
|
-
<a name="M000666"></a><b>fortnights</b>()
|
494
|
-
</div>
|
495
|
-
<div class="description">
|
496
|
-
<p>
|
497
|
-
Converts fortnights into seconds. (A fortnight is 2 weeks)
|
498
|
-
</p>
|
499
|
-
</div>
|
500
|
-
<div class="aka">
|
501
|
-
This method is also aliased as
|
502
|
-
<a href="Numeric.html#M000667">fortnight</a>
|
503
|
-
</div>
|
504
|
-
<div class="sourcecode">
|
505
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000666_source')" id="l_M000666_source">show source</a> ]</p>
|
506
|
-
<div id="M000666_source" class="dyn-source">
|
507
|
-
<pre>
|
508
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 69</span>
|
509
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fortnights</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span>.<span class="ruby-identifier">weeks</span> ; <span class="ruby-keyword kw">end</span>
|
510
|
-
</pre>
|
511
|
-
</div>
|
512
|
-
</div>
|
513
|
-
</div>
|
514
|
-
<div class="method">
|
515
|
-
<div class="title">
|
516
|
-
<a name="M000677"></a><b>from_now</b>(time = ::Time.now)
|
517
|
-
</div>
|
518
|
-
<div class="description">
|
519
|
-
<p>
|
520
|
-
Alias for <a href="Numeric.html#M000675">after</a>
|
521
|
-
</p>
|
522
|
-
</div>
|
523
|
-
</div>
|
524
|
-
<div class="method">
|
525
|
-
<div class="title">
|
526
|
-
<a name="M000640"></a><b>gibi</b>()
|
527
|
-
</div>
|
528
|
-
<div class="sourcecode">
|
529
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000640_source')" id="l_M000640_source">show source</a> ]</p>
|
530
|
-
<div id="M000640_source" class="dyn-source">
|
531
|
-
<pre>
|
532
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 72</span>
|
533
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gibi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">3</span> ; <span class="ruby-keyword kw">end</span>
|
534
|
-
</pre>
|
535
|
-
</div>
|
536
|
-
</div>
|
537
|
-
</div>
|
538
|
-
<div class="method">
|
539
|
-
<div class="title">
|
540
|
-
<a name="M000626"></a><b>giga</b>()
|
541
|
-
</div>
|
542
|
-
<div class="sourcecode">
|
543
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000626_source')" id="l_M000626_source">show source</a> ]</p>
|
544
|
-
<div id="M000626_source" class="dyn-source">
|
545
|
-
<pre>
|
546
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 52</span>
|
547
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">giga</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000000000</span> ; <span class="ruby-keyword kw">end</span>
|
548
|
-
</pre>
|
549
|
-
</div>
|
550
|
-
</div>
|
551
|
-
</div>
|
552
|
-
<div class="method">
|
553
|
-
<div class="title">
|
554
|
-
<a name="M000623"></a><b>hecto</b>()
|
555
|
-
</div>
|
556
|
-
<div class="sourcecode">
|
557
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000623_source')" id="l_M000623_source">show source</a> ]</p>
|
558
|
-
<div id="M000623_source" class="dyn-source">
|
559
|
-
<pre>
|
560
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 49</span>
|
561
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hecto</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">100</span> ; <span class="ruby-keyword kw">end</span>
|
562
|
-
</pre>
|
563
|
-
</div>
|
564
|
-
</div>
|
565
|
-
</div>
|
566
|
-
<div class="method">
|
567
|
-
<div class="title">
|
568
|
-
<a name="M000661"></a><b>hour</b>()
|
569
|
-
</div>
|
570
|
-
<div class="description">
|
571
|
-
<p>
|
572
|
-
Alias for <a href="Numeric.html#M000660">hours</a>
|
573
|
-
</p>
|
574
|
-
</div>
|
575
|
-
</div>
|
576
|
-
<div class="method">
|
577
|
-
<div class="title">
|
578
|
-
<a name="M000660"></a><b>hours</b>()
|
579
|
-
</div>
|
580
|
-
<div class="description">
|
581
|
-
<p>
|
582
|
-
Converts hours into seconds.
|
583
|
-
</p>
|
584
|
-
</div>
|
585
|
-
<div class="aka">
|
586
|
-
This method is also aliased as
|
587
|
-
<a href="Numeric.html#M000661">hour</a>
|
588
|
-
</div>
|
589
|
-
<div class="sourcecode">
|
590
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000660_source')" id="l_M000660_source">show source</a> ]</p>
|
591
|
-
<div id="M000660_source" class="dyn-source">
|
592
|
-
<pre>
|
593
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 53</span>
|
594
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hours</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>.<span class="ruby-identifier">minutes</span> ; <span class="ruby-keyword kw">end</span>
|
595
|
-
</pre>
|
596
|
-
</div>
|
597
|
-
</div>
|
598
|
-
</div>
|
599
|
-
<div class="method">
|
600
|
-
<div class="title">
|
601
|
-
<a name="M000638"></a><b>kibi</b>()
|
602
|
-
</div>
|
603
|
-
<div class="description">
|
604
|
-
<p>
|
605
|
-
SI Binary
|
606
|
-
</p>
|
607
|
-
</div>
|
608
|
-
<div class="sourcecode">
|
609
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000638_source')" id="l_M000638_source">show source</a> ]</p>
|
610
|
-
<div id="M000638_source" class="dyn-source">
|
611
|
-
<pre>
|
612
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 70</span>
|
613
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kibi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span> ; <span class="ruby-keyword kw">end</span>
|
614
|
-
</pre>
|
615
|
-
</div>
|
616
|
-
</div>
|
617
|
-
</div>
|
618
|
-
<div class="method">
|
619
|
-
<div class="title">
|
620
|
-
<a name="M000624"></a><b>kilo</b>()
|
621
|
-
</div>
|
622
|
-
<div class="sourcecode">
|
623
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000624_source')" id="l_M000624_source">show source</a> ]</p>
|
624
|
-
<div id="M000624_source" class="dyn-source">
|
625
|
-
<pre>
|
626
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 50</span>
|
627
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kilo</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000</span> ; <span class="ruby-keyword kw">end</span>
|
628
|
-
</pre>
|
629
|
-
</div>
|
630
|
-
</div>
|
631
|
-
</div>
|
632
|
-
<div class="method">
|
633
|
-
<div class="title">
|
634
|
-
<a name="M000678"></a><b>later</b>(time = ::Time.now)
|
635
|
-
</div>
|
636
|
-
<div class="description">
|
637
|
-
<p>
|
638
|
-
Alias for <a href="Numeric.html#M000675">after</a>
|
639
|
-
</p>
|
640
|
-
</div>
|
641
|
-
</div>
|
642
|
-
<div class="method">
|
643
|
-
<div class="title">
|
644
|
-
<a name="M000639"></a><b>mebi</b>()
|
645
|
-
</div>
|
646
|
-
<div class="sourcecode">
|
647
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000639_source')" id="l_M000639_source">show source</a> ]</p>
|
648
|
-
<div id="M000639_source" class="dyn-source">
|
649
|
-
<pre>
|
650
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 71</span>
|
651
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mebi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">2</span> ; <span class="ruby-keyword kw">end</span>
|
652
|
-
</pre>
|
653
|
-
</div>
|
654
|
-
</div>
|
655
|
-
</div>
|
656
|
-
<div class="method">
|
657
|
-
<div class="title">
|
658
|
-
<a name="M000625"></a><b>mega</b>()
|
659
|
-
</div>
|
660
|
-
<div class="sourcecode">
|
661
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000625_source')" id="l_M000625_source">show source</a> ]</p>
|
662
|
-
<div id="M000625_source" class="dyn-source">
|
663
|
-
<pre>
|
664
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 51</span>
|
665
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mega</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000000</span> ; <span class="ruby-keyword kw">end</span>
|
666
|
-
</pre>
|
667
|
-
</div>
|
668
|
-
</div>
|
669
|
-
</div>
|
670
|
-
<div class="method">
|
671
|
-
<div class="title">
|
672
|
-
<a name="M000655"></a><b>method_missing</b>(m, *args, &blk)
|
673
|
-
</div>
|
674
|
-
<div class="sourcecode">
|
675
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000655_source')" id="l_M000655_source">show source</a> ]</p>
|
676
|
-
<div id="M000655_source" class="dyn-source">
|
677
|
-
<pre>
|
678
|
-
<span class="ruby-comment cmt"># File lib/facets/more/units.rb, line 820</span>
|
679
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">m</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
680
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
681
|
-
<span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>] = <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Converter</span>.<span class="ruby-identifier">converter</span>(<span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Converter</span>
|
682
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">Value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span>.<span class="ruby-identifier">new</span>({<span class="ruby-identifier">m</span> =<span class="ruby-operator">></span> <span class="ruby-value">1</span>}, <span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>])) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">registered?</span>(<span class="ruby-identifier">m</span>)
|
683
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Converter</span>.<span class="ruby-identifier">current</span>.<span class="ruby-identifier">registered?</span>(<span class="ruby-identifier">m</span>)
|
684
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"Wrong number of arguments"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
685
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span>.<span class="ruby-identifier">new</span>({<span class="ruby-identifier">m</span> =<span class="ruby-operator">></span> <span class="ruby-value">1</span>}, <span class="ruby-constant">Units</span><span class="ruby-operator">::</span><span class="ruby-constant">Converter</span>.<span class="ruby-identifier">current</span>))
|
686
|
-
<span class="ruby-keyword kw">end</span>
|
687
|
-
<span class="ruby-keyword kw">super</span>
|
688
|
-
<span class="ruby-keyword kw">end</span>
|
689
|
-
</pre>
|
690
|
-
</div>
|
691
|
-
</div>
|
692
|
-
</div>
|
693
|
-
<div class="method">
|
694
|
-
<div class="title">
|
695
|
-
<a name="M000633"></a><b>micro</b>()
|
696
|
-
</div>
|
697
|
-
<div class="sourcecode">
|
698
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000633_source')" id="l_M000633_source">show source</a> ]</p>
|
699
|
-
<div id="M000633_source" class="dyn-source">
|
700
|
-
<pre>
|
701
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 62</span>
|
702
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">micro</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000000</span> ; <span class="ruby-keyword kw">end</span>
|
703
|
-
</pre>
|
704
|
-
</div>
|
705
|
-
</div>
|
706
|
-
</div>
|
707
|
-
<div class="method">
|
708
|
-
<div class="title">
|
709
|
-
<a name="M000632"></a><b>milli</b>()
|
710
|
-
</div>
|
711
|
-
<div class="sourcecode">
|
712
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000632_source')" id="l_M000632_source">show source</a> ]</p>
|
713
|
-
<div id="M000632_source" class="dyn-source">
|
714
|
-
<pre>
|
715
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 61</span>
|
716
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">milli</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000</span> ; <span class="ruby-keyword kw">end</span>
|
717
|
-
</pre>
|
718
|
-
</div>
|
719
|
-
</div>
|
720
|
-
</div>
|
721
|
-
<div class="method">
|
722
|
-
<div class="title">
|
723
|
-
<a name="M000659"></a><b>minute</b>()
|
724
|
-
</div>
|
725
|
-
<div class="description">
|
726
|
-
<p>
|
727
|
-
Alias for <a href="Numeric.html#M000658">minutes</a>
|
728
|
-
</p>
|
729
|
-
</div>
|
730
|
-
</div>
|
731
|
-
<div class="method">
|
732
|
-
<div class="title">
|
733
|
-
<a name="M000658"></a><b>minutes</b>()
|
734
|
-
</div>
|
735
|
-
<div class="description">
|
736
|
-
<p>
|
737
|
-
Converts minutes into seconds.
|
738
|
-
</p>
|
739
|
-
</div>
|
740
|
-
<div class="aka">
|
741
|
-
This method is also aliased as
|
742
|
-
<a href="Numeric.html#M000659">minute</a>
|
743
|
-
</div>
|
744
|
-
<div class="sourcecode">
|
745
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000658_source')" id="l_M000658_source">show source</a> ]</p>
|
746
|
-
<div id="M000658_source" class="dyn-source">
|
747
|
-
<pre>
|
748
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 48</span>
|
749
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minutes</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> ; <span class="ruby-keyword kw">end</span>
|
750
|
-
</pre>
|
751
|
-
</div>
|
752
|
-
</div>
|
753
|
-
</div>
|
754
|
-
<div class="method">
|
755
|
-
<div class="title">
|
756
|
-
<a name="M000669"></a><b>month</b>()
|
757
|
-
</div>
|
758
|
-
<div class="description">
|
759
|
-
<p>
|
760
|
-
Alias for <a href="Numeric.html#M000668">months</a>
|
761
|
-
</p>
|
762
|
-
</div>
|
763
|
-
</div>
|
764
|
-
<div class="method">
|
765
|
-
<div class="title">
|
766
|
-
<a name="M000668"></a><b>months</b>()
|
767
|
-
</div>
|
768
|
-
<div class="description">
|
769
|
-
<p>
|
770
|
-
Converts months into seconds. WARNING: This is not exact as it assumes 30
|
771
|
-
days to a month.
|
772
|
-
</p>
|
773
|
-
</div>
|
774
|
-
<div class="aka">
|
775
|
-
This method is also aliased as
|
776
|
-
<a href="Numeric.html#M000669">month</a>
|
777
|
-
</div>
|
778
|
-
<div class="sourcecode">
|
779
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000668_source')" id="l_M000668_source">show source</a> ]</p>
|
780
|
-
<div id="M000668_source" class="dyn-source">
|
781
|
-
<pre>
|
782
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 75</span>
|
783
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">months</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">30</span>.<span class="ruby-identifier">days</span> ; <span class="ruby-keyword kw">end</span>
|
784
|
-
</pre>
|
785
|
-
</div>
|
786
|
-
</div>
|
787
|
-
</div>
|
788
|
-
<div class="method">
|
789
|
-
<div class="title">
|
790
|
-
<a name="M000634"></a><b>nano</b>()
|
791
|
-
</div>
|
792
|
-
<div class="sourcecode">
|
793
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000634_source')" id="l_M000634_source">show source</a> ]</p>
|
794
|
-
<div id="M000634_source" class="dyn-source">
|
795
|
-
<pre>
|
796
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 63</span>
|
797
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nano</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000000000</span> ; <span class="ruby-keyword kw">end</span>
|
798
|
-
</pre>
|
799
|
-
</div>
|
800
|
-
</div>
|
801
|
-
</div>
|
802
|
-
<div class="method">
|
803
|
-
<div class="title">
|
804
|
-
<a name="M000654"></a><b>octet_units</b>(fmt='%.2f')
|
805
|
-
</div>
|
806
|
-
<div class="description">
|
807
|
-
<p>
|
808
|
-
Alias for <a href="Numeric.html#M000653">strfbytes</a>
|
809
|
-
</p>
|
810
|
-
</div>
|
811
|
-
</div>
|
812
|
-
<div class="method">
|
813
|
-
<div class="title">
|
814
|
-
<a name="M000642"></a><b>pebi</b>()
|
815
|
-
</div>
|
816
|
-
<div class="sourcecode">
|
817
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000642_source')" id="l_M000642_source">show source</a> ]</p>
|
818
|
-
<div id="M000642_source" class="dyn-source">
|
819
|
-
<pre>
|
820
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 74</span>
|
821
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pebi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">5</span> ; <span class="ruby-keyword kw">end</span>
|
822
|
-
</pre>
|
823
|
-
</div>
|
824
|
-
</div>
|
825
|
-
</div>
|
826
|
-
<div class="method">
|
827
|
-
<div class="title">
|
828
|
-
<a name="M000628"></a><b>peta</b>()
|
829
|
-
</div>
|
830
|
-
<div class="sourcecode">
|
831
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000628_source')" id="l_M000628_source">show source</a> ]</p>
|
832
|
-
<div id="M000628_source" class="dyn-source">
|
833
|
-
<pre>
|
834
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 54</span>
|
835
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peta</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
836
|
-
</pre>
|
837
|
-
</div>
|
838
|
-
</div>
|
839
|
-
</div>
|
840
|
-
<div class="method">
|
841
|
-
<div class="title">
|
842
|
-
<a name="M000635"></a><b>pico</b>()
|
843
|
-
</div>
|
844
|
-
<div class="sourcecode">
|
845
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000635_source')" id="l_M000635_source">show source</a> ]</p>
|
846
|
-
<div id="M000635_source" class="dyn-source">
|
847
|
-
<pre>
|
848
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 64</span>
|
849
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pico</span> ; <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-value">1000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
850
|
-
</pre>
|
851
|
-
</div>
|
852
|
-
</div>
|
853
|
-
</div>
|
854
|
-
<div class="method">
|
855
|
-
<div class="title">
|
856
|
-
<a name="M000657"></a><b>second</b>()
|
857
|
-
</div>
|
858
|
-
<div class="description">
|
859
|
-
<p>
|
860
|
-
Alias for <a href="Numeric.html#M000656">seconds</a>
|
861
|
-
</p>
|
862
|
-
</div>
|
863
|
-
</div>
|
864
|
-
<div class="method">
|
865
|
-
<div class="title">
|
866
|
-
<a name="M000656"></a><b>seconds</b>()
|
867
|
-
</div>
|
868
|
-
<div class="description">
|
869
|
-
<p>
|
870
|
-
Enables the use of time calculations and declarations, like 45.minutes +
|
871
|
-
2.hours + 4.years. The base unit for all of these <a
|
872
|
-
href="Numeric.html">Numeric</a> time methods is seconds.
|
873
|
-
</p>
|
874
|
-
</div>
|
875
|
-
<div class="aka">
|
876
|
-
This method is also aliased as
|
877
|
-
<a href="Numeric.html#M000657">second</a>
|
878
|
-
</div>
|
879
|
-
<div class="sourcecode">
|
880
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000656_source')" id="l_M000656_source">show source</a> ]</p>
|
881
|
-
<div id="M000656_source" class="dyn-source">
|
882
|
-
<pre>
|
883
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 43</span>
|
884
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span> ; <span class="ruby-keyword kw">self</span> ; <span class="ruby-keyword kw">end</span>
|
885
|
-
</pre>
|
886
|
-
</div>
|
887
|
-
</div>
|
888
|
-
</div>
|
889
|
-
<div class="method">
|
890
|
-
<div class="title">
|
891
|
-
<a name="M000676"></a><b>since</b>(time = ::Time.now)
|
892
|
-
</div>
|
893
|
-
<div class="description">
|
894
|
-
<p>
|
895
|
-
Alias for <a href="Numeric.html#M000675">after</a>
|
896
|
-
</p>
|
897
|
-
</div>
|
898
|
-
</div>
|
899
|
-
<div class="method">
|
900
|
-
<div class="title">
|
901
|
-
<a name="M000652"></a><b>strfbits</b>(fmt='%.2f')
|
902
|
-
</div>
|
903
|
-
<div class="description">
|
904
|
-
<p>
|
905
|
-
Formated string of bits proportial to size.
|
906
|
-
</p>
|
907
|
-
<pre>
|
908
|
-
1024.bits_to_s #=> "1.00 kb"
|
909
|
-
1048576.bits_to_s #=> "1.00 mb"
|
910
|
-
1073741824.bits_to_s #=> "1.00 gb"
|
911
|
-
1099511627776.bits_to_s #=> "1.00 tb"
|
912
|
-
</pre>
|
913
|
-
<p>
|
914
|
-
Takes a format string to adjust output.
|
915
|
-
</p>
|
916
|
-
<pre>
|
917
|
-
1024.bits_to_s('%.0f') #=> "1 kb"
|
918
|
-
</pre>
|
919
|
-
</div>
|
920
|
-
<div class="sourcecode">
|
921
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000652_source')" id="l_M000652_source">show source</a> ]</p>
|
922
|
-
<div id="M000652_source" class="dyn-source">
|
923
|
-
<pre>
|
924
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 102</span>
|
925
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">strfbits</span>(<span class="ruby-identifier">fmt</span>=<span class="ruby-value str">'%.2f'</span>)
|
926
|
-
<span class="ruby-keyword kw">case</span>
|
927
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span>
|
928
|
-
<span class="ruby-node">"#{self} bits"</span>
|
929
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">2</span>
|
930
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024)} kb"</span>
|
931
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">3</span>
|
932
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**2)} mb"</span>
|
933
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">4</span>
|
934
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**3)} gb"</span>
|
935
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">5</span>
|
936
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**4)} tb"</span>
|
937
|
-
<span class="ruby-keyword kw">else</span>
|
938
|
-
<span class="ruby-node">"#{self} bits"</span>
|
939
|
-
<span class="ruby-keyword kw">end</span>
|
940
|
-
<span class="ruby-keyword kw">end</span>
|
941
|
-
</pre>
|
942
|
-
</div>
|
943
|
-
</div>
|
944
|
-
</div>
|
945
|
-
<div class="method">
|
946
|
-
<div class="title">
|
947
|
-
<a name="M000653"></a><b>strfbytes</b>(fmt='%.2f')
|
948
|
-
</div>
|
949
|
-
<div class="description">
|
950
|
-
<p>
|
951
|
-
Formated string of bytes proportial to size.
|
952
|
-
</p>
|
953
|
-
<pre>
|
954
|
-
1024.bytes_to_s #=> "1.00 KB"
|
955
|
-
1048576.bytes_to_s #=> "1.00 MB"
|
956
|
-
1073741824.bytes_to_s #=> "1.00 GB"
|
957
|
-
1099511627776.bytes_to_s #=> "1.00 TB"
|
958
|
-
</pre>
|
959
|
-
<p>
|
960
|
-
Takes a format string to adjust output.
|
961
|
-
</p>
|
962
|
-
<pre>
|
963
|
-
1024.bytes_to_s('%.0f') #=> "1 KB"
|
964
|
-
</pre>
|
965
|
-
</div>
|
966
|
-
<div class="aka">
|
967
|
-
This method is also aliased as
|
968
|
-
<a href="Numeric.html#M000654">octet_units</a>
|
969
|
-
</div>
|
970
|
-
<div class="sourcecode">
|
971
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000653_source')" id="l_M000653_source">show source</a> ]</p>
|
972
|
-
<div id="M000653_source" class="dyn-source">
|
973
|
-
<pre>
|
974
|
-
<span class="ruby-comment cmt"># File lib/facets/more/bytes.rb, line 130</span>
|
975
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">strfbytes</span>(<span class="ruby-identifier">fmt</span>=<span class="ruby-value str">'%.2f'</span>)
|
976
|
-
<span class="ruby-keyword kw">case</span>
|
977
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span>
|
978
|
-
<span class="ruby-node">"#{self} bytes"</span>
|
979
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">2</span>
|
980
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024)} KB"</span>
|
981
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">3</span>
|
982
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**2)} MB"</span>
|
983
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">4</span>
|
984
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**3)} GB"</span>
|
985
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">5</span>
|
986
|
-
<span class="ruby-node">"#{fmt % (self.to_f / 1024**4)} TB"</span>
|
987
|
-
<span class="ruby-keyword kw">else</span>
|
988
|
-
<span class="ruby-node">"#{self} bytes"</span>
|
989
|
-
<span class="ruby-keyword kw">end</span>
|
990
|
-
<span class="ruby-keyword kw">end</span>
|
991
|
-
</pre>
|
992
|
-
</div>
|
993
|
-
</div>
|
994
|
-
</div>
|
995
|
-
<div class="method">
|
996
|
-
<div class="title">
|
997
|
-
<a name="M000641"></a><b>tebi</b>()
|
998
|
-
</div>
|
999
|
-
<div class="sourcecode">
|
1000
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000641_source')" id="l_M000641_source">show source</a> ]</p>
|
1001
|
-
<div id="M000641_source" class="dyn-source">
|
1002
|
-
<pre>
|
1003
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 73</span>
|
1004
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tebi</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1024</span><span class="ruby-operator">**</span><span class="ruby-value">4</span> ; <span class="ruby-keyword kw">end</span>
|
1005
|
-
</pre>
|
1006
|
-
</div>
|
1007
|
-
</div>
|
1008
|
-
</div>
|
1009
|
-
<div class="method">
|
1010
|
-
<div class="title">
|
1011
|
-
<a name="M000627"></a><b>tera</b>()
|
1012
|
-
</div>
|
1013
|
-
<div class="sourcecode">
|
1014
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000627_source')" id="l_M000627_source">show source</a> ]</p>
|
1015
|
-
<div id="M000627_source" class="dyn-source">
|
1016
|
-
<pre>
|
1017
|
-
<span class="ruby-comment cmt"># File lib/facets/more/multipliers.rb, line 53</span>
|
1018
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tera</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">1000000000000</span> ; <span class="ruby-keyword kw">end</span>
|
1019
|
-
</pre>
|
1020
|
-
</div>
|
1021
|
-
</div>
|
1022
|
-
</div>
|
1023
|
-
<div class="method">
|
1024
|
-
<div class="title">
|
1025
|
-
<a name="M000673"></a><b>until</b>(time = ::Time.now)
|
1026
|
-
</div>
|
1027
|
-
<div class="description">
|
1028
|
-
<p>
|
1029
|
-
Alias for <a href="Numeric.html#M000672">before</a>
|
1030
|
-
</p>
|
1031
|
-
</div>
|
1032
|
-
</div>
|
1033
|
-
<div class="method">
|
1034
|
-
<div class="title">
|
1035
|
-
<a name="M000665"></a><b>week</b>()
|
1036
|
-
</div>
|
1037
|
-
<div class="description">
|
1038
|
-
<p>
|
1039
|
-
Alias for <a href="Numeric.html#M000664">weeks</a>
|
1040
|
-
</p>
|
1041
|
-
</div>
|
1042
|
-
</div>
|
1043
|
-
<div class="method">
|
1044
|
-
<div class="title">
|
1045
|
-
<a name="M000664"></a><b>weeks</b>()
|
1046
|
-
</div>
|
1047
|
-
<div class="description">
|
1048
|
-
<p>
|
1049
|
-
Converts weeks into seconds.
|
1050
|
-
</p>
|
1051
|
-
</div>
|
1052
|
-
<div class="aka">
|
1053
|
-
This method is also aliased as
|
1054
|
-
<a href="Numeric.html#M000665">week</a>
|
1055
|
-
</div>
|
1056
|
-
<div class="sourcecode">
|
1057
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000664_source')" id="l_M000664_source">show source</a> ]</p>
|
1058
|
-
<div id="M000664_source" class="dyn-source">
|
1059
|
-
<pre>
|
1060
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 63</span>
|
1061
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weeks</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">7</span>.<span class="ruby-identifier">days</span> ; <span class="ruby-keyword kw">end</span>
|
1062
|
-
</pre>
|
1063
|
-
</div>
|
1064
|
-
</div>
|
1065
|
-
</div>
|
1066
|
-
<div class="method">
|
1067
|
-
<div class="title">
|
1068
|
-
<a name="M000671"></a><b>year</b>()
|
1069
|
-
</div>
|
1070
|
-
<div class="description">
|
1071
|
-
<p>
|
1072
|
-
Alias for <a href="Numeric.html#M000670">years</a>
|
1073
|
-
</p>
|
1074
|
-
</div>
|
1075
|
-
</div>
|
1076
|
-
<div class="method">
|
1077
|
-
<div class="title">
|
1078
|
-
<a name="M000670"></a><b>years</b>()
|
1079
|
-
</div>
|
1080
|
-
<div class="description">
|
1081
|
-
<p>
|
1082
|
-
Converts years into seconds.
|
1083
|
-
</p>
|
1084
|
-
</div>
|
1085
|
-
<div class="aka">
|
1086
|
-
This method is also aliased as
|
1087
|
-
<a href="Numeric.html#M000671">year</a>
|
1088
|
-
</div>
|
1089
|
-
<div class="sourcecode">
|
1090
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000670_source')" id="l_M000670_source">show source</a> ]</p>
|
1091
|
-
<div id="M000670_source" class="dyn-source">
|
1092
|
-
<pre>
|
1093
|
-
<span class="ruby-comment cmt"># File lib/facets/more/times.rb, line 80</span>
|
1094
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">years</span> ; <span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">365</span>.<span class="ruby-identifier">days</span> ; <span class="ruby-keyword kw">end</span>
|
1095
|
-
</pre>
|
1096
|
-
</div>
|
1097
|
-
</div>
|
1098
|
-
</div>
|
1099
|
-
</div>
|
1100
|
-
|
1101
|
-
</div>
|
1102
|
-
|
1103
|
-
</body>
|
1104
|
-
</html>
|