module BibTeX::Replaceable

The Replaceable module provides methods that expose a Value attribute and the ability to join or replace the contained BibTeX symbols.

Attributes

v[R]
value[R]

Public Instance Methods

<<(value) click to toggle source
# File lib/bibtex/replaceable.rb, line 44
def <<(value)
        @value << value
        self
end
join() click to toggle source
# File lib/bibtex/replaceable.rb, line 39
def join
  @value.join
  self
end
replace(*arguments) click to toggle source
# File lib/bibtex/replaceable.rb, line 34
def replace(*arguments)
        @value.replace(*arguments)
        self
end
value=(value) click to toggle source
# File lib/bibtex/replaceable.rb, line 30
def value=(value)
  @value = Value.new(value)
end