Method: MaRuKu::MDElement#inspect

Defined in:
lib/maruku/structures_inspect.rb

#inspect(compact = true) ⇒ Object



56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/maruku/structures_inspect.rb', line 56

def inspect(compact=true)
	if compact
		i2 = inspect2
		return i2 if i2
	end
	
	"md_el(:%s,%s,%s,%s)" %
	[
		self.node_type,
		children_inspect(compact), 
		@meta_priv.inspect_ordered,
		self.al.inspect
	]
end