sig/node_mutation.rbs in node_mutation-1.4.4 vs sig/node_mutation.rbs in node_mutation-1.5.0
- old
+ new
@@ -25,11 +25,9 @@
def delete: (node: T, *selectors: Array[String], **options: { and_comma: bool }) -> void
def insert: (node: T, code: String, ?at: "beginning" | "end", ?to: nil | String) -> void
- def insert_after: (node: T, code: String) -> void
-
def prepend: (node: T, code: String) -> void
def remove: (node: T, **options: { and_comma: bool }) -> void
def replace: (node: T, *selectors: Array[String], with: String) -> void