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 43 def <<(value) @value << value self end
join()
click to toggle source
# File lib/bibtex/replaceable.rb, line 38 def join @value.join self end
replace(*arguments)
click to toggle source
# File lib/bibtex/replaceable.rb, line 33 def replace(*arguments) @value.replace(*arguments) self end
value=(value)
click to toggle source
# File lib/bibtex/replaceable.rb, line 29 def value=(value) @value = Value.new(value) end