module Solargraph::Pin::Conversions
def escape_brackets text
-
(String)-
Parameters:
-
text(String) --
def escape_brackets text # text.gsub(/(\<|\>)/, "\\#{$1}") text.gsub("<", '\<').gsub(">", '\>') end
(String)
-
text
(String)
--
def escape_brackets text # text.gsub(/(\<|\>)/, "\\#{$1}") text.gsub("<", '\<').gsub(">", '\>') end