Sha256: 182364fd49f8586c7cc6a9f03361d40c07434a14f88f48a32925ef88de5a4848

Contents?: true

Size: 204 Bytes

Versions: 18

Compression:

Stored size: 204 Bytes

Contents

module Departure
  class NullLogger
    def say(_message, _subitem = false)
      # noop
    end

    def write(_text)
      # noop
    end

    def write_no_newline(_text)
      # noop
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
departure-6.7.0 lib/departure/null_logger.rb
departure-6.6.0 lib/departure/null_logger.rb
departure-6.5.0 lib/departure/null_logger.rb
departure-6.4.0 lib/departure/null_logger.rb
departure-6.3.0 lib/departure/null_logger.rb
departure-76c9880-6.2.0 lib/departure/null_logger.rb
departure-6.2.0 lib/departure/null_logger.rb
departure-6.1.0 lib/departure/null_logger.rb
departure-6.0.0 lib/departure/null_logger.rb
departure-5.0.0 lib/departure/null_logger.rb
departure-4.0.1 lib/departure/null_logger.rb
departure-4.0.0 lib/departure/null_logger.rb
departure-2.0.1 lib/departure/null_logger.rb
departure-3.0.1 lib/departure/null_logger.rb
departure-3.0.0 lib/departure/null_logger.rb
departure-2.0.0 lib/departure/null_logger.rb
departure-1.0.1 lib/departure/null_logger.rb
departure-1.0.0 lib/departure/null_logger.rb