Class: Utilities::Kb
- Inherits:
-
Object
- Object
- Utilities::Kb
- Defined in:
- lib/fingerprinter/utilities/kb.rb
Overview
Files : Utilities related to files
Class Method Summary collapse
- .coverage_id(plugin, url) ⇒ Object
- .inspected(plugin, url) ⇒ Object
- .inspected?(plugin, url) ⇒ Boolean
Class Method Details
.coverage_id(plugin, url) ⇒ Object
6 7 8 |
# File 'lib/fingerprinter/utilities/kb.rb', line 6 def self.coverage_id(plugin, url) "#{plugin}:#{url}" end |
.inspected(plugin, url) ⇒ Object
10 11 12 |
# File 'lib/fingerprinter/utilities/kb.rb', line 10 def self.inspected(plugin, url) Fingerprinter::Technologies.kb[:inspected] << coverage_id(plugin, url) end |
.inspected?(plugin, url) ⇒ Boolean
14 15 16 |
# File 'lib/fingerprinter/utilities/kb.rb', line 14 def self.inspected?(plugin, url) Fingerprinter::Technologies.kb[:inspected].include?(coverage_id(plugin, url)) end |