Given the input file...
... The key bar is returned as "bar". To make this a bit clearer:
require "toml"
pp TOML.load(<<'__eos__')
[foo]
"bar" = "baz"
__eos__
# {"foo"=>{"\"bar\""=>"baz"}}
The returned hash includes the key bar erroneously still wrapped in quotes.
Given the input file...
... The key
baris returned as"bar". To make this a bit clearer:The returned hash includes the key
barerroneously still wrapped in quotes.