Sha256: 7aa728e2fbf7698c48e40bd47e3c454fdab2f4540a0d6c7e8b0be8faac761903
Contents?: true
Size: 253 Bytes
Versions: 7
Compression:
Stored size: 253 Bytes
Contents
module Heel class Logger attr_reader :filename def initialize( filename ) @filename = File.expand_path( filename ) end def write( msg ) File.open( filename, "ab" ) do |f| f.write( msg ) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems