class TestPageParserFactory
Public Class Methods
can_parse?(options = {})
click to toggle source
# File lib/web-page-parser/parsers/test_page_parser.rb, line 4 def self.can_parse?(options = {}) @url_regexp.match(options[:url]) end
create(options = {})
click to toggle source
# File lib/web-page-parser/parsers/test_page_parser.rb, line 8 def self.create(options = {}) TestPageParser.new(options) end