Sha256: 0bdf3e47f13399efaee89e54023c5b75b5ad60c3d12db02c4328bdd1264d6cf0
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
module GhostInThePost module Mailer attr_accessor :included_scripts def include_script(*paths) @included_scripts ||= [] @included_scripts += paths end def mail(*args, &block) super.tap do |email| email.extend GhostOnCommand email.included_scripts = included_scripts end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ghost_in_the_post-0.0.1 | lib/ghost_in_the_post/mailer.rb |