Sha256: 080f6d741c7c9ac9763c2497849bcc8219717e505cded89823019e6337e5c3be

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require "zlib"
require_relative "constants"

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

8 entries across 8 versions & 1 rubygems

Version Path
unicode-types-1.10.0 lib/unicode/types/index.rb
unicode-types-1.9.0 lib/unicode/types/index.rb
unicode-types-1.8.0 lib/unicode/types/index.rb
unicode-types-1.7.0 lib/unicode/types/index.rb
unicode-types-1.6.0 lib/unicode/types/index.rb
unicode-types-1.5.0 lib/unicode/types/index.rb
unicode-types-1.4.0 lib/unicode/types/index.rb
unicode-types-1.3.0 lib/unicode/types/index.rb