lib/torrific.rb in torrific-0.0.1 vs lib/torrific.rb in torrific-0.0.2
- old
+ new
@@ -8,9 +8,10 @@
def initialize(options)
self.password = options.fetch(:password) { nil }
super options
end
+ # changes the tor identity
def change_ip
self.authenticate self.password
send_command(:signal, 'NEWNYM')
self.close
end
\ No newline at end of file