class CaptainHoog::Env

Public Instance Methods

method_missing(meth_name, *args, &block) click to toggle source
Calls superclass method
# File lib/captain_hoog/env.rb, line 4
def method_missing(meth_name, *args, &block)
  if self.has_key?(meth_name)
    return self[meth_name]
  else
    super
  end
end
respond_to_missing?(meth_name, include_private = false) click to toggle source
Calls superclass method
# File lib/captain_hoog/env.rb, line 12
def respond_to_missing?(meth_name, include_private = false)
  self.has_key?(meth_name) || super
end