Method: LHS::Problems::Nested::Warnings#initialize

Defined in:
lib/lhs/problems/nested/warnings.rb

#initialize(warnings, scope) ⇒ Warnings

Returns a new instance of Warnings.



8
9
10
11
12
# File 'lib/lhs/problems/nested/warnings.rb', line 8

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