Module: RuboCop::Gradual::Patch
- Defined in:
- lib/rubocop/gradual/patch.rb
Overview
Patching RuboCop::CLI to enable require mode.
Instance Method Summary collapse
Instance Method Details
#run_command(name) ⇒ Object
9 10 11 12 13 |
# File 'lib/rubocop/gradual/patch.rb', line 9 def run_command(name) return super if name != :execute_runner || (ARGV & %w[--stdin -s]).any? RuboCop::Gradual::CLI.new.run(patched_argv) end |