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