Sha256: 01e49805b22c907d6bc7b88e27b05d9a92514b2dc4ac7216edbd06454633358c
Contents?: true
Size: 976 Bytes
Versions: 4
Compression:
Stored size: 976 Bytes
Contents
module RequestLogAnalyzer::Source def self.const_missing(const) RequestLogAnalyzer::load_default_class_file(self, const) end class Base include RequestLogAnalyzer::FileFormat::Awareness # A hash of options attr_reader :options # The current Request object that is being parsed attr_reader :current_request # The total number of parsed lines attr_reader :parsed_lines # The total number of parsed requests. attr_reader :parsed_requests # The number of skipped lines because of warnings attr_reader :skipped_lines # Base source class used to filter input requests. # Initializer # <tt>format</tt> The file format # <tt>options</tt> Are passed to the filters. def initialize(format, options = {}) @options = options register_file_format(format) end def prepare end def requests(&block) return true end def finalize end end end
Version data entries
4 entries across 4 versions & 2 rubygems