Class: BibliographicalImporter::BibTex::Record_Generic

Inherits:
Record
  • Object
show all
Defined in:
lib/bibliographical_importer/bibtex.rb

Constant Summary

Constants inherited from Record

BibliographicalImporter::BibTex::Record::COMMON_FIELDS

Instance Attribute Summary

Attributes inherited from Record

#bv

Attributes included from CommonRecordAttributes

#abstract, #affiliation, #author, #authors, #cited, #doi, #id_scopus, #id_wos, #journal, #journal_abbr, #keywords, #keywords_plus, #language, #pages, #references_crossref, #references_scopus, #references_wos, #title, #uid, #url, #volume, #year

Instance Method Summary collapse

Methods inherited from Record

#authors, #check_title, create, determine_type, #initialize, #parse_common, #strip_lines

Constructor Details

This class inherits a constructor from BibliographicalImporter::BibTex::Record

Instance Method Details

#cited_referencesObject



197
198
199
# File 'lib/bibliographical_importer/bibtex.rb', line 197

def cited_references
  nil
end

#parse_specificObject



188
189
190
191
192
193
194
195
196
# File 'lib/bibliographical_importer/bibtex.rb', line 188

def parse_specific
  if @doi.to_s!=""
    uid="doi:#{@doi}"
  else
    self.extend ReferenceMethods
    uid=ref_apa_6_brief[0..255]
  end
  @uid=uid
end

#typeObject



200
201
202
# File 'lib/bibliographical_importer/bibtex.rb', line 200

def type
  :generic
end