Class: XcodeResultBundleProcessor::SLF0::Model::DVTTextDocumentLocation
- Inherits:
-
Object
- Object
- XcodeResultBundleProcessor::SLF0::Model::DVTTextDocumentLocation
- Defined in:
- lib/xcoderesultbundleprocessor/slf0/model/dvttextdocumentlocation.rb
Class Method Summary collapse
Class Method Details
.deserialize(tokens) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/xcoderesultbundleprocessor/slf0/model/dvttextdocumentlocation.rb', line 6 def self.deserialize(tokens) parent = DVTDocumentLocation.deserialize(tokens) parent_values = DVTDocumentLocation.members.map { |member| parent[member] } self.new(*(parent_values + [ tokens.shift, tokens.shift, tokens.shift, tokens.shift, tokens.shift, tokens.shift, tokens.shift, ])) end |