Sha256: a3d8fce54f008f22b8fedff2ec50e586263cf1e4d4f362fd0e4b577a7d56b7ca
Contents?: true
Size: 603 Bytes
Versions: 27
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module Blacklight module Rendering class HelperMethod < AbstractStep def render if config.helper_method render_helper # short circut the rest of the steps else next_step(values) end end private def render_helper context.send(config.helper_method, options.merge(document: document, field: config.field, config: config, value: values)) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems