class Session::AbstractSession

def getopt opt, hash, default = nil

def getopt opt, hash, default = nil
  key = opt
  return hash[key] if hash.has_key? key
  key = "#{ key }"
  return hash[key] if hash.has_key? key
  key = key.intern
  return hash[key] if hash.has_key? key
  return default
end