Class: Krypt::ASN1::Template::Value

Inherits:
Object
  • Object
show all
Defined in:
ext/krypt/core/krypt_asn1_template.c

Instance Method Summary collapse

Instance Method Details

#to_sObject



403
404
405
406
407
408
409
410
411
412
# File 'ext/krypt/core/krypt_asn1_template.c', line 403

static VALUE
krypt_asn1_template_value_to_s(VALUE self)
{
    krypt_asn1_template *template;

    krypt_asn1_template_get(self, template);
    if (NIL_P(template->value))
	return rb_str_new2("");
    return rb_funcall(template->value, rb_intern("to_s"), 0);
}