文字列の中のダブルコーテーション

>> o = "hello \"world\""
=> "hello \"world\""
>> puts o
hello "world"
=> nil
>> o = 'hello "world"'
=> "hello \"world\""
>> puts o
hello "world"
=> nil
>> o = %Q|hello "world"|
=> "hello \"world\""
>> puts o
hello "world"
=> nil