Module: CiteProc

Extended by:
Utilities
Defined in:
lib/citeproc.rb,
lib/citeproc/date.rb,
lib/citeproc/item.rb,
lib/citeproc/names.rb,
lib/citeproc/assets.rb,
lib/citeproc/engine.rb,
lib/citeproc/errors.rb,
lib/citeproc/number.rb,
lib/citeproc/version.rb,
lib/citeproc/selector.rb,
lib/citeproc/variable.rb,
lib/citeproc/processor.rb,
lib/citeproc/utilities.rb,
lib/citeproc/abbreviate.rb,
lib/citeproc/attributes.rb,
lib/citeproc/extensions.rb,
lib/citeproc/bibliography.rb,
lib/citeproc/citation_data.rb,
lib/citeproc/compatibility.rb,
lib/citeproc/compatibility.rb,
lib/citeproc/compatibility.rb

Overview

CiteProc processes bibliographic data and formats it according to a style defined in CSL (Citation Style Language).

Copyright 2009-2014 Sylvester Keil. All rights reserved.

Copyright 2012 President and Fellows of Harvard College.

Author:

  • Sylvester Keil

Defined Under Namespace

Modules: Abbreviate, Asset, Attributes, Converters, Extensions, Utilities Classes: Bibliography, CitationData, CitationItem, Date, Engine, EngineError, Error, Item, Locale, Name, Names, NotImplementedError, Number, ParseError, Processor, RenderingError, Selector, Style, Text, Variable

Constant Summary collapse

VERSION =
'1.0.10'.freeze

Class Method Summary collapse

Methods included from Utilities

bibliography, cite, process

Class Method Details

.downcase(string) ⇒ Object



17
18
19
# File 'lib/citeproc/compatibility.rb', line 17

def downcase(string)
  java.lang.String.new(string).to_lower_case(java.util.Locale::ENGLISH).to_s
end

.upcase(string) ⇒ Object



13
14
15
# File 'lib/citeproc/compatibility.rb', line 13

def upcase(string)
  java.lang.String.new(string).to_upper_case(java.util.Locale::ENGLISH).to_s
end