Class: GraphQL::EnumValue

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

Instance Method Summary collapse

Instance Method Details

#valueObject



488
489
490
491
492
# File 'ext/graphql_parser/graphql_ruby.c', line 488

static VALUE enum_value_get_value(VALUE self) {
  struct GraphQLAstEnumValue *node;
  TypedData_Get_Struct(self, struct GraphQLAstEnumValue, &enum_value_type, node);
  return rb_str_new_cstr(GraphQLAstEnumValue_get_value(node));
}