lib/rubocop/cop/rails/read_write_attribute.rb in rubocop-0.68.1 vs lib/rubocop/cop/rails/read_write_attribute.rb in rubocop-0.69.0
- old
+ new
@@ -22,10 +22,10 @@
#
# # good
# x = self[:attr]
# self[:attr] = val
class ReadWriteAttribute < Cop
- MSG = 'Prefer `%<prefer>s` over `%<current>s`.'.freeze
+ MSG = 'Prefer `%<prefer>s` over `%<current>s`.'
def_node_matcher :read_write_attribute?, <<-PATTERN
{
(send nil? :read_attribute _)
(send nil? :write_attribute _ _)