OpenHash is an alternative to OpenStruct and Ruby Facets' OpenObject. The goal of these libraries is to allow you to access your hash in a more object-oriented syntax, but unlike the others, this library simply uses method_missing.

installgem install mcmire-openhash

Elliot Winkler

183 total downloads 183 for this version
gem 'mcmire-openhash', '~> 0.1'
  1. 0.1 December 8, 2008 (5 KB)
Ruby Dependency
  1. >= 0