cymbal
Convert Ruby hash keys from strings to symbols for easier manipulation
Usage
require 'cymbal'
x = {
'foo' => 1,
'bar' => {
'cats' => 6,
'dogs' => 'better'
}
}
Cymbal.symbolize(x) # returns {:foo=>1, :bar=>{:cats=>6, :dogs=>"better"}}
Installation
gem install cymbal
License
cymbal is released under the MIT License. See the bundled LICENSE file for details.