Hi, everybody. I wondered how would you write a ResourceBundle-like
class in Ruby. Basically, what I need is hash which is initialized by
reading key,value pairs from a file. I've thought of this

class ResourceBundle < Hash
  def initialize(fileName)
    #load data from fileName
  end
end

What do you think of this approach?

Regards,
Ed