Sha256: 6d8c4e9263dfcffc04e55cc5e49abc8f74e5dfd6bf515ffaf204eac205f4c5ae
Contents?: true
Size: 315 Bytes
Versions: 17
Compression:
Stored size: 315 Bytes
Contents
module Backports class << self attr_accessor :warned # private Backports.warned = {} def frown_upon kind, msg warn kind, msg if $VERBOSE end def warn kind, msg return if warned[kind] super msg warned[kind] = msg end alias_method :deprecate, :warn end end
Version data entries
17 entries across 17 versions & 1 rubygems