Class: Needle::Lifecycle::Deferred

Inherits:
Pipeline::Element show all
Defined in:
lib/needle/lifecycle/deferred.rb

Overview

The instantiation pipeline element that implements deferred instantiation.

Instance Attribute Summary

Attributes inherited from Pipeline::Element

#name, #options, #priority, #service_point, #succ

Instance Method Summary collapse

Methods inherited from Pipeline::Element

#<=>, #initialize, #initialize_element, set_default_priority

Constructor Details

This class inherits a constructor from Needle::Pipeline::Element

Instance Method Details

#call(*args) ⇒ Object

Returns a new proxy instance that wraps the next element of the instantiation pipeline.


31
32
33
# File 'lib/needle/lifecycle/deferred.rb', line 31

def call( *args )
  Proxy.new( succ, *args )
end