You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/analyzers/two_fer/analyze.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ module TwoFer
9
9
missing_default_param: "ruby.two-fer.missing_default_param",# "There is no correct default param - the tests will fail"
10
10
incorrect_default_param: "ruby.two-fer.incorrect_default_param",# "You could set the default value to 'you' to avoid conditionals"
11
11
reassigning_param: "ruby.two-fer.reassigning_param",# "You don't need to reassign - use the default param"
12
+
string_interpolation: "ruby.two-fer.string_interpolation",# "String interpolation is a good way to build strings, here are some other options to explore"
12
13
string_concatenation: "ruby.two-fer.string_concatenation",# "Rather than using string building, use interpolation"
13
14
kernel_format: "ruby.two-fer.kernel_format",# "Rather than using the format method, use interpolation"
14
15
string_format: "ruby.two-fer.string_format",# "Rather than using string's format/percentage method, use interpolation"
0 commit comments