We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccc55d commit b263542Copy full SHA for b263542
chapter06/remove_assignments_to_parameters.rb
@@ -0,0 +1,7 @@
1
+class RemoveAssignmentsToParameters
2
+ def discount(input_val, quantity, year_to_date)
3
+ if input_val > 50
4
+ input_val -= 2
5
+ end
6
7
+end
0 commit comments