Class: Hexx::Suit::Metrics::Rubocop
- Inherits:
-
RSpec::Metrics::Base
- Object
- RSpec::Metrics::Base
- Hexx::Suit::Metrics::Rubocop
- Defined in:
- lib/hexx/suit/metrics/rubocop.rb
Overview
Prepares and runs rubocop environment from '.hexx-suit.yml'
Class Method Summary collapse
-
.load ⇒ self
Sets ENV variables for rubocop rake tasks.
Class Method Details
.load ⇒ self
Sets ENV variables for rubocop rake tasks
12 13 14 15 16 17 |
# File 'lib/hexx/suit/metrics/rubocop.rb', line 12 def load ENV["RUBOCOP_FORMAT"] = ["format"] ENV["RUBOCOP_OUTPUT"] = ["output"] super end |