Class: PolishGeeks::DevTools::Validators::Rubocop

Inherits:
Base
  • Object
show all
Defined in:
lib/polish_geeks/dev_tools/validators/rubocop.rb

Overview

It verifies if Rubocop is enabled

Instance Method Summary collapse

Methods inherited from Base

#initialize, #validate!

Constructor Details

This class inherits a constructor from PolishGeeks::DevTools::Validators::Base

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/polish_geeks/dev_tools/validators/rubocop.rb', line 6

def valid?
  PolishGeeks::DevTools.config.rubocop == true
end