class Object

Public Instance Methods

check() click to toggle source
# File lib/puppet-lint/plugins/check_appends.rb, line 2
def check
  tokens.each_with_index do |token, _token_idx|
    next unless token.type == :APPENDS

    notify :warning, {
      message: 'The appends (+=) operator was used.',
      line: token.line,
      column: token.column,
      token: token,
    }
  end
end