Method: Rex::Text.to_ruby_comment
- Defined in:
- lib/rex/text/lang.rb
.to_ruby_comment(str, wrap = DefaultWrap) ⇒ Object
Creates a ruby-style comment
19 20 21 |
# File 'lib/rex/text/lang.rb', line 19 def self.to_ruby_comment(str, wrap = DefaultWrap) return wordwrap(str, 0, wrap, '', '# ') end |