Class: Puppet::Cleaner::TrailingWhitespaceInComments
- Defined in:
- lib/puppet-cleaner/workers/trailingwhitespaceincomments.rb
Instance Method Summary collapse
Methods inherited from Worker
Instance Method Details
#operate(line) ⇒ Object
7 8 9 |
# File 'lib/puppet-cleaner/workers/trailingwhitespaceincomments.rb', line 7 def operate(line) line.current.value.rstrip! end |
#part_names ⇒ Object
3 4 5 |
# File 'lib/puppet-cleaner/workers/trailingwhitespaceincomments.rb', line 3 def part_names [:COMMENT] end |