Class: VagrantPlugins::DevCommands::InternalCommand::Version
- Inherits:
-
Object
- Object
- VagrantPlugins::DevCommands::InternalCommand::Version
- Defined in:
- lib/vagrant/devcommands/internal_command/version.rb
Overview
Internal “version” command
Instance Method Summary collapse
- #execute(_argv) ⇒ Object
-
#initialize(env) ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize(env) ⇒ Version
Returns a new instance of Version.
8 9 10 |
# File 'lib/vagrant/devcommands/internal_command/version.rb', line 8 def initialize(env) @env = env end |
Instance Method Details
#execute(_argv) ⇒ Object
12 13 14 |
# File 'lib/vagrant/devcommands/internal_command/version.rb', line 12 def execute(_argv) @env.ui.info "vagrant-devcommands, version #{VERSION}" end |