Class: Berkshelf::UnsupportedVagrantVersion
- Inherits:
-
Vagrant::Errors::VagrantError
- Object
- Vagrant::Errors::VagrantError
- Berkshelf::UnsupportedVagrantVersion
- Defined in:
- lib/berkshelf/vagrant/errors.rb
Instance Method Summary collapse
- #error_message ⇒ Object
-
#initialize(constraint) ⇒ UnsupportedVagrantVersion
constructor
A new instance of UnsupportedVagrantVersion.
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_message ⇒ Object
67 68 69 |
# File 'lib/berkshelf/vagrant/errors.rb', line 67 def "vagrant-berkshelf requires Vagrant #{@constraint}." end |