Sha256: 85fd17dbb1efeece21a810625a863b1e39f1b4bb98c0228b744928b89e55f4f9
Contents?: true
Size: 241 Bytes
Versions: 5
Compression:
Stored size: 241 Bytes
Contents
module Berkshelf Logger = Ridley.logger Logger.class.class_eval do alias_method :fatal, :error def deprecate(message) trace = caller.join("\n\t") warn "DEPRECATION WARNING: #{message}\n\t#{trace}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems