sig/node_mutation.rbs in node_mutation-1.21.6 vs sig/node_mutation.rbs in node_mutation-1.22.0

- old
+ new

@@ -7,18 +7,16 @@ class ConflictActionError < StandardError end attr_reader actions: Array[NodeMutation::Action] - def self.configure: (options: { adapter: NodeMutation::Adapter, strategy: Integer, tab_width: Integer }) -> void + def self.configure: (options: { strategy: Integer, tab_width: Integer }) -> void - def self.adapter: () -> NodeMutation::Adapter - def self.strategy: () -> Integer def self.tab_width: () -> Integer - def initialize: (source: String) -> NodeMutation + def initialize: (source: String, adapter: Symbol) -> NodeMutation def append: (node: T, code: String) -> void def delete: (node: T, selectors: Array[String], and_comma: bool) -> void