D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Net
/
HTTPHeader
/
Filename :
each_name-i.ri
back
Copy
U:RDoc::AnyMethod[iI"each_name:ETI"Net::HTTPHeader#each_name;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I")Calls the block with each field key:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"8res = Net::HTTP.get_response(hostname, '/todos/1') ;TI"res.each_key do |key| ;TI"% p key if key.start_with?('c') ;TI" end ;T:@format0o; ; [I"Output:;T@o;; [ I""content-type" ;TI""connection" ;TI""cache-control" ;TI""cf-cache-status" ;TI""cf-ray" ;T; 0o; ; [I"0Returns an enumerator if no block is given.;T@o; ; [I"HNet::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key.;T: @fileI"lib/net/http/header.rb;T:0@omit_headings_from_table_of_contents_below00I"key;T[[I" each_key;To;; [ ;@%;0I"();T@%FI"HTTPHeader;TcRDoc::NormalModule00