Class Eymiha::ForwardReference
In: lib/eymiha/util/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

context  [RW]  Holds an arbitrary object that holds context that can be re-established to help resolve the forward reference.
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, the given dependency and contextual information.

Public Instance methods

Returns a string indicating the current state of the ForwardReference.

[Validate]