Skip to content

Commit

Permalink
Use right ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
biow0lf committed Jul 19, 2024
1 parent 4464181 commit cdbe691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rails/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit cdbe691

Please sign in to comment.