ruby / stringio

Pseudo `IO` class from/to `String`.
BSD 2-Clause "Simplified" License
36 stars 26 forks source link

Use new name for cat19 #84

Closed headius closed 8 months ago

headius commented 8 months ago

This cannot be merged until JRuby has released a version that supports it, and should not be released until we have decided how to transition away from older JRuby versions that do not have this name.

See https://github.com/ruby/stringio/issues/83

headius commented 8 months ago

I decided to support both old and new using a MethodHandle. Performance should not be impacted since it's static final, but it will work on all old versions of JRuby until we decide to remove this logic.