Class: VagrantPlugins::Helpers::MissingOptsFileError

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

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ MissingOptsFileError

Returns a new instance of MissingOptsFileError.



12
13
14
15
# File 'lib/vagrant-helpers.rb', line 12

def initialize(filename)
  @filename = filename
  super
end

Instance Method Details

#error_messageObject



17
18
19
# File 'lib/vagrant-helpers.rb', line 17

def error_message
  "Cannot find opts file `#{@filename}`!"
end