lib/rubocop/cop/chef/modernize/respond_to_provides.rb in cookstyle-7.32.2 vs lib/rubocop/cop/chef/modernize/respond_to_provides.rb in cookstyle-7.32.7

- old
+ new

@@ -21,15 +21,15 @@ module Modernize # In Chef Infra Client 12+ is is no longer necessary to gate the use of the provides methods in resources with `if respond_to?(:provides)` or `if defined? provides`. # # @example # - # #### incorrect + # ### incorrect # provides :foo if respond_to?(:provides) # # provides :foo if defined? provides # - # #### correct + # ### correct # provides :foo # class RespondToProvides < Base extend AutoCorrector