Class: Dexter::LogParser
- Inherits:
-
Object
- Object
- Dexter::LogParser
- Defined in:
- lib/dexter/parsers/log_parser.rb
Direct Known Subclasses
Constant Summary collapse
- REGEX =
/duration: (\d+\.\d+) ms (statement|execute [^:]+): (.+)/
Instance Method Summary collapse
-
#initialize(logfile) ⇒ LogParser
constructor
A new instance of LogParser.
Constructor Details
#initialize(logfile) ⇒ LogParser
5 6 7 |
# File 'lib/dexter/parsers/log_parser.rb', line 5 def initialize(logfile) @logfile = logfile end |