Sha256: fd4459695eb6cfea570b337c3983814d67baeb1ce29f99969b90eefd5eaa0ed9
Contents?: true
Size: 494 Bytes
Versions: 9
Compression:
Stored size: 494 Bytes
Contents
module Tr3llo module Presenter module Board class ListPresenter def initialize(interface) @interface = interface end def print!(boards) interface.print_frame do boards.each { |board| present_board(board) } end end private attr_reader :interface def present_board(board) interface.puts "[#{board[:id].labelize}] - #{board[:name]}" end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems