Parent

Methods

Object

Public Instance Methods

check() click to toggle source
# File lib/puppet-lint/plugins/check_classes.rb, line 4
def check
  tokens.select { |r| r.type == :OUT_EDGE }.each do |token|
    notify :warning, {
      :message =>  'right-to-left (<-) relationship',
      :line    => token.line,
      :column  => token.column,
    }
  end
end
fix(problem) click to toggle source
# File lib/puppet-lint/plugins/check_comments.rb, line 17
def fix(problem)
  problem[:token].type = :COMMENT
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.