216件ヒット
[201-216件を表示]
(0.055秒)
ライブラリ
- ビルトイン (24)
-
net
/ http (24) -
rexml
/ document (72) -
rexml
/ parsers / pullparser (12) -
rexml
/ streamlistener (12) -
webrick
/ httpservlet / abstract (72)
クラス
- Hash (24)
-
Net
:: HTTPResponse (24) -
REXML
:: DocType (36) -
REXML
:: Entity (24) -
REXML
:: ExternalEntity (12) -
REXML
:: Parsers :: PullEvent (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72)
モジュール
キーワード
- body (12)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) -
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - entities (12)
- entitydecl (12)
- entitydecl? (12)
- pubid (12)
-
to
_ s (12) - write (24)
検索結果
-
REXML
:: Entity # to _ s -> String (3025.0) -
実体宣言を文字列化したものを返します。
...実体宣言を文字列化したものを返します。
@see REXML::Entity#write
//emlist[][ruby]{
e = REXML::ENTITY.new("w", "wee");
p e.to_s # => "<!ENTITY w \"wee\">"
//}... -
Net
:: HTTPResponse # body -> String | () | nil (3008.0) -
エンティティボディを返します。
...Net::HTTPResponse#read_body をブロック付きで呼んだ場合には
このメソッドはNet::ReadAdapter のインスタンスを返しますが、
これは使わないでください。
entity は obsolete です。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/i......ndex.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.body[0..10] # => "<!doctype h"
//}...