class String

Public Instance Methods

byteslice(*args) click to toggle source

Ruby 1.8.7 does not have byteslice, but it handles encodings differently anyway. We can simply slice the string, which is a byte array there.

# File lib/redis/connection/ruby.rb, line 17
def byteslice(*args)
  slice(*args)
end