Method: TypeProf::Diagnostic#initialize

Defined in:
lib/typeprof/diagnostic.rb

#initialize(node, meth, msg, tags: nil) ⇒ Diagnostic

Returns a new instance of Diagnostic.



3
4
5
6
7
8
# File 'lib/typeprof/diagnostic.rb', line 3

def initialize(node, meth, msg, tags: nil)
  @node = node
  @meth = meth
  @msg = msg
  @tags = tags
end