Sha256: 0ddefa54167d79e00b824671f1e6f72276a1f1cb74ebc5d9b1fead294d682a1c
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
require File.join(File.dirname(__FILE__), 'proxy') module Backgrounded module Concern extend ActiveSupport::Concern module ClassMethods # @see Backgrounded::Concern#backgrounded def backgrounded(options={}) Backgrounded::Proxy.new self, options end end # @param options (optional) options to pass into the backgrounded handler def backgrounded(options={}) Backgrounded::Proxy.new self, options end end end Object.send(:include, Backgrounded::Concern)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
backgrounded-2.1.0 | lib/backgrounded/concern.rb |