# File lib/htmldoc.rb, line 104
    def set_option(option, value)
      if @@all_options.include?(option)
        if value
          @options[option] = value
        else
          @options.delete(option)
        end
      else
        raise HTMLDocException.new("Invalid option #{option.to_s}")
      end
    end