Class | Hobix::LinkList |
In: |
lib/hobix/linklist.rb
|
Parent: | BaseEntry |
Converts the link list into a RedCloth string for display in templates.
# File lib/hobix/linklist.rb, line 54 54: def content 55: RedCloth.new( 56: @links.collect do |title, url| 57: "* \"#{ title }\":#{ url }" 58: end.join( "\n" ) 59: ) 60: end