def report_levels=(given)
      available = self.class.available_report_levels
      levels    = []

      given.each do |level|
        levels << available[level] if available[level]
      end

      if levels.empty?
        levels = default_report_levels
      end

      @report_levels = levels
    end
def report_levels=(given)
      available = self.class.available_report_levels
      levels    = []

      given.each do |level|
        levels << available[level] if available[level]
      end

      if levels.empty?
        levels = default_report_levels
      end

      @report_levels = levels
    end
Sets a list of the enabled report levels.

 @param [Array] given The report levels specified by the user.
 @return [Array]