Skip to content

Commit fd14e47

Browse files
authored
Merge pull request #1314 from biow0lf/fix-docs
Use right ticks
2 parents 4464181 + cdbe691 commit fd14e47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rubocop/cop/rails/date.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ module Rails
1212
# The cop also reports warnings when you are using `to_time` method,
1313
# because it doesn't know about Rails time zone either.
1414
#
15-
# Two styles are supported for this cop. When `EnforcedStyle` is 'strict'
15+
# Two styles are supported for this cop. When `EnforcedStyle` is `strict`
1616
# then the Date methods `today`, `current`, `yesterday`, and `tomorrow`
1717
# are prohibited and the usage of both `to_time`
18-
# and 'to_time_in_current_zone' are reported as warning.
18+
# and `to_time_in_current_zone` are reported as warning.
1919
#
2020
# When `EnforcedStyle` is `flexible` then only `Date.today` is prohibited.
2121
#

0 commit comments

Comments
 (0)