codeclimate/codeclimate

View on GitHub
lib/cc/analyzer/issue_validations/path_presence_validation.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module CC
  module Analyzer
    module IssueValidations
      class PathPresenceValidation < Validation
        def valid?
          path.present?
        end

        def message
          "Path must be present"
        end
      end
    end
  end
end