class TrackerDeliveries::Formatters::Html
Public Instance Methods
format(s)
click to toggle source
# File lib/tracker_deliveries/formatters/format/html.rb, line 2 def format s link = %Q{<a href="#{story_url s}">#{s.id}</a>} %Q{<li>#{link} - #{s.name}</li>} end
wrapper(stories)
click to toggle source
Calls superclass method
TrackerDeliveries::Formatters::StoryFormat#wrapper
# File lib/tracker_deliveries/formatters/format/html.rb, line 7 def wrapper stories formatted = super stories %Q{<ul>\n#{formatted}\n</ul>} end