Class: GraphQL::StringValue

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

Instance Method Summary collapse

Instance Method Details

#valueObject



442
443
444
445
446
# File 'ext/graphql_parser/graphql_ruby.c', line 442

static VALUE string_value_get_value(VALUE self) {
  struct GraphQLAstStringValue *node;
  TypedData_Get_Struct(self, struct GraphQLAstStringValue, &string_value_type, node);
  return rb_str_new_cstr(GraphQLAstStringValue_get_value(node));
}