Class: HtmlToProsemirror::Nodes::CodeBlockWrapper

Inherits:
Node
  • Object
show all
Defined in:
lib/html_to_prosemirror/nodes/code_block_wrapper.rb

Instance Attribute Summary

Attributes inherited from Node

#type, #wrapper

Instance Method Summary collapse

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from HtmlToProsemirror::Nodes::Node

Instance Method Details

#dataObject



8
9
10
# File 'lib/html_to_prosemirror/nodes/code_block_wrapper.rb', line 8

def data
  nil
end

#matchingObject



4
5
6
# File 'lib/html_to_prosemirror/nodes/code_block_wrapper.rb', line 4

def matching
  @node.name === 'pre'
end