Method: Rex::Text.to_bash_comment

Defined in:
lib/rex/text/lang.rb

.to_bash_comment(str, wrap = DefaultWrap) ⇒ Object

Creates a Bash-style comment



209
210
211
# File 'lib/rex/text/lang.rb', line 209

def self.to_bash_comment(str, wrap = DefaultWrap)
  return wordwrap(str, 0, wrap, '', '# ')
end