class ADIWG::Mdtranslator::Writers::Html::Html_GeographicResolution
Public Class Methods
new(html)
click to toggle source
# File lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb, line 14 def initialize(html) @html = html end
Public Instance Methods
writeHtml(hGeoRes)
click to toggle source
# File lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb, line 18 def writeHtml(hGeoRes) # geographic resolution - latitude resolution unless hGeoRes[:latitudeResolution].nil? @html.em('Latitude Resolution: ') @html.text!(hGeoRes[:latitudeResolution].to_s) @html.br end # geographic resolution - longitude resolution unless hGeoRes[:longitudeResolution].nil? @html.em('Longitude Resolution: ') @html.text!(hGeoRes[:longitudeResolution].to_s) @html.br end # geographic resolution - unit of measure unless hGeoRes[:unitOfMeasure].nil? @html.em('Units of Measure: ') @html.text!(hGeoRes[:unitOfMeasure]) @html.br end end