Sha256: deba98ecd20b7a664ac27085d20372e3665fe72f061328135dacc9be5daee9d1
Contents?: true
Size: 449 Bytes
Versions: 23
Compression:
Stored size: 449 Bytes
Contents
module CiteProc module Ruby class Renderer def locale @locale ||= CSL::Locale.load end def locale=(locale) @locale = CSL::Locale.load(locale) end def translate(name, options = {}) locale.translate(name, options) end # @return [String] number as an ordinal def ordinalize(number, options = {}) locale.ordinalize(number, options) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
citeproc-ruby-1.0.2 | lib/citeproc/ruby/renderer/locale.rb |
citeproc-ruby-1.0.1 | lib/citeproc/ruby/renderer/locale.rb |
citeproc-ruby-1.0.0 | lib/citeproc/ruby/renderer/locale.rb |