Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > rexml/documentライブラリ > REXML::XMLDeclクラス > xmldecl

instance method REXML::XMLDecl#xmldecl

xmldecl(version, encoding, standalone) -> ()[permalink][rdoc]

内容を更新します。

[PARAM] version:
バージョン(文字列)
[PARAM] encoding:
エンコーディング(文字列 or nil)
[PARAM] standalone:
スタンドアロン文章かどうか("yes", "no", nil)