Class: Spior::Tor::Start

Inherits:
Object
  • Object
show all
Defined in:
lib/spior/tor/start.rb

Overview

start should start the Tor service on your distribution

Instance Method Summary collapse

Constructor Details

#initializeStart

Returns a new instance of Start.



11
12
13
14
15
16
17
# File 'lib/spior/tor/start.rb', line 11

def initialize
  tmp_file = Tempfile.new('torrc')

  Config.new(tmp_file).generate

  nomansland
end