Method: RBI::MergeTree#initialize

Defined in:
lib/rbi/rewriters/merge_trees.rb

#initialize(loc: nil, comments: [], conflicts: [], &block) ⇒ MergeTree

: (?loc: Loc?, ?comments: Array, ?conflicts: Array) ?{ (Tree node) -> void } -> void



325
326
327
328
329
# File 'lib/rbi/rewriters/merge_trees.rb', line 325

def initialize(loc: nil, comments: [], conflicts: [], &block)
  super(loc: loc, comments: comments)
  @conflicts = conflicts
  block&.call(self)
end