class Rbexy::HashMash

Public Class Methods

new(hash) click to toggle source
# File lib/rbexy/hash_mash.rb, line 3
def initialize(hash)
  replace(hash)
end

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source
Calls superclass method
# File lib/rbexy/hash_mash.rb, line 7
def method_missing(meth, *args, &block)
  if has_key?(meth)
    self[meth]
  else
    super
  end
end