Module: Backgrounded::ObjectExtensions

Extended by:
ActiveSupport::Concern
Defined in:
lib/backgrounded/object_extensions.rb

Overview

mixin to add backgrounded proxy builder to all ruby objects

Instance Method Summary collapse

Instance Method Details

#backgrounded(options = {}) ⇒ Object

Parameters:

  • options (optional) (defaults to: {})

    options to pass into the backgrounded handler



10
11
12
# File 'lib/backgrounded/object_extensions.rb', line 10

def backgrounded(options={})
  Backgrounded::Proxy.new self, options
end