Sha256: 261ac292a44c7edf8058cd177c3305a280d63e7738a7ecb88917e888b28537a2

Contents?: true

Size: 330 Bytes

Versions: 21

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

require "zlib"
require_relative "constants"

module Unicode
  class DisplayWidth
    File.open(INDEX_FILENAME, "rb") do |file|
      serialized_data = Zlib::GzipReader.new(file).read
      serialized_data.force_encoding Encoding::BINARY
      INDEX = Marshal.load(serialized_data)
    end
  end
end

Version data entries

21 entries across 17 versions & 7 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/index.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/index.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/index.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/unicode-display_width-2.1.0/lib/unicode/display_width/index.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/index.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/unicode-display_width-2.2.0/lib/unicode/display_width/index.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/index.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/unicode-display_width-2.1.0/lib/unicode/display_width/index.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/unicode-display_width-2.2.0/lib/unicode/display_width/index.rb
unicode-display_width-2.4.1 lib/unicode/display_width/index.rb
unicode-display_width-2.4.0 lib/unicode/display_width/index.rb
unicode-display_width-2.3.0 lib/unicode/display_width/index.rb
unicode-display_width-2.2.0 lib/unicode/display_width/index.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/unicode-display_width-2.1.0/lib/unicode/display_width/index.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/unicode-display_width-2.1.0/lib/unicode/display_width/index.rb
unicode-display_width-2.1.0 lib/unicode/display_width/index.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/index.rb
cocRb-0.1.0 .bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/index.rb
unicode-display_width-2.0.0 lib/unicode/display_width/index.rb
unicode-display_width-2.0.0.pre2 lib/unicode/display_width/index.rb