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