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
new(contents)
click to toggle source
Create a new Plain
node based on contents
@param contents [Array]
Calls superclass method
# File lib/paru/filter/plain.rb, line 33 def initialize(contents) super contents, true end
Public Instance Methods
has_inline?()
click to toggle source
Has a Plain
node inline contents?
@return [Boolean] true
# File lib/paru/filter/plain.rb, line 40 def has_inline? true end