class Polites::Span::Footnote

Attributes

text[R]

Public Class Methods

new(children, text) click to toggle source
Calls superclass method Polites::Node::new
# File lib/polites/span/footnote.rb, line 9
def initialize(children, text)
  super(children)
  @text = text
end

Public Instance Methods

eql?(other) click to toggle source
Calls superclass method Polites::Node#eql?
# File lib/polites/span/footnote.rb, line 14
def eql?(other)
  super && text == other.text
end