Class: PEBuild::Command::List
- Inherits:
-
Vagrant::Command::Base
- Object
- Vagrant::Command::Base
- PEBuild::Command::List
- Defined in:
- lib/pe_build/command/list.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/pe_build/command/list.rb', line 3 def execute if File.directory? PEBuild.archive_directory and (entries = Dir["#{PEBuild.archive_directory}/*"]) puts entries.join('\n') else warn "No PE versions downloaded." end end |