Class: Tr3llo::Command::Board::ListCommand
- Inherits:
-
Object
- Object
- Tr3llo::Command::Board::ListCommand
- Defined in:
- lib/3llo/commands/board/list.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(user_id) ⇒ ListCommand
constructor
A new instance of ListCommand.
Constructor Details
#initialize(user_id) ⇒ ListCommand
Returns a new instance of ListCommand.
5 6 7 |
# File 'lib/3llo/commands/board/list.rb', line 5 def initialize(user_id) @user_id = user_id end |
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 |
# File 'lib/3llo/commands/board/list.rb', line 9 def execute Tr3llo::Presenter::Board::ListPresenter .new(interface) .print!(list_boards) end |