Method: Argus::ATCommander#start

Defined in:
lib/argus/at_commander.rb

#startObject



19
20
21
22
23
24
25
26
27
28
# File 'lib/argus/at_commander.rb', line 19

def start
  @running = true
  @thread = Thread.new do
    while @running
      log_time
      tick
      sleep @interval
    end
  end
end