Class: PseudoHiki::BlockParser::ListTypeBlockNode

Inherits:
NestedBlockNode show all
Defined in:
lib/pseudohiki/blockparser.rb

Instance Attribute Summary

Attributes inherited from BlockNode

#node_id

Instance Method Summary collapse

Methods inherited from BlockNode

#add_leaf, #create_leaf, #level, #parse_leafs, #push_self

Instance Method Details

#breakable?(breaker) ⇒ Boolean

Returns:

  • (Boolean)


168
169
170
# File 'lib/pseudohiki/blockparser.rb', line 168

def breakable?(breaker)
  not (breaker.block.superclass == ListTypeBlockNode and level <= breaker.level)
end