Sha256: 086d7a0efc51425647452e42a8db1844548df40d525a9a0a01f2d60dcaa1bc15
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aitch-1.2.0 | lib/aitch/response_parser/html_parser.rb |
aitch-1.1.0 | lib/aitch/response_parser/html_parser.rb |