Class: Metanorma::Mirror::Model::SoftBreak

Inherits:
Object
  • Object
show all
Defined in:
lib/metanorma/mirror/model/soft_break.rb

Instance Method Summary collapse

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

#attrsObject



15
16
17
# File 'lib/metanorma/mirror/model/soft_break.rb', line 15

def attrs
  {}
end

#contentObject



19
20
21
# File 'lib/metanorma/mirror/model/soft_break.rb', line 19

def content
  []
end

#text_contentObject



23
24
25
# File 'lib/metanorma/mirror/model/soft_break.rb', line 23

def text_content
  ""
end

#to_hObject



11
12
13
# File 'lib/metanorma/mirror/model/soft_break.rb', line 11

def to_h
  { "type" => "soft_break" }
end

#typeObject



7
8
9
# File 'lib/metanorma/mirror/model/soft_break.rb', line 7

def type
  "soft_break"
end