class Storyblok::Richtext::Nodes::Node
Attributes
type[W]
wrapper[W]
Public Class Methods
new(data)
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 12 def initialize(data) @node = data end
Public Instance Methods
html()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 32 def html nil end
matching()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 16 def matching false end
single_tag()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 20 def single_tag nil end
tag()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 24 def tag nil end
text()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 28 def text nil end
type()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/node.rb, line 8 def type @type || 'node' end