Class: MediaWikiVagrant::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/mediawiki-vagrant.rb

Class Method Summary collapse

Class Method Details

.command(name = Vagrant::Plugin::V2::Plugin::UNSET_VALUE, options = {}, &blk) ⇒ Object

Overrides command for older Vagrant versions that don't support command options despite claiming compatibility with the v2 plugin API. Note that any provided options are simply ignored when run against Vagrant <= 1.4.



9
10
11
12
13
# File 'lib/mediawiki-vagrant.rb', line 9

def command(name = Vagrant::Plugin::V2::Plugin::UNSET_VALUE, options = {}, &blk)
  super
rescue ArgumentError
  super(name, &blk)
end