Skip to content

Commit

Permalink
Add safety YARD section
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Jul 20, 2022
1 parent 37cd1b5 commit 8a49aed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rubocop/cop/rails/to_s_with_argument.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module Cop
module Rails
# Identifies passing any argument to `#to_s`.
#
# @safety
# This cop is marked as unsafe because it may detect `#to_s` calls
# that are not related to activesupport implementation.
#
# @example
#
# # bad
Expand Down

0 comments on commit 8a49aed

Please sign in to comment.