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

Version Path
heel-4.0.1 lib/heel/logger.rb
heel-4.0.0 lib/heel/logger.rb
heel-3.2.1 lib/heel/logger.rb
heel-3.2.0 lib/heel/logger.rb
heel-3.1.3 lib/heel/logger.rb
heel-3.1.2 lib/heel/logger.rb
heel-3.1.1 lib/heel/logger.rb