Use StringRef on RubyScanner.