Class: BlueDoc::SML::Rules::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/bluedoc/sml/rules/text.rb

Constant Summary

Constants inherited from Base

Base::INDENT_PX

Class Method Summary collapse

Methods inherited from Base

to_text

Class Method Details

.match?(node) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/bluedoc/sml/rules/text.rb', line 5

def self.match?(node)
  node.is_a?(String)
end

.to_html(node, opts = {}) ⇒ Object



9
10
11
# File 'lib/bluedoc/sml/rules/text.rb', line 9

def self.to_html(node, opts = {})
  node
end