Sha256: cb0fec15937ff9631e1e0db2b053de1220589c5682531a84307cc6187a6f3d45

Contents?: true

Size: 243 Bytes

Versions: 29

Compression:

Stored size: 243 Bytes

Contents

module Invoker
  class Logger
    def self.puts(message)
      return if ENV["INVOKER_TESTS"]
      $stdout.puts(message)
    end

    def self.print(message)
      return if ENV["INVOKER_TESTS"]
      $stdout.print(message)
    end
  end
end

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
invoker-1.1.0 lib/invoker/logger.rb
invoker-1.0.4 lib/invoker/logger.rb
invoker-1.0.3 lib/invoker/logger.rb
invoker-1.0.2 lib/invoker/logger.rb
invoker-1.0.1 lib/invoker/logger.rb
invoker-1.0.0 lib/invoker/logger.rb
invoker-0.1.2 lib/invoker/logger.rb
invoker-0.1.1 lib/invoker/logger.rb
invoker-0.1.1.pre lib/invoker/logger.rb