Method: JsDuck::Tag::Fires#to_html
- Defined in:
- lib/jsduck/tag/fires.rb
#to_html(m) ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/jsduck/tag/fires.rb', line 44 def to_html(m) return unless m[:fires] && m[:fires].length > 0 return [ "<h3 class='pa'>Fires</h3>", "<ul>", m[:fires].map {|e| "<li>#{e}</li>" }, "</ul>", ] end |