Sha256: 45531ddc776685854763215a16bdaf149bddfb048ea7259bcd240e401ab1fba4

Contents?: true

Size: 406 Bytes

Versions: 10

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

class DarwinCore
  # Represents extensions of DarwinCore Archive
  class Extension
    include DarwinCore::Ingester
    attr_reader :coreid
    alias id coreid

    def initialize(dwc, data)
      @dwc = dwc
      @archive = @dwc.archive
      @path = @archive.files_path
      @data = data
      @coreid = @data[:coreid][:attributes]
      init_attributes
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dwc-archive-1.1.9 lib/dwc_archive/extension.rb
dwc-archive-1.1.7 lib/dwc_archive/extension.rb
dwc-archive-1.1.6 lib/dwc_archive/extension.rb
dwc-archive-1.1.5 lib/dwc_archive/extension.rb
dwc-archive-1.1.4 lib/dwc_archive/extension.rb
dwc-archive-1.1.3 lib/dwc_archive/extension.rb
dwc-archive-1.1.2 lib/dwc_archive/extension.rb
dwc-archive-1.1.1 lib/dwc_archive/extension.rb
dwc-archive-1.1.0 lib/dwc_archive/extension.rb
dwc-archive-1.0.1 lib/dwc_archive/extension.rb