Class: ActiveSupport::Multibyte::Handlers::PassthruHandler
- Inherits:
-
Object
- Object
- ActiveSupport::Multibyte::Handlers::PassthruHandler
- Defined in:
- lib/unicodechars/multibyte/handlers/passthru_handler.rb
Overview
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 Method Summary collapse
-
.translate_offset(string, byte_offset) ⇒ Object
Return the original byteoffset.
Class Method Details
.translate_offset(string, byte_offset) ⇒ Object
Return the original byteoffset
6 7 8 |
# File 'lib/unicodechars/multibyte/handlers/passthru_handler.rb', line 6 def self.translate_offset(string, byte_offset) #:nodoc: byte_offset end |