Sha256: a03ea2398621ba719d51462e3618737392415f7edb9dd034ccce3c1ea52dedbb
Contents?: true
Size: 203 Bytes
Versions: 5
Compression:
Stored size: 203 Bytes
Contents
class ComplexLoop < Loops::Base def run with_period_of(1.second) do if shutdown? info("Shutting down!") return # exit the loop end info("ping") end end end
Version data entries
5 entries across 5 versions & 2 rubygems