class Trainer::LegacyXCResult::AbstractObject
Model attributes and relationships taken from running the following command: xcrun xcresulttool formatDescription –legacy
Attributes
Public Class Methods
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 12 def initialize(data) self.type = data["_type"]["_name"] end
Public Instance Methods
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 16 def fetch_value(data, key) return (data[key] || {})["_value"] end
Source
# File trainer/lib/trainer/legacy_xcresult.rb, line 20 def fetch_values(data, key) return (data[key] || {})["_values"] || [] end