Sha256: f972c0fe22a04d5135724571dbbce481e59c7e32e37606f5602271ac7054d56f
Contents?: true
Size: 357 Bytes
Versions: 73
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module Commonmeta module Writers module CitationWriter def citation cp = CiteProc::Processor.new(style: style, locale: locale, format: 'html') cp.import Array.wrap(csl_hsh) bibliography = cp.render :bibliography, id: normalize_doi(id) bibliography.first end end end end
Version data entries
73 entries across 73 versions & 1 rubygems