Class ForwardReference
In: lib/forward_referencing.rb
Parent: Object

A ForwardReference holds a continuation and a dependency, the where and the why of forward referencing.

Methods

new   to_s  

Attributes

continuation  [R]  Holds the place to jump back to for attempting to resolve a forward reference.
dependency  [RW]  Holds an arbitrary object that indicates why the forward reference occurred.

Public Class methods

Returns a new instance with a valid continuation and the given dependency.

Public Instance methods

Returns a string indicating the current state of the ForwardReference.

[Validate]