Class: RuboCop::Config
- Inherits:
-
Object
- Object
- RuboCop::Config
- Defined in:
- lib/rubocop/monkey_patches/config.rb
Instance Method Summary collapse
-
#target_chef_version ⇒ Object
This is a copy of the #target_rails_version method from RuboCop.
Instance Method Details
#target_chef_version ⇒ Object
This is a copy of the #target_rails_version method from RuboCop
6 7 8 9 10 11 12 13 |
# File 'lib/rubocop/monkey_patches/config.rb', line 6 def target_chef_version @target_chef_version ||= if for_all_cops['TargetChefVersion'] for_all_cops['TargetChefVersion'].to_f else 99 # just set a high number so we don't need to update this later end end |