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

content[RW]

Public Class Methods

new(content = '') click to toggle source
# File lib/bibtex/elements.rb, line 369
def initialize(content = '')
  @content = content
end

Public Instance Methods

to_s(options = {}) click to toggle source
# File lib/bibtex/elements.rb, line 373
def to_s(options = {}); @content; end