Sha256: 6545d6e436e4d58edfc4a227690403da1e5d8fc75e75a2f9e44d3afb973b5b2d

Contents?: true

Size: 705 Bytes

Versions: 58

Compression:

Stored size: 705 Bytes

Contents

module Hyrax
  module CitationsBehaviors
    module Formatters
      class BaseFormatter
        include Hyrax::CitationsBehaviors::CommonBehavior
        include Hyrax::CitationsBehaviors::NameBehavior

        attr_reader :view_context

        def initialize(view_context)
          @view_context = view_context
        end
      end

      autoload :ApaFormatter, 'hyrax/citations_behaviors/formatters/apa_formatter'
      autoload :ChicagoFormatter, 'hyrax/citations_behaviors/formatters/chicago_formatter'
      autoload :MlaFormatter, 'hyrax/citations_behaviors/formatters/mla_formatter'
      autoload :OpenUrlFormatter, 'hyrax/citations_behaviors/formatters/open_url_formatter'
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.5 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.4 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.3 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.2 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.9.0 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.8.0 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.7.2 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.7.1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.7.0 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.6.0 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-3.0.0.pre.rc1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-3.0.0.pre.beta3 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.5.1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.5.0 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-3.0.0.pre.beta2 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.4.1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-3.0.0.pre.beta1 app/helpers/hyrax/citations_behaviors/formatters.rb
hyrax-2.4.0 app/helpers/hyrax/citations_behaviors/formatters.rb