Sha256: 08da0def932a2273723eb223181d16cd4d3bce0e640a18b04e386e00b68ce167
Contents?: true
Size: 475 Bytes
Versions: 3
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true module DigitalScriptorium # Represents a meta record consisting of a manuscript, its holding information, and metadata record. class DsMeta attr_reader :holding, :manuscript, :record def initialize(record, export_hash) manuscript = export_hash[record.described_manuscript_id] holding = export_hash[manuscript.holding_id] @holding = holding @manuscript = manuscript @record = record end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
digital_scriptorium-0.1.2 | lib/digital_scriptorium/ds_meta.rb |
digital_scriptorium-0.1.1 | lib/digital_scriptorium/ds_meta.rb |
digital_scriptorium-0.1.0 | lib/digital_scriptorium/ds_meta.rb |