Sha256: 1c1189bdd75433362ec1a62ff1c33cbde0a90bd640a4ab1ed05c755e84d34b9b
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true require "whatweb" module Ryo module Plugin class Tech def self.discover(uri) target = WhatWeb::Target.new(uri) plugins = WhatWeb::PluginManager.load_plugins results = {} plugins.each do |name, plugin| result = plugin.execute(target) results[name] = result unless result.empty? end results end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ryo-0.3.0 | lib/ryo/plugin/tech.rb |
ryo-0.2.0 | lib/ryo/plugin/tech.rb |
ryo-0.1.0 | lib/ryo/plugin/tech.rb |