Update 'examples/example.cr'

This commit is contained in:
Dominic Grimm 2022-02-13 20:03:26 +00:00
parent 5fd6457c7a
commit 1795482829

View file

@ -13,7 +13,7 @@ class MessageService < Service
def initialize(@message : String, @delay : Int32, @times : Int32)
end
def run(_unit : Unit) : Service::Unit?
def run(_unit : Service::Unit) : Service::Unit?
puts @message
@@i += 1
Log.info { @@i }