Ruby 1.9.2 リファレンスマニュアル
>
ライブラリ一覧
>
rexmlライブラリ
>
REXML::XMLDeclクラス
> writeencoding
instance method REXML::XMLDecl#writeencoding
writeencoding