Sha256: 9debb90f19fdca9c721166da727704ade98709bd3a2d107a0f82848214361c45
Contents?: true
Size: 861 Bytes
Versions: 3
Compression:
Stored size: 861 Bytes
Contents
module Infoboxer module Tree # 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. class Ref < Compound # @!attribute [r] name def_readers :name # @private # Internal, used by {Parser} def empty? # even empty tag should not be dropped! false end def text # because we want "clean" text, # without references & footnotes messed up in it '' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
infoboxer-0.3.3 | lib/infoboxer/tree/ref.rb |
infoboxer-0.3.2 | lib/infoboxer/tree/ref.rb |
infoboxer-0.3.1 | lib/infoboxer/tree/ref.rb |