Sha256: cd060f5af7758a4243dba23a848b3d1703a6321cfc21758067ce46f9344c5002
Contents?: true
Size: 251 Bytes
Versions: 37
Compression:
Stored size: 251 Bytes
Contents
module Typhoeus # Custom Response class class Response # @return [ Nokogiri::HTML ] The response's body parsed by Nokogiri def html @html ||= Nokogiri::HTML(body.encode('UTF-8', invalid: :replace, undef: :replace)) end end end
Version data entries
37 entries across 37 versions & 1 rubygems