Class: RD::TerminalInline

Inherits:
InlineElement show all
Includes:
TerminalElement
Defined in:
lib/rd2odt/rdtool/rd/inline-element.rb

Overview

abstruct class.

Direct Known Subclasses

StringElement, Verb

Instance Attribute Summary collapse

Attributes inherited from Element

#parent

Instance Method Summary collapse

Methods included from TerminalElement

#children, #each_element

Methods inherited from Element

#inspect, #tree

Constructor Details

#initialize(content) ⇒ TerminalInline

Returns a new instance of TerminalInline.



15
16
17
18
# File 'lib/rd2odt/rdtool/rd/inline-element.rb', line 15

def initialize(content)
  super()
  @content = content
end

Instance Attribute Details

#contentObject

Returns the value of attribute content.



13
14
15
# File 'lib/rd2odt/rdtool/rd/inline-element.rb', line 13

def content
  @content
end