Sha256: e54b0cb7989fe80c265970f8608232f6a6312f50e4341309d1eab2ff9b76589b

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

# Chars uses this handler when $KCODE is not set to 'UTF8'. Because this handler doesn't define any methods all call
# will be forwarded to String.
class Multibyte::Handlers::PassthruHandler #:nodoc:
  
  # Return the original byteoffset
  def self.translate_offset(string, byte_offset) #:nodoc:
    byte_offset
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mattetti-multibyte-0.0.1 lib/multibyte/handlers/passthru_handler.rb
mattetti-multibyte-0.1.0 lib/multibyte/handlers/passthru_handler.rb
mattetti-multibyte-0.1.1 lib/multibyte/handlers/passthru_handler.rb
multibyte-0.0.1 lib/multibyte/handlers/passthru_handler.rb
multibyte-0.1.0 lib/multibyte/handlers/passthru_handler.rb
multibyte-0.1.1 lib/multibyte/handlers/passthru_handler.rb