class Tor::Configuration
Attributes
headers[R]
ip[RW]
port[RW]
Public Class Methods
new()
click to toggle source
# File lib/tor/configuration.rb, line 17 def initialize @ip = '127.0.0.1' @port = 9050 @headers = Hash.new end
Public Instance Methods
add_header(header, value)
click to toggle source
# File lib/tor/configuration.rb, line 13 def add_header(header, value) @headers[header] = value end