Sha256: 2cffeb182190a264e12ff9d2ae5ab6116966596b72b71eb50512f5e834e9fb67
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cyberarm_engine-0.14.0 | lib/cyberarm_engine/stats.rb |