Sha256: 38cc86b2d7230fd1dd2cd54031484b6ed6757d7f0cf775ecf860ebe4d2bfb7ee
Contents?: true
Size: 381 Bytes
Versions: 5
Compression:
Stored size: 381 Bytes
Contents
module Tr3llo module View module Board module List extend self def render(boards) boards .map { |board| render_board(board) } .join("\n") end private def render_board(board) "#{Utils.format_key_tag(board.id, board.shortcut)} - #{board.name}" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems