Sha256: 5fc29b378afa621a6e5350106d3c5ed45b000f8090bc6e61b200f23decf15005
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
module GhostInThePost module Automatic attr_accessor :included_scripts, :ghost_timeout, :ghost_wait_event def include_script(*paths) @included_scripts ||= [] @included_scripts += paths end def mail(*args, &block) super.tap do |email| email.extend GhostOnCommand email.extend GhostOnDelivery email.included_scripts = @included_scripts email.ghost_timeout = @ghost_timeout email.ghost_wait_event = @ghost_wait_event end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ghost_in_the_post-0.0.2 | lib/ghost_in_the_post/automatic.rb |