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

- old
+ new

@@ -9,11 +9,11 @@ sig { override.params(indexer: Indexer, send: Send).void } def on_send(indexer, send) return unless send.recv.nil? && ActionPack::CALLBACKS.include?(send.name) - send.each_arg(SyntaxTree::SymbolLiteral) do |arg| - indexer.reference_method(indexer.node_string(arg.value), send.node) + send.each_arg(Prism::SymbolNode) do |arg| + indexer.reference_method(arg.unescaped, send.node) end end end end end