Class: VagrantPlugins::Vundler::PluginCommand::Root
- Inherits:
-
CommandPlugin::Command::Root
- Object
- CommandPlugin::Command::Root
- VagrantPlugins::Vundler::PluginCommand::Root
- Defined in:
- lib/vundler/plugin_command/root.rb
Instance Method Summary collapse
-
#initialize(argv, env) ⇒ Root
constructor
A new instance of Root.
Constructor Details
#initialize(argv, env) ⇒ Root
Returns a new instance of Root.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vundler/plugin_command/root.rb', line 7 def initialize(argv, env) super # Override the built in `plugin list` command to output project specific # plugins information @subcommands.register(:list) do require_relative "list" Vundler::PluginCommand::List end @subcommands.register(:bundle) do require_relative "bundle" Vundler::PluginCommand::Bundle end end |