Class: Metanorma::Mirror::Model::SoftBreak
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Metanorma::Mirror::Model::SoftBreak
- Defined in:
- lib/metanorma/mirror/model/soft_break.rb
Instance Method Summary collapse
- #accept_rewriter(rewriter) ⇒ Object
-
#attrs ⇒ Object
rewriter contract: a soft break carries no attrs or content.
- #content ⇒ Object
- #text_content ⇒ Object
Instance Method Details
#accept_rewriter(rewriter) ⇒ Object
26 27 28 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 26 def accept_rewriter(rewriter) rewriter.rewrite_soft_break(self) end |
#attrs ⇒ Object
rewriter contract: a soft break carries no attrs or content
14 15 16 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 14 def attrs {} end |
#content ⇒ Object
18 19 20 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 18 def content [] end |
#text_content ⇒ Object
22 23 24 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 22 def text_content "" end |