Class: DS::Extractor::Place

Inherits:
BaseTerm show all
Defined in:
lib/ds/extractor/place.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



6
7
8
# File 'lib/ds/extractor/place.rb', line 6

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