module Draco::Periodic::ClassMethods
Internal: Adds the DSL to define which tick to run the System.
Public Instance Methods
run_every(ticks)
click to toggle source
# File lib/draco/periodic.rb, line 29 def run_every(ticks) @period = ticks.to_i end