Class: Zlown::Daemon

Inherits:
Object
  • Object
show all
Defined in:
lib/zlown/daemon/daemon.rb

Instance Method Summary collapse

Instance Method Details

#run(args = [], opts = {}) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/zlown/daemon/daemon.rb', line 9

def run(args = [], opts = {})
  puts 'Running Zlown loop'
  STDOUT.flush

  while true
    sleep 1
  end
end