class Makit::Yaml
def self.validate_yaml(file_path)
def self.validate_yaml(file_path) begin YAML.load_file(file_path) puts "#{file_path} is a valid YAML file." rescue Psych::SyntaxError => e raise "YAML validation failed for #{file_path}: #{e}" end end