Module: XCActivityLog
- Defined in:
- lib/xcactivitylog.rb,
lib/xcactivitylog/parser.rb,
lib/xcactivitylog/objects.rb
Defined Under Namespace
Classes: DVTDocumentLocation, DVTMemberDocumentLocation, DVTTextDocumentLocation, Error, IDEActivityLogAnalyzerControlFlowStepEdge, IDEActivityLogAnalyzerControlFlowStepMessage, IDEActivityLogAnalyzerEventStepMessage, IDEActivityLogAnalyzerResultMessage, IDEActivityLogAnalyzerStepMessage, IDEActivityLogAnalyzerWarningMessage, IDEActivityLogCommandInvocationSection, IDEActivityLogMajorGroupSection, IDEActivityLogMessage, IDEActivityLogSection, IDEActivityLogUnitTestSection, IDEClangDiagnosticActivityLogMessage, IDECommandLineBuildLog, IDEDiagnosticActivityLogMessage, NSRange, Parser, SerializedObject, Xcode3ProjectDocumentLocation
Class Method Summary collapse
Class Method Details
.parse_file(path:) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/xcactivitylog.rb', line 10 def self.parse_file(path:) contents = File.open(path, 'rb', &:read) unzipped_contents = Zlib.gunzip(contents) Parser.new(class_deserializer: {}).parse!(unzipped_contents) end |