diff options
Diffstat (limited to 'spec/bundler/support/silent_logger.rb')
-rw-r--r-- | spec/bundler/support/silent_logger.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/bundler/support/silent_logger.rb b/spec/bundler/support/silent_logger.rb new file mode 100644 index 0000000000..1a8f91b3ba --- /dev/null +++ b/spec/bundler/support/silent_logger.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true +require "logger" +module Spec + class SilentLogger + (::Logger.instance_methods - Object.instance_methods).each do |logger_instance_method| + define_method(logger_instance_method) {|*args, &blk| } + end + end +end |