Class: DS::Extractor::Material

Inherits:
BaseTerm
  • Object
show all
Defined in:
lib/ds/extractor/material.rb

Instance Attribute Summary

Attributes inherited from BaseTerm

#as_recorded

Instance Method Summary collapse

Methods inherited from BaseTerm

#==, #eql?, #hash, #initialize, #to_a

Constructor Details

This class inherits a constructor from DS::Extractor::BaseTerm

Instance Method Details

#to_hObject



7
8
9
# File 'lib/ds/extractor/material.rb', line 7

def to_h
  super.to_h.merge({ material_as_recorded: as_recorded })
end