class Object
Public Instance Methods
check()
click to toggle source
# File lib/puppet-lint/plugins/check_space_after_comma.rb, line 2 def check tokens.select { |r| Set[:COMMA].include? r.type }.each do |token| if token.next_token.type != :WHITESPACE and token.next_token.type != :NEWLINE and token.next_token.type != :SEMIC notify :warning, { :message => 'expected space after comma', :line => token.line, :column => token.column, :token => token, } end end end