Posts by Nino • 3 points
1 post
-
0
votes2
answers64
viewsQ: Error giving puts of a variable within the DEF
Hello. I can’t print variable that is inside a def. Script class Logparser def initialize(ip, data, code) log = File.open("/project/log_sec/log/log.txt").each do |file| parse = file.split(" ") data…