Sha256: a789c5e0c306ccddbdd6a3abeaf1288d27fa7bae3a73fabd50a8b240af20eb49

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

module LoggerHelper
  def read_file(file)
    path = File.expand_path(file, __FILE__)
    IO.read(path)
  end

  def clear_file(file)
    path = File.expand_path(file, __FILE__)
    File.open(path, "w"){ }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
howitzer-1.1.1 spec/support/logger_helper.rb
howitzer-1.1.0 spec/support/logger_helper.rb
howitzer-1.0.2 spec/support/logger_helper.rb
howitzer-1.0.1 spec/support/logger_helper.rb