class Heel::Logger - heel-3.1.3 Documentation

# class Heel::Logger

### Attributes

filename[R]

### Public Class Methods

new( filename ) click to toggle source

    # File lib/heel/logger.rb, line 4
    def initialize( filename )
      @filename = File.expand_path( filename )
    end

### Public Instance Methods

write( msg ) click to toggle source

    # File lib/heel/logger.rb, line 8
    def write( msg )
      File.open( filename, "ab" ) do |f|
        f.write( msg )
      end
    end