module CMSScanner::ClassMethods
Module to be able to use these class methods when the CMSScanner
is included in another module
Public Instance Methods
Source
# File lib/cms_scanner.rb, line 125 def app_name to_s.underscore end
The lowercase name of the scanner Mainly used in directory paths like the default cookie-jar file and path to load the cli options from files
@return [ String ]
Source
# File lib/cms_scanner.rb, line 71 def cached_requests @@cached_requests ||= 0 end
@return [ Integer ]
Source
# File lib/cms_scanner.rb, line 76 def cached_requests=(value) @@cached_requests = value end
@param [ Integer ] value
Source
# File lib/cms_scanner.rb, line 111 def start_memory @@start_memory ||= 0 end
@return [ Integer ] The memory at the start of the scan (when Scan.new
), in B
Source
# File lib/cms_scanner.rb, line 116 def start_memory=(value) @@start_memory = value end
@param [ Integer ] value
Source
# File lib/cms_scanner.rb, line 101 def total_data_received @@total_data_received ||= 0 end
@return [ Integer ]
Source
# File lib/cms_scanner.rb, line 106 def total_data_received=(value) @@total_data_received = value end
@param [ Integer ] value
Source
# File lib/cms_scanner.rb, line 91 def total_data_sent @@total_data_sent ||= 0 end
@return [ Integer ]
Source
# File lib/cms_scanner.rb, line 96 def total_data_sent=(value) @@total_data_sent = value end
@param [ Integer ] value
Source
# File lib/cms_scanner.rb, line 81 def total_requests @@total_requests ||= 0 end
@return [ Integer ]
Source
# File lib/cms_scanner.rb, line 86 def total_requests=(value) @@total_requests = value end
@param [ Integer ] value