Module: CiteProc::Utilities

Included in:
CiteProc
Defined in:
lib/citeproc.rb,
lib/citeproc/utilities.rb

Instance Method Summary collapse

Instance Method Details

#bibliography(items, options = {}) ⇒ Object



14
15
16
# File 'lib/citeproc/utilities.rb', line 14

def bibliography(items, options = {})
  process(:bibliography, items, options)
end

#cite(items, options = {}) ⇒ Object



10
11
12
# File 'lib/citeproc/utilities.rb', line 10

def cite(items, options = {})
  process(:citation, items, options)
end

#process(*arguments) ⇒ Object

call-seq: process(mode = :bibliography, items, options = {})



7
8
# File 'lib/citeproc/utilities.rb', line 7

def process(*arguments)
end