Sha256: f002da44107995acc860a76d3db2ab1008d21574688826bf8f5f0dbf91350d21
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
require "grades/version" class Gradescore def self.runcheck(score) if score <= 4 ans = "Failed!" elsif (score > 4 && score <=7) ans = "Pass!" else ans = "First class!" end return ans end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grades-0.0.1 | lib/grades.rb~ |