class Mok::Desc
Public Instance Methods
apply()
click to toggle source
@contents = [title, lines]
# File lib/mok2html_element.rb, line 117 def apply str = %[<dl>\n<dt>#{@contents[0]}</dt>\n] str += "<dd>" str += "#{inline_parse_to_str(@contents[1])}" unless inline_parse_to_str(@contents[1]).empty? str += "</dd>" str += "</dl>" str end