/
/
opt
/
alt
/
ruby34
/
share
/
ruby
/
prism
/
polyfill
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.187
PHP 7.4.33
Dir:
/opt/alt/ruby34/share/ruby/prism/polyfill
Edit:
/opt/alt/ruby34/share/ruby/prism/polyfill/byteindex.rb
# frozen_string_literal: true # Polyfill for String#byteindex, which didn't exist until Ruby 3.2. if !("".respond_to?(:byteindex)) String.include( Module.new { def byteindex(needle, offset = 0) charindex = index(needle, offset) slice(0...charindex).bytesize if charindex end } ) end
Ukuran: 324 B