class Paru::PandocFilter::Plain
A Plain
node is a basic {Block} level node with {Inline} child nodes. Not to be confused with {Para}, which represents a paragraph. A Plain
is a more general type of block level node.
Public Class Methods
Source
# File lib/paru/filter/plain.rb, line 33 def initialize(contents) super contents, true end
Create a new Plain
node based on contents
@param contents [Array]
Calls superclass method
Public Instance Methods
Source
# File lib/paru/filter/plain.rb, line 40 def has_inline? true end
Has a Plain
node inline contents?
@return [Boolean] true