Class: TM::Commands::LastProject

Inherits:
Command
  • Object
show all
Defined in:
lib/tm/commands/last_project.rb

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from TM::Commands::Command

Instance Method Details

#executeObject



4
5
6
7
8
9
# File 'lib/tm/commands/last_project.rb', line 4

def execute
  project = @provider_handler.taskmapper.projects.last
  @formmater.before(project)
  @formatter.format(project)
  @formatter.after
end