Sha256: 8b1d9848be607671d06c9e82f7e435334f8b02794d41a529fb357adefc32538a

Contents?: true

Size: 324 Bytes

Versions: 12

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module DHS::Problems
  module Nested
    class Warnings < DHS::Problems::Warnings
      include DHS::Problems::Nested::Base

      def initialize(warnings, scope)
        @raw = warnings.raw
        @messages = nest(warnings.messages, scope)
        @scope = scope
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhs-1.6.0 lib/dhs/problems/nested/warnings.rb
dhs-1.5.0 lib/dhs/problems/nested/warnings.rb
dhs-1.4.2 lib/dhs/problems/nested/warnings.rb
dhs-1.4.1 lib/dhs/problems/nested/warnings.rb
dhs-1.4.0 lib/dhs/problems/nested/warnings.rb
dhs-1.3.0 lib/dhs/problems/nested/warnings.rb
dhs-1.2.0 lib/dhs/problems/nested/warnings.rb
dhs-1.1.0 lib/dhs/problems/nested/warnings.rb
dhs-1.0.3 lib/dhs/problems/nested/warnings.rb
dhs-1.0.2 lib/dhs/problems/nested/warnings.rb
dhs-1.0.1 lib/dhs/problems/nested/warnings.rb
dhs-1.0.0 lib/dhs/problems/nested/warnings.rb