Class: GraphQL::Variable

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

Instance Method Summary collapse

Instance Method Details

#nameObject



373
374
375
376
377
# File 'ext/graphql_parser/graphql_ruby.c', line 373

static VALUE variable_get_name(VALUE self) {
  struct GraphQLAstVariable *node;
  TypedData_Get_Struct(self, struct GraphQLAstVariable, &variable_type, node);
  return TypedData_Wrap_Struct(name_class, &name_type, (void*)GraphQLAstVariable_get_name(node));
}