Method: BetterCap::Discovery::Thread#initialize
- Defined in:
- lib/bettercap/discovery/thread.rb
#initialize(ctx) ⇒ Thread
Initialize the class using the ctx BetterCap::Context instance.
18 19 20 21 22 |
# File 'lib/bettercap/discovery/thread.rb', line 18 def initialize( ctx ) @ctx = ctx @running = false @thread = nil end |