Sha256: ab986411390bc62f0056fd7e7b44f831a921c2dbc3880bbff1764a600a903f50
Contents?: true
Size: 377 Bytes
Versions: 2
Compression:
Stored size: 377 Bytes
Contents
require "yaml" module Checker module Modules class Yaml < Base extensions "yaml", "yml" private def check_one(file, _opts = {}) ret = begin YAML.load_file(file) Checker::Result.result(self, 0) rescue Exception => e puts e Checker::Result.result(self, 1) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.8.0.beta2 | lib/checker/modules/yaml.rb |
checker-0.8.0.beta | lib/checker/modules/yaml.rb |