Class: TM::Commands::ListAllTasks
- Defined in:
- lib/tm/commands/list_all_tasks.rb
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from TM::Commands::Command
Instance Method Details
#execute(search_attrs = '') ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/tm/commands/list_all_tasks.rb', line 4 def execute(search_attrs = '') project = @provider_handler.taskmapper.project(@attributes) tickets = project.tickets @formatter.before(tickets.first) tickets.each do |ticket| @formatter.format(ticket) end @formatter.after end |