Class: Standard::LoadsRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/standard/loads_runner.rb

Constant Summary collapse

RUNNERS =
{
  rubocop: ::Standard::Runners::Rubocop,
  version: ::Standard::Runners::Version,
  verbose_version: ::Standard::Runners::VerboseVersion,
  lsp: ::Standard::Runners::Lsp,
  genignore: ::Standard::Runners::Genignore,
  help: ::Standard::Runners::Help
}.freeze

Instance Method Summary collapse

Instance Method Details

#call(command) ⇒ Object



19
20
21
# File 'lib/standard/loads_runner.rb', line 19

def call(command)
  RUNNERS[command].new
end