Sha256: d3ff45d1d23bb64a2c370b20ef1765c4b13c076236531b9be8c07ef43fdd0773
Contents?: true
Size: 1.78 KB
Versions: 20
Compression:
Stored size: 1.78 KB
Contents
# HTML writer # vertical element # History: # Stan Smith 2015-04-03 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlVerticalElement def initialize(html) @html = html end def writeHtml(hVertEle) # vertical element - min value n = hVertEle[:minValue] if !n.nil? @html.em('Minimum value: ') @html.text!(n.to_s) @html.br end # vertical element - max value n = hVertEle[:maxValue] if !n.nil? @html.em('Maximum value: ') @html.text!(n.to_s) @html.br end # vertical element - coordinate reference system name s = hVertEle[:crsTitle] if !s.nil? @html.em('Coordinate Reference System: ') @html.text!(s) @html.br end # vertical element - coordinate reference system URI s = hVertEle[:crsURI] if !s.nil? @html.em('Coordinate Reference System URI: ') @html.section(:class=>'block') do @html.a(s) end end end # writeHtml end # class end end end end
Version data entries
20 entries across 20 versions & 1 rubygems