Class: Berkshelf::UnsupportedVagrantVersion

Inherits:
Vagrant::Errors::VagrantError
  • Object
show all
Defined in:
lib/berkshelf/vagrant/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(constraint) ⇒ UnsupportedVagrantVersion

Returns a new instance of UnsupportedVagrantVersion.



62
63
64
65
# File 'lib/berkshelf/vagrant/errors.rb', line 62

def initialize(constraint)
  @constraint = constraint
  super
end

Instance Method Details

#error_messageObject



67
68
69
# File 'lib/berkshelf/vagrant/errors.rb', line 67

def error_message
  "vagrant-berkshelf requires Vagrant #{@constraint}."
end