class BibTeX::Comment

Represents a @comment object.

Attributes

content[RW]

Public Class Methods

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

Public Instance Methods

to_s(_options = {}) click to toggle source
# File lib/bibtex/elements.rb, line 363
def to_s(_options = {})
  "@comment{ #{@content} }\n"
end