Sha256: cb461a28758f0162d0d2afb5b8677adca8c037735a44706b623f4594c04e7c04

Contents?: true

Size: 327 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
activesupport-1.4.0 lib/active_support/multibyte/handlers/passthru_handler.rb
mack-localization-0.8.3 lib/gems/unicodechars-0.0.2/lib/unicodechars/multibyte/handlers/passthru_handler.rb
mack-localization-0.8.3.1 lib/gems/unicodechars-0.0.2/lib/unicodechars/multibyte/handlers/passthru_handler.rb
mack-localization-0.8.2 lib/gems/unicodechars-0.0.2/lib/unicodechars/multibyte/handlers/passthru_handler.rb
unicodechars-0.0.2 lib/unicodechars/multibyte/handlers/passthru_handler.rb
unicodechars-0.0.1 lib/unicodechars/multibyte/handlers/passthru_handler.rb