def load_config(file = @options.config)
      config = load(file)
      config[:timezone_difference] = 0        if config[:timezone_difference].nil?
      config[:mentions]            = {}       if config[:mentions].nil?
      config[:mentions][:enabled]  = true     if config[:mentions][:enabled].nil?
      config[:mentions][:top]      = 10       if config[:mentions][:top].nil?
      config[:mentions][:notop]    = 20       if config[:mentions][:notop].nil?
      config[:clients]             = {}       if config[:clients].nil?
      config[:clients][:enabled]   = true     if config[:clients][:enabled].nil?
      config[:clients][:top]       = 10       if config[:clients][:top].nil?
      config[:clients][:notop]     = 20       if config[:clients][:notop].nil?
      config[:hashtags]            = {}       if config[:hashtags].nil?
      config[:hashtags][:enabled]  = true     if config[:hashtags][:enabled].nil?
      config[:hashtags][:top]      = 10       if config[:hashtags][:top].nil?
      config[:hashtags][:notop]    = 20       if config[:hashtags][:notop].nil?
      config[:smileys]             = {}       if config[:smileys].nil?
      config[:smileys][:enabled]   = true     if config[:smileys][:enabled].nil?
      config[:smileys][:top]       = 10       if config[:smileys][:top].nil?
      config[:smileys][:notop]     = 0        if config[:smileys][:notop].nil?
      config[:ignored_users]       = []       if config[:ignored_users].nil?
      config[:renamed_users]       = []       if config[:renamed_users].nil?
      args_override config
    end
def load_config(file = @options.config)
      config = load(file)
      config[:timezone_difference] = 0        if config[:timezone_difference].nil?
      config[:mentions]            = {}       if config[:mentions].nil?
      config[:mentions][:enabled]  = true     if config[:mentions][:enabled].nil?
      config[:mentions][:top]      = 10       if config[:mentions][:top].nil?
      config[:mentions][:notop]    = 20       if config[:mentions][:notop].nil?
      config[:clients]             = {}       if config[:clients].nil?
      config[:clients][:enabled]   = true     if config[:clients][:enabled].nil?
      config[:clients][:top]       = 10       if config[:clients][:top].nil?
      config[:clients][:notop]     = 20       if config[:clients][:notop].nil?
      config[:hashtags]            = {}       if config[:hashtags].nil?
      config[:hashtags][:enabled]  = true     if config[:hashtags][:enabled].nil?
      config[:hashtags][:top]      = 10       if config[:hashtags][:top].nil?
      config[:hashtags][:notop]    = 20       if config[:hashtags][:notop].nil?
      config[:smileys]             = {}       if config[:smileys].nil?
      config[:smileys][:enabled]   = true     if config[:smileys][:enabled].nil?
      config[:smileys][:top]       = 10       if config[:smileys][:top].nil?
      config[:smileys][:notop]     = 0        if config[:smileys][:notop].nil?
      config[:ignored_users]       = []       if config[:ignored_users].nil?
      config[:renamed_users]       = []       if config[:renamed_users].nil?
      args_override config
    end
Loads a YAML file, parses it and checks if all values are given.  If a
 value is missing, it will be set with the default value.