Sha256: 3568498a6f9e84a4be5cfa24c042e14830f7bae9c450d4778dff1da1a818c7e7

Contents?: true

Size: 709 Bytes

Versions: 2

Compression:

Stored size: 709 Bytes

Contents

require "nokogiri"
require "open-uri"
require "json"

require "microformats2/version"
require "microformats2/absolute_uri"
require "microformats2/parser_core"
require "microformats2/parser"
require "microformats2/format_parser"
require "microformats2/property_parser"
require "microformats2/time_property_parser"
require "microformats2/results/parser_result"
require "microformats2/results/collection"
require "microformats2/results/property_set"

module Microformats2
  class << self
    def parse(html, base: nil)
      Parser.new.parse(html, base: base)
    end

    def read_html(html)
      Parser.new.read_html(html)
    end
  end # class << self

  class InvalidPropertyPrefix < StandardError; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
microformats2-3.0.1 lib/microformats2.rb
microformats2-3.0.0 lib/microformats2.rb