Sha256: 72e1f4895af24806f637129dd2785a4548b6a0e66a6c2acaec6d80bc672fcfed
Contents?: true
Size: 920 Bytes
Versions: 29
Compression:
Stored size: 920 Bytes
Contents
# frozen_string_literal: true module Hyrax module CitationsBehavior include Hyrax::CitationsBehaviors::CommonBehavior include Hyrax::CitationsBehaviors::Formatters include Hyrax::CitationsBehaviors::PublicationBehavior include Hyrax::CitationsBehaviors::NameBehavior include Hyrax::CitationsBehaviors::TitleBehavior def export_as_apa_citation(work) Hyrax::CitationsBehaviors::Formatters::ApaFormatter.new(self).format(work) end def export_as_chicago_citation(work) Hyrax::CitationsBehaviors::Formatters::ChicagoFormatter.new(self).format(work) end def export_as_mla_citation(work) Hyrax::CitationsBehaviors::Formatters::MlaFormatter.new(self).format(work) end # MIME type: 'application/x-openurl-ctx-kev' def export_as_openurl_ctx_kev(work) Hyrax::CitationsBehaviors::Formatters::OpenUrlFormatter.new(self).format(work) end end end
Version data entries
29 entries across 29 versions & 1 rubygems