class Infoboxer::Tree::Ref
Represents footnote.
Is not rendered in text flow, so, wikitext like
“` …pushed it back into underdevelopment,<ref>…tons of footnote text…</ref> though it nevertheless… “` when parsed and {Node#text} called, will return text like:
“` …pushed it back into underdevelopment, though it nevertheless… “`
…which most times is most reasonable thing to do.
Public Instance Methods
empty?()
click to toggle source
@private Internal, used by {Parser}
# File lib/infoboxer/tree/ref.rb, line 26 def empty? # even empty tag should not be dropped! false end
text()
click to toggle source
# File lib/infoboxer/tree/ref.rb, line 31 def text # because we want "clean" text, # without references & footnotes messed up in it '' end