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