Sha256: 555f21ee11c08a10bb761db26be342fca0d0440c206527c5d611bec86d6cc486

Contents?: true

Size: 298 Bytes

Versions: 8

Compression:

Stored size: 298 Bytes

Contents

require "zlib"
require_relative "constants"

module Unicode
  module Categories
    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-categories-1.10.0 lib/unicode/categories/index.rb
unicode-categories-1.9.0 lib/unicode/categories/index.rb
unicode-categories-1.8.0 lib/unicode/categories/index.rb
unicode-categories-1.7.0 lib/unicode/categories/index.rb
unicode-categories-1.6.0 lib/unicode/categories/index.rb
unicode-categories-1.5.0 lib/unicode/categories/index.rb
unicode-categories-1.4.0 lib/unicode/categories/index.rb
unicode-categories-1.3.0 lib/unicode/categories/index.rb