Sha256: 369cb496126c4de9038746d1317aac04c48f7c45bbea26fc66f298c84ddf7b28
Contents?: true
Size: 588 Bytes
Versions: 31
Compression:
Stored size: 588 Bytes
Contents
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
31 entries across 31 versions & 1 rubygems