Class: Metanorma::Mirror::Model::SoftBreak
- Inherits:
-
Object
- Object
- Metanorma::Mirror::Model::SoftBreak
- Defined in:
- lib/metanorma/mirror/model/soft_break.rb
Instance Method Summary collapse
- #accept_rewriter(rewriter) ⇒ Object
- #attrs ⇒ Object
- #content ⇒ Object
- #text_content ⇒ Object
- #to_h ⇒ Object
- #type ⇒ Object
Instance Method Details
#accept_rewriter(rewriter) ⇒ Object
27 28 29 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 27 def accept_rewriter(rewriter) rewriter.rewrite_soft_break(self) end |
#attrs ⇒ Object
15 16 17 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 15 def attrs {} end |
#content ⇒ Object
19 20 21 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 19 def content [] end |
#text_content ⇒ Object
23 24 25 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 23 def text_content "" end |
#to_h ⇒ Object
11 12 13 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 11 def to_h { "type" => "soft_break" } end |
#type ⇒ Object
7 8 9 |
# File 'lib/metanorma/mirror/model/soft_break.rb', line 7 def type "soft_break" end |