Method: Rex::Text.to_ruby_comment

Defined in:
lib/rex/text.rb

.to_ruby_comment(str, wrap = DefaultWrap) ⇒ Object

Creates a ruby-style comment



225
226
227
# File 'lib/rex/text.rb', line 225

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