lib/rubocop/cop/style/ternary_parentheses.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/ternary_parentheses.rb in rubocop-1.30.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Style
- # This cop checks for the presence of parentheses around ternary
+ # Checks for the presence of parentheses around ternary
# conditions. It is configurable to enforce inclusion or omission of
# parentheses using `EnforcedStyle`. Omission is only enforced when
# removing the parentheses won't cause a different behavior.
#
# `AllowSafeAssignment` option for safe assignment.