Sha256: 8294a0e17c834af04cdc0d83e370d28941aafe8d260b4e252529722c703cba02
Contents?: true
Size: 235 Bytes
Versions: 9
Compression:
Stored size: 235 Bytes
Contents
module Berkshelf Logger = Ridley.logger Logger.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
9 entries across 9 versions & 1 rubygems