class Paru::PandocFilter::MetaValue

A MetaValue Node is either a MetaMap, MetaList, MetaBool, MetaString, MetaInlines, or a MetaBlocks.

@see hackage.haskell.org/package/pandoc-types-1.17.0.4/docs/Text-Pandoc-Definition.html#t:MetaValue

@!attribute value

@return [String|Boolean]

Attributes

value[RW]

Public Class Methods

new(value) click to toggle source

Create a new MetaValue Node based on the value

@param value [String]

# File lib/paru/filter/meta_value.rb, line 38
def initialize(value)
    @value = value
end

Public Instance Methods

ast_contents() click to toggle source

The AST contents

# File lib/paru/filter/meta_value.rb, line 43
def ast_contents()
    @value
end