lib/parser/source/tree_rewriter.rb in parser-2.5.1.0 vs lib/parser/source/tree_rewriter.rb in parser-2.5.1.1

- old
+ new

@@ -131,11 +131,11 @@ ## # Inserts the given strings before and after the given range. # # @param [Range] range - # @param [String or nil] insert_before - # @param [String or nil] insert_after + # @param [String, nil] insert_before + # @param [String, nil] insert_after # @return [Rewriter] self # @raise [ClobberingError] when clobbering is detected # def wrap(range, insert_before, insert_after) combine(range, insert_before: insert_before.to_s, insert_after: insert_after.to_s)