Sha256: 0240e50a10087b541122e0cd4ca077bb091e775be1dd3b2c1c5ba569a15976cc
Contents?: true
Size: 287 Bytes
Versions: 6
Compression:
Stored size: 287 Bytes
Contents
require 'concurrent/atomics' class TestView < Peek::Views::View class << self attr_accessor :counter end self.counter = Concurrent::AtomicFixnum.new def results { number: self.class.counter.increment } end def partial_path "peek/test_view" end end
Version data entries
6 entries across 6 versions & 3 rubygems