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 349
def initialize(content = '')
  @content = content
end

Public Instance Methods

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