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