Class: Paru::PandocFilter::Inline
- Includes:
- InnerMarkdown
- Defined in:
- lib/paru/filter/inline.rb
Overview
An Inline node
Direct Known Subclasses
Cite, Code, Emph, EmptyInline, Link, Math, Note, Quoted, RawInline, ShortCaption, SmallCaps, Span, Str, Strikeout, Strong, Subscript, Superscript, Underline
Instance Method Summary collapse
-
#has_inline? ⇒ Boolean
Has this Inline node inline contents? Of course!.
-
#initialize(contents) ⇒ Inline
constructor
Create a new Inline node with contents.
-
#inner_markdown ⇒ String
included
from InnerMarkdown
Get the markdown representation of this Node's children.
-
#inner_markdown=(markdown) ⇒ Object
included
from InnerMarkdown
Replace this Node's children with the Nodes represented by the markdown string.
-
#is_inline? ⇒ Boolean
Is this Inline node inline? Of course!.
Constructor Details
#initialize(contents) ⇒ Inline
Create a new Inline node with contents
31 32 33 |
# File 'lib/paru/filter/inline.rb', line 31 def initialize(contents) super contents, true end |
Instance Method Details
#has_inline? ⇒ Boolean
Has this Inline node inline contents? Of course!
45 46 47 |
# File 'lib/paru/filter/inline.rb', line 45 def has_inline?() true end |
#inner_markdown ⇒ String Originally defined in module InnerMarkdown
Get the markdown representation of this Node's children.
#inner_markdown=(markdown) ⇒ Object Originally defined in module InnerMarkdown
Replace this Node's children with the Nodes represented by the markdown string
#is_inline? ⇒ Boolean
Is this Inline node inline? Of course!
38 39 40 |
# File 'lib/paru/filter/inline.rb', line 38 def is_inline?() true end |