module Deba

Constants

VERSION

Public Class Methods

extract(html, options = {}) click to toggle source
# File lib/deba.rb, line 19
def self.extract(html, options = {})
  doc = html.is_a?(Nokogiri::XML::Node) ? html : Nokogiri.HTML(html)
  Deba::Extractor.new(doc, options).extract
end