class method
self.all
Ruby on Rails 8.1.2
Since v4.1.16Signature
self.all()
Returns all mailer preview classes.
Source
# File actionmailer/lib/action_mailer/preview.rb, line 80
def all
load_previews if descendants.empty?
descendants.sort_by { |mailer| mailer.name.titleize }
end
Defined in actionmailer/lib/action_mailer/preview.rb line 80
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Preview