Class: Ruby::Rubocop

Inherits:
Object
  • Object
show all
Defined in:
lib/scripts/ruby/rubocop.rb

Instance Method Summary collapse

Instance Method Details

#runObject



3
4
5
6
7
8
9
10
11
# File 'lib/scripts/ruby/rubocop.rb', line 3

def run
  unless installed?("rubocop")
    command("gem", "install", "rubocop")
  end
  # ugh check bundle rubocop as well
  # puts test_command?("bundle exec rubocop")

  command("rubocop")
end