Class: RuboCop::Diff

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/diff.rb,
lib/rubocop/diff/formatter.rb

Defined Under Namespace

Classes: Formatter

Instance Method Summary collapse

Instance Method Details

#run(args) ⇒ Object



8
9
10
11
12
# File 'lib/rubocop/diff.rb', line 8

def run(args)
  args << ' --format'
  args << ' RuboCop::Diff::Formatter'
  RuboCop::CLI.new.run(args)
end