Sha256: 3ac047202086f484c7341ded535dd6012f412fde5049f7425360f4ff9adca7e5

Contents?: true

Size: 1.51 KB

Versions: 459

Compression:

Stored size: 1.51 KB

Contents

# coding: utf-8
# frozen_string_literal: true

require_relative "html4"

module Nokogiri
  # Alias for Nokogiri::HTML4
  HTML = Nokogiri::HTML4

  # :singleton-method: HTML
  # :call-seq: HTML(input, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_HTML, &block) → Nokogiri::HTML4::Document
  #
  # Parse HTML. Convenience method for Nokogiri::HTML4::Document.parse

  # :nodoc:
  define_singleton_method(:HTML, Nokogiri.method(:HTML4))

  # 💡 This module/namespace is an alias for Nokogiri::HTML4 as of v1.12.0. Before v1.12.0,
  #   Nokogiri::HTML4 did not exist, and this was the module/namespace for all HTML-related
  #   classes.
  module HTML
    # 💡 This class is an alias for Nokogiri::HTML4::Document as of v1.12.0.
    class Document < Nokogiri::XML::Document
    end

    # 💡 This class is an alias for Nokogiri::HTML4::DocumentFragment as of v1.12.0.
    class DocumentFragment < Nokogiri::XML::DocumentFragment
    end

    # 💡 This class is an alias for Nokogiri::HTML4::Builder as of v1.12.0.
    class Builder < Nokogiri::XML::Builder
    end

    module SAX
      # 💡 This class is an alias for Nokogiri::HTML4::SAX::Parser as of v1.12.0.
      class Parser < Nokogiri::XML::SAX::Parser
      end

      # 💡 This class is an alias for Nokogiri::HTML4::SAX::ParserContext as of v1.12.0.
      class ParserContext < Nokogiri::XML::SAX::ParserContext
      end

      # 💡 This class is an alias for Nokogiri::HTML4::SAX::PushParser as of v1.12.0.
      class PushParser
      end
    end
  end
end

Version data entries

459 entries across 457 versions & 11 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/nokogiri-1.16.6-x86_64-linux/lib/nokogiri/html.rb
nokogiri-1.18.1-x86_64-linux-musl lib/nokogiri/html.rb
nokogiri-1.18.1-x86_64-linux-gnu lib/nokogiri/html.rb
nokogiri-1.18.1-x86_64-darwin lib/nokogiri/html.rb
nokogiri-1.18.1-x64-mingw-ucrt lib/nokogiri/html.rb
nokogiri-1.18.1-java lib/nokogiri/html.rb
nokogiri-1.18.1 lib/nokogiri/html.rb
nokogiri-1.18.1-arm-linux-musl lib/nokogiri/html.rb
nokogiri-1.18.1-arm-linux-gnu lib/nokogiri/html.rb
nokogiri-1.18.1-arm64-darwin lib/nokogiri/html.rb
nokogiri-1.18.1-aarch64-linux-musl lib/nokogiri/html.rb
nokogiri-1.18.1-aarch64-linux-gnu lib/nokogiri/html.rb
nokogiri-1.18.0-x86_64-linux-musl lib/nokogiri/html.rb
nokogiri-1.18.0-x86_64-linux-gnu lib/nokogiri/html.rb
nokogiri-1.18.0-x86_64-darwin lib/nokogiri/html.rb
nokogiri-1.18.0-x64-mingw-ucrt lib/nokogiri/html.rb
nokogiri-1.18.0-java lib/nokogiri/html.rb
nokogiri-1.18.0 lib/nokogiri/html.rb
nokogiri-1.18.0-arm-linux-musl lib/nokogiri/html.rb
nokogiri-1.18.0-arm-linux-gnu lib/nokogiri/html.rb