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,201 +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: Class</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 />Class</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/classinherit_rb.html">lib/facets/more/classinherit.rb</a>
|
61
|
-
<a href="../files/lib/facets/more/classmethods_rb.html">lib/facets/more/classmethods.rb</a>
|
62
|
-
<a href="../files/lib/facets/more/ormsupport_rb.html">lib/facets/more/ormsupport.rb</a>
|
63
|
-
<a href="../files/lib/facets/more/preinitialize_rb.html">lib/facets/more/preinitialize.rb</a>
|
64
|
-
<a href="../files/lib/facets/more/typecast_rb.html">lib/facets/more/typecast.rb</a>
|
65
|
-
<a href="../files/lib/facets/more/json_rb.html">lib/facets/more/json.rb</a>
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
<tr>
|
69
|
-
<td>Parent:</td>
|
70
|
-
<td>
|
71
|
-
<a href="Object.html">
|
72
|
-
Object
|
73
|
-
</a>
|
74
|
-
</td>
|
75
|
-
</tr>
|
76
|
-
</table>
|
77
|
-
</td>
|
78
|
-
</tr>
|
79
|
-
</table>
|
80
|
-
<!-- banner header -->
|
81
|
-
|
82
|
-
<div id="bodyContent">
|
83
|
-
<div id="content">
|
84
|
-
|
85
|
-
<div class="description"><p>
|
86
|
-
Extensions
|
87
|
-
</p>
|
88
|
-
</div>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
<div class="sectiontitle">Methods</div>
|
93
|
-
<ul>
|
94
|
-
<li><a href="#M000299">cast_from_string</a></li>
|
95
|
-
<li><a href="#M000300">json_creatable?</a></li>
|
96
|
-
<li><a href="#M000298">new</a></li>
|
97
|
-
</ul>
|
98
|
-
|
99
|
-
<div class="sectiontitle">Included Modules</div>
|
100
|
-
<ul>
|
101
|
-
<li><a href="ORMSupport.html">ORMSupport</a></li>
|
102
|
-
</ul>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<div class="sectiontitle">Public Class methods</div>
|
109
|
-
<div class="method">
|
110
|
-
<div class="title">
|
111
|
-
<a name="M000299"></a><b>cast_from_string</b>(string, options={})
|
112
|
-
</div>
|
113
|
-
<div class="description">
|
114
|
-
<p>
|
115
|
-
"string".cast_to <a href="Class.html">Class</a> #=> <a
|
116
|
-
href="String.html">String</a>
|
117
|
-
</p>
|
118
|
-
</div>
|
119
|
-
<div class="sourcecode">
|
120
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000299_source')" id="l_M000299_source">show source</a> ]</p>
|
121
|
-
<div id="M000299_source" class="dyn-source">
|
122
|
-
<pre>
|
123
|
-
<span class="ruby-comment cmt"># File lib/facets/more/typecast.rb, line 178</span>
|
124
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cast_from_string</span>(<span class="ruby-identifier">string</span>, <span class="ruby-identifier">options</span>={})
|
125
|
-
<span class="ruby-identifier">string</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">modulize</span>
|
126
|
-
<span class="ruby-identifier">base</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">sub!</span>(<span class="ruby-regexp re">/^::/</span>, <span class="ruby-value str">''</span>) <span class="ruby-operator">?</span> <span class="ruby-constant">Object</span> <span class="ruby-operator">:</span> (<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">Module</span>) <span class="ruby-operator">?</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span> )
|
127
|
-
<span class="ruby-identifier">klass</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/::/</span>).<span class="ruby-identifier">inject</span>(<span class="ruby-identifier">base</span>){ <span class="ruby-operator">|</span><span class="ruby-identifier">mod</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">|</span> <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">name</span>) }
|
128
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">klass</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Class</span>
|
129
|
-
<span class="ruby-keyword kw">nil</span>
|
130
|
-
<span class="ruby-keyword kw">rescue</span>
|
131
|
-
<span class="ruby-keyword kw">nil</span>
|
132
|
-
<span class="ruby-keyword kw">end</span>
|
133
|
-
</pre>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
<div class="sectiontitle">Public Instance methods</div>
|
138
|
-
<div class="method">
|
139
|
-
<div class="title">
|
140
|
-
<a name="M000300"></a><b>json_creatable?</b>()
|
141
|
-
</div>
|
142
|
-
<div class="description">
|
143
|
-
<p>
|
144
|
-
Returns true, if this class can be used to create an instance from a
|
145
|
-
serialised <a href="JSON.html">JSON</a> string. The class has to implement
|
146
|
-
a class method <em>json_create</em> that expects a hash as first parameter,
|
147
|
-
which includes the required data.
|
148
|
-
</p>
|
149
|
-
</div>
|
150
|
-
<div class="sourcecode">
|
151
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000300_source')" id="l_M000300_source">show source</a> ]</p>
|
152
|
-
<div id="M000300_source" class="dyn-source">
|
153
|
-
<pre>
|
154
|
-
<span class="ruby-comment cmt"># File lib/facets/more/json.rb, line 666</span>
|
155
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">json_creatable?</span>
|
156
|
-
<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:json_create</span>)
|
157
|
-
<span class="ruby-keyword kw">end</span>
|
158
|
-
</pre>
|
159
|
-
</div>
|
160
|
-
</div>
|
161
|
-
</div>
|
162
|
-
<div class="method">
|
163
|
-
<div class="title">
|
164
|
-
<a name="M000298"></a><b>new</b>(*args, &blk)
|
165
|
-
</div>
|
166
|
-
<div class="sourcecode">
|
167
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000298_source')" id="l_M000298_source">show source</a> ]</p>
|
168
|
-
<div id="M000298_source" class="dyn-source">
|
169
|
-
<pre>
|
170
|
-
<span class="ruby-comment cmt"># File lib/facets/more/preinitialize.rb, line 84</span>
|
171
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
172
|
-
<span class="ruby-identifier">o</span> = <span class="ruby-identifier">allocate</span>
|
173
|
-
|
174
|
-
<span class="ruby-comment cmt">#if respond_to?(:default_instance_variables)</span>
|
175
|
-
<span class="ruby-comment cmt"># default_instance_variables.each{|k,v| o.instance_variable_set( "@#{k.to_s.gsub(/\W$/,'')}",v )}</span>
|
176
|
-
<span class="ruby-comment cmt">#end</span>
|
177
|
-
|
178
|
-
<span class="ruby-identifier">a</span> = <span class="ruby-identifier">ancestors</span>
|
179
|
-
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">empty?</span>
|
180
|
-
<span class="ruby-identifier">m</span> = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">pop</span>
|
181
|
-
<span class="ruby-comment cmt">#if m.private_instance_methods.include?('preinitialize') or m.public_instance_methods.include?('preinitialize')</span>
|
182
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">m</span>.<span class="ruby-identifier">method_defined?</span>(<span class="ruby-value str">'preinitialize'</span>) <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">m</span>.<span class="ruby-identifier">private_method_defined?</span>(<span class="ruby-value str">'preinitialize'</span>)
|
183
|
-
<span class="ruby-identifier">im</span> = <span class="ruby-identifier">instance_method</span>(<span class="ruby-value str">'preinitialize'</span>)
|
184
|
-
<span class="ruby-identifier">im</span>.<span class="ruby-identifier">arity</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">im</span>.<span class="ruby-identifier">bind</span>(<span class="ruby-identifier">o</span>).<span class="ruby-identifier">call</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">im</span>.<span class="ruby-identifier">bind</span>(<span class="ruby-identifier">o</span>).<span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
185
|
-
<span class="ruby-keyword kw">end</span>
|
186
|
-
<span class="ruby-keyword kw">end</span>
|
187
|
-
|
188
|
-
<span class="ruby-identifier">o</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:initialize</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">__class__</span>.<span class="ruby-identifier">private_method_defined?</span>(<span class="ruby-identifier">:initialize</span>)
|
189
|
-
|
190
|
-
<span class="ruby-identifier">o</span>
|
191
|
-
<span class="ruby-keyword kw">end</span>
|
192
|
-
</pre>
|
193
|
-
</div>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
</div>
|
199
|
-
|
200
|
-
</body>
|
201
|
-
</html>
|
@@ -1,1251 +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: Client</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 />Client</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/httpaccess_rb.html">lib/facets/more/httpaccess.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"><p>
|
81
|
-
DESCRIPTION
|
82
|
-
</p>
|
83
|
-
<pre>
|
84
|
-
HTTPAccess::Client -- Client to retrieve web resources via HTTP.
|
85
|
-
</pre>
|
86
|
-
<p>
|
87
|
-
How to create your client.
|
88
|
-
</p>
|
89
|
-
<pre>
|
90
|
-
1. Create simple client.
|
91
|
-
clnt = HTTPAccess::Client.new
|
92
|
-
|
93
|
-
2. Accessing resources through HTTP proxy.
|
94
|
-
clnt = HTTPAccess::Client.new("http://myproxy:8080")
|
95
|
-
|
96
|
-
3. Set User-Agent and From in HTTP request header.(nil means "No proxy")
|
97
|
-
clnt = HTTPAccess::Client.new(nil, "MyAgent", "nahi@keynauts.com")
|
98
|
-
</pre>
|
99
|
-
<p>
|
100
|
-
How to retrieve web resources.
|
101
|
-
</p>
|
102
|
-
<pre>
|
103
|
-
1. Get content of specified URL.
|
104
|
-
puts clnt.get_content("http://www.ruby-lang.org/en/")
|
105
|
-
|
106
|
-
2. Do HEAD request.
|
107
|
-
res = clnt.head(uri)
|
108
|
-
|
109
|
-
3. Do GET request with query.
|
110
|
-
res = clnt.get(uri)
|
111
|
-
|
112
|
-
4. Do POST request.
|
113
|
-
res = clnt.post(uri)
|
114
|
-
res = clnt.get|post|head(uri, proxy)
|
115
|
-
</pre>
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<div class="sectiontitle">Methods</div>
|
121
|
-
<ul>
|
122
|
-
<li><a href="#M000094">conn_request</a></li>
|
123
|
-
<li><a href="#M000057">connect_timeout</a></li>
|
124
|
-
<li><a href="#M000058">connect_timeout=</a></li>
|
125
|
-
<li><a href="#M000095">create_request</a></li>
|
126
|
-
<li><a href="#M000053">debug_dev</a></li>
|
127
|
-
<li><a href="#M000054">debug_dev=</a></li>
|
128
|
-
<li><a href="#M000074">default_redirect_uri_callback</a></li>
|
129
|
-
<li><a href="#M000079">delete</a></li>
|
130
|
-
<li><a href="#M000087">delete_async</a></li>
|
131
|
-
<li><a href="#M000097">do_get_block</a></li>
|
132
|
-
<li><a href="#M000099">do_get_header</a></li>
|
133
|
-
<li><a href="#M000098">do_get_stream</a></li>
|
134
|
-
<li><a href="#M000100">dump_dummy_request_response</a></li>
|
135
|
-
<li><a href="#M000076">get</a></li>
|
136
|
-
<li><a href="#M000084">get_async</a></li>
|
137
|
-
<li><a href="#M000072">get_content</a></li>
|
138
|
-
<li><a href="#M000075">head</a></li>
|
139
|
-
<li><a href="#M000083">head_async</a></li>
|
140
|
-
<li><a href="#M000052">new</a></li>
|
141
|
-
<li><a href="#M000065">no_proxy</a></li>
|
142
|
-
<li><a href="#M000066">no_proxy=</a></li>
|
143
|
-
<li><a href="#M000096">no_proxy?</a></li>
|
144
|
-
<li><a href="#M000080">options</a></li>
|
145
|
-
<li><a href="#M000088">options_async</a></li>
|
146
|
-
<li><a href="#M000077">post</a></li>
|
147
|
-
<li><a href="#M000085">post_async</a></li>
|
148
|
-
<li><a href="#M000073">post_content</a></li>
|
149
|
-
<li><a href="#M000055">protocol_version</a></li>
|
150
|
-
<li><a href="#M000056">protocol_version=</a></li>
|
151
|
-
<li><a href="#M000063">proxy</a></li>
|
152
|
-
<li><a href="#M000064">proxy=</a></li>
|
153
|
-
<li><a href="#M000078">put</a></li>
|
154
|
-
<li><a href="#M000086">put_async</a></li>
|
155
|
-
<li><a href="#M000061">receive_timeout</a></li>
|
156
|
-
<li><a href="#M000062">receive_timeout=</a></li>
|
157
|
-
<li><a href="#M000071">redirect_uri_callback=</a></li>
|
158
|
-
<li><a href="#M000082">request</a></li>
|
159
|
-
<li><a href="#M000090">request_async</a></li>
|
160
|
-
<li><a href="#M000091">reset</a></li>
|
161
|
-
<li><a href="#M000092">reset_all</a></li>
|
162
|
-
<li><a href="#M000093">retry_connect</a></li>
|
163
|
-
<li><a href="#M000070">save_cookie_store</a></li>
|
164
|
-
<li><a href="#M000059">send_timeout</a></li>
|
165
|
-
<li><a href="#M000060">send_timeout=</a></li>
|
166
|
-
<li><a href="#M000068">set_basic_auth</a></li>
|
167
|
-
<li><a href="#M000069">set_cookie_store</a></li>
|
168
|
-
<li><a href="#M000067">socket_sync=</a></li>
|
169
|
-
<li><a href="#M000081">trace</a></li>
|
170
|
-
<li><a href="#M000089">trace_async</a></li>
|
171
|
-
</ul>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<div class="sectiontitle">Constants</div>
|
177
|
-
<table border='0' cellpadding='5'>
|
178
|
-
<tr valign='top'>
|
179
|
-
<td class="attr-name">NO_PROXY_HOSTS</td>
|
180
|
-
<td>=</td>
|
181
|
-
<td class="attr-value">['localhost']</td>
|
182
|
-
</tr>
|
183
|
-
</table>
|
184
|
-
|
185
|
-
<div class="sectiontitle">Attributes</div>
|
186
|
-
<table border='0' cellpadding='5'>
|
187
|
-
<tr valign='top'>
|
188
|
-
<td class='attr-rw'>
|
189
|
-
[R]
|
190
|
-
</td>
|
191
|
-
<td class='attr-name'>agent_name</td>
|
192
|
-
<td class='attr-desc'></td>
|
193
|
-
</tr>
|
194
|
-
<tr valign='top'>
|
195
|
-
<td class='attr-rw'>
|
196
|
-
[RW]
|
197
|
-
</td>
|
198
|
-
<td class='attr-name'>cookie_manager</td>
|
199
|
-
<td class='attr-desc'></td>
|
200
|
-
</tr>
|
201
|
-
<tr valign='top'>
|
202
|
-
<td class='attr-rw'>
|
203
|
-
[R]
|
204
|
-
</td>
|
205
|
-
<td class='attr-name'>from</td>
|
206
|
-
<td class='attr-desc'></td>
|
207
|
-
</tr>
|
208
|
-
<tr valign='top'>
|
209
|
-
<td class='attr-rw'>
|
210
|
-
[R]
|
211
|
-
</td>
|
212
|
-
<td class='attr-name'>ssl_config</td>
|
213
|
-
<td class='attr-desc'></td>
|
214
|
-
</tr>
|
215
|
-
<tr valign='top'>
|
216
|
-
<td class='attr-rw'>
|
217
|
-
[R]
|
218
|
-
</td>
|
219
|
-
<td class='attr-name'>test_loopback_response</td>
|
220
|
-
<td class='attr-desc'></td>
|
221
|
-
</tr>
|
222
|
-
</table>
|
223
|
-
|
224
|
-
<div class="sectiontitle">Public Class methods</div>
|
225
|
-
<div class="method">
|
226
|
-
<div class="title">
|
227
|
-
<a name="M000052"></a><b>new</b>(proxy = nil, agent_name = nil, from = nil)
|
228
|
-
</div>
|
229
|
-
<div class="description">
|
230
|
-
<p>
|
231
|
-
SYNOPSIS
|
232
|
-
</p>
|
233
|
-
<pre>
|
234
|
-
Client.new(proxy = nil, agent_name = nil, from = nil)
|
235
|
-
</pre>
|
236
|
-
<p>
|
237
|
-
ARGS
|
238
|
-
</p>
|
239
|
-
<pre>
|
240
|
-
proxy A String of HTTP proxy URL. ex. "http://proxy:8080".
|
241
|
-
agent_name A String for "User-Agent" HTTP request header.
|
242
|
-
from A String for "From" HTTP request header.
|
243
|
-
</pre>
|
244
|
-
<p>
|
245
|
-
DESCRIPTION
|
246
|
-
</p>
|
247
|
-
<pre>
|
248
|
-
Create an instance.
|
249
|
-
SSLConfig cannot be re-initialized. Create new client.
|
250
|
-
</pre>
|
251
|
-
</div>
|
252
|
-
<div class="sourcecode">
|
253
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p>
|
254
|
-
<div id="M000052_source" class="dyn-source">
|
255
|
-
<pre>
|
256
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 117</span>
|
257
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">proxy</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">agent_name</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">from</span> = <span class="ruby-keyword kw">nil</span>)
|
258
|
-
<span class="ruby-ivar">@proxy</span> = <span class="ruby-keyword kw">nil</span> <span class="ruby-comment cmt"># assigned later.</span>
|
259
|
-
<span class="ruby-ivar">@no_proxy</span> = <span class="ruby-keyword kw">nil</span>
|
260
|
-
<span class="ruby-ivar">@agent_name</span> = <span class="ruby-identifier">agent_name</span>
|
261
|
-
<span class="ruby-ivar">@from</span> = <span class="ruby-identifier">from</span>
|
262
|
-
<span class="ruby-ivar">@basic_auth</span> = <span class="ruby-constant">BasicAuth</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
|
263
|
-
<span class="ruby-ivar">@debug_dev</span> = <span class="ruby-keyword kw">nil</span>
|
264
|
-
<span class="ruby-ivar">@ssl_config</span> = <span class="ruby-constant">SSLConfig</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
|
265
|
-
<span class="ruby-ivar">@redirect_uri_callback</span> = <span class="ruby-identifier">method</span>(<span class="ruby-identifier">:default_redirect_uri_callback</span>)
|
266
|
-
<span class="ruby-ivar">@test_loopback_response</span> = []
|
267
|
-
<span class="ruby-ivar">@session_manager</span> = <span class="ruby-constant">SessionManager</span>.<span class="ruby-identifier">new</span>
|
268
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">agent_name</span> = <span class="ruby-ivar">@agent_name</span>
|
269
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">from</span> = <span class="ruby-ivar">@from</span>
|
270
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">ssl_config</span> = <span class="ruby-ivar">@ssl_config</span>
|
271
|
-
<span class="ruby-ivar">@cookie_manager</span> = <span class="ruby-constant">WebAgent</span><span class="ruby-operator">::</span><span class="ruby-constant">CookieManager</span>.<span class="ruby-identifier">new</span>
|
272
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">proxy</span> = <span class="ruby-identifier">proxy</span>
|
273
|
-
<span class="ruby-keyword kw">end</span>
|
274
|
-
</pre>
|
275
|
-
</div>
|
276
|
-
</div>
|
277
|
-
</div>
|
278
|
-
<div class="sectiontitle">Public Instance methods</div>
|
279
|
-
<div class="method">
|
280
|
-
<div class="title">
|
281
|
-
<a name="M000057"></a><b>connect_timeout</b>()
|
282
|
-
</div>
|
283
|
-
<div class="sourcecode">
|
284
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p>
|
285
|
-
<div id="M000057_source" class="dyn-source">
|
286
|
-
<pre>
|
287
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 154</span>
|
288
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connect_timeout</span>
|
289
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">connect_timeout</span>
|
290
|
-
<span class="ruby-keyword kw">end</span>
|
291
|
-
</pre>
|
292
|
-
</div>
|
293
|
-
</div>
|
294
|
-
</div>
|
295
|
-
<div class="method">
|
296
|
-
<div class="title">
|
297
|
-
<a name="M000058"></a><b>connect_timeout=</b>(connect_timeout)
|
298
|
-
</div>
|
299
|
-
<div class="sourcecode">
|
300
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p>
|
301
|
-
<div id="M000058_source" class="dyn-source">
|
302
|
-
<pre>
|
303
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 158</span>
|
304
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connect_timeout=</span>(<span class="ruby-identifier">connect_timeout</span>)
|
305
|
-
<span class="ruby-identifier">reset_all</span>
|
306
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">connect_timeout</span> = <span class="ruby-identifier">connect_timeout</span>
|
307
|
-
<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="M000053"></a><b>debug_dev</b>()
|
315
|
-
</div>
|
316
|
-
<div class="sourcecode">
|
317
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p>
|
318
|
-
<div id="M000053_source" class="dyn-source">
|
319
|
-
<pre>
|
320
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 135</span>
|
321
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">debug_dev</span>
|
322
|
-
<span class="ruby-ivar">@debug_dev</span>
|
323
|
-
<span class="ruby-keyword kw">end</span>
|
324
|
-
</pre>
|
325
|
-
</div>
|
326
|
-
</div>
|
327
|
-
</div>
|
328
|
-
<div class="method">
|
329
|
-
<div class="title">
|
330
|
-
<a name="M000054"></a><b>debug_dev=</b>(dev)
|
331
|
-
</div>
|
332
|
-
<div class="sourcecode">
|
333
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p>
|
334
|
-
<div id="M000054_source" class="dyn-source">
|
335
|
-
<pre>
|
336
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 139</span>
|
337
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">debug_dev=</span>(<span class="ruby-identifier">dev</span>)
|
338
|
-
<span class="ruby-ivar">@debug_dev</span> = <span class="ruby-identifier">dev</span>
|
339
|
-
<span class="ruby-identifier">reset_all</span>
|
340
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">debug_dev</span> = <span class="ruby-identifier">dev</span>
|
341
|
-
<span class="ruby-keyword kw">end</span>
|
342
|
-
</pre>
|
343
|
-
</div>
|
344
|
-
</div>
|
345
|
-
</div>
|
346
|
-
<div class="method">
|
347
|
-
<div class="title">
|
348
|
-
<a name="M000074"></a><b>default_redirect_uri_callback</b>(res)
|
349
|
-
</div>
|
350
|
-
<div class="sourcecode">
|
351
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show source</a> ]</p>
|
352
|
-
<div id="M000074_source" class="dyn-source">
|
353
|
-
<pre>
|
354
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 270</span>
|
355
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_redirect_uri_callback</span>(<span class="ruby-identifier">res</span>)
|
356
|
-
<span class="ruby-identifier">uri</span> = <span class="ruby-identifier">res</span>.<span class="ruby-identifier">header</span>[<span class="ruby-value str">'location'</span>][<span class="ruby-value">0</span>]
|
357
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Redirect to: #{uri}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
358
|
-
<span class="ruby-identifier">uri</span>
|
359
|
-
<span class="ruby-keyword kw">end</span>
|
360
|
-
</pre>
|
361
|
-
</div>
|
362
|
-
</div>
|
363
|
-
</div>
|
364
|
-
<div class="method">
|
365
|
-
<div class="title">
|
366
|
-
<a name="M000079"></a><b>delete</b>(uri, extheader = {}, &block)
|
367
|
-
</div>
|
368
|
-
<div class="sourcecode">
|
369
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show source</a> ]</p>
|
370
|
-
<div id="M000079_source" class="dyn-source">
|
371
|
-
<pre>
|
372
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 292</span>
|
373
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
374
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'DELETE'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
375
|
-
<span class="ruby-keyword kw">end</span>
|
376
|
-
</pre>
|
377
|
-
</div>
|
378
|
-
</div>
|
379
|
-
</div>
|
380
|
-
<div class="method">
|
381
|
-
<div class="title">
|
382
|
-
<a name="M000087"></a><b>delete_async</b>(uri, extheader = {})
|
383
|
-
</div>
|
384
|
-
<div class="sourcecode">
|
385
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show source</a> ]</p>
|
386
|
-
<div id="M000087_source" class="dyn-source">
|
387
|
-
<pre>
|
388
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 328</span>
|
389
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">extheader</span> = {})
|
390
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'DELETE'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>)
|
391
|
-
<span class="ruby-keyword kw">end</span>
|
392
|
-
</pre>
|
393
|
-
</div>
|
394
|
-
</div>
|
395
|
-
</div>
|
396
|
-
<div class="method">
|
397
|
-
<div class="title">
|
398
|
-
<a name="M000076"></a><b>get</b>(uri, query = nil, extheader = {}, &block)
|
399
|
-
</div>
|
400
|
-
<div class="sourcecode">
|
401
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show source</a> ]</p>
|
402
|
-
<div id="M000076_source" class="dyn-source">
|
403
|
-
<pre>
|
404
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 280</span>
|
405
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
406
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'GET'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
407
|
-
<span class="ruby-keyword kw">end</span>
|
408
|
-
</pre>
|
409
|
-
</div>
|
410
|
-
</div>
|
411
|
-
</div>
|
412
|
-
<div class="method">
|
413
|
-
<div class="title">
|
414
|
-
<a name="M000084"></a><b>get_async</b>(uri, query = nil, extheader = {})
|
415
|
-
</div>
|
416
|
-
<div class="sourcecode">
|
417
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show source</a> ]</p>
|
418
|
-
<div id="M000084_source" class="dyn-source">
|
419
|
-
<pre>
|
420
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 316</span>
|
421
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
422
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'GET'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>)
|
423
|
-
<span class="ruby-keyword kw">end</span>
|
424
|
-
</pre>
|
425
|
-
</div>
|
426
|
-
</div>
|
427
|
-
</div>
|
428
|
-
<div class="method">
|
429
|
-
<div class="title">
|
430
|
-
<a name="M000072"></a><b>get_content</b>(uri, query = nil, extheader = {}, &block)
|
431
|
-
</div>
|
432
|
-
<div class="description">
|
433
|
-
<p>
|
434
|
-
SYNOPSIS
|
435
|
-
</p>
|
436
|
-
<pre>
|
437
|
-
Client#get_content(uri, query = nil, extheader = {}, &block = nil)
|
438
|
-
</pre>
|
439
|
-
<p>
|
440
|
-
ARGS
|
441
|
-
</p>
|
442
|
-
<pre>
|
443
|
-
uri an_URI or a_string of uri to connect.
|
444
|
-
query a_hash or an_array of query part. e.g. { "a" => "b" }.
|
445
|
-
Give an array to pass multiple value like
|
446
|
-
[["a" => "b"], ["a" => "c"]].
|
447
|
-
extheader
|
448
|
-
a_hash of extra headers like { "SOAPAction" => "urn:foo" }.
|
449
|
-
&block Give a block to get chunked message-body of response like
|
450
|
-
get_content(uri) { |chunked_body| ... }
|
451
|
-
Size of each chunk may not be the same.
|
452
|
-
</pre>
|
453
|
-
<p>
|
454
|
-
DESCRIPTION
|
455
|
-
</p>
|
456
|
-
<pre>
|
457
|
-
Get a_sring of message-body of response.
|
458
|
-
</pre>
|
459
|
-
</div>
|
460
|
-
<div class="sourcecode">
|
461
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show source</a> ]</p>
|
462
|
-
<div id="M000072_source" class="dyn-source">
|
463
|
-
<pre>
|
464
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 258</span>
|
465
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_content</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
466
|
-
<span class="ruby-identifier">retry_connect</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">|</span>
|
467
|
-
<span class="ruby-identifier">get</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
468
|
-
<span class="ruby-keyword kw">end</span>
|
469
|
-
<span class="ruby-keyword kw">end</span>
|
470
|
-
</pre>
|
471
|
-
</div>
|
472
|
-
</div>
|
473
|
-
</div>
|
474
|
-
<div class="method">
|
475
|
-
<div class="title">
|
476
|
-
<a name="M000075"></a><b>head</b>(uri, query = nil, extheader = {})
|
477
|
-
</div>
|
478
|
-
<div class="sourcecode">
|
479
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show source</a> ]</p>
|
480
|
-
<div id="M000075_source" class="dyn-source">
|
481
|
-
<pre>
|
482
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 276</span>
|
483
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">head</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
484
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>)
|
485
|
-
<span class="ruby-keyword kw">end</span>
|
486
|
-
</pre>
|
487
|
-
</div>
|
488
|
-
</div>
|
489
|
-
</div>
|
490
|
-
<div class="method">
|
491
|
-
<div class="title">
|
492
|
-
<a name="M000083"></a><b>head_async</b>(uri, query = nil, extheader = {})
|
493
|
-
</div>
|
494
|
-
<div class="description">
|
495
|
-
<p>
|
496
|
-
Async interface.
|
497
|
-
</p>
|
498
|
-
</div>
|
499
|
-
<div class="sourcecode">
|
500
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show source</a> ]</p>
|
501
|
-
<div id="M000083_source" class="dyn-source">
|
502
|
-
<pre>
|
503
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 312</span>
|
504
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">head_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
505
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>)
|
506
|
-
<span class="ruby-keyword kw">end</span>
|
507
|
-
</pre>
|
508
|
-
</div>
|
509
|
-
</div>
|
510
|
-
</div>
|
511
|
-
<div class="method">
|
512
|
-
<div class="title">
|
513
|
-
<a name="M000065"></a><b>no_proxy</b>()
|
514
|
-
</div>
|
515
|
-
<div class="sourcecode">
|
516
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show source</a> ]</p>
|
517
|
-
<div id="M000065_source" class="dyn-source">
|
518
|
-
<pre>
|
519
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 203</span>
|
520
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">no_proxy</span>
|
521
|
-
<span class="ruby-ivar">@no_proxy</span>
|
522
|
-
<span class="ruby-keyword kw">end</span>
|
523
|
-
</pre>
|
524
|
-
</div>
|
525
|
-
</div>
|
526
|
-
</div>
|
527
|
-
<div class="method">
|
528
|
-
<div class="title">
|
529
|
-
<a name="M000066"></a><b>no_proxy=</b>(no_proxy)
|
530
|
-
</div>
|
531
|
-
<div class="sourcecode">
|
532
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show source</a> ]</p>
|
533
|
-
<div id="M000066_source" class="dyn-source">
|
534
|
-
<pre>
|
535
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 207</span>
|
536
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">no_proxy=</span>(<span class="ruby-identifier">no_proxy</span>)
|
537
|
-
<span class="ruby-ivar">@no_proxy</span> = <span class="ruby-identifier">no_proxy</span>
|
538
|
-
<span class="ruby-identifier">reset_all</span>
|
539
|
-
<span class="ruby-keyword kw">end</span>
|
540
|
-
</pre>
|
541
|
-
</div>
|
542
|
-
</div>
|
543
|
-
</div>
|
544
|
-
<div class="method">
|
545
|
-
<div class="title">
|
546
|
-
<a name="M000080"></a><b>options</b>(uri, extheader = {}, &block)
|
547
|
-
</div>
|
548
|
-
<div class="sourcecode">
|
549
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show source</a> ]</p>
|
550
|
-
<div id="M000080_source" class="dyn-source">
|
551
|
-
<pre>
|
552
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 296</span>
|
553
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">options</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
554
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'OPTIONS'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
555
|
-
<span class="ruby-keyword kw">end</span>
|
556
|
-
</pre>
|
557
|
-
</div>
|
558
|
-
</div>
|
559
|
-
</div>
|
560
|
-
<div class="method">
|
561
|
-
<div class="title">
|
562
|
-
<a name="M000088"></a><b>options_async</b>(uri, extheader = {})
|
563
|
-
</div>
|
564
|
-
<div class="sourcecode">
|
565
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show source</a> ]</p>
|
566
|
-
<div id="M000088_source" class="dyn-source">
|
567
|
-
<pre>
|
568
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 332</span>
|
569
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">options_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">extheader</span> = {})
|
570
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'OPTIONS'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span>)
|
571
|
-
<span class="ruby-keyword kw">end</span>
|
572
|
-
</pre>
|
573
|
-
</div>
|
574
|
-
</div>
|
575
|
-
</div>
|
576
|
-
<div class="method">
|
577
|
-
<div class="title">
|
578
|
-
<a name="M000077"></a><b>post</b>(uri, body = nil, extheader = {}, &block)
|
579
|
-
</div>
|
580
|
-
<div class="sourcecode">
|
581
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p>
|
582
|
-
<div id="M000077_source" class="dyn-source">
|
583
|
-
<pre>
|
584
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 284</span>
|
585
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
586
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'POST'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
587
|
-
<span class="ruby-keyword kw">end</span>
|
588
|
-
</pre>
|
589
|
-
</div>
|
590
|
-
</div>
|
591
|
-
</div>
|
592
|
-
<div class="method">
|
593
|
-
<div class="title">
|
594
|
-
<a name="M000085"></a><b>post_async</b>(uri, body = nil, extheader = {})
|
595
|
-
</div>
|
596
|
-
<div class="sourcecode">
|
597
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show source</a> ]</p>
|
598
|
-
<div id="M000085_source" class="dyn-source">
|
599
|
-
<pre>
|
600
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 320</span>
|
601
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
602
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'POST'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>)
|
603
|
-
<span class="ruby-keyword kw">end</span>
|
604
|
-
</pre>
|
605
|
-
</div>
|
606
|
-
</div>
|
607
|
-
</div>
|
608
|
-
<div class="method">
|
609
|
-
<div class="title">
|
610
|
-
<a name="M000073"></a><b>post_content</b>(uri, body = nil, extheader = {}, &block)
|
611
|
-
</div>
|
612
|
-
<div class="sourcecode">
|
613
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show source</a> ]</p>
|
614
|
-
<div id="M000073_source" class="dyn-source">
|
615
|
-
<pre>
|
616
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 264</span>
|
617
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post_content</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
618
|
-
<span class="ruby-identifier">retry_connect</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span><span class="ruby-operator">|</span>
|
619
|
-
<span class="ruby-identifier">post</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
620
|
-
<span class="ruby-keyword kw">end</span>
|
621
|
-
<span class="ruby-keyword kw">end</span>
|
622
|
-
</pre>
|
623
|
-
</div>
|
624
|
-
</div>
|
625
|
-
</div>
|
626
|
-
<div class="method">
|
627
|
-
<div class="title">
|
628
|
-
<a name="M000055"></a><b>protocol_version</b>()
|
629
|
-
</div>
|
630
|
-
<div class="sourcecode">
|
631
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p>
|
632
|
-
<div id="M000055_source" class="dyn-source">
|
633
|
-
<pre>
|
634
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 145</span>
|
635
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protocol_version</span>
|
636
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">protocol_version</span>
|
637
|
-
<span class="ruby-keyword kw">end</span>
|
638
|
-
</pre>
|
639
|
-
</div>
|
640
|
-
</div>
|
641
|
-
</div>
|
642
|
-
<div class="method">
|
643
|
-
<div class="title">
|
644
|
-
<a name="M000056"></a><b>protocol_version=</b>(protocol_version)
|
645
|
-
</div>
|
646
|
-
<div class="sourcecode">
|
647
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p>
|
648
|
-
<div id="M000056_source" class="dyn-source">
|
649
|
-
<pre>
|
650
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 149</span>
|
651
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protocol_version=</span>(<span class="ruby-identifier">protocol_version</span>)
|
652
|
-
<span class="ruby-identifier">reset_all</span>
|
653
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">protocol_version</span> = <span class="ruby-identifier">protocol_version</span>
|
654
|
-
<span class="ruby-keyword kw">end</span>
|
655
|
-
</pre>
|
656
|
-
</div>
|
657
|
-
</div>
|
658
|
-
</div>
|
659
|
-
<div class="method">
|
660
|
-
<div class="title">
|
661
|
-
<a name="M000063"></a><b>proxy</b>()
|
662
|
-
</div>
|
663
|
-
<div class="sourcecode">
|
664
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show source</a> ]</p>
|
665
|
-
<div id="M000063_source" class="dyn-source">
|
666
|
-
<pre>
|
667
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 181</span>
|
668
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">proxy</span>
|
669
|
-
<span class="ruby-ivar">@proxy</span>
|
670
|
-
<span class="ruby-keyword kw">end</span>
|
671
|
-
</pre>
|
672
|
-
</div>
|
673
|
-
</div>
|
674
|
-
</div>
|
675
|
-
<div class="method">
|
676
|
-
<div class="title">
|
677
|
-
<a name="M000064"></a><b>proxy=</b>(proxy)
|
678
|
-
</div>
|
679
|
-
<div class="sourcecode">
|
680
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show source</a> ]</p>
|
681
|
-
<div id="M000064_source" class="dyn-source">
|
682
|
-
<pre>
|
683
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 185</span>
|
684
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">proxy=</span>(<span class="ruby-identifier">proxy</span>)
|
685
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">proxy</span>.<span class="ruby-identifier">nil?</span>
|
686
|
-
<span class="ruby-ivar">@proxy</span> = <span class="ruby-keyword kw">nil</span>
|
687
|
-
<span class="ruby-keyword kw">else</span>
|
688
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">proxy</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">URI</span>)
|
689
|
-
<span class="ruby-ivar">@proxy</span> = <span class="ruby-identifier">proxy</span>
|
690
|
-
<span class="ruby-keyword kw">else</span>
|
691
|
-
<span class="ruby-ivar">@proxy</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">proxy</span>)
|
692
|
-
<span class="ruby-keyword kw">end</span>
|
693
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@proxy</span>.<span class="ruby-identifier">scheme</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">or</span> <span class="ruby-ivar">@proxy</span>.<span class="ruby-identifier">scheme</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'http'</span> <span class="ruby-keyword kw">or</span>
|
694
|
-
<span class="ruby-ivar">@proxy</span>.<span class="ruby-identifier">host</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">or</span> <span class="ruby-ivar">@proxy</span>.<span class="ruby-identifier">port</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
|
695
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"unsupported proxy `#{proxy}'"</span>)
|
696
|
-
<span class="ruby-keyword kw">end</span>
|
697
|
-
<span class="ruby-keyword kw">end</span>
|
698
|
-
<span class="ruby-identifier">reset_all</span>
|
699
|
-
<span class="ruby-ivar">@proxy</span>
|
700
|
-
<span class="ruby-keyword kw">end</span>
|
701
|
-
</pre>
|
702
|
-
</div>
|
703
|
-
</div>
|
704
|
-
</div>
|
705
|
-
<div class="method">
|
706
|
-
<div class="title">
|
707
|
-
<a name="M000078"></a><b>put</b>(uri, body = nil, extheader = {}, &block)
|
708
|
-
</div>
|
709
|
-
<div class="sourcecode">
|
710
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p>
|
711
|
-
<div id="M000078_source" class="dyn-source">
|
712
|
-
<pre>
|
713
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 288</span>
|
714
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
715
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'PUT'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
716
|
-
<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="M000086"></a><b>put_async</b>(uri, body = nil, extheader = {})
|
724
|
-
</div>
|
725
|
-
<div class="sourcecode">
|
726
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show source</a> ]</p>
|
727
|
-
<div id="M000086_source" class="dyn-source">
|
728
|
-
<pre>
|
729
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 324</span>
|
730
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
731
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'PUT'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>)
|
732
|
-
<span class="ruby-keyword kw">end</span>
|
733
|
-
</pre>
|
734
|
-
</div>
|
735
|
-
</div>
|
736
|
-
</div>
|
737
|
-
<div class="method">
|
738
|
-
<div class="title">
|
739
|
-
<a name="M000061"></a><b>receive_timeout</b>()
|
740
|
-
</div>
|
741
|
-
<div class="sourcecode">
|
742
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show source</a> ]</p>
|
743
|
-
<div id="M000061_source" class="dyn-source">
|
744
|
-
<pre>
|
745
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 172</span>
|
746
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">receive_timeout</span>
|
747
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">receive_timeout</span>
|
748
|
-
<span class="ruby-keyword kw">end</span>
|
749
|
-
</pre>
|
750
|
-
</div>
|
751
|
-
</div>
|
752
|
-
</div>
|
753
|
-
<div class="method">
|
754
|
-
<div class="title">
|
755
|
-
<a name="M000062"></a><b>receive_timeout=</b>(receive_timeout)
|
756
|
-
</div>
|
757
|
-
<div class="sourcecode">
|
758
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show source</a> ]</p>
|
759
|
-
<div id="M000062_source" class="dyn-source">
|
760
|
-
<pre>
|
761
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 176</span>
|
762
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">receive_timeout=</span>(<span class="ruby-identifier">receive_timeout</span>)
|
763
|
-
<span class="ruby-identifier">reset_all</span>
|
764
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">receive_timeout</span> = <span class="ruby-identifier">receive_timeout</span>
|
765
|
-
<span class="ruby-keyword kw">end</span>
|
766
|
-
</pre>
|
767
|
-
</div>
|
768
|
-
</div>
|
769
|
-
</div>
|
770
|
-
<div class="method">
|
771
|
-
<div class="title">
|
772
|
-
<a name="M000071"></a><b>redirect_uri_callback=</b>(redirect_uri_callback)
|
773
|
-
</div>
|
774
|
-
<div class="sourcecode">
|
775
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show source</a> ]</p>
|
776
|
-
<div id="M000071_source" class="dyn-source">
|
777
|
-
<pre>
|
778
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 237</span>
|
779
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redirect_uri_callback=</span>(<span class="ruby-identifier">redirect_uri_callback</span>)
|
780
|
-
<span class="ruby-ivar">@redirect_uri_callback</span> = <span class="ruby-identifier">redirect_uri_callback</span>
|
781
|
-
<span class="ruby-keyword kw">end</span>
|
782
|
-
</pre>
|
783
|
-
</div>
|
784
|
-
</div>
|
785
|
-
</div>
|
786
|
-
<div class="method">
|
787
|
-
<div class="title">
|
788
|
-
<a name="M000082"></a><b>request</b>(method, uri, query = nil, body = nil, extheader = {}, &block)
|
789
|
-
</div>
|
790
|
-
<div class="sourcecode">
|
791
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show source</a> ]</p>
|
792
|
-
<div id="M000082_source" class="dyn-source">
|
793
|
-
<pre>
|
794
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 304</span>
|
795
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
796
|
-
<span class="ruby-identifier">conn</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">new</span>
|
797
|
-
<span class="ruby-identifier">conn_request</span>(<span class="ruby-identifier">conn</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
798
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">pop</span>
|
799
|
-
<span class="ruby-keyword kw">end</span>
|
800
|
-
</pre>
|
801
|
-
</div>
|
802
|
-
</div>
|
803
|
-
</div>
|
804
|
-
<div class="method">
|
805
|
-
<div class="title">
|
806
|
-
<a name="M000090"></a><b>request_async</b>(method, uri, query = nil, body = nil, extheader = {})
|
807
|
-
</div>
|
808
|
-
<div class="sourcecode">
|
809
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show source</a> ]</p>
|
810
|
-
<div id="M000090_source" class="dyn-source">
|
811
|
-
<pre>
|
812
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 340</span>
|
813
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">request_async</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
814
|
-
<span class="ruby-identifier">conn</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">new</span>
|
815
|
-
<span class="ruby-identifier">t</span> = <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">conn</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">tconn</span><span class="ruby-operator">|</span>
|
816
|
-
<span class="ruby-identifier">conn_request</span>(<span class="ruby-identifier">tconn</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>)
|
817
|
-
}
|
818
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">async_thread</span> = <span class="ruby-identifier">t</span>
|
819
|
-
<span class="ruby-identifier">conn</span>
|
820
|
-
<span class="ruby-keyword kw">end</span>
|
821
|
-
</pre>
|
822
|
-
</div>
|
823
|
-
</div>
|
824
|
-
</div>
|
825
|
-
<div class="method">
|
826
|
-
<div class="title">
|
827
|
-
<a name="M000091"></a><b>reset</b>(uri)
|
828
|
-
</div>
|
829
|
-
<div class="description">
|
830
|
-
<p>
|
831
|
-
Management interface.
|
832
|
-
</p>
|
833
|
-
</div>
|
834
|
-
<div class="sourcecode">
|
835
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show source</a> ]</p>
|
836
|
-
<div id="M000091_source" class="dyn-source">
|
837
|
-
<pre>
|
838
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 357</span>
|
839
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">uri</span>)
|
840
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">reset</span>(<span class="ruby-identifier">uri</span>)
|
841
|
-
<span class="ruby-keyword kw">end</span>
|
842
|
-
</pre>
|
843
|
-
</div>
|
844
|
-
</div>
|
845
|
-
</div>
|
846
|
-
<div class="method">
|
847
|
-
<div class="title">
|
848
|
-
<a name="M000092"></a><b>reset_all</b>()
|
849
|
-
</div>
|
850
|
-
<div class="sourcecode">
|
851
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show source</a> ]</p>
|
852
|
-
<div id="M000092_source" class="dyn-source">
|
853
|
-
<pre>
|
854
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 361</span>
|
855
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset_all</span>
|
856
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">reset_all</span>
|
857
|
-
<span class="ruby-keyword kw">end</span>
|
858
|
-
</pre>
|
859
|
-
</div>
|
860
|
-
</div>
|
861
|
-
</div>
|
862
|
-
<div class="method">
|
863
|
-
<div class="title">
|
864
|
-
<a name="M000070"></a><b>save_cookie_store</b>()
|
865
|
-
</div>
|
866
|
-
<div class="sourcecode">
|
867
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show source</a> ]</p>
|
868
|
-
<div id="M000070_source" class="dyn-source">
|
869
|
-
<pre>
|
870
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 233</span>
|
871
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save_cookie_store</span>
|
872
|
-
<span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">save_cookies</span>
|
873
|
-
<span class="ruby-keyword kw">end</span>
|
874
|
-
</pre>
|
875
|
-
</div>
|
876
|
-
</div>
|
877
|
-
</div>
|
878
|
-
<div class="method">
|
879
|
-
<div class="title">
|
880
|
-
<a name="M000059"></a><b>send_timeout</b>()
|
881
|
-
</div>
|
882
|
-
<div class="sourcecode">
|
883
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p>
|
884
|
-
<div id="M000059_source" class="dyn-source">
|
885
|
-
<pre>
|
886
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 163</span>
|
887
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_timeout</span>
|
888
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">send_timeout</span>
|
889
|
-
<span class="ruby-keyword kw">end</span>
|
890
|
-
</pre>
|
891
|
-
</div>
|
892
|
-
</div>
|
893
|
-
</div>
|
894
|
-
<div class="method">
|
895
|
-
<div class="title">
|
896
|
-
<a name="M000060"></a><b>send_timeout=</b>(send_timeout)
|
897
|
-
</div>
|
898
|
-
<div class="sourcecode">
|
899
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p>
|
900
|
-
<div id="M000060_source" class="dyn-source">
|
901
|
-
<pre>
|
902
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 167</span>
|
903
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_timeout=</span>(<span class="ruby-identifier">send_timeout</span>)
|
904
|
-
<span class="ruby-identifier">reset_all</span>
|
905
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">send_timeout</span> = <span class="ruby-identifier">send_timeout</span>
|
906
|
-
<span class="ruby-keyword kw">end</span>
|
907
|
-
</pre>
|
908
|
-
</div>
|
909
|
-
</div>
|
910
|
-
</div>
|
911
|
-
<div class="method">
|
912
|
-
<div class="title">
|
913
|
-
<a name="M000068"></a><b>set_basic_auth</b>(uri, user_id, passwd)
|
914
|
-
</div>
|
915
|
-
<div class="sourcecode">
|
916
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show source</a> ]</p>
|
917
|
-
<div id="M000068_source" class="dyn-source">
|
918
|
-
<pre>
|
919
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 218</span>
|
920
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_basic_auth</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">user_id</span>, <span class="ruby-identifier">passwd</span>)
|
921
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">URI</span>)
|
922
|
-
<span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">uri</span>)
|
923
|
-
<span class="ruby-keyword kw">end</span>
|
924
|
-
<span class="ruby-ivar">@basic_auth</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">user_id</span>, <span class="ruby-identifier">passwd</span>)
|
925
|
-
<span class="ruby-keyword kw">end</span>
|
926
|
-
</pre>
|
927
|
-
</div>
|
928
|
-
</div>
|
929
|
-
</div>
|
930
|
-
<div class="method">
|
931
|
-
<div class="title">
|
932
|
-
<a name="M000069"></a><b>set_cookie_store</b>(filename)
|
933
|
-
</div>
|
934
|
-
<div class="sourcecode">
|
935
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show source</a> ]</p>
|
936
|
-
<div id="M000069_source" class="dyn-source">
|
937
|
-
<pre>
|
938
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 225</span>
|
939
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_cookie_store</span>(<span class="ruby-identifier">filename</span>)
|
940
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">cookies_file</span>
|
941
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"overriding cookie file location"</span>)
|
942
|
-
<span class="ruby-keyword kw">end</span>
|
943
|
-
<span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">cookies_file</span> = <span class="ruby-identifier">filename</span>
|
944
|
-
<span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">load_cookies</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">filename</span>
|
945
|
-
<span class="ruby-keyword kw">end</span>
|
946
|
-
</pre>
|
947
|
-
</div>
|
948
|
-
</div>
|
949
|
-
</div>
|
950
|
-
<div class="method">
|
951
|
-
<div class="title">
|
952
|
-
<a name="M000067"></a><b>socket_sync=</b>(socket_sync)
|
953
|
-
</div>
|
954
|
-
<div class="description">
|
955
|
-
<p>
|
956
|
-
if your ruby is older than 2005-09-06, do not set socket_sync = false to
|
957
|
-
avoid an SSL socket blocking bug in openssl/buffering.rb.
|
958
|
-
</p>
|
959
|
-
</div>
|
960
|
-
<div class="sourcecode">
|
961
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show source</a> ]</p>
|
962
|
-
<div id="M000067_source" class="dyn-source">
|
963
|
-
<pre>
|
964
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 214</span>
|
965
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">socket_sync=</span>(<span class="ruby-identifier">socket_sync</span>)
|
966
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">socket_sync</span> = <span class="ruby-identifier">socket_sync</span>
|
967
|
-
<span class="ruby-keyword kw">end</span>
|
968
|
-
</pre>
|
969
|
-
</div>
|
970
|
-
</div>
|
971
|
-
</div>
|
972
|
-
<div class="method">
|
973
|
-
<div class="title">
|
974
|
-
<a name="M000081"></a><b>trace</b>(uri, query = nil, body = nil, extheader = {}, &block)
|
975
|
-
</div>
|
976
|
-
<div class="sourcecode">
|
977
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show source</a> ]</p>
|
978
|
-
<div id="M000081_source" class="dyn-source">
|
979
|
-
<pre>
|
980
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 300</span>
|
981
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">trace</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
982
|
-
<span class="ruby-identifier">request</span>(<span class="ruby-value str">'TRACE'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
983
|
-
<span class="ruby-keyword kw">end</span>
|
984
|
-
</pre>
|
985
|
-
</div>
|
986
|
-
</div>
|
987
|
-
</div>
|
988
|
-
<div class="method">
|
989
|
-
<div class="title">
|
990
|
-
<a name="M000089"></a><b>trace_async</b>(uri, query = nil, body = nil, extheader = {})
|
991
|
-
</div>
|
992
|
-
<div class="sourcecode">
|
993
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show source</a> ]</p>
|
994
|
-
<div id="M000089_source" class="dyn-source">
|
995
|
-
<pre>
|
996
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 336</span>
|
997
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">trace_async</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">body</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">extheader</span> = {})
|
998
|
-
<span class="ruby-identifier">request_async</span>(<span class="ruby-value str">'TRACE'</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>)
|
999
|
-
<span class="ruby-keyword kw">end</span>
|
1000
|
-
</pre>
|
1001
|
-
</div>
|
1002
|
-
</div>
|
1003
|
-
</div>
|
1004
|
-
<div class="sectiontitle">Private Instance methods</div>
|
1005
|
-
<div class="method">
|
1006
|
-
<div class="title">
|
1007
|
-
<a name="M000094"></a><b>conn_request</b>(conn, method, uri, query, body, extheader, &block)
|
1008
|
-
</div>
|
1009
|
-
<div class="sourcecode">
|
1010
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show source</a> ]</p>
|
1011
|
-
<div id="M000094_source" class="dyn-source">
|
1012
|
-
<pre>
|
1013
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 384</span>
|
1014
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conn_request</span>(<span class="ruby-identifier">conn</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1015
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">URI</span>)
|
1016
|
-
<span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">uri</span>)
|
1017
|
-
<span class="ruby-keyword kw">end</span>
|
1018
|
-
<span class="ruby-identifier">proxy</span> = <span class="ruby-identifier">no_proxy?</span>(<span class="ruby-identifier">uri</span>) <span class="ruby-operator">?</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-ivar">@proxy</span>
|
1019
|
-
<span class="ruby-keyword kw">begin</span>
|
1020
|
-
<span class="ruby-identifier">req</span> = <span class="ruby-identifier">create_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">!</span><span class="ruby-identifier">proxy</span>.<span class="ruby-identifier">nil?</span>)
|
1021
|
-
<span class="ruby-identifier">do_get_block</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>, <span class="ruby-identifier">conn</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1022
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Session</span><span class="ruby-operator">::</span><span class="ruby-constant">KeepAliveDisconnected</span>
|
1023
|
-
<span class="ruby-identifier">req</span> = <span class="ruby-identifier">create_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-operator">!</span><span class="ruby-identifier">proxy</span>.<span class="ruby-identifier">nil?</span>)
|
1024
|
-
<span class="ruby-identifier">do_get_block</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>, <span class="ruby-identifier">conn</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1025
|
-
<span class="ruby-keyword kw">end</span>
|
1026
|
-
<span class="ruby-keyword kw">end</span>
|
1027
|
-
</pre>
|
1028
|
-
</div>
|
1029
|
-
</div>
|
1030
|
-
</div>
|
1031
|
-
<div class="method">
|
1032
|
-
<div class="title">
|
1033
|
-
<a name="M000095"></a><b>create_request</b>(method, uri, query, body, extheader, proxy)
|
1034
|
-
</div>
|
1035
|
-
<div class="sourcecode">
|
1036
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show source</a> ]</p>
|
1037
|
-
<div id="M000095_source" class="dyn-source">
|
1038
|
-
<pre>
|
1039
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 398</span>
|
1040
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">extheader</span>, <span class="ruby-identifier">proxy</span>)
|
1041
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">extheader</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
|
1042
|
-
<span class="ruby-identifier">extheader</span> = <span class="ruby-identifier">extheader</span>.<span class="ruby-identifier">to_a</span>
|
1043
|
-
<span class="ruby-keyword kw">end</span>
|
1044
|
-
<span class="ruby-identifier">cred</span> = <span class="ruby-ivar">@basic_auth</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">uri</span>)
|
1045
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cred</span>
|
1046
|
-
<span class="ruby-identifier">extheader</span> <span class="ruby-operator"><<</span> [<span class="ruby-value str">'Authorization'</span>, <span class="ruby-value str">"Basic "</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">cred</span>]
|
1047
|
-
<span class="ruby-keyword kw">end</span>
|
1048
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cookies</span> = <span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">uri</span>)
|
1049
|
-
<span class="ruby-identifier">extheader</span> <span class="ruby-operator"><<</span> [<span class="ruby-value str">'Cookie'</span>, <span class="ruby-identifier">cookies</span>]
|
1050
|
-
<span class="ruby-keyword kw">end</span>
|
1051
|
-
<span class="ruby-identifier">boundary</span> = <span class="ruby-keyword kw">nil</span>
|
1052
|
-
<span class="ruby-identifier">content_type</span> = <span class="ruby-identifier">extheader</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
1053
|
-
<span class="ruby-identifier">key</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'content-type'</span>
|
1054
|
-
}
|
1055
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">content_type</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">content_type</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/boundary=(.+)\z/</span>
|
1056
|
-
<span class="ruby-identifier">boundary</span> = <span class="ruby-identifier">$1</span>
|
1057
|
-
<span class="ruby-keyword kw">end</span>
|
1058
|
-
<span class="ruby-identifier">req</span> = <span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new_request</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">body</span>, <span class="ruby-identifier">proxy</span>, <span class="ruby-identifier">boundary</span>)
|
1059
|
-
<span class="ruby-identifier">extheader</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
1060
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
|
1061
|
-
<span class="ruby-keyword kw">end</span>
|
1062
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">content_type</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-operator">!</span><span class="ruby-identifier">body</span>.<span class="ruby-identifier">nil?</span>
|
1063
|
-
<span class="ruby-identifier">req</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">set</span>(<span class="ruby-value str">'content-type'</span>, <span class="ruby-value str">'application/x-www-form-urlencoded'</span>)
|
1064
|
-
<span class="ruby-keyword kw">end</span>
|
1065
|
-
<span class="ruby-identifier">req</span>
|
1066
|
-
<span class="ruby-keyword kw">end</span>
|
1067
|
-
</pre>
|
1068
|
-
</div>
|
1069
|
-
</div>
|
1070
|
-
</div>
|
1071
|
-
<div class="method">
|
1072
|
-
<div class="title">
|
1073
|
-
<a name="M000097"></a><b>do_get_block</b>(req, proxy, conn, &block)
|
1074
|
-
</div>
|
1075
|
-
<div class="description">
|
1076
|
-
<p>
|
1077
|
-
!! CAUTION !!
|
1078
|
-
</p>
|
1079
|
-
<pre>
|
1080
|
-
Method 'do_get*' runs under MT conditon. Be careful to change.
|
1081
|
-
</pre>
|
1082
|
-
</div>
|
1083
|
-
<div class="sourcecode">
|
1084
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000097_source')" id="l_M000097_source">show source</a> ]</p>
|
1085
|
-
<div id="M000097_source" class="dyn-source">
|
1086
|
-
<pre>
|
1087
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 446</span>
|
1088
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_get_block</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>, <span class="ruby-identifier">conn</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1089
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">str</span> = <span class="ruby-ivar">@test_loopback_response</span>.<span class="ruby-identifier">shift</span>
|
1090
|
-
<span class="ruby-identifier">dump_dummy_request_response</span>(<span class="ruby-identifier">req</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">dump</span>, <span class="ruby-identifier">str</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1091
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new_response</span>(<span class="ruby-identifier">str</span>))
|
1092
|
-
<span class="ruby-keyword kw">return</span>
|
1093
|
-
<span class="ruby-keyword kw">end</span>
|
1094
|
-
<span class="ruby-identifier">content</span> = <span class="ruby-value str">''</span>
|
1095
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new_response</span>(<span class="ruby-identifier">content</span>)
|
1096
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"= Request\n\n"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1097
|
-
<span class="ruby-identifier">sess</span> = <span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">query</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>)
|
1098
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n= Response\n\n"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1099
|
-
<span class="ruby-identifier">do_get_header</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">res</span>, <span class="ruby-identifier">sess</span>)
|
1100
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">res</span>)
|
1101
|
-
<span class="ruby-identifier">sess</span>.<span class="ruby-identifier">get_data</span>() <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">str</span><span class="ruby-operator">|</span>
|
1102
|
-
<span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">str</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
|
1103
|
-
<span class="ruby-identifier">content</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">str</span>
|
1104
|
-
<span class="ruby-keyword kw">end</span>
|
1105
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">keep</span>(<span class="ruby-identifier">sess</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">sess</span>.<span class="ruby-identifier">closed?</span>
|
1106
|
-
<span class="ruby-keyword kw">end</span>
|
1107
|
-
</pre>
|
1108
|
-
</div>
|
1109
|
-
</div>
|
1110
|
-
</div>
|
1111
|
-
<div class="method">
|
1112
|
-
<div class="title">
|
1113
|
-
<a name="M000099"></a><b>do_get_header</b>(req, res, sess)
|
1114
|
-
</div>
|
1115
|
-
<div class="sourcecode">
|
1116
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show source</a> ]</p>
|
1117
|
-
<div id="M000099_source" class="dyn-source">
|
1118
|
-
<pre>
|
1119
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 486</span>
|
1120
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_get_header</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">res</span>, <span class="ruby-identifier">sess</span>)
|
1121
|
-
<span class="ruby-identifier">res</span>.<span class="ruby-identifier">version</span>, <span class="ruby-identifier">res</span>.<span class="ruby-identifier">status</span>, <span class="ruby-identifier">res</span>.<span class="ruby-identifier">reason</span> = <span class="ruby-identifier">sess</span>.<span class="ruby-identifier">get_status</span>
|
1122
|
-
<span class="ruby-identifier">sess</span>.<span class="ruby-identifier">get_header</span>().<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
1123
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-regexp re">/^([^:]+)\s*:\s*(.*)$/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">line</span>
|
1124
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"Unparsable header: '#{line}'."</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
1125
|
-
<span class="ruby-keyword kw">end</span>
|
1126
|
-
<span class="ruby-identifier">res</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">$1</span>, <span class="ruby-identifier">$2</span>)
|
1127
|
-
<span class="ruby-keyword kw">end</span>
|
1128
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">header</span>[<span class="ruby-value str">'set-cookie'</span>]
|
1129
|
-
<span class="ruby-identifier">res</span>.<span class="ruby-identifier">header</span>[<span class="ruby-value str">'set-cookie'</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">cookie</span><span class="ruby-operator">|</span>
|
1130
|
-
<span class="ruby-ivar">@cookie_manager</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">cookie</span>, <span class="ruby-identifier">req</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">request_uri</span>)
|
1131
|
-
<span class="ruby-keyword kw">end</span>
|
1132
|
-
<span class="ruby-keyword kw">end</span>
|
1133
|
-
<span class="ruby-keyword kw">end</span>
|
1134
|
-
</pre>
|
1135
|
-
</div>
|
1136
|
-
</div>
|
1137
|
-
</div>
|
1138
|
-
<div class="method">
|
1139
|
-
<div class="title">
|
1140
|
-
<a name="M000098"></a><b>do_get_stream</b>(req, proxy, conn)
|
1141
|
-
</div>
|
1142
|
-
<div class="sourcecode">
|
1143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show source</a> ]</p>
|
1144
|
-
<div id="M000098_source" class="dyn-source">
|
1145
|
-
<pre>
|
1146
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 466</span>
|
1147
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_get_stream</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>, <span class="ruby-identifier">conn</span>)
|
1148
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">str</span> = <span class="ruby-ivar">@test_loopback_response</span>.<span class="ruby-identifier">shift</span>
|
1149
|
-
<span class="ruby-identifier">dump_dummy_request_response</span>(<span class="ruby-identifier">req</span>.<span class="ruby-identifier">body</span>.<span class="ruby-identifier">dump</span>, <span class="ruby-identifier">str</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1150
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new_response</span>(<span class="ruby-identifier">str</span>))
|
1151
|
-
<span class="ruby-keyword kw">return</span>
|
1152
|
-
<span class="ruby-keyword kw">end</span>
|
1153
|
-
<span class="ruby-identifier">piper</span>, <span class="ruby-identifier">pipew</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">pipe</span>
|
1154
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new_response</span>(<span class="ruby-identifier">piper</span>)
|
1155
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"= Request\n\n"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1156
|
-
<span class="ruby-identifier">sess</span> = <span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">query</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">proxy</span>)
|
1157
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n= Response\n\n"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@debug_dev</span>
|
1158
|
-
<span class="ruby-identifier">do_get_header</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">res</span>, <span class="ruby-identifier">sess</span>)
|
1159
|
-
<span class="ruby-identifier">conn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">res</span>)
|
1160
|
-
<span class="ruby-identifier">sess</span>.<span class="ruby-identifier">get_data</span>() <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">str</span><span class="ruby-operator">|</span>
|
1161
|
-
<span class="ruby-identifier">pipew</span>.<span class="ruby-identifier">syswrite</span>(<span class="ruby-identifier">str</span>)
|
1162
|
-
<span class="ruby-keyword kw">end</span>
|
1163
|
-
<span class="ruby-identifier">pipew</span>.<span class="ruby-identifier">close</span>
|
1164
|
-
<span class="ruby-ivar">@session_manager</span>.<span class="ruby-identifier">keep</span>(<span class="ruby-identifier">sess</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">sess</span>.<span class="ruby-identifier">closed?</span>
|
1165
|
-
<span class="ruby-keyword kw">end</span>
|
1166
|
-
</pre>
|
1167
|
-
</div>
|
1168
|
-
</div>
|
1169
|
-
</div>
|
1170
|
-
<div class="method">
|
1171
|
-
<div class="title">
|
1172
|
-
<a name="M000100"></a><b>dump_dummy_request_response</b>(req, res)
|
1173
|
-
</div>
|
1174
|
-
<div class="sourcecode">
|
1175
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show source</a> ]</p>
|
1176
|
-
<div id="M000100_source" class="dyn-source">
|
1177
|
-
<pre>
|
1178
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 501</span>
|
1179
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dump_dummy_request_response</span>(<span class="ruby-identifier">req</span>, <span class="ruby-identifier">res</span>)
|
1180
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"= Dummy Request\n\n"</span>
|
1181
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">req</span>
|
1182
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\n\n= Dummy Response\n\n"</span>
|
1183
|
-
<span class="ruby-ivar">@debug_dev</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">res</span>
|
1184
|
-
<span class="ruby-keyword kw">end</span>
|
1185
|
-
</pre>
|
1186
|
-
</div>
|
1187
|
-
</div>
|
1188
|
-
</div>
|
1189
|
-
<div class="method">
|
1190
|
-
<div class="title">
|
1191
|
-
<a name="M000096"></a><b>no_proxy?</b>(uri)
|
1192
|
-
</div>
|
1193
|
-
<div class="sourcecode">
|
1194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show source</a> ]</p>
|
1195
|
-
<div id="M000096_source" class="dyn-source">
|
1196
|
-
<pre>
|
1197
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 428</span>
|
1198
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">no_proxy?</span>(<span class="ruby-identifier">uri</span>)
|
1199
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@proxy</span> <span class="ruby-keyword kw">or</span> <span class="ruby-constant">NO_PROXY_HOSTS</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">uri</span>.<span class="ruby-identifier">host</span>)
|
1200
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
|
1201
|
-
<span class="ruby-keyword kw">end</span>
|
1202
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@no_proxy</span>
|
1203
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
1204
|
-
<span class="ruby-keyword kw">end</span>
|
1205
|
-
<span class="ruby-ivar">@no_proxy</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/([^:,]+)(?::(\d+))?/</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">host</span>, <span class="ruby-identifier">port</span><span class="ruby-operator">|</span>
|
1206
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-node">/(\A|\.)#{Regexp.quote(host)}\z/i</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">host</span> <span class="ruby-operator">&&</span>
|
1207
|
-
(<span class="ruby-operator">!</span><span class="ruby-identifier">port</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">uri</span>.<span class="ruby-identifier">port</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">port</span>.<span class="ruby-identifier">to_i</span>)
|
1208
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
|
1209
|
-
<span class="ruby-keyword kw">end</span>
|
1210
|
-
<span class="ruby-keyword kw">end</span>
|
1211
|
-
<span class="ruby-keyword kw">false</span>
|
1212
|
-
<span class="ruby-keyword kw">end</span>
|
1213
|
-
</pre>
|
1214
|
-
</div>
|
1215
|
-
</div>
|
1216
|
-
</div>
|
1217
|
-
<div class="method">
|
1218
|
-
<div class="title">
|
1219
|
-
<a name="M000093"></a><b>retry_connect</b>(uri, query = nil) {|uri, query| ...}
|
1220
|
-
</div>
|
1221
|
-
<div class="sourcecode">
|
1222
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">show source</a> ]</p>
|
1223
|
-
<div id="M000093_source" class="dyn-source">
|
1224
|
-
<pre>
|
1225
|
-
<span class="ruby-comment cmt"># File lib/facets/more/httpaccess.rb, line 367</span>
|
1226
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retry_connect</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>)
|
1227
|
-
<span class="ruby-identifier">retry_number</span> = <span class="ruby-value">0</span>
|
1228
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">retry_number</span> <span class="ruby-operator"><</span> <span class="ruby-value">10</span>
|
1229
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">query</span>)
|
1230
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">status</span> <span class="ruby-operator">==</span> <span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Status</span><span class="ruby-operator">::</span><span class="ruby-constant">OK</span>
|
1231
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">content</span>
|
1232
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">HTTP</span><span class="ruby-operator">::</span><span class="ruby-constant">Status</span>.<span class="ruby-identifier">redirect?</span>(<span class="ruby-identifier">res</span>.<span class="ruby-identifier">status</span>)
|
1233
|
-
<span class="ruby-identifier">uri</span> = <span class="ruby-ivar">@redirect_uri_callback</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">res</span>)
|
1234
|
-
<span class="ruby-identifier">query</span> = <span class="ruby-keyword kw">nil</span>
|
1235
|
-
<span class="ruby-identifier">retry_number</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
1236
|
-
<span class="ruby-keyword kw">else</span>
|
1237
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"Unexpected response: #{res.header.inspect}"</span>)
|
1238
|
-
<span class="ruby-keyword kw">end</span>
|
1239
|
-
<span class="ruby-keyword kw">end</span>
|
1240
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">"Retry count exceeded."</span>)
|
1241
|
-
<span class="ruby-keyword kw">end</span>
|
1242
|
-
</pre>
|
1243
|
-
</div>
|
1244
|
-
</div>
|
1245
|
-
</div>
|
1246
|
-
</div>
|
1247
|
-
|
1248
|
-
</div>
|
1249
|
-
|
1250
|
-
</body>
|
1251
|
-
</html>
|