Module: RD::TerminalElement

Included in:
Include, MethodListItem::Term, TerminalInline, Verbatim
Defined in:
lib/rd/element.rb

Overview

element which don’t have children.

Instance Method Summary collapse

Instance Method Details

#childrenObject



27
28
29
# File 'lib/rd/element.rb', line 27

def children
  []
end

#each_element {|_self| ... } ⇒ Object Also known as: each

Yields:

  • (_self)

Yield Parameters:



31
32
33
# File 'lib/rd/element.rb', line 31

def each_element
  yield(self)
end