Class: VagrantPlugins::DevCommands::InternalCommand::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant/devcommands/internal_command/version.rb

Overview

Internal “version” command

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ Version

Returns a new instance of Version.



6
7
8
# File 'lib/vagrant/devcommands/internal_command/version.rb', line 6

def initialize(env)
  @env = env
end

Instance Method Details

#execute(_argv) ⇒ Object



10
11
12
# File 'lib/vagrant/devcommands/internal_command/version.rb', line 10

def execute(_argv)
  @env.ui.info "vagrant-devcommands, version #{VERSION}"
end