class BibTeX::MetaContent
Represents text in a ‘.bib’ file, but outside of an actual BibTeX
object; typically, such text is treated as a comment and is ignored by the parser. BibTeX-Ruby offers this class to allows for post-processing of this type of ‘meta’ content. If you want the parser to include MetaComment
objects, you need to add :meta_content
to the parser’s :include
option.
Attributes
Public Class Methods
Source
# File lib/bibtex/elements.rb, line 379 def initialize(content = '') @content = content end
Public Instance Methods
Source
# File lib/bibtex/elements.rb, line 383 def to_s(_options = {}) @content end