class Paru::PandocFilter::RawInline
A RawInline
node has a format and a string value
@!attribute format
@return [String]
@!attribute string
@return [String]
Attributes
Public Class Methods
Source
# File lib/paru/filter/raw_inline.rb, line 36 def initialize(contents) @format, @string = contents end
Create a new RawInline
node based on the contents
@param contents [Array]
Public Instance Methods
Source
# File lib/paru/filter/raw_inline.rb, line 43 def ast_contents() [ @format, @string ] end
The AST contents
@return [Array]
Source
# File lib/paru/filter/raw_inline.rb, line 60 def has_inline?() false end
Has this RawInline
inline contents?
@return [Boolean] false
Source
# File lib/paru/filter/raw_inline.rb, line 53 def has_string?() true end
Has this RawInline
a string value?
@return [Boolean] true