class GraphQL::Client::Schema::IncludeDirective

def initialize(of_klass)

of_klass - BaseType instance

Internal: Construct list wrapper from other BaseType.
def initialize(of_klass)
  unless of_klass.is_a?(BaseType)
    raise TypeError, "expected #{of_klass.inspect} to be a #{BaseType}"
  end
  @of_klass = of_klass
end