23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# File 'lib/adiwg/mdtranslator/writers/html/sections/html_format.rb', line 23
def writeHtml(hFormat)
citationClass = Html_Citation.new(@html)
unless hFormat[:formatSpecification].empty?
@html.details do
@html.summary(hFormat[:formatSpecification][:title], {'class' => 'h5'})
@html.section(:class => 'block') do
citationClass.writeHtml(hFormat[:formatSpecification])
end
end
end
unless hFormat[:amendmentNumber].nil?
@html.em('Amendment Number: ')
@html.text!(hFormat[:amendmentNumber])
@html.br
end
unless hFormat[:compressionMethod].nil?
@html.em('Compression Method: ')
@html.text!(hFormat[:compressionMethod])
@html.br
end
unless hFormat[:technicalPrerequisite].nil?
@html.em('Technical Prerequisite:')
@html.section(:class => 'block') do
@html.text!(hFormat[:technicalPrerequisite])
end
end
end
|