Created
February 15, 2015 02:25
-
-
Save anonymous/ecba873b83300946072f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update_grade(assignment, points) | |
found = @tally.find { |assignment| @assignment_name == assignment } | |
found.points_received = points | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment