Module: Tr3llo::View::Card::List

Extended by:
List
Included in:
List
Defined in:
lib/3llo/view/card/list.rb

Instance Method Summary collapse

Instance Method Details

#render(list, cards) ⇒ Object



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