Class: XcodeResultBundleProcessor::SLF0::Model::IDEActivityLogUnitTestSection

Inherits:
Object
  • Object
show all
Defined in:
lib/xcoderesultbundleprocessor/slf0/model/ideactivitylogunittestsection.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
# File 'lib/xcoderesultbundleprocessor/slf0/model/ideactivitylogunittestsection.rb', line 7

def self.deserialize(tokens)
  parent        = IDEActivityLogSection.deserialize(tokens)
  parent_values = IDEActivityLogSection.members.map { |member| parent[member] }

  self.new(
      *(parent_values +
          [tokens.shift,
           tokens.shift,
           tokens.shift,
           tokens.shift,
           tokens.shift,
           tokens.shift])
  )
end