Ruby 2.5.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Stringクラス > undump

instance method String#undump

undump -> String[permalink][rdoc]

self のエスケープを戻したものを返します。

String#dump の逆変換にあたります。



"\"hello \\n ''\"".undump #=> "hello \n ''"

[SEE_ALSO] String#dump