Sha256: 89fece55fd4727edccd51085c9c285fd355215c4a9e5dd69ea209da681ba089c

Contents?: true

Size: 265 Bytes

Versions: 96

Compression:

Stored size: 265 Bytes

Contents

module Standard
  class LoadsRunner
    # Warning: clever metaprogramming. 99% of the time this is Runners::Rubocop
    def call(command)
      require_relative "runners/#{command}"
      ::Standard::Runners.const_get(command.to_s.capitalize).new
    end
  end
end

Version data entries

96 entries across 96 versions & 3 rubygems

Version Path
standard-1.8.0 lib/standard/loads_runner.rb
standard-1.7.3 lib/standard/loads_runner.rb
standard-1.7.2 lib/standard/loads_runner.rb
standard-1.7.1 lib/standard/loads_runner.rb
standard-1.7.0 lib/standard/loads_runner.rb
standard-1.6.0 lib/standard/loads_runner.rb
standard-1.5.0 lib/standard/loads_runner.rb
standard-1.4.0 lib/standard/loads_runner.rb
standard-mkv-1.3.4 lib/standard/loads_runner.rb
standard-mkv-1.3.3 lib/standard/loads_runner.rb
standard-mkv-1.3.2 lib/standard/loads_runner.rb
standard-mkv-1.3.1 lib/standard/loads_runner.rb
standard-mkv-1.3.0 lib/standard/loads_runner.rb
standard-1.3.0 lib/standard/loads_runner.rb
standard-1.2.0 lib/standard/loads_runner.rb
standard-1.1.7 lib/standard/loads_runner.rb
standard-1.1.6 lib/standard/loads_runner.rb
standard-1.1.5 lib/standard/loads_runner.rb
standard-1.1.4 lib/standard/loads_runner.rb
standard-1.1.3 lib/standard/loads_runner.rb