Sha256: 70572832ccb8cb3b9713bd8101e41f441e171c65dfdc71d1b356d512e364c524
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Aitch module ResponseParser module HTMLParser def self.type :html end def self.match?(content_type) content_type =~ /html/ end def self.load(source) Nokogiri::HTML(source.to_s) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aitch-1.0.2 | lib/aitch/response_parser/html_parser.rb |
aitch-1.0.1 | lib/aitch/response_parser/html_parser.rb |
aitch-1.0.0 | lib/aitch/response_parser/html_parser.rb |