Module: Microformats

Defined in:
lib/microformats.rb,
lib/microformats/parser.rb,
lib/microformats/version.rb,
lib/microformats/parser_core.rb,
lib/microformats/absolute_uri.rb,
lib/microformats/format_parser.rb,
lib/microformats/property_parser.rb,
lib/microformats/results/collection.rb,
lib/microformats/results/property_set.rb,
lib/microformats/time_property_parser.rb,
lib/microformats/results/parser_result.rb

Defined Under Namespace

Classes: AbsoluteUri, Collection, FormatParser, InvalidPropertyPrefix, Parser, ParserCore, ParserResult, PropertyParser, PropertySet, TimePropertyParser

Constant Summary collapse

VERSION =
"4.0.7"

Class Method Summary collapse

Class Method Details

.parse(html, base: nil) ⇒ Object



18
19
20
# File 'lib/microformats.rb', line 18

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

.read_html(html) ⇒ Object



22
23
24
# File 'lib/microformats.rb', line 22

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