removed debug output
This commit is contained in:
@@ -150,8 +150,6 @@ end
|
|||||||
def puts(o = "")
|
def puts(o = "")
|
||||||
# remove color for logging
|
# remove color for logging
|
||||||
temp = o.gsub(/\[\d+m(?<text>.*)?\[0m/, '\k<text>')
|
temp = o.gsub(/\[\d+m(?<text>.*)?\[0m/, '\k<text>')
|
||||||
#temp = o.inspect.gsub(/\\e\[\d+m(?<text>.*)?\\e\[0m/, '\k<text>')
|
|
||||||
File.open("log.txt", "a+") { |f| f.puts(temp) }
|
File.open("log.txt", "a+") { |f| f.puts(temp) }
|
||||||
File.open("log2.txt", "a+") { |f| f.puts(o) }
|
|
||||||
super(o)
|
super(o)
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user