lib/troo/presenters/comment.rb in troo-0.0.10 vs lib/troo/presenters/comment.rb in troo-0.0.11
- old
+ new
@@ -1,13 +1,17 @@
module Troo
module Presenters
class Comment
include DecoratorHelpers
+ # @param [Troo::Card]
+ # @param [Hash]
+ # @return [Troo::Presenters::Comment]
def initialize(card, options = {})
@card, @options = card, options
end
+ # @return []
def show
title
if comments?
all_comments