Sha256: 5b12aa65b327ee4941866b6ffea5a0da7a849761808f927f6629a83cbe8bbbf9
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 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) true rescue Exception => e puts e false end ret end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.6.4 | lib/checker/modules/yaml.rb |
checker-0.6.3 | lib/checker/modules/yaml.rb |