-
Notifications
You must be signed in to change notification settings - Fork 0
sji/Grades
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Grades
Class that implements a letter-based grading system (A+, A, A-, ...), and is able to naturally sort by the value of grade (i.e., A+ > A > A-).
Usage:
require "./lib/grade"
a_plus = Grade.new("A+")
a = Grade.new("A")
a_plus > a # should return true
[a_plus, a].sort # should return [a, a_plus]About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published