Module: Jsonnet

Defined in:
lib/jsonnet.rb,
lib/jsonnet/vm.rb,
lib/jsonnet/version.rb,
ext/jsonnet/jsonnet.c

Defined Under Namespace

Classes: EvaluationError, UnsupportedEncodingError, VM

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.versionString

Returns the version of the underlying C++ implementation of Jsonnet.

Returns:

  • (String)


131
132
133
134
135
# File 'ext/jsonnet/jsonnet.c', line 131

static VALUE
jw_s_version(VALUE mod)
{
    return rb_usascii_str_new_cstr(jsonnet_version());
}