Class: Standard::LoadsRunner
- Inherits:
-
Object
- Object
- Standard::LoadsRunner
- Defined in:
- lib/standard/loads_runner.rb
Instance Method Summary collapse
-
#call(command) ⇒ Object
Warning: clever metaprogramming.
Instance Method Details
#call(command) ⇒ Object
Warning: clever metaprogramming. 99% of the time this is Runners::Rubocop
4 5 6 7 |
# File 'lib/standard/loads_runner.rb', line 4 def call(command) require_relative "runners/#{command}" ::Standard::Runners.const_get(command.to_s.capitalize).new end |