class Object
Public Instance Methods
check()
click to toggle source
# File lib/puppet-lint/plugins/alias_parameter.rb, line 2 def check resource_indexes.each do |r| r[:tokens].select do |t| if t.type == :NAME && t.value == 'alias' && \ t.next_code_token && t.next_code_token.type == :FARROW notify :warning, { :message => "alias parameter used", :line => t.line, :column => t.column, :token => t, } end end end end