Class: Tr3llo::Command::List::ListCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/3llo/commands/list/list.rb

Instance Method Summary collapse

Constructor Details

#initialize(board_id) ⇒ ListCommand

Returns a new instance of ListCommand.



5
6
7
# File 'lib/3llo/commands/list/list.rb', line 5

def initialize(board_id)
  @board_id = board_id
end

Instance Method Details

#executeObject



9
10
11
12
13
# File 'lib/3llo/commands/list/list.rb', line 9

def execute
  Tr3llo::Presenter::List::ListPresenter
    .new(interface)
    .print!(list_lists)
end