Sha256: dbb2da331a996008830650b6602697890cda2fbc9a3ea7a19efd73ddd9f74c99

Contents?: true

Size: 210 Bytes

Versions: 9

Compression:

Stored size: 210 Bytes

Contents

module CDQ
  module Deprecation

    class << self
      attr_accessor :silence_deprecation
    end

    def deprecate(message)
      puts message unless CDQ::Deprecation.silence_deprecation
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cdq-2.0.0 motion/cdq/deprecation.rb
cdq-1.0.8 motion/cdq/deprecation.rb
cdq-1.0.7 motion/cdq/deprecation.rb
cdq-1.0.6 motion/cdq/deprecation.rb
cdq-1.0.4 motion/cdq/deprecation.rb
cdq-1.0.3 motion/cdq/deprecation.rb
cdq-1.0.2 motion/cdq/deprecation.rb
cdq-1.0.1 motion/cdq/deprecation.rb
cdq-1.0.0 motion/cdq/deprecation.rb