Sha256: bb1b9687f21d27a8e7a52e57bf06630b1dc9dbb09b41352c75bcd7cb899ef0f4
Contents?: true
Size: 140 Bytes
Versions: 2
Compression:
Stored size: 140 Bytes
Contents
module Stats def save_stat_in_file(stat_file, stats) File.open(stat_file, 'a+') do |f| f.write(stats.to_yaml) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_mats-0.1.8 | lib/codebreaker_mats/stats.rb |
codebreaker_mats-0.1.7 | lib/codebreaker_mats/stats.rb |