module Tr3llo::View::Board::List
Public Instance Methods
render(boards)
click to toggle source
# File lib/3llo/view/board/list.rb, line 7 def render(boards) boards .map { |board| render_board(board) } .join("\n") end
Private Instance Methods
render_board(board)
click to toggle source
# File lib/3llo/view/board/list.rb, line 15 def render_board(board) "#{Utils.format_key_tag(board.id, board.shortcut)} - #{board.name}" end