Class: Hecks::Runtime::ReferenceHop::Folded
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Hecks::Runtime::ReferenceHop::Folded
- Defined in:
- lib/hecks/runtime/reference_hop.rb
Overview
Never returned to a caller that might call an IR-level method
(to_h, …) whose OWN internal wheres read would resolve
against the original object, not this override — the exact
caution TenantScope::Scoped's own comment gives, for the exact
same reason: SimpleDelegator only intercepts calls made
directly on the wrapper.
Instance Method Summary collapse
-
#initialize(declared, wheres) ⇒ Folded
constructor
A new instance of Folded.
- #wheres ⇒ Object
Constructor Details
#initialize(declared, wheres) ⇒ Folded
Returns a new instance of Folded.
90 91 92 93 |
# File 'lib/hecks/runtime/reference_hop.rb', line 90 def initialize(declared, wheres) super(declared) @wheres = wheres end |
Instance Method Details
#wheres ⇒ Object
95 |
# File 'lib/hecks/runtime/reference_hop.rb', line 95 def wheres = @wheres |