Sha256: 0c971b5b03e899de136df4169bd3899c754ddbac3bfe3622d07f4fa0a13055f8
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
module CMSScanner module Finders # Same Type Finders container # # This class is designed to handle same type results, such as enumeration of plugins, # themes etc. class SameTypeFinders < IndependentFinders # @param [ Hash ] opts # @option opts [ Symbol ] :mode :mixed, :passive or :aggressive # # @return [ Findings ] def run(opts = {}) symbols_from_mode(opts[:mode]).each do |symbol| each do |finder| [*finder.send(symbol, opts)].compact.each do |found| findings << found end end end findings end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cms_scanner-0.0.15 | lib/cms_scanner/finders/same_type_finders.rb |
cms_scanner-0.0.14 | lib/cms_scanner/finders/same_type_finders.rb |