Sha256: 3cbb648c09392da501150bf31a23e173a87f162d7b0246bd9f5c0760931d5f53
Contents?: true
Size: 190 Bytes
Versions: 5
Compression:
Stored size: 190 Bytes
Contents
module LanguageCards module Helpers module GameHelper def calc_score c, i # correct, incorrect (0.001+c.to_i)*100.0/(c.to_i+i.to_i+0.001)*1.0 end end end end
Version data entries
5 entries across 5 versions & 1 rubygems