module Dialog::Strings
Public Class Methods
text2md(text)
click to toggle source
# File lib/tooling/strings.rb, line 5 def text2md(text) res = text.gsub(/[_*]/, '_' => '\_', '*' => '\*') return res end
# File lib/tooling/strings.rb, line 5 def text2md(text) res = text.gsub(/[_*]/, '_' => '\_', '*' => '\*') return res end