Class: Bundler::InstallDashDocs::BundlerPlugin

Inherits:
Plugin::API
  • Object
show all
Defined in:
lib/bundler/install_dash_docs/bundler_plugin.rb

Overview

Glue between Bundler Plugin system and Thor executable provided by the gem

Instance Method Summary collapse

Instance Method Details

#exec(command_name, args) ⇒ Object



10
11
12
13
14
15
# File 'lib/bundler/install_dash_docs/bundler_plugin.rb', line 10

def exec(command_name, args)
  # I do not know why https://bundler.io/v2.3/guides/bundler_plugins.html
  # tells you to create a gem, use a Thor command, and then doesn't include docs
  # on using that Thor command. However, this seems to be correct
  CLI.start(args)
end