Method: BetterCap::Discovery::Thread#start

Defined in:
lib/bettercap/discovery/thread.rb

#startObject

Start the active network discovery thread.



25
26
27
28
# File 'lib/bettercap/discovery/thread.rb', line 25

def start
  @running = true
  @thread  = ::Thread.new { worker }
end