Method: Bibtex::Bibliography#<<
- Defined in:
- lib/bibtex/bibliography.rb
#<<(e) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/bibtex/bibliography.rb', line 12 def <<(e) if e.kind_of? Entry then @entries[e.key] = e else raise 'Cannot add non-entries to bibliography' end end |