Class: GraphQL::Document

Inherits:
Node
  • Object
show all
Defined in:
ext/graphql_parser/graphql_ruby.c

Instance Method Summary collapse

Instance Method Details

#definitions_sizeObject



54
55
56
57
58
# File 'ext/graphql_parser/graphql_ruby.c', line 54

static VALUE document_get_definitions_size(VALUE self) {
  struct GraphQLAstDocument *node;
  TypedData_Get_Struct(self, struct GraphQLAstDocument, &document_type, node);
  return INT2FIX(GraphQLAstDocument_get_definitions_size(node));
}