Class: Storyblok::Richtext::Marks::Strike
- Inherits:
-
Mark
- Object
- Mark
- Storyblok::Richtext::Marks::Strike
show all
- Defined in:
- lib/storyblok/richtext/html_renderer/marks/strike.rb
Instance Attribute Summary
Attributes inherited from Mark
#type
Instance Method Summary
collapse
Methods inherited from Mark
#initialize
Instance Method Details
#matching ⇒ Object
5
6
7
|
# File 'lib/storyblok/richtext/html_renderer/marks/strike.rb', line 5
def matching
@node['type'] === 'strike'
end
|
#tag ⇒ Object
9
10
11
|
# File 'lib/storyblok/richtext/html_renderer/marks/strike.rb', line 9
def tag
'strike'
end
|