Method: Rex::Text.to_bash_comment

Defined in:
lib/rex/text.rb

.to_bash_comment(str, wrap = DefaultWrap) ⇒ Object

Creates a Bash-style comment



364
365
366
# File 'lib/rex/text.rb', line 364

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