Sha256: ffe3f399b1898d9da58e5179de85b63fee4ff3e9d3cc7196c55cc16b6f963970
Contents?: true
Size: 491 Bytes
Versions: 3
Compression:
Stored size: 491 Bytes
Contents
# typed: strict # frozen_string_literal: true module Spoom module Deadcode module Plugins class ActionMailerPreview < Base extend T::Sig ignore_classes_inheriting_from("ActionMailer::Preview") sig { override.params(indexer: Indexer, definition: Definition).void } def on_define_method(indexer, definition) definition.ignored! if indexer.nesting_class_superclass_name == "ActionMailer::Preview" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems