Sha256: 065153ee86c5a808dfa2155cc66ac5ae6e6745567b659baa4e739842cd8d1c2c

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

require "zlib"
require_relative "constants"

module Unicode
  module NumericValue
    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-numeric_value-1.11.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.10.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.9.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.8.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.7.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.6.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.5.0 lib/unicode/numeric_value/index.rb
unicode-numeric_value-1.4.0 lib/unicode/numeric_value/index.rb