Sha256: 58dde86ae49852ee937a3fcd5f9531e567417e366f2e8b19e3efe6bee6b19457

Contents?: true

Size: 390 Bytes

Versions: 48

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

require_relative 'message'

module Dsu
  module Views
    module Shared
      class Warning < Message
        def initialize(messages:, header: nil, options: {})
          options = { header: header, output_stream: $stdout }.merge(options)

          super(messages: messages, message_type: :warning, options: options)
        end
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
dsu-2.0.7 lib/dsu/views/shared/warning.rb
dsu-2.0.6 lib/dsu/views/shared/warning.rb
dsu-2.0.5 lib/dsu/views/shared/warning.rb
dsu-2.0.4 lib/dsu/views/shared/warning.rb
dsu-2.0.3 lib/dsu/views/shared/warning.rb
dsu-2.0.2 lib/dsu/views/shared/warning.rb
dsu-2.0.1 lib/dsu/views/shared/warning.rb
dsu-2.0.0.alpha.1 lib/dsu/views/shared/warning.rb