class Trainer::XCResult::TypeDefinition

Attributes

name[RW]
supertype[RW]

Public Class Methods

new(data) click to toggle source
Calls superclass method Trainer::XCResult::AbstractObject::new
# File lib/trainer/xcresult.rb, line 308
def initialize(data)
  self.name = fetch_value(data, "name")
  self.supertype = TypeDefinition.new(data["supertype"]) if data["supertype"]
  super
end