Class: Coradoc::Element::LineBreak
- Defined in:
- lib/coradoc/element/text_element.rb
Instance Attribute Summary collapse
-
#line_break ⇒ Object
readonly
Returns the value of attribute line_break.
Instance Method Summary collapse
-
#initialize(line_break) ⇒ LineBreak
constructor
A new instance of LineBreak.
- #to_adoc ⇒ Object
Methods inherited from Base
#children_accessors, children_accessors, declare_children, #simplify_block_content, visit, #visit
Constructor Details
#initialize(line_break) ⇒ LineBreak
Returns a new instance of LineBreak.
77 78 79 |
# File 'lib/coradoc/element/text_element.rb', line 77 def initialize(line_break) @line_break = line_break end |
Instance Attribute Details
#line_break ⇒ Object (readonly)
Returns the value of attribute line_break.
75 76 77 |
# File 'lib/coradoc/element/text_element.rb', line 75 def line_break @line_break end |
Instance Method Details
#to_adoc ⇒ Object
81 82 83 |
# File 'lib/coradoc/element/text_element.rb', line 81 def to_adoc @line_break end |