Sha256: 1a8e316773b7cb40f5ec4bd4ca4ec8a5b4dfcf1a6893709c3cdccfb65d5f1dd2
Contents?: true
Size: 520 Bytes
Versions: 3
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module Minitest extend self def plugin_deprecation_toolkit_options(opts, options) opts.on "-r", "--record-deprecations", "Record deprecations" do options[:record_deprecations] = true end end def plugin_deprecation_toolkit_init(options) if options[:record_deprecations] DeprecationToolkit::Configuration.behavior = DeprecationToolkit::Behaviors::Record end DeprecationToolkit.add_notify_behavior DeprecationToolkit.attach_subscriber end end
Version data entries
3 entries across 3 versions & 1 rubygems