Class: XcodeResultBundleProcessor::SLF0::Model::IDEActivityLogMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/xcoderesultbundleprocessor/slf0/model/ideactivitylogmessage.rb

Class Method Summary collapse

Class Method Details

.deserialize(tokens) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/xcoderesultbundleprocessor/slf0/model/ideactivitylogmessage.rb', line 7

def self.deserialize(tokens)
  self.new(
      title:                   tokens.shift,
      short_title:             tokens.shift,
      time_emitted:            tokens.shift,
      range_in_section_text_1: tokens.shift,
      range_in_section_text_2: tokens.shift,
      submessages:             Deserializer.deserialize_list(tokens),
      severity:                tokens.shift,
      type:                    tokens.shift,
      location:                Deserializer.deserialize(tokens),
      category_ident:          tokens.shift,
      secondary_locations:     Deserializer.deserialize_list(tokens),
      additional_description:  tokens.shift
  )
end