るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. kernel p
  5. kernel $-p

検索結果

<< < 1 2 3 >>

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"
//}...
<< < 1 2 3 >>