Sha256: 987324cdbc8edd98879c7ecb4f7f312939fe96ea927917c45de3c58adce32edd
Contents?: true
Size: 1.23 KB
Versions: 20
Compression:
Stored size: 1.23 KB
Contents
# HTML writer # resolution # History: # Stan Smith 2015-03-26 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlResolution def initialize(html) @html = html end def writeHtml(hSpaceRef) s = hSpaceRef[:equivalentScale] if !s.nil? @html.em('Equivalent scale: ') @html.text!(s.to_s) @html.br end # resolution - distance s = hSpaceRef[:distance] if !s.nil? @html.em('Distance: ') @html.text!(s.to_s) s = hSpaceRef[:distanceUOM] if !s.nil? @html.em('Unit of measure: ') @html.text!(s) end @html.br end end # writeHtml end # class end end end end
Version data entries
20 entries across 20 versions & 1 rubygems