Searched refs:from_rstring_ptr (Results 1 – 2 of 2) sorted by relevance
399 VALUE from_rstring_ptr; in string_spec_RSTRING_PTR_after_yield() local405 from_rstring_ptr = rb_str_new(ptr, len); in string_spec_RSTRING_PTR_after_yield()406 return from_rstring_ptr; in string_spec_RSTRING_PTR_after_yield()
467 from_rstring_ptr = @s.RSTRING_PTR_after_yield(str) { str.setbyte(1, 'B'.ord) }468 from_rstring_ptr.should == "1B2"