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