lib/dwc-archive/extension.rb in dwc-archive-0.3.1 vs lib/dwc-archive/extension.rb in dwc-archive-0.4.0
- old
+ new
@@ -1,8 +1,9 @@
class DarwinCore
class Extension
include DarwinCore::Ingester
attr_reader :coreid
+ alias :id :coreid
def initialize(archive, data)
@archive = archive
@path = @archive.files_path
@data = data