Sha256: 6be63f80a69180920b338ef87d39a13ff488afdc7b43823404d21bcc04b6e437
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require 'logger' require 'pp' module Nsume module DevHelper @@logger ||= Logger.new(STDOUT) @@logger.level = Logger::DEBUG class << self def log(message ) @@logger.info(message) end def mlog(method) @@logger.debug("Method is [#{method}]") end def elog(path) @@logger.debug("File [#{File.basename(path)}] exists [#{File.exists?(path)}]") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nsume-0.0.4 | lib/nsume/dev_helper.rb |