Class: Paru::PandocFilter::Block
Overview
A Block level node.
Direct Known Subclasses
BlockQuote, Caption, Cell, CodeBlock, DefinitionList, DefinitionListItem, Div, EmptyBlock, Figure, Header, List, Para, Plain, RawBlock, Row, Table, TableBody, TableEnd
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#is_block? ⇒ Boolean
Is this node a block?.
Methods inherited from Node
#ast_contents, #ast_type, #can_act_as_both_block_and_inline?, #each, from_markdown, #get_replacement, #has_been_replaced?, #has_block?, #has_children?, #has_class?, #has_inline?, #has_parent?, #has_string?, #initialize, #is_inline?, #is_leaf?, #is_node?, #is_root?, #markdown, #markdown=, #toMetadata, #to_ast, #to_s, #type
Methods included from ASTManipulation
#append, #delete, #each_depth_first, #find_index, #get, #insert, #prepend, #remove_at, #replace, #replace_at
Constructor Details
This class inherits a constructor from Paru::PandocFilter::Node
Instance Method Details
#is_block? ⇒ Boolean
Is this node a block?
31 32 33 |
# File 'lib/paru/filter/block.rb', line 31 def is_block? true end |