Sha256: 5be662cac4897fac5cd1a34f69263556a2d00d09285b729154710574062ebbff
Contents?: true
Size: 260 Bytes
Versions: 4
Compression:
Stored size: 260 Bytes
Contents
module Maily module EmailsHelper def total_emails(mailers) mailers.map { |mailer| mailer.emails.size }.sum end def part_class(part) 'format_selected' if (part == params[:part]) || (part == 'html' && !params[:part]) end end end
Version data entries
4 entries across 4 versions & 1 rubygems