sig/node_mutation.rbs in node_mutation-1.15.0 vs sig/node_mutation.rbs in node_mutation-1.15.1
- old
+ new
@@ -31,10 +31,10 @@
def replace: (node: T, *selectors: Array[String], with: String) -> void
def replace_with: (node: T, code: String) -> void
- def wrap: (node: T, with: String) -> void
+ def wrap: (node: T, prefix: String, suffix: String, newline: bool) -> void
def noop: (node: T) -> void
def process: () -> NodeMutation::Result