Sha256: e148cd547c7ce2646da57a50fdc99c4420d1976bd043cbcdc531eecbf5a38b8e

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

require 'molinillo'

module PuppetfileResolver
  module UI
    class NullUI
      include Molinillo::UI

      # Suppress all output
      def output
        @output ||= File.open(File::NULL, 'w')
      end

      def debug?
        false
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
puppetfile-resolver-0.6.3 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.6.2 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.6.1 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.6.0 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.5.0 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.4.0 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.3.0 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.2.0 lib/puppetfile-resolver/ui/null_ui.rb
puppetfile-resolver-0.1.0 lib/puppetfile-resolver/ui/null_ui.rb