Sha256: a7748949e2aa7e08dec47fb10fc121cff7100bdb5a069de531d237dc3323ecb7
Contents?: true
Size: 595 Bytes
Versions: 6
Compression:
Stored size: 595 Bytes
Contents
#include <ruby.h> static VALUE inspect_return_values = Qfalse; static VALUE inspect_arguments = Qfalse; // We are setting this static variable to gain some performance. // Otherwise each time we need this, we would need to get the constant // and make method calls. VALUE rb_set_inspect_return_values(VALUE self, VALUE val) { return inspect_return_values = val; } VALUE get_inspect_return_values() { return inspect_return_values; } VALUE rb_set_inspect_arguments(VALUE self, VALUE val) { return inspect_arguments = val; } VALUE get_inspect_arguments() { return inspect_arguments; }
Version data entries
6 entries across 6 versions & 1 rubygems