Class: Docile::ChainingFallbackContextProxy

### Home Classes Methods

### In Files

- lib/docile/chaining_fallback_context_proxy.rb

### Parent

FallbackContextProxy

### Methods

- #method_missing

### Class/Module Index

Quicksearch

- Docile
- Docile::ChainingFallbackContextProxy
- Docile::Execution
- Docile::FallbackContextProxy

No matching classes.

# Docile::ChainingFallbackContextProxy

@api private

Operates in the same manner as {FallbackContextProxy}, but replacing the primary `receiver` object with the result of each proxied method.

This is useful for implementing DSL evaluation for immutable context objects.

@see Docile.dsl_eval_immutable

### Public Instance Methods

method_missing(method, *args, &block) click to toggle source

Proxy methods as in {FallbackContextProxy#method_missing}, replacing `receiver` with the returned value.

    # File lib/docile/chaining_fallback_context_proxy.rb, line 16
    def method_missing(method, *args, &block)
      @__receiver__ = super(method, *args, &block)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.