Module: Trestle::EvaluationContext
- Defined in:
- lib/trestle/evaluation_context.rb
Overview
This module facilitiates the delegation of missing methods to a given @context variable.
This allows code such as adapter and navigation blocks to be evaluated with access to methods from both the Adapter/Navigation instance, as well as the controller/view from where they are invoked.
Class Method Summary collapse
Class Method Details
.ruby2_keywords ⇒ Object
8 9 |
# File 'lib/trestle/evaluation_context.rb', line 8 def self.ruby2_keywords(*) end |