Implement `String#upto` in Ruby.
Avoid using `mrb_yield` in C code. The function is not recommended. Because it doesn't work well with fibers.
Showing
Please register or sign in to comment
Avoid using `mrb_yield` in C code. The function is not recommended. Because it doesn't work well with fibers.