sig/node_mutation.rbs in node_mutation-1.18.2 vs sig/node_mutation.rbs in node_mutation-1.18.3
- old
+ new
@@ -19,20 +19,20 @@
def initialize: (source: String) -> NodeMutation
def append: (node: T, code: String) -> void
- def delete: (node: T, *selectors: Array[String], **options: { and_comma: bool }) -> void
+ def delete: (node: T, selectors: Array[String], and_comma: bool) -> void
def indent: (node: T, ?tab_size: Integer) -> void
def insert: (node: T, code: String, ?at: "beginning" | "end", ?to: nil | String) -> void
def prepend: (node: T, code: String) -> void
- def remove: (node: T, **options: { and_comma: bool }) -> void
+ def remove: (node: T, and_comma: bool) -> void
- def replace: (node: T, *selectors: Array[String], with: String) -> void
+ def replace: (node: T, selectors: Array[String], with: String) -> void
def replace_with: (node: T, code: String) -> void
def wrap: (node: T, prefix: String, suffix: String, ?newline: bool) -> void