class BlueDoc::SML::Rules::Text

Public Class Methods

match?(node) click to toggle source
# File lib/bluedoc/sml/rules/text.rb, line 6
def self.match?(node)
  node.is_a?(String)
end
to_html(node, opts = {}) click to toggle source
# File lib/bluedoc/sml/rules/text.rb, line 10
def self.to_html(node, opts = {})
  ERB::Util.html_escape(node)
end