lib/troo/models/card.rb in troo-0.0.13 vs lib/troo/models/card.rb in troo-0.0.14
- old
+ new
@@ -66,10 +66,10 @@
# @return []
def recent_comments
comments.sort(by: :date, limit: [0, 3])
end
- # @return []
+ # @return [Array]
def members
return [] if external_member_ids.empty?
@members ||= external_member_ids.map do |member_id|
Troo::Member.retrieve(member_id)
end.compact