class WPScan::DB::Sponsor
Public Class Methods
file_path()
click to toggle source
# File lib/wpscan/db/sponsor.rb, line 11 def self.file_path @file_path ||= DB_DIR.join('sponsor.txt') end
text()
click to toggle source
@return [ Hash ]
# File lib/wpscan/db/sponsor.rb, line 7 def self.text @text ||= file_path.exist? ? File.read(file_path).chomp : '' end