module ADIWG::Mdtranslator::Writers::MdJson::GeologicAge
Public Class Methods
build(hGeoAge)
click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_geologicAge.rb, line 16 def self.build(hGeoAge) @Namespace = ADIWG::Mdtranslator::Writers::MdJson Jbuilder.new do |json| json.ageTimeScale hGeoAge[:ageTimeScale] json.ageEstimate hGeoAge[:ageEstimate] json.ageUncertainty hGeoAge[:ageUncertainty] json.ageExplanation hGeoAge[:ageExplanation] json.ageReference @Namespace.json_map(hGeoAge[:ageReferences], Citation) end end