class Paru::PandocFilter::Para

A Para is a paragraph: a list of Inline nodes

Public Class Methods

new(contents) click to toggle source

Create a new Para node based on the contents

@param contents [Array]

Calls superclass method
# File lib/paru/filter/para.rb, line 31
def initialize(contents)
    super contents, true
end

Public Instance Methods

has_inline?() click to toggle source

Does a Para have inline content?

@return [Boolean] true

# File lib/paru/filter/para.rb, line 38
def has_inline?
    true
end