るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.180秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. net/pop n_bytes
  3. pop n_bytes
  4. openssl n=
  5. openssl n

ライブラリ

モジュール

キーワード

検索結果

REXML::Instruction#content -> String | nil (81961.0)

XML 処理命令の内容を返します。

XML 処理命令の内容を返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content...

Net::IMAP::BodyTypeBasic#encoding -> String (72703.0)

Content-Transfer-Encoding の値を文字列で返します。

Content-Transfer-Encoding の値を文字列で返します。

@see 2045

Net::IMAP::BodyTypeMessage#encoding -> String (72703.0)

Content-Transfer-Encoding の値を文字列で返します。

Content-Transfer-Encoding の値を文字列で返します。

@see 2045

Net::IMAP::BodyTypeText#encoding -> String (72703.0)

Content-Transfer-Encoding の値を文字列で返します。

Content-Transfer-Encoding の値を文字列で返します。

@see 2045

OpenURI::Meta#content_encoding -> [String] (64438.0)

対象となるリソースの Content-Encoding を文字列の配列として返します。 Content-Encoding ヘッダがない場合は、空の配列を返します。

対象となるリソースの Content-Encoding を文字列の配列として返します。
Content-Encoding ヘッダがない場合は、空の配列を返します。

例:

//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/f.tar.gz') {|f|
p f.content_encoding #=> ["x-gzip"]
}
//}

絞り込み条件を変える

REXML::Instruction#target -> String (9340.0)

XML 処理命令のターゲットを返します。

XML 処理命令のターゲットを返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "t...

OpenURI::Meta#meta -> Hash (9040.0)

ヘッダを収録したハッシュを返します。

ヘッダを収録したハッシュを返します。

//emlist[例][ruby]{
require 'open-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...