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.



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