Sha256: 19092ba13e53718865777df1b23a187661f2ae250912328198175d79ce0b599d
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
# BibTeX-ruby includes prefixes like "von" as part of the last name when sorting names. # This redefinition of Name#sort_order stops it from doing so. module BibTeX class Name def sort_order(options = {}) [last, suffix, options[:initials] ? initials : first].compact.join(', ') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bibtex_munge-0.0.1 | lib/bibtex_munge/sort.rb |