Sha256: fd17fbeff86c663435d1fd0b1832a6c6ae72d2dc4eb48019a811d2af46c52a3b
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
module Sniffles module Sniffers class Vanilla include Text attr_accessor :doc attr_reader :output def initialize(response_body) @output = {} parse(response_body) && process_document end def process_document @output[:found] = found? end private def found? match? /Powered by Vanilla/ end end end end
Version data entries
4 entries across 4 versions & 1 rubygems