Exception: Derelict::Parser::PluginList::NeedsReinstall

Inherits:
Exception
  • Object
show all
Defined in:
lib/derelict/parser/plugin_list/needs_reinstall.rb

Overview

Vagrant plugins need to be uninstalled and re-installed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output) ⇒ NeedsReinstall

Initializes a new instance, for a particular box name/provider

* output: The output from Vagrant


12
13
14
15
16
17
18
# File 'lib/derelict/parser/plugin_list/needs_reinstall.rb', line 12

def initialize(output)
  @output = output
  super <<-END.gsub(/\s+/, ' ').strip
    Vagrant plugins installed before upgrading to version 1.4.x
    need to be uninstalled and re-installed.
  END
end

Instance Attribute Details

#outputObject (readonly)

Retrieves the output from Vagrant



7
8
9
# File 'lib/derelict/parser/plugin_list/needs_reinstall.rb', line 7

def output
  @output
end