Sha256: f84272b2164bd31b8eb95c18d6c9fd3a1ea5a088552eefc03d0d5af7ea7ad770
Contents?: true
Size: 595 Bytes
Versions: 78
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Blacklight module Rendering class AbstractStep def initialize(values, config, document, context, options, stack) @values = values @config = config @document = document @context = context @options = options @stack = stack end attr_reader :values, :config, :document, :context, :options, :stack private def next_step(output_values) first, *rest = *stack first.new(output_values, config, document, context, options, rest).render end end end end
Version data entries
78 entries across 78 versions & 2 rubygems