Sha256: 2fa8c9b41a61ea43979af54a533e5ba4de3687b667ca3bed4b2a35d26fbdd61e
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
module Sniffles module Sniffers class Jquery include Text attr_accessor :doc attr_reader :output def initialize(response_body) @output = {} parse(response_body) && process_document end def process_document @output[:found] = jquery? end private def jquery? match?(/jQuery/) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sniffles-0.1.1 | lib/sniffles/sniffers/javascript/jquery.rb |
sniffles-0.1.0.1 | lib/sniffles/sniffers/javascript/jquery.rb |
sniffles-0.1.0 | lib/sniffles/sniffers/javascript/jquery.rb |