Class: MaRuKu::In::Markdown::BlockLevelParser::BlockContext

Inherits:
Array
  • Object
show all
Defined in:
lib/maruku/input/parse_block.rb

Instance Method Summary collapse

Methods inherited from Array

#inspect_more

Instance Method Details

#describeObject



29
30
31
32
33
34
# File 'lib/maruku/input/parse_block.rb', line 29

def describe
	n = 5
	desc = size > n ? self[-n,n] : self
	"Last #{n} elements: "+
	desc.map{|x| "\n -" + x.inspect}.join
end