Method: Rconftool::Setting#add_comment
- Defined in:
- lib/rconftool.rb
#add_comment(str) ⇒ Object
Add text to ‘comment’ portion of setting, prefixing each line with ‘#’
185 186 187 |
# File 'lib/rconftool.rb', line 185 def add_comment(str) @comment << str.gsub(/^/,'#') end |