Method: MaRuKu::MDElement#==
- Defined in:
- lib/maruku/structures.rb
#==(o) ⇒ Object
117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/maruku/structures.rb', line 117 def ==(o) ok = o.kind_of?(MDElement) && (self.node_type == o.node_type) && (self. == o.) && (self.children == o.children) if not ok # puts "This:\n"+self.inspect+"\nis different from\n"+o.inspect+"\n\n" end ok end |