るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. httpstatus rc_see_other
  2. webrick/httpstatus rc_see_other
  3. rc_see_other webrick/httpstatus
  4. rc_see_other webrick::httpstatus

ライブラリ

検索結果

Psych::Nodes::Stream#encoding=(enc) (54358.0)

stream に使われるエンコーディングを指定します。

stream に使われるエンコーディングを指定します。

以下のいずれかを指定します。
* Psych::Nodes::Node::UTF8
* Psych::Nodes::Node::UTF16BE
* Psych::Nodes::Node::UTF16LE

@param enc 設定するエンコーディング
@see Psych::Nodes::Stream#encoding

REXML::XMLDecl#encoding=(enc) (54358.0)

エンコーディングを enc に設定します。

エンコーディングを enc に設定します。

enc に nil を渡すと XML 宣言では encoding が
指定されていない(デフォルトで UTF-8 が使われる)
ことになります。

@param enc エンコーディング(文字列 or nil)
@see REXML::XMLDecl#encoding=