Sha256: c8b8ea17a93d8acf4f3a692a2b11100654094e48d2d5b677e75b7cb313f721db
Contents?: true
Size: 344 Bytes
Versions: 35
Compression:
Stored size: 344 Bytes
Contents
module Hyrax module CitationsBehaviors module CommonBehavior def persistent_url(work) "#{Hyrax.config.persistent_hostpath}#{work.id}" end def clean_end_punctuation(text) return text[0, text.length - 1] if text && ([".", ",", ":", ";", "/"].include? text[-1, 1]) text end end end end
Version data entries
35 entries across 35 versions & 1 rubygems