Sha256: 49179fe46aa49216ba877b4f43074531fc7117a585318048fcac143f52f34a2a

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

class DarwinCore
  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]
      get_attributes(DarwinCore::ExtensionFileError)
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dwc-archive-0.9.11 lib/dwc-archive/extension.rb
dwc-archive-0.9.10 lib/dwc-archive/extension.rb
dwc-archive-0.9.6 lib/dwc-archive/extension.rb
dwc-archive-0.9.5 lib/dwc-archive/extension.rb
dwc-archive-0.9.4 lib/dwc-archive/extension.rb
dwc-archive-0.9.3 lib/dwc-archive/extension.rb