# File lib/puppet-lint/plugins/check_comments.rb, line 4 def check tokens.select { |token| token.type == :SLASH_COMMENT }.each do |token| notify :warning, { :message => '// comment found', :line => token.line, :column => token.column, :token => token, } end end