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