Method: XCResult::TypeDefinition#initialize

Defined in:
lib/xcresult/models.rb

#initialize(data) ⇒ TypeDefinition



329
330
331
332
333
# File 'lib/xcresult/models.rb', line 329

def initialize(data)
  self.name = fetch_value(data, 'name')
  self.supertype = TypeDefinition.new(data['supertype']) if data['supertype']
  super
end