Class: Troo::Commands::ShowBoards

Inherits:
Object
  • Object
show all
Defined in:
lib/troo/cli/commands/show/show_boards.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTroo::Commands::ShowBoards



12
# File 'lib/troo/cli/commands/show/show_boards.rb', line 12

def initialize; end

Class Method Details

.dispatchString

Returns:

  • (String)


6
7
8
# File 'lib/troo/cli/commands/show/show_boards.rb', line 6

def dispatch
  new.render
end

Instance Method Details

#renderString

Returns:

  • (String)


15
16
17
18
# File 'lib/troo/cli/commands/show/show_boards.rb', line 15

def render
  return presenter if resources.any?
  error
end