Sha256: 6b7be688792ae4da7e771c45aaa84514e4d97a4140f466821e409ab709e9d853

Contents?: true

Size: 796 Bytes

Versions: 9

Compression:

Stored size: 796 Bytes

Contents

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

        attr_reader :view_context

        def initialize(view_context)
          @view_context = view_context
        end
      end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sufia-7.2.0 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.1.0 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.rc2 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.rc1 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.beta4 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.beta3 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.beta2 app/helpers/sufia/citations_behaviors/formatters.rb
sufia-7.0.0.beta1 app/helpers/sufia/citations_behaviors/formatters.rb