Sha256: 5a3459e465ae4d3688e9acff01bd3055c593db285d32de7f40a4fb901e9624e2
Contents?: true
Size: 522 Bytes
Versions: 14
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true ## # Adds helper behavior logic for GeoBlacklight, to used alongside # BlacklightHelperBehavior module Geoblacklight module GeoblacklightHelperBehavior include Blacklight::BlacklightHelperBehavior ## # Calls the presenter on the requested method # @param [Symbol, String] presenting_method # @return [String] def geoblacklight_present(presenting_method, document = @document) document_presenter(document).try(presenting_method.to_sym) || '' end end end
Version data entries
14 entries across 14 versions & 1 rubygems