Sha256: 0ec22072481c39531bc750a84fce355c4e2ea66d81af5612f12c1b7ea88ddca3
Contents?: true
Size: 341 Bytes
Versions: 27
Compression:
Stored size: 341 Bytes
Contents
module Delorean class Debug @debug_set = Set[] @log_file = '/tmp/delorean.log' def self.set_log_file(f) @log_file = f end def self.log(obj) File.open(@log_file, 'a+') { |f| f.write obj.inspect f.write "\n" } end def self.debug_set @debug_set end end end
Version data entries
27 entries across 27 versions & 1 rubygems