lib/spoom/deadcode/plugins/base.rb in spoom-1.2.4 vs lib/spoom/deadcode/plugins/base.rb in spoom-1.3.0

- old
+ new

@@ -267,10 +267,10 @@ # class MyPlugin < Spoom::Deadcode::Plugins::Base # def on_send(indexer, send) # return unless send.name == "dsl_method" # return if send.args.empty? # - # method_name = indexer.node_string(send.args.first).delete_prefix(":") + # method_name = send.args.first.slice.delete_prefix(":") # indexer.reference_method(method_name, send.node) # end # end # ~~~ sig { params(indexer: Indexer, send: Send).void }