Class: MediaWikiVagrant::Plugin
Class Method Summary collapse
-
.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.
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, = {}, &blk) super rescue ArgumentError super(name, &blk) end |