Sha256: 75ad248dd4b3db7d30ab3378d203518afdb8c93de65e5a9b668747d425317a30
Contents?: true
Size: 299 Bytes
Versions: 11
Compression:
Stored size: 299 Bytes
Contents
module Relevance module Tarantula class LogGrabber attr_accessor :path def initialize(path) @path = path end def clear! File.open(@path, "w") end def grab! File.read(@path) ensure clear! end end end end
Version data entries
11 entries across 11 versions & 2 rubygems