class ClosingComments::Processor::Fixer

Public Instance Methods

handle(source) click to toggle source

This method reeks of :reek:FeatureEnvy.

# File lib/closing_comments/processor.rb, line 53
def handle(source)
  return super unless source.problematic?
  File.write(source.path, source.fix)
  print 'A'.yellow
end

Private Instance Methods

action() click to toggle source
# File lib/closing_comments/processor.rb, line 61
def action
  'fixed'
end