Class: RCEE::PackagedSource::Extension

Inherits:
Object
  • Object
show all
Defined in:
ext/packaged_source/packaged_source.c

Class Method Summary collapse

Class Method Details

.do_somethingObject



7
8
9
10
11
12
13
14
15
# File 'ext/packaged_source/packaged_source.c', line 7

static VALUE
rb_packaged_source_extension_class_do_something(VALUE self)
{
  int major, minor, patch;

  yaml_get_version(&major, &minor, &patch);

  return rb_sprintf("libyaml version %d.%d.%d", major, minor, patch);
}