--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Keyword argument helper.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "args:"
    body: given arguments.
  - !ruby/struct:SM::Flow::LI 
    label: "*field:"
    body: a list of arguments to be extracted.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: "You can extract 3 arguments (a, b, c) with:"
- !ruby/struct:SM::Flow::VERB 
  body: "  include Util\n  def my_method(*args)\n    a, b, c = keyword_argument(args, :a, :b, :c)\n    ...\n  end\n  my_method(1, 2, 3)\n  my_method(:b =&gt; 2, :a = 1)\n"
- !ruby/struct:SM::Flow::P 
  body: instead of;
- !ruby/struct:SM::Flow::VERB 
  body: "  def my_method(a, b, c)\n    ...\n  end\n"
full_name: HTTPClient::Util#keyword_argument
is_singleton: false
name: keyword_argument
params: (args, *field)
visibility: public
