Sha256: 70e93f73102a85efc988438dc9c20abb61d433f550a6bb853bea1a2f8f9a495b

Contents?: true

Size: 386 Bytes

Versions: 25

Compression:

Stored size: 386 Bytes

Contents


module Antrapol
  module ToolRack
    class NullOutput

      def method_missing(mtd, *args, &block)
        # sink-holed all methods call
        logger.tdebug :nullOut, "#{mtd} / #{args} / #{block ? "with block" : "no block"}"
      end

      private
      def logger
        if @logger.nil?
          @logger = Tlogger.new
        end
        @logger
      end

    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
toolrack-0.24.3 lib/toolrack/null_output.rb
toolrack-0.24.2 lib/toolrack/null_output.rb
toolrack-0.24.1 lib/toolrack/null_output.rb
toolrack-0.24.0 lib/toolrack/null_output.rb
toolrack-0.23.3 lib/toolrack/null_output.rb
toolrack-0.23.2 lib/toolrack/null_output.rb
toolrack-0.22.1 lib/toolrack/null_output.rb
toolrack-0.22.0 lib/toolrack/null_output.rb
toolrack-0.21.0 lib/toolrack/null_output.rb
toolrack-0.20.2 lib/toolrack/null_output.rb
toolrack-0.20.1 lib/toolrack/null_output.rb
toolrack-0.20.0 lib/toolrack/null_output.rb
toolrack-0.19.1 lib/toolrack/null_output.rb
toolrack-0.18.6 lib/toolrack/null_output.rb
toolrack-0.18.5 lib/toolrack/null_output.rb
toolrack-0.18.4 lib/toolrack/null_output.rb
toolrack-0.18.3 lib/toolrack/null_output.rb
toolrack-0.18.2 lib/toolrack/null_output.rb
toolrack-0.18.1 lib/toolrack/null_output.rb
toolrack-0.18.0 lib/toolrack/null_output.rb