Class: MaRuKu::In::Markdown::BlockLevelParser::BlockContext
- Defined in:
- lib/amp-front/third_party/maruku/input/parse_block.rb
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#describe ⇒ Object
29 30 31 32 33 34 |
# File 'lib/amp-front/third_party/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 |