Method: Brainstem::Presenter#get_query_strategy
- Defined in:
- lib/brainstem/presenter.rb
#get_query_strategy ⇒ Object
79 80 81 82 83 84 |
# File 'lib/brainstem/presenter.rb', line 79 def get_query_strategy if configuration.has_key? :query_strategy strat = configuration[:query_strategy] strat.respond_to?(:call) ? fresh_helper_instance.instance_exec(&strat) : strat end end |