Ruby module to provide dynamic getter/setter methods for hash elements