meta -> Hash
[permalink][rdoc][edit]-
ヘッダを収録したハッシュを返します。
require 'open-uri' URI.open('http://example.com/') {|f| p f.meta #=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT", # "content-type"=>"text/html;charset=utf-8", # "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e", # "transfer-encoding"=>"chunked"} }