Sha256: ba2e74ab29fefeb0cd1038eeedecdd1d8bd0cad51f95c22a22122f4e58fee7ba
Contents?: true
Size: 874 Bytes
Versions: 11
Compression:
Stored size: 874 Bytes
Contents
# encoding: utf-8 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
11 entries across 11 versions & 1 rubygems