Sha256: ef5cbf86d3e457cbcce8aba83c1743d3056431b244db49c315dd2bb69161de0d

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

require "zlib"
require_relative "constants"

module Unicode
  module Name
    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

14 entries across 14 versions & 1 rubygems

Version Path
unicode-name-1.13.5 lib/unicode/name/index.rb
unicode-name-1.13.4 lib/unicode/name/index.rb
unicode-name-1.13.3 lib/unicode/name/index.rb
unicode-name-1.13.2 lib/unicode/name/index.rb
unicode-name-1.13.1 lib/unicode/name/index.rb
unicode-name-1.13.0 lib/unicode/name/index.rb
unicode-name-1.12.0 lib/unicode/name/index.rb
unicode-name-1.11.0 lib/unicode/name/index.rb
unicode-name-1.10.0 lib/unicode/name/index.rb
unicode-name-1.9.0 lib/unicode/name/index.rb
unicode-name-1.8.0 lib/unicode/name/index.rb
unicode-name-1.7.1 lib/unicode/name/index.rb
unicode-name-1.7.0 lib/unicode/name/index.rb
unicode-name-1.6.0 lib/unicode/name/index.rb