Method: Rex::Text.to_perl_comment
- Defined in:
- lib/rex/text.rb
.to_perl_comment(str, wrap = DefaultWrap) ⇒ Object
Creates a perl-style comment
357 358 359 |
# File 'lib/rex/text.rb', line 357 def self.to_perl_comment(str, wrap = DefaultWrap) return wordwrap(str, 0, wrap, '', '# ') end |