Sha256: b044317ec6fc7d228f1195df6f63a42dbd9f2707f781ab9105e6b1db158d51b1
Contents?: true
Size: 321 Bytes
Versions: 5
Compression:
Stored size: 321 Bytes
Contents
# frozen_string_literal: true module DigitalScriptorium # Simple model class representing a Wikibase JSON export. # Provides a to_hash method to facilitate entity lookups by ID. class Export < Array def to_hash hash = {} each do |el| hash[el.id] = el end hash end end end
Version data entries
5 entries across 5 versions & 1 rubygems