File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ module Rails
6
6
# This cop checks for use of the helper methods which reference
7
7
# instance variables.
8
8
#
9
- # Relying on the existing of a particular instance variable
10
- # makes it difficult to re-use helper methods in different
11
- # contexts.
9
+ # Relying on instance variables makes it difficult to re-use helper
10
+ # methods.
12
11
#
13
12
# If it seems awkward to explicitly pass in each dependent
14
13
# variable, consider moving the behaviour elsewhere, for
Original file line number Diff line number Diff line change @@ -813,9 +813,8 @@ Enabled | No
813
813
This cop checks for use of the helper methods which reference
814
814
instance variables.
815
815
816
- Relying on the existing of a particular instance variable
817
- makes it difficult to re-use helper methods in different
818
- contexts.
816
+ Relying on instance variables makes it difficult to re-use helper
817
+ methods.
819
818
820
819
If it seems awkward to explicitly pass in each dependent
821
820
variable, consider moving the behaviour elsewhere, for
You can’t perform that action at this time.
0 commit comments