Sha256: 0a8e7c7329a59e883283206e0761d95919c44fc481b09e629f579c99e55686d5
Contents?: true
Size: 418 Bytes
Versions: 60
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true module Blacklight module Rendering class Microdata < AbstractStep include ActionView::Helpers::TagHelper def render return next_step(values) unless config.itemprop next_step(values.map { |x| itemprop(x, config.itemprop) }) end private def itemprop(val, itemprop) tag.span val, itemprop: itemprop end end end end
Version data entries
60 entries across 60 versions & 2 rubygems