# File lib/htmldoc.rb, line 129
    def add_page(page)
      if /^(http|https)/ =~ page
        type = :url
      elsif File.exists?(page)
        type = :file
      else
        type = :text
      end
      @pages << { :type => type, :value => page }
    end