Calls the block with each capitalized field name:
res = Net::HTTP.get_response(hostname, '/todos/1') res.each_capitalized_name do |key| p key if key.start_with?('C') end
Output:
"Content-Type" "Connection" "Cache-Control" "Cf-Cache-Status" "Cf-Ray"
The capitalization is system-dependent; see Case Mapping.
Returns an enumerator if no block is given.
Create a new ArrayPatternNode
node.
Create a new AssocSplatNode
node.
Create a new CallTargetNode
node.
Create a new CapturePatternNode
node.
Create a new CaseMatchNode
node.
Create a new ConstantReadNode
node.
Create a new ConstantWriteNode
node.
Create a new FindPatternNode
node.
Create a new HashPatternNode
node.
Create a new IndexTargetNode
node.
Create a new InterpolatedStringNode
node.
Create a new InterpolatedSymbolNode
node.
Create a new InterpolatedXStringNode
node.
Create a new MatchRequiredNode
node.
Create a new MatchWriteNode
node.
Create a new MultiTargetNode
node.
Create a new ShareableConstantNode
node.
Creates a self-signed certificate with an issuer and subject from email
, a subject alternative name of email
and the given extensions
for the key
.
Deprecation method to deprecate Rubygems commands
Deprecation method to deprecate Rubygems commands