Sha256: 5c230c001c50966c89ab85b1ad632516bbbcf3a03f95f6b42bb558c41c96fd63

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

module Rake
  module Funnel
    module Integration
      class SyncOutput
        def initialize
          sync($stdout)
          sync($stderr)
        end

        private

        def sync(stream)
          stream.sync = true
        rescue => e # rubocop:disable Style/RescueStandardError
          $stderr.print "Failed to set up sync output #{e}\n"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake-funnel-0.22.2 lib/rake/funnel/integration/sync_output.rb