# File lib/rfuzz/session.rb, line 26 26: def initialize(options={}) 27: @host = options[:host] 28: @port = options[:port] 29: options.delete(:host) 30: options.delete(:port) 31: options[:notifier] = StatsTracker.new 32: 33: @word_file = options[:words] || File.join(File.dirname(__FILE__), "..", "..", "resources","words.txt") 34: 35: @client = HttpClient.new(@host, @port, options) 36: @rand = RandomGenerator.new(open(@word_file).read.split("\n")) 37: 38: @runs = [] 39: @counts = [] 40: @tracking = [] 41: end