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