module Roda::RodaPlugins::CustomBlockResults::ClassMethods
def handle_block_result(klass, &block)
Specify a block that will be called when an instance of klass
def handle_block_result(klass, &block) opts[:custom_block_results][klass] = define_roda_method(opts[:custom_block_results][klass] || "custom_block_result_#{klass}", 1, &block) end