Update 'examples/example.cr'
This commit is contained in:
parent
5fd6457c7a
commit
1795482829
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class MessageService < Service
|
||||||
def initialize(@message : String, @delay : Int32, @times : Int32)
|
def initialize(@message : String, @delay : Int32, @times : Int32)
|
||||||
end
|
end
|
||||||
|
|
||||||
def run(_unit : Unit) : Service::Unit?
|
def run(_unit : Service::Unit) : Service::Unit?
|
||||||
puts @message
|
puts @message
|
||||||
@@i += 1
|
@@i += 1
|
||||||
Log.info { @@i }
|
Log.info { @@i }
|
||||||
|
|
Reference in a new issue