Sha256: be15c0c6a674dd2577d9e1558e2172a54425da99d48676062caa4dac75f6ce52
Contents?: true
Size: 614 Bytes
Versions: 1
Compression:
Stored size: 614 Bytes
Contents
module Troo module Commands class ShowBoards class << self # @return [String] def dispatch new.render end end def initialize; end # @return [String] def render return presenter if resources.any? error end private def error "#{type.capitalize} cannot be found." end def type 'boards' end def presenter Presenters::Board.all(resources) end def resources @resources ||= Troo::Retrieval::Local.all(Troo::Board) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.13 | lib/troo/cli/commands/show/show_boards.rb |