Class: Coradoc::Element::Inline::Superscript
- Inherits:
-
Object
- Object
- Coradoc::Element::Inline::Superscript
- Defined in:
- lib/coradoc/element/inline/superscript.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Superscript
constructor
A new instance of Superscript.
- #to_adoc ⇒ Object
Constructor Details
#initialize(content) ⇒ Superscript
Returns a new instance of Superscript.
6 7 8 |
# File 'lib/coradoc/element/inline/superscript.rb', line 6 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
5 6 7 |
# File 'lib/coradoc/element/inline/superscript.rb', line 5 def content @content end |