Sha256: 9097a811911786bc31772d8e466a5952b1b2916efcc39bb714d620766ee33cd2
Contents?: true
Size: 286 Bytes
Versions: 3
Compression:
Stored size: 286 Bytes
Contents
# frozen_string_literal: true require_relative '../span' module Polites class Span::Annotation < 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/annotation.rb |
polites-0.2.0 | lib/polites/span/annotation.rb |
polites-0.1.0 | lib/polites/span/annotation.rb |