Ruby 1.9.2 リファレンスマニュアル
>
ライブラリ一覧
>
rexmlライブラリ
>
REXML::Declarationクラス
> write
instance method REXML::Declaration#write
write(output, indent)