class Ruby::Rubocop
Public Instance Methods
run()
click to toggle source
# 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