lib/rubocop/cop/rails/blank.rb in rubocop-rails-2.15.2 vs lib/rubocop/cop/rails/blank.rb in rubocop-rails-2.16.0

- old
+ new

@@ -61,11 +61,10 @@ class Blank < Base extend AutoCorrector MSG_NIL_OR_EMPTY = 'Use `%<prefer>s` instead of `%<current>s`.' MSG_NOT_PRESENT = 'Use `%<prefer>s` instead of `%<current>s`.' - MSG_UNLESS_PRESENT = 'Use `if %<prefer>s` instead of ' \ - '`%<current>s`.' + MSG_UNLESS_PRESENT = 'Use `if %<prefer>s` instead of `%<current>s`.' RESTRICT_ON_SEND = %i[!].freeze # `(send nil $_)` is not actually a valid match for an offense. Nodes # that have a single method call on the left hand side # (`bar || foo.empty?`) will blow up when checking