Sha256: 0a8589b3febe3dcdd5d502b459d5ef923cf18e8da79aa8f2f24fa50adca213e0
Contents?: true
Size: 340 Bytes
Versions: 5
Compression:
Stored size: 340 Bytes
Contents
module CyberarmEngine class Stats @@hash = { gui_recalculations_last_frame: 0 } def self.get(key) @@hash.dig(key) end def self.increment(key, n) @@hash[key] += n end def self.clear @@hash.each do |key, _value| @@hash[key] = 0 end end end end
Version data entries
5 entries across 5 versions & 1 rubygems