class Storyblok::Richtext::Nodes::HorizontalRule

Public Instance Methods

matching() click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb, line 5
def matching
  @node['type'] === 'horizontal_rule'
end
single_tag() click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb, line 9
def single_tag
  'hr'
end