instiki/vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb
2007-02-09 17:12:31 -06:00

9 lines
336 B
Ruby

# 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 ActiveSupport::Multibyte::Handlers::PassthruHandler #:nodoc:
# Return the original byteoffset
def self.translate_offset(string, byte_offset) #:nodoc:
byte_offset
end
end