Class: SnowmanIO::Loop::Checks
- Inherits:
-
Object
- Object
- SnowmanIO::Loop::Checks
- Includes:
- Celluloid
- Defined in:
- lib/snowman-io/loop/checks.rb
Instance Method Summary collapse
-
#initialize ⇒ Checks
constructor
A new instance of Checks.
- #tick ⇒ Object
Constructor Details
#initialize ⇒ Checks
Returns a new instance of Checks.
9 10 11 |
# File 'lib/snowman-io/loop/checks.rb', line 9 def initialize after(1) { tick } end |
Instance Method Details
#tick ⇒ Object
13 14 15 16 17 18 |
# File 'lib/snowman-io/loop/checks.rb', line 13 def tick App.time "Checks Performing Time" do ChecksPerform.perform end after(3) { tick } end |