Sha256: c5f26e27e2290f374c2c4393fdba7bd257f5eb361d3ead475b0f1b6f88072fc0
Contents?: true
Size: 402 Bytes
Versions: 35
Compression:
Stored size: 402 Bytes
Contents
current_valuation = 0 current_karma = 0 SCHEDULER.every '2s' do last_valuation = current_valuation last_karma = current_karma current_valuation = rand(100) current_karma = rand(200000) send_event('valuation', { current: current_valuation, last: last_valuation }) send_event('karma', { current: current_karma, last: last_karma }) send_event('synergy', { value: rand(100) }) end
Version data entries
35 entries across 35 versions & 6 rubygems