Sha256: ad6f1a0c9f55ae2aacf96d0d9e89424b235a82a5859f6a2aac1f66042a86ec06
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
# typed: strict # frozen_string_literal: true module Spoom module Deadcode module Plugins class ActionMailer < Base extend T::Sig 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) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spoom-1.2.4 | lib/spoom/deadcode/plugins/action_mailer.rb |