Sha256: d1d6589c5fe4c1ceb0af920a809a646492fc4101cda2aa9fe460b3a9b1fe7977
Contents?: true
Size: 658 Bytes
Versions: 35
Compression:
Stored size: 658 Bytes
Contents
module CMSScanner module Finders # Independent Finder module IndependentFinder def self.included(base) base.extend(ClassMethods) end # Hack to have the #find as a class method module ClassMethods def find(target, opts = {}) new(target).find(opts) end end # @param [ Hash ] opts # @option opts [ Symbol ] mode (:mixed, :passive, :aggressive) # # @return [ Findings ] def find(opts = {}) finders.run(opts) end # @return [ Array ] def finders @finders ||= NS::Finders::IndependentFinders.new end end end end
Version data entries
35 entries across 35 versions & 1 rubygems