lib/tapioca/dsl/compilers/action_mailer.rb in tapioca-0.9.4 vs lib/tapioca/dsl/compilers/action_mailer.rb in tapioca-0.10.0
- old
+ new
@@ -52,12 +52,16 @@
)
end
end
end
- sig { override.returns(T::Enumerable[Module]) }
- def self.gather_constants
- descendants_of(::ActionMailer::Base).reject(&:abstract?)
+ class << self
+ extend T::Sig
+
+ sig { override.returns(T::Enumerable[Module]) }
+ def gather_constants
+ descendants_of(::ActionMailer::Base).reject(&:abstract?)
+ end
end
end
end
end
end