Module: Microformats

Defined in:
lib/microformats2.rb

Overview

duplicate of above to allow for early adopters to use Microformats.parse instead of Microformats2.parse

Defined Under Namespace

Classes: InvalidPropertyPrefix

Class Method Summary collapse

Class Method Details

.parse(html, base: nil) ⇒ Object



33
34
35
# File 'lib/microformats2.rb', line 33

def parse(html, base: nil)
  Microformats2::Parser.new.parse(html, base: base)
end

.read_html(html) ⇒ Object



37
38
39
# File 'lib/microformats2.rb', line 37

def read_html(html)
  Microformats2::Parser.new.read_html(html)
end