module Roda::RodaPlugins::CustomBlockResults::RequestMethods
Private Instance Methods
Source
# File lib/roda/plugins/custom_block_results.rb, line 65 def unsupported_block_result(result) roda_class.opts[:custom_block_results].each do |klass, meth| if klass === result result = scope.send(meth, result) if String === result return result else return end end end super end
Try each configured custom block result, and call the related method to get the block result.
Calls superclass method