Method: TM::Commands::LastTask#execute
- Defined in:
- lib/tm/commands/last_task.rb
#execute(search_attrs = '') ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/tm/commands/last_task.rb', line 4 def execute(search_attrs = '') project = @provider_handler.taskmapper.project(@attributes) ticket = project.tickets.last @formatter.before(ticket) @formatter.format(ticket) @formatter.after end |