# File lib/rbreadline.rb, line 6081 def alloc_history_entry(string, ts) temp = Struct.new(:line,:data,:timestamp).new temp.line = string ? string.delete(0.chr) : string temp.data = nil temp.timestamp = ts return temp end