Sha256: 6d4937c67fc705bca1c6297f910147ca1c5d75429bd26af981bfe4973fd1e07b
Contents?: true
Size: 230 Bytes
Versions: 26
Compression:
Stored size: 230 Bytes
Contents
module Filbunke class Logger def initialize(log_file_name) @log_file = ::File.open(log_file_name, "a") end def log(msg) @log_file.write("#{Time.now}: #{msg}\n") @log_file.flush end end end
Version data entries
26 entries across 26 versions & 1 rubygems