Sha256: 3d4a89e61a8b39170992bb3f82b72c2a3c6e2e991b91c6af6a295ed381ae6fb6
Contents?: true
Size: 611 Bytes
Versions: 68
Compression:
Stored size: 611 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
68 entries across 67 versions & 2 rubygems