Class: MemoryViewTestUtils::ExportableString
- Defined in:
- ext/-test-/memory_view/memory_view.c
Instance Method Summary collapse
- #initialize(s) ⇒ Object constructor
Constructor Details
#initialize(s) ⇒ Object
252 253 254 255 256 257 258 259 260 |
# File 'ext/-test-/memory_view/memory_view.c', line 252
static VALUE
expstr_initialize(VALUE obj, VALUE s)
{
if (!NIL_P(s)) {
Check_Type(s, T_STRING);
}
rb_ivar_set(obj, id_str, s);
return Qnil;
}
|