Class: Coradoc::Element::Inline::Quotation
- Defined in:
- lib/coradoc/element/inline/quotation.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Quotation
constructor
A new instance of Quotation.
- #to_adoc ⇒ Object
Methods inherited from Base
#children_accessors, children_accessors, declare_children, #simplify_block_content, visit, #visit
Constructor Details
#initialize(content) ⇒ Quotation
Returns a new instance of Quotation.
9 10 11 |
# File 'lib/coradoc/element/inline/quotation.rb', line 9 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/quotation.rb', line 5 def content @content end |