Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2510,7 +2510,7 @@ end
Checks for use of the helper methods which reference
instance variables.

Relying on instance variables makes it difficult to re-use helper
Relying on instance variables makes it difficult to reuse helper
methods.

If it seems awkward to explicitly pass in each dependent
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rails/helper_instance_variable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Rails
# Checks for use of the helper methods which reference
# instance variables.
#
# Relying on instance variables makes it difficult to re-use helper
# Relying on instance variables makes it difficult to reuse helper
# methods.
#
# If it seems awkward to explicitly pass in each dependent
Expand Down