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-3.0.5 lib/dsu/views/shared/warning.rb
dsu-3.0.4 lib/dsu/views/shared/warning.rb
dsu-3.0.3 lib/dsu/views/shared/warning.rb
dsu-3.0.1 lib/dsu/views/shared/warning.rb
dsu-3.0.0 lib/dsu/views/shared/warning.rb
dsu-3.0.0.beta.3 lib/dsu/views/shared/warning.rb
dsu-3.0.0.beta.2 lib/dsu/views/shared/warning.rb
dsu-3.0.0.beta.1 lib/dsu/views/shared/warning.rb
dsu-3.0.0.beta.0 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.12 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.11 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.10 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.9 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.8 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.7 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.6 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.5 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.4 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.3 lib/dsu/views/shared/warning.rb
dsu-3.0.0.alpha.2 lib/dsu/views/shared/warning.rb