Method: IsoDoc::WordFunction::Comments#comments
- Defined in:
- lib/isodoc/word_function/comments.rb
#comments(div) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/isodoc/word_function/comments.rb', line 8 def comments(div) return if @comments.empty? div.div **{ style: "mso-element:comment-list" } do |div1| @comments.each { |fn| div1.parent << fn } end end |