Sha256: 519b1953850f64c3b5a3c96fb014786e336cb2d9e07365ad209d2ce4499effa1
Contents?: true
Size: 284 Bytes
Versions: 3
Compression:
Stored size: 284 Bytes
Contents
# frozen_string_literal: true require_relative '../span' module Polites class Span::Footnote < Span attr_reader :text def initialize(children, text) super(children) @text = text end def eql?(other) super && text == other.text end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polites-0.3.0 | lib/polites/span/footnote.rb |
polites-0.2.0 | lib/polites/span/footnote.rb |
polites-0.1.0 | lib/polites/span/footnote.rb |