Sha256: 9b90417a54d02e16be4f1c3803b9c0c778d1a991267d20f4330b735ab0cedeca

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

require 'active_support/all'

require File.join(File.dirname(__FILE__), 'backgrounded', 'class_methods')
require File.join(File.dirname(__FILE__), 'backgrounded', 'handler', 'inprocess_handler')

Object.send(:include, Backgrounded::ClassMethods)

module Backgrounded
  mattr_accessor :handler
  def self.handler
    @@handler ||= Backgrounded::Handler::InprocessHandler.new
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
backgrounded-0.7.1 lib/backgrounded.rb
backgrounded-0.7.0 lib/backgrounded.rb
phene-backgrounded-0.6.2 lib/backgrounded.rb
backgrounded-0.6.2 lib/backgrounded.rb
backgrounded-0.6.1 lib/backgrounded.rb
backgrounded-0.6.0 lib/backgrounded.rb
backgrounded-0.5.0 lib/backgrounded.rb
backgrounded-0.4.1 lib/backgrounded.rb