class Baleen::Validation::Validator

Public Class Methods

check(project) click to toggle source
# File lib/baleen/validator.rb, line 9
def self.check(project)
  sections = [:runner, :framework, :ci]

  sections.each do |sect|
    validator = Baleen::Validation.const_get(sect.to_s.capitalize)
    unless validator.new(project).validate
      return false
    end
  end
end