yagni provides an easy way to access your hash values using its \ simple, method-like notation. Useful when parsing complex hashes, or loading YAML or JSON files (but not limited to that!) and being able to access your data in an elegant manner
Gemfile gem 'yagni', '~> 1.3'
install gem install yagni