Sha256: 70213dfec162919a177d771510540b6679dd01632c391f0d8aebd7090862d3e3
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
# lib/aia/logging.rb module AIA::Logging def log_result return if log.nil? f = File.open(log, "ab") f.write <<~EOS ======================================= == #{Time.now} == #{@prompt.path} PROMPT: #{@prompt} RESULT: #{@result} EOS end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aia-0.3.4 | lib/aia/logging.rb |
aia-0.3.3 | lib/aia/logging.rb |
aia-0.3.0 | lib/aia/logging.rb |
aia-0.0.5 | lib/aia/logging.rb |