Module: MD4C::EqualByContent
- Included in:
- CodeText, Entity, HTMLText, HardBreak, LaTeXMathText, NormalText, NullChar, SoftBreak
- Defined in:
- lib/md4c.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
100 101 102 |
# File 'lib/md4c.rb', line 100 def ==(other) self.class == other.class && @content == other.content end |
#deconstruct ⇒ Object
104 105 106 |
# File 'lib/md4c.rb', line 104 def deconstruct [@content] end |