Class: Vagrant::Command::VersionCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/vagrant/command/version.rb

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods inherited from Base

#initialize, register

Methods included from Helpers

#initialize_environment, #target_vms

Constructor Details

This class inherits a constructor from Vagrant::Command::Base

Instance Method Details

#versionObject



6
7
8
9
10
# File 'lib/vagrant/command/version.rb', line 6

def version
  env.ui.info(I18n.t("vagrant.commands.version.output",
              :version => Vagrant::VERSION),
              :prefix => false)
end