7 8 9 10 11 12 13
# File 'lib/3llo/view/card/list.rb', line 7 def render(list, cards) <<~TEMPLATE.strip #{Utils.paint("##{list.name}", "purple")} #{"=" * (list.name.length + 1)} #{render_cards(cards)} TEMPLATE end