File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ module TwoFer
16
16
17
17
class Analyze < ExerciseAnalyzer
18
18
include Mandate
19
- include SA ::InlineHelpers
20
19
21
20
def analyze!
22
21
#target_method.pry
@@ -52,7 +51,7 @@ def analyze!
52
51
check_for_conditional_on_default_argument!
53
52
54
53
# Sometimes, rather than setting a variable, people reassign the input param e.g.
55
- # use name ||= "you"
54
+ # name ||= "you"
56
55
check_for_reassigned_parameter!
57
56
58
57
# Sometimes people specify the names (if name == "Alice" ...). If we
@@ -116,8 +115,6 @@ def check_for_correct_solution_without_string_interpolaton!
116
115
return unless solution . default_argument_is_optimal?
117
116
return unless solution . one_line_solution?
118
117
119
- loc = SA ::Helpers . extract_first_line_from_method ( solution . target_method )
120
-
121
118
# In the case of:
122
119
# "One for " + name + ", one for me."
123
120
approve_if_implicit_return! ( :string_building ) if solution . uses_string_building?
You can’t perform that action at this time.
0 commit comments