def all_settings
      settings = {}
      instance_variables.each do |var|
        key = var[1..-1]
        settings[key] = self.instance_variable_get(var)
      end
      settings
    end
def all_settings
      settings = {}
      instance_variables.each do |var|
        key = var[1..-1]
        settings[key] = self.instance_variable_get(var)
      end
      settings
    end
Returns a hash of the settings