Class: PseudoHiki::BlockParser::ListTypeBlockNode
- Inherits:
-
NestedBlockNode
- Object
- BlockStack::Node
- BlockNode
- NestedBlockNode
- PseudoHiki::BlockParser::ListTypeBlockNode
- Defined in:
- lib/pseudohiki/blockparser.rb
Instance Attribute Summary
Attributes inherited from BlockNode
Instance Method Summary collapse
Methods inherited from BlockNode
#add_leaf, #create_leaf, #level, #parse_leafs, #push_self
Instance Method Details
#breakable?(breaker) ⇒ Boolean
168 169 170 |
# File 'lib/pseudohiki/blockparser.rb', line 168 def breakable?(breaker) not (breaker.block.superclass == ListTypeBlockNode and level <= breaker.level) end |