From cdbe6914e166fe64e425cf3980c06e4e42574cdd Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 19 Jul 2024 20:30:04 +0200 Subject: [PATCH] Use right ticks --- lib/rubocop/cop/rails/date.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rubocop/cop/rails/date.rb b/lib/rubocop/cop/rails/date.rb index c8b9381544..10c18309cc 100644 --- a/lib/rubocop/cop/rails/date.rb +++ b/lib/rubocop/cop/rails/date.rb @@ -12,10 +12,10 @@ module Rails # The cop also reports warnings when you are using `to_time` method, # because it doesn't know about Rails time zone either. # - # Two styles are supported for this cop. When `EnforcedStyle` is 'strict' + # Two styles are supported for this cop. When `EnforcedStyle` is `strict` # then the Date methods `today`, `current`, `yesterday`, and `tomorrow` # are prohibited and the usage of both `to_time` - # and 'to_time_in_current_zone' are reported as warning. + # and `to_time_in_current_zone` are reported as warning. # # When `EnforcedStyle` is `flexible` then only `Date.today` is prohibited. #