Class: Puppet::Cleaner::TrailingWhitespace
- Defined in:
- lib/puppet-cleaner/workers/trailingwhitespace.rb
Instance Method Summary collapse
Methods inherited from Worker
Instance Method Details
#operate(line) ⇒ Object
7 8 9 |
# File 'lib/puppet-cleaner/workers/trailingwhitespace.rb', line 7 def operate(line) line.remove(line.position) if line.next.name == :RETURN end |
#part_names ⇒ Object
3 4 5 |
# File 'lib/puppet-cleaner/workers/trailingwhitespace.rb', line 3 def part_names [:BLANK] end |